aboutsummaryrefslogtreecommitdiff
path: root/src/test/validation_flush_tests.cpp
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-09-09 12:18:48 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-09-14 11:13:45 -0300
commitb00fc44ca5cb938f18d31cde7feb4e1c968dcc2f (patch)
treeb165b0648392a7ba3896e1dfe4726a645bc0f5a9 /src/test/validation_flush_tests.cpp
parentddbcfdf3d050061f4e8979a0e2bb63bba5a43c47 (diff)
downloadbitcoin-b00fc44ca5cb938f18d31cde7feb4e1c968dcc2f.tar.xz
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 'src/test/validation_flush_tests.cpp')
0 files changed, 0 insertions, 0 deletions