diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-09-09 12:18:48 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-09-14 11:13:45 -0300 |
commit | b00fc44ca5cb938f18d31cde7feb4e1c968dcc2f (patch) | |
tree | b165b0648392a7ba3896e1dfe4726a645bc0f5a9 /libbitcoinconsensus.pc.in | |
parent | ddbcfdf3d050061f4e8979a0e2bb63bba5a43c47 (diff) |
test: add coverage for 'add_inputs' dynamic default value
Covered cases for send() and walletcreatefundedpsbt() RPC commands:
1. Default add_inputs value with no preset inputs (add_inputs=true):
Expect: automatically add coins from the wallet to the tx.
2. Default add_inputs value with preset inputs (add_inputs=false):
Expect: disallow automatic coin selection.
3. Explicit add_inputs=true and preset inputs (with preset inputs not-covering the target amount).
Expect: include inputs from the wallet.
4. Explicit add_inputs=true and preset inputs (with preset inputs covering the target amount).
Expect: only preset inputs are used.
5. Explicit add_inputs=true, no preset inputs (same as (1) but with an explicit set):
Expect: include inputs from the wallet.
Diffstat (limited to 'libbitcoinconsensus.pc.in')
0 files changed, 0 insertions, 0 deletions