summaryrefslogtreecommitdiff
path: root/utils/python-rpc/framework/wallet.py
Commit message (Collapse)AuthorAgeFilesLines
* add wallet rpc call to get default fee prioritywoodser2025-02-151-0/+10
|
* wallet: background sync with just the view keyj-berman2024-05-241-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | - When background syncing, the wallet wipes the spend key from memory and processes all new transactions. The wallet saves all receives, spends, and "plausible" spends of receives the wallet does not know key images for. - When background sync disabled, the wallet processes all background synced txs and then clears the background sync cache. - Adding "plausible" spends to the background sync cache ensures that the wallet does not need to query the daemon to see if any received outputs were spent while background sync was enabled. This would harm privacy especially for users of 3rd party daemons. - To enable the feature in the CLI wallet, the user can set background-sync to reuse-wallet-password or custom-background-password and the wallet automatically syncs in the background when the wallet locks, then processes all background synced txs when the wallet is unlocked. - The custom-background-password option enables the user to open a distinct background wallet that only has a view key saved and can be opened/closed/synced separately from the main wallet. When the main wallet opens, it processes the background wallet's cache. - To enable the feature in the RPC wallet, there is a new `/setup_background_sync` endpoint. - HW, multsig and view-only wallets cannot background sync.
* wallet: feature: transfer amount with fee includedjeffro2562024-02-201-1/+2
| | | | | | | | | | | | | | | | | To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example: transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index. For example: transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2 This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses `75sr8AAr...` and `7AbWqDZ6...`, respectively. Disclaimer: This feature was paid for by @LocalMonero.
* wallet-rpc: restore from multisig seedjeffro2562023-08-101-1/+2
|
* add an option to force-update multisig key exchange under some circumstanceskoe2022-09-211-1/+2
|
* allow exporting outputs in chunksmoneromooo-monero2022-09-071-1/+4
| | | | | this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
* disable multisig by defaultmoneromooo-monero2022-05-171-1/+2
| | | | | | | | | There are vulnerabilities in multisig protocol if the parties do not trust each other, and while there is a patch for it, it has not been throroughly reviewed yet, so it is felt safer to disable multisig by default for now. If all parties in a multisig setup trust each other, then it is safe to enable multisig.
* Copyright: Update to 2022mj-xmr2022-03-041-1/+2
|
* multisig key exchange update and refactorkoe2022-02-221-4/+2
|
* python-rpc: add missing python api for new freeze/thaw/frozen RPCmoneromooo-monero2021-06-111-0/+33
|
* python-rpc: add function for new scan_tx RPCmoneromooo-monero2021-03-201-0/+11
|
* wallet: allow signing a message with spend or view keymoneromooo-monero2020-08-281-1/+2
|
* Merge pull request #6069Alexander Blair2020-02-061-1/+3
|\ | | | | | | d64e5aa7 wallet: allow message sign/verify for subaddresses (moneromooo-monero)
| * wallet: allow message sign/verify for subaddressesmoneromooo-monero2019-12-311-1/+3
| |
* | Merge pull request #6144Alexander Blair2020-01-161-3/+4
|\ \ | | | | | | | | | 0e0351c4 wallet_rpc_server: add count parameter to create_address (Matt Smith)
| * | wallet_rpc_server: add count parameter to create_addressMatt Smith2019-11-221-3/+4
| |/
* | Merge pull request #6105Alexander Blair2020-01-111-0/+14
|\ \ | | | | | | | | | 0de8a0d3 wallet_rpc_server: new estimate_tx_size_and_weight RPC (moneromooo-monero)
| * | wallet_rpc_server: new estimate_tx_size_and_weight RPCmoneromooo-monero2019-11-061-0/+14
| |/
* / python-rpc: add missing strict_balances parameter for get_accountsmoneromooo-monero2019-10-291-1/+2
|/
* functional_tests: check for RPC methods which aren't exposedmoneromooo-monero2019-09-171-0/+4
|
* functional_tests: add tx_notes testsmoneromooo-monero2019-09-171-0/+23
|
* functional_tests: add wallet attributes testmoneromooo-monero2019-09-171-0/+23
|
* functional_tests: add rescan_spent/rescan_blockchain testsmoneromooo-monero2019-09-171-0/+21
|
* functional_tests: add monero: URI testsmoneromooo-monero2019-09-171-0/+26
|
* wallet: add edit_address_book RPCmoneromooo-monero2019-09-171-0/+17
|
* functional_tests: add address book testsmoneromooo-monero2019-09-171-0/+35
|
* functional_tests: add wallet password change, store and tag testsmoneromooo-monero2019-09-171-0/+84
|
* functional_tests: add spend proof testsmoneromooo-monero2019-09-171-0/+25
|
* functional_tests: add test for mining via walletmoneromooo-monero2019-09-171-0/+23
|
* functional_tests: add multisig state testsmoneromooo-monero2019-09-171-0/+12
|
* functional_tests: add get_transfers testmoneromooo-monero2019-09-171-0/+11
|
* functional_tests: add missing sweep_dust parameters, and test itmoneromooo-monero2019-09-171-1/+7
| | | | though not a very good test, but we don't have dust handy
* functional_tests: move extraneous stuff out of the frameworkmoneromooo-monero2019-09-171-12/+0
|
* wallet: fix mismatch between two concepts of "balance"moneromooo-monero2019-09-051-1/+2
| | | | | | | | | | | | | One considers the blockchain, while the other considers the blockchain and some recent actions, such as a recently created transaction which spend some outputs, but isn't yet mined. Typically, the "balance" command wants the latter, to reflect the recent action, but things like proving ownership wants the former. This fixes a crash in get_reserve_proof, where a preliminary check and the main code used two concepts of "balance".
* functional_tests: add validate_address testsmoneromooo-monero2019-07-291-0/+13
|
* wallet_rpc_server: add set_log_level/set_log_categoriesmoneromooo-monero2019-04-161-0/+22
|
* Merge pull request #5446Riccardo Spagni2019-04-161-0/+21
|\ | | | | | | | | | | | | | | | | 7d79222f daemon: remove debug info (moneromooo-monero) 8fec0f98 functional_tests: add sweep_single test (moneromooo-monero) 9880d61b wallet_rpc_server: remove unused code (moneromooo-monero) 8a61b33d rpc: omit irrelevant fields for pool txes in gettransactions (moneromooo-monero) 56508524 rpc: add relayed in get_transaction output (moneromooo-monero) 82e510f1 rpc: set default log category in core_rpc_server.h (moneromooo-monero)
| * functional_tests: add sweep_single testmoneromooo-monero2019-04-151-0/+21
| |
* | wallet_rpc_server: fix inconsistent wallet caches on reloadmoneromooo-monero2019-04-121-4/+20
|/ | | | | | | | | | Loading the same wallet as the currently loaded one would autosave the current state after loading it, leading to some kind of rollback effect. We now save before loading to avoid this. If loading fails, it means the current wallet will be saved (or maybe not, depending on where the failure occurs: most of the sanity checks occur before saving). There is a new autosave_current flag to open/restore calls so the (enabled by default) autosave can be skipped.
* console.py: can now connect to several daemons/walletsmoneromooo-monero2019-04-111-0/+2
| | | | | | Also throw exceptions instead of print+exit, since that makes the error print last, below the python stack trace, where it's much less easy to miss it.
* functional_tests: cold signing key images/outputs import/exportmoneromooo-monero2019-04-111-0/+44
|
* functional_tests: add double spend detection testsmoneromooo-monero2019-04-111-2/+14
|
* functional_tests: add wallet creation language testsmoneromooo-monero2019-04-111-4/+14
|
* functional_tests: add more wallet testsmoneromooo-monero2019-04-111-0/+31
| | | | get_transfer_by_txid, get_height, open/close
* functional_tests: add describe_transfer testsmoneromooo-monero2019-04-111-1/+2
|
* python-rpc: add console.pymoneromooo-monero2019-03-231-0/+8
| | | | | | | | | | It allows one to connect to a running daemon or wallet, and use its RPC API from python. Usage: python -i console.py <port> It will detect whether it's talking to a daemon or wallet and initialize itself accordingly.
* functional_tests: move RPC API to utils, it is not test specificmoneromooo-monero2019-03-221-0/+592