Skip to content

Conversation

@karlbuys
Copy link
Contributor

Issue Number (if Applicable): Fixes #

Description

Please include a summary of the changes and which issue is fixed / feature is added.

Pull Request - Checklist

  • Initial Manual Tests Passed
  • Double check modified code and verify it with the feature/task requirements
  • Format code
  • Look for code duplication
  • Clear naming for variables and methods
  • Manual tests in accessibility mode (TalkBack on Android) passed

- Adds the class responsible for interfacing with LWS
This commit enables us to set a node as an LWS server. It also provides a toggle checkbox on server creation when we add a Monero node (only Monero, not alternate chains)
This commit cleans up a number of areas, standardises how addresses are generated, and cleans up things such that they should use dynamic versions of the values they require
This commit adds the ability to get address transactions (with key_images for determining which have been spent)

It also adds get_unspent_outs, which retrieves a list of all outputs that are candidates for not having been spent yet. To determine if an output has been spent yet, check the key image hash against Monero's blockchain's list of all key image hashes

It additionally adds get_decoy_outputs, which can be used in conjunction with an unspent output in order to act as decoys to obfuscate the true spend
Legacy wallets never had a "isLWSEnabled" field, removed boolean argument
One option considered was to treat an LWS Monero wallet as a different WalletType, but instead eventually opted to treat it as a special case of a Monero wallet (to inherit the base functionality)
isLWSEnabled now iniitialises to false if not set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants