wownero/src/wallet
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
..
api Merge pull request #8566 2023-06-27 11:20:25 -05:00
CMakeLists.txt Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_store.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_store.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_transporter.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_transporter.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
node_rpc_proxy.cpp Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
node_rpc_proxy.h Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
ringdb.cpp wallet2: speedup large tx construction: batch ringdb lookups 2022-05-13 17:43:22 +00:00
ringdb.h wallet2: speedup large tx construction: batch ringdb lookups 2022-05-13 17:43:22 +00:00
wallet2.cpp wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
wallet2.h wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
wallet_args.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_args.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_errors.h wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
wallet_light_rpc.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_rpc_helpers.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_rpc_payments.cpp Refactored rx-slow-hash.c 2022-12-14 07:21:00 +01:00
wallet_rpc_server.cpp wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
wallet_rpc_server.h wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
wallet_rpc_server_commands_defs.h wallet: feature: transfer amount with fee included 2024-02-20 17:08:42 -06:00
wallet_rpc_server_error_codes.h disable multisig by default 2022-05-17 19:52:03 +00:00