aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/transfer.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-07-16Merge pull request #9338luigi11111-1/+1
4a376d6 copyright: fix vector.h typo (hinto.janaiyo) d61e8e9 workflows: delete copyright.yml (plowsof) 341771a copyright: bump to 2024 (copyCat)
2024-05-24wallet: background sync with just the view keyj-berman1-6/+394
- 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.
2024-05-21copyright: bump to 2024copyCat1-1/+1
2024-02-20wallet: feature: transfer amount with fee includedjeffro2561-0/+81
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.
2023-06-15wallet2: fix rescanning tx via scan_txj-berman1-5/+222
- Detach & re-process txs >= lowest scan height - ensures that if a user calls scan_tx(tx1) after scanning tx2, the wallet correctly processes tx1 and tx2 - if a user provides a tx with a height higher than the wallet's last scanned height, the wallet will scan starting from that tx's height - scan_tx requires trusted daemon iff need to re-process existing txs: in addition to querying a daemon for txids, if a user provides a txid of a tx with height *lower* than any *already* scanned txs in the wallet, then the wallet will also query the daemon for all the *higher* txs as well. This is likely unexpected behavior to a caller, and so to protect a caller from revealing txid's to an untrusted daemon in an unexpected way, require the daemon be trusted.
2023-04-25Merge pull request #8796luigi11111-0/+34
7a4a03d wallet2: do not commit transactions more than once (moneromooo-monero)
2023-03-21wallet2: do not commit transactions more than oncemoneromooo-monero1-0/+34
Fixes #8793
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-04-18Bump ring size to 16 for v15 & remove set default in wallet clij-berman1-8/+8
2022-04-06Merge pull request #8197luigi11111-1/+1
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2022-01-31Balance includes unconfirmed transfers to selfwoodser1-5/+2
2020-08-27Integrate CLSAGs into moneromoneromooo-monero1-2/+2
They are allowed from v12, and MLSAGs are rejected from v13.
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2020-04-24Revert functional test changes in babf25d2e and 571546067Lee Clagett1-39/+13
2020-03-30Always reject duplicate key-images from second txidLee Clagett1-13/+39
2020-03-31cryptonote_basic: drop unused verification_context::m_not_rct fieldxiphon1-3/+0
2020-01-26serialization: do not write optional fields with default valuemoneromooo-monero1-2/+2
2019-10-15functional_tests: fix transfer test - long payment ids are gonemoneromooo-monero1-1/+1
2019-10-14wallet: remove long payment ID sending supportmoneromooo-monero1-7/+13
2019-10-14wallet2: ignore received unencrypted payment IDs (but warn hard)moneromooo-monero1-6/+6
2019-09-17functional_tests: python3 compatibilitymoneromooo-monero1-1/+1
and add missing tests
2019-09-17functional_tests: pop exactly what we need to test before testingmoneromooo-monero1-1/+2
2019-09-17functional_tests: add is_key_image_spent testsmoneromooo-monero1-1/+45
2019-09-17functional_tests: check transaction fee is around what we expectmoneromooo-monero1-2/+9
2019-09-17functional_tests: add tx_notes testsmoneromooo-monero1-0/+18
2019-09-17functional_tests: add rescan_spent/rescan_blockchain testsmoneromooo-monero1-0/+39
2019-09-17functional_tests: add get_transfers testmoneromooo-monero1-0/+23
2019-09-17functional_tests: add missing sweep_dust parameters, and test itmoneromooo-monero1-0/+8
though not a very good test, but we don't have dust handy
2019-08-21Merge pull request #5511luigi11111-0/+59
914b106 wallet_rpc_server: use original addresses in destinations in get_transfers (moneromooo-monero) da694d4 functional_tests: add tests for pending/out transfer addresses (moneromooo-monero)
2019-08-14Merge pull request #5487luigi11111-0/+1
df83ed7 consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
2019-07-09wallet_rpc_server: fix get_bulk_payments with short payment idsmoneromooo-monero1-0/+3
2019-05-29functional_tests: fix python3 compatibilitymoneromooo-monero1-4/+4
Also add missing bans test to the default tests
2019-05-02functional_tests: add tests for pending/out transfer addressesmoneromooo-monero1-0/+59
2019-04-23consensus: from v12, enforce >= 2 outputsmoneromooo-monero1-0/+1
2019-04-20functional_tests: reset blockchain on test startmoneromooo-monero1-0/+7
2019-04-15functional_tests: add sweep_single testmoneromooo-monero1-0/+50
2019-04-11functional_tests: add double spend detection testsmoneromooo-monero1-0/+61
2019-04-11functional_tests: add more wallet testsmoneromooo-monero1-0/+26
get_transfer_by_txid, get_height, open/close
2019-03-22functional_tests: move RPC API to utils, it is not test specificmoneromooo-monero1-2/+2
2019-03-22functional_tests: add balance testsmoneromooo-monero1-59/+171
2019-03-21functional_tests: add more transfer testsmoneromooo-monero1-6/+53
manual relay, transfer to integrated address, and a few negative transfer tests
2019-03-21functional_tests: add get_bulk_transfer testsmoneromooo-monero1-0/+37
2019-03-21functional_tests: add basic transfer testsmoneromooo-monero1-0/+291