Andrew Poelstra
a83d2595bc
Merge 6556da77d7 into merged_master (Bitcoin PR bitcoin/bitcoin#21056 )
2021-07-28 02:41:57 +00:00
Andrew Poelstra
01b1d5f844
Merge c5ee0cc11a into merged_master (Bitcoin PR bitcoin/bitcoin#21989 )
2021-07-19 13:07:08 +00:00
Andrew Poelstra
27eff4ad45
Merge d22e7ee933 into merged_master (Bitcoin PR bitcoin/bitcoin#21822 )
...
Adding an iteration cap to a fuzztest in this PR, not because it
has anything to do with this PR, but because this is where the
merge script happened to be when I was done investigating 100+
minute fuzzer runs.
Added a comment explaining the rationale for the iteration cap.
2021-07-04 23:52:11 +00:00
Andrew Poelstra
bcd5f2207c
Merge a6b1bf6439 into merged_master (Bitcoin PR #20267 )
2021-06-21 02:52:43 +00:00
Christian Decker
b9e76f1bf0
rpc: Add test for -rpcwaittimeout
...
Suggested-by: Jon Atack <@jonatack>
2021-06-03 14:49:15 +02:00
Kiminuo
bfa9309ad6
Use COINBASE_MATURITY constant in functional tests.
2021-05-31 07:32:28 +02:00
klementtan
c5bb142817
test: resolve bug in test/functional/interface_bitcoin_cli.py - Test -getinfo with -rpcwallet=unloaded wallet returns no balances
2021-05-01 17:58:01 +08:00
Andrew Chow
4de23824b0
Setup wallets for interface_bitcoin_cli.py
2021-01-27 12:52:46 -05:00
Andrew Poelstra
62faba7499
Merge 171cd05ae3 into merged_master (Bitcoin PR #20034 )
2020-11-30 05:33:57 +00:00
Andrew Poelstra
532e650b1d
Merge 23d3ae7acc into merged_master (Bitcoin PR #19405 )
2020-11-28 22:56:34 +00:00
Andrew Poelstra
dd30279412
Merge 47a30ef0c6 into merged_master (Bitcoin PR #19133 )
2020-11-26 01:09:10 +00:00
Andrew Poelstra
3b7c182626
Merge 24f7029064 into merged_master (Bitcoin PR #18594 )
2020-11-26 01:08:49 +00:00
Andrew Poelstra
b6af50f657
Merge 5f19155e5b into merged_master (Bitcoin PR #18724 )
2020-11-26 01:08:30 +00:00
Andrew Poelstra
c8bf2c631b
Merge d1aa0ae1ad into merged_master (Bitcoin PR #18712 )
2020-11-26 01:08:29 +00:00
Andrew Poelstra
3d19543983
Merge dc5da7fe7b into merged_master (Bitcoin PR #18691 )
2020-11-26 01:08:25 +00:00
Andrew Poelstra
fd37b7c5d6
Merge 54f812d9d2 into merged_master (Bitcoin PR #18673 )
2020-11-26 01:08:23 +00:00
Andrew Poelstra
fd4ce54b94
Merge 661e8df1b6 into merged_master (Bitcoin PR #18653 )
2020-11-26 01:08:21 +00:00
Andrew Poelstra
f3fc8e9b77
Merge 6ab96ec546 into merged_master (Bitcoin PR #18574 )
2020-11-26 01:08:15 +00:00
Andrew Poelstra
0c0b496469
Merge 5aee0e2163 into merged_master (Bitcoin PR #17650 )
2020-11-14 16:51:53 +00:00
Andrew Poelstra
4cc150cd4a
Merge e1df922132 into merged_master (Bitcoin PR #17497 )
2020-11-09 23:10:12 +00:00
Andrew Poelstra
0239a1130b
Merge 5046d4e911 into merged_master (Bitcoin PR #15896 )
2020-10-28 22:35:11 +00:00
Andrew Poelstra
760d7ce6f0
Merge c94852e791 into merged_master (Bitcoin PR #15564 )
2020-10-27 23:23:30 +00:00
Andrew Poelstra
5ae23eb085
Merge 887f57eb72 into merged_master (Bitcoin PR #15566 )
2020-10-27 23:22:22 +00:00
Andrew Poelstra
67d718b048
Merge a74d588f21 into merged_master (Bitcoin PR #14954 )
2020-10-27 22:32:24 +00:00
Russell Yanofsky
ed3acda33b
test, refactor: add default_wallet_name and wallet_data_filename variables
...
No changes in behavior
2020-09-29 04:35:01 -04:00
Jon Atack
581b343d5b
Add in/out connections to cli -getinfo
2020-08-24 18:41:24 +02:00
Jon Atack
22cb303cf0
rpc: add missing space in JSON parsing error message, update test
2020-06-02 08:50:57 +02:00
Jon Atack
bf53ebef06
test: add multiwallet tests for bitcoin-cli -generate
2020-06-02 08:50:54 +02:00
Jon Atack
18f93545a1
test: add tests for bitcoin-cli -generate
2020-06-02 08:50:48 +02:00
Jon Atack
5edad5ce5d
test: add -getinfo multiwallet functional tests
...
and improve the existing -getinfo -rpcwallet tests.
2020-05-21 10:24:30 +02:00
MarcoFalke
5f19155e5b
Merge #18724 : test: add coverage for -rpcwallet cli option
...
2495110012 test: add coverage for -rpcwallet cli option (Jon Atack)
Pull request description:
The bitcoin-cli `-rpcwallet=` option is an essential RPC/CLI option when more than one wallet is loaded (see `bitcoin-cli -help | grep -A5 rpcwallet` or `src/bitcoin-cli.cpp::L61`) and it currently has no test coverage.
It is not only used by users, but also by the test framework and ~10 test files via `get_wallet_rpc()`.
This PR adds coverage, while simultaneously improving the `-getinfo` coverage when multiple wallets are loaded. This is similar to the test coverage that would be added in #18594 .
ACKs for top commit:
robot-visions:
ACK 2495110012
Tree-SHA512: caaa8b99fb8fa481ab2c6b2a287ed29720bb4553c3f66657462c44fa2990acaaf36cabeaaf81408678e5fdce4e105d729dd94b5ed8588dd1a6f2cb03fc25acf3
2020-04-24 18:41:22 -04:00
Jon Atack
2495110012
test: add coverage for -rpcwallet cli option
...
and add -getinfo coverage with multiple wallets loaded.
2020-04-24 21:51:00 +02:00
Jon Atack
8f5dc8800a
test: display command line options passed to send_cli() in debug log
...
and fixup two cli calls from rpc commands to command line options.
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
2020-04-21 15:38:26 +02:00
Jon Atack
92fe537cf7
test: fix intermittent race condition in interface_bitcoin_cli.py
...
by calling wait_for_cookie_credentials() to ensure the cookie file is written
and auth credentials available for testing the CLI -rpcwait option before the
RPC connection is up.
2020-04-19 18:12:05 +02:00
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-04-16 13:33:09 -04:00
Jon Atack
c28c7b882b
test: add -getinfo "unlocked_until" and "headers" coverage
2020-04-15 16:40:24 +02:00
Jon Atack
bb13f46fb1
test: verify cli.getwalletinfo in wallet section
2020-04-15 16:40:22 +02:00
Jon Atack
becc8b9747
test: verify bitcoin-cli -version with node stopped
...
in interface_bitcoin_cli.py and improve/harmonize the test logging.
2020-04-15 16:40:15 +02:00
Jon Atack
727b67e7b8
test: add coverage for bitcoin-cli -rpcwait
...
in interface_bitcoin_cli.py
2020-04-15 16:39:42 +02:00
Jon Atack
5df0877f91
test: update and harden interface_bitcoin_cli tests
...
- no longer depend on the deprecated balance field of getwalletinfo
- test blockcount and balance against non-default, non-zero expected values
2020-04-09 17:34:07 +02:00
fanquake
5aee0e2163
Merge #17650 : util: remove unwanted fields from bitcoin-cli -getinfo
...
01c8701559 util: remove unwanted fields from bitcoin-cli -getinfo (malevolent)
Pull request description:
Removed the following fields from -getinfo: protocolversion, walletversion and keypoololdest. This change closes #17314 .
ACKs for top commit:
laanwj:
ACK 01c8701559
achow101:
ACK 01c8701559
practicalswift:
ACK 01c8701559 -- diff looks correct
Tree-SHA512: c98f2e8a3fee04d46766f70cb88f4e49e892a4424eff8940a7d48e9e808597b702427225788f984f5c3641591fd8d86acee56774afde1d57a4259c31d971ea08
2019-12-04 14:59:12 -05:00
malevolent
01c8701559
util: remove unwanted fields from bitcoin-cli -getinfo
...
In accordance with #17314 , Removing noisy fields from -getinfo. Fields removed: protocolversion, walletversion and keypoololdest. In addition to changing bitcoin-cli -getinfo, there is another change to test/functional/interface_bitcoin_cli.py. This change deletes tests that utilize removed -getinfo calls.
2019-12-04 06:48:53 +00:00
fanquake
621d398750
test: skip bitcoin_cli test when the cli isn't compiled
2019-11-18 16:19:15 -05:00
MarcoFalke
fa8a1d7ba3
test: Adapt test framework for chains other than "regtest"
...
Co-Authored-By: Jorge Timón <jtimon@jtimon.cc>
2019-07-31 17:00:25 -04:00
Steven Roose
7f894ae00b
UPSTREAM MERGE BROKEN: Merge commit ' f617e05c38' into master
2019-05-01 19:18:18 +01:00
Luke Dashjr
fcc443b636
QA: feature_filelock, interface_bitcoin_cli: Use PACKAGE_NAME in messages rather than hardcoding Bitcoin Core
2019-04-25 20:43:04 +00:00
Steven Roose
e1cd00cc6c
Change branding from bitcoin to elements
2019-03-22 10:12:04 +00:00
MarcoFalke
c94852e791
Merge #15564 : cli: remove duplicate wallet fields from -getinfo
...
3f6568d66b cli: remove duplicate wallet fields from -getinfo (fanquake)
Pull request description:
`walletversion` and `balance` are both included below.
Tree-SHA512: cd9fe9739a2f492c8f7c0407b43a6fa95187f7e5318f05e080bac112f9f4333d2e9b84c505d098f8d66fa79439007d1c0b22e5a87d70bf5ea53ab647ee4c2046
2019-03-11 10:28:42 -04:00
fanquake
3f6568d66b
cli: remove duplicate wallet fields from -getinfo
2019-03-09 16:40:46 +08:00
fanquake
890396cbd5
cli: replace testnet with chain and return network name as per BIP70.
2019-03-09 16:35:26 +08:00