diff options
author | Andrew Chow <github@achow101.com> | 2022-10-13 11:43:23 -0400 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2022-10-13 11:47:42 -0400 |
commit | 5ff3d1e5ce90dbb0d9f0dda3f4842052793152b2 (patch) | |
tree | a293ab5ae7ca91874e0153dad2d21fc60253c828 /test/functional/test_runner.py | |
parent | 1dec90d95b8c189c44fceb92954955b19cbea7ec (diff) | |
parent | bff05bd7456d3634b0c83539293a753db6d76376 (diff) | |
download | bitcoin-5ff3d1e5ce90dbb0d9f0dda3f4842052793152b2.tar.xz |
Merge bitcoin/bitcoin#24269: test: add functional test for `-discover`
bff05bd7456d3634b0c83539293a753db6d76376 test: add functional test for -discover (brunoerg)
Pull request description:
This PR adds a functional test for `-discover`. It tests different scenarios where `localaddresses` should be empty or may contain the addresses. Obs: `localaddresses` is not always accurate, so it's not possible to ensure (100%) it will contain any addresses.
https://github.com/bitcoin/bitcoin/blob/515200298b555845696a07ae2bc0a84a5dd02ae4/src/init.cpp#L449
Obs: See #24258 - It adds test coverage for this field but for nodes with proxy.
ACKs for top commit:
mzumsande:
Code review ACK bff05bd7456d3634b0c83539293a753db6d76376
achow101:
ACK bff05bd7456d3634b0c83539293a753db6d76376
rajarshimaitra:
tACK bff05bd7456d3634b0c83539293a753db6d76376
Tree-SHA512: 8782497c146bce1ba86fda6146f3847465d7069f2cb6b84f2afc8f3b43efa813442bffe7447e9ce02adee304100b60365409bf0e5d875dfb880038442feec2a6
Diffstat (limited to 'test/functional/test_runner.py')
-rwxr-xr-x | test/functional/test_runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index d50d22b75c..628450f278 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -277,6 +277,7 @@ BASE_SCRIPTS = [ 'feature_dersig.py', 'feature_cltv.py', 'rpc_uptime.py', + 'feature_discover.py', 'wallet_resendwallettransactions.py --legacy-wallet', 'wallet_resendwallettransactions.py --descriptors', 'wallet_fallbackfee.py --legacy-wallet', |