0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-09 15:37:00 -04:00
bitcoin-core/src/wallet/test
Sebastian Falbesoner a57a1d42d5 test: add unit test for wallet watch-only methods involving PubKeys
The motivation for this addition was to unit test the function
wallet.cpp:ExtractPubKey() (see recent change in commit
798a589aff) which is however static and only
indirectly available via the public methods AddWatchOnly(), LoadWatchOnly() and
RemoveWatchOnly(). Since the first of those methods also stores the addresses
to the disk, the second, simpler one was chosen which only operates in memory.

test: add missing wallet lock for test case WatchOnlyPubKeys

test: test case WatchOnlyPubKeys, suggested review changes by instagibbs

test: test case WatchOnlyPubKeys, suggested review changes by achow101

test: test case WatchOnlyPubKeys, s/isPubKeyFullyValid/is_pubkey_fully_valid
2019-09-16 23:23:48 +02:00
..
coinselector_tests.cpp scripted-diff: Bump copyright headers in wallet 2019-05-06 14:05:52 -04:00
db_tests.cpp test: Create data dir in BasicTestingSetup 2019-06-20 09:31:02 -04:00
init_test_fixture.cpp tests: Reduce compilation time and unneccessary recompiles by removing unused includes in tests 2019-06-26 20:37:48 +02:00
init_test_fixture.h scripted-diff: Bump copyright headers in wallet 2019-05-06 14:05:52 -04:00
init_tests.cpp Merge #16277: [Tests] Suppress output in test_bitcoin for expected errors 2019-08-01 15:17:10 +02:00
ismine_tests.cpp tests: Reduce compilation time and unneccessary recompiles by removing unused includes in tests 2019-06-26 20:37:48 +02:00
psbt_wallet_tests.cpp tests: Reduce compilation time and unneccessary recompiles by removing unused includes in tests 2019-06-26 20:37:48 +02:00
wallet_crypto_tests.cpp scripted-diff: Bump copyright headers in wallet 2019-05-06 14:05:52 -04:00
wallet_test_fixture.cpp tests: Reduce compilation time and unneccessary recompiles by removing unused includes in tests 2019-06-26 20:37:48 +02:00
wallet_test_fixture.h scripted-diff: Bump copyright headers in wallet 2019-05-06 14:05:52 -04:00
wallet_tests.cpp test: add unit test for wallet watch-only methods involving PubKeys 2019-09-16 23:23:48 +02:00