wownero/src
jeffro256 51d7a6921c
wallet: feature: transfer amount with fee included
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.
2024-02-20 17:08:42 -06:00
..
blockchain_db Fix use of rtxn without a mdb_txn_safe wrapper 2022-07-22 12:30:14 +01:00
blockchain_utilities blockchain-stats: print any remaining data at end of loop 2023-01-29 11:09:02 +00:00
blocks build: prepare v0.18.3.1 2023-10-02 12:59:37 +02:00
checkpoints build: prepare v0.18.3.1 2023-10-02 12:59:37 +02:00
common Merge pull request #8895 2023-07-06 21:33:25 -05:00
crypto JH hash compiler workarounds 2023-11-04 21:01:47 +01:00
cryptonote_basic Merge pull request #8845 2023-06-27 11:38:42 -05:00
cryptonote_core Merge pull request #9014 2023-10-02 15:28:11 -04:00
cryptonote_protocol protocol: drop peers sending duplicate txes 2023-06-27 11:06:14 +00:00
daemon Handle case where a command line flag is not allowed in the config file 2023-03-06 17:41:24 -05:00
daemonizer Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
debug_utilities Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
device device: Add ledger Stax device id to device detection 2023-03-17 21:27:51 +01:00
device_trezor allow exporting outputs in chunks 2022-09-07 06:22:07 +00:00
gen_multisig add an option to force-update multisig key exchange under some circumstances 2022-09-21 12:51:19 -05:00
gen_ssl_cert Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hardforks hardforks: set mainnet and stagenet v15/16 fork height 2022-07-01 01:49:59 +02:00
lmdb CMake: Add missing headers via monero_find_all_headers macro 2022-04-06 08:12:44 +02:00
mnemonics CMake: Add missing headers via monero_find_all_headers macro 2022-04-06 08:12:44 +02:00
multisig multisig: better errors for small malformed kex msgs 2023-10-25 20:38:22 -05:00
net p2p: fix exclusive node DNS resolution for certain hosts [release] 2022-11-17 18:57:04 -06:00
p2p p2p: do not log to global when re-blocking a subnet 2023-03-19 02:58:38 +01:00
platform Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
ringct ringct: make `rctSigBase` serialization follow strict aliasing rule 2023-10-24 13:00:45 -05:00
rpc Merge pull request #9080 2024-01-18 18:03:43 -05:00
serialization Add CLSAG serialization to ZMQ code 2023-06-16 19:00:12 -04:00
simplewallet wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
wallet wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
CMakeLists.txt Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
cryptonote_config.h cryptonote_config: include cstdint 2023-10-23 14:53:58 -05:00
version.cpp.in build: prepare v0.18.3.1 2023-10-02 12:59:37 +02:00
version.h wallet, rpc: add a release field to get_version 2019-08-26 19:28:25 +00:00