7293ca99c3
* refactor address generation code into libwallet, bool to flag whether to include proof, add sender address in init_send_tx * rustfmt * require payment proof addr as part of init_tx * rustfmt * store payment proof on sender transaction side * rustfmt * change sig to ed25519 sig * rustfmt * add message creation and signature * rustfmt * add payment proof verification function * rustfmt * validate proof on sender side, store proof * rustfmt * fix json tests * fixes and updates to tests * added API functions for converting and retrieving proof addresses * rustfmt * add payment proof to init_send_tx example * rustfmt * incorrect comment
21 lines
398 B
JSON
21 lines
398 B
JSON
{
|
|
"jsonrpc": "2.0",
|
|
"method": "init_send_tx",
|
|
"params": {
|
|
"args": {
|
|
"src_acct_name": null,
|
|
"amount": "600000000000",
|
|
"minimum_confirmations": 2,
|
|
"max_outputs": 500,
|
|
"num_change_outputs": 1,
|
|
"selection_strategy_is_use_all": true,
|
|
"message": "my message",
|
|
"target_slate_version": null,
|
|
"payment_proof_recipient_address": null,
|
|
"send_args": null
|
|
}
|
|
},
|
|
"id": 1
|
|
}
|
|
|