0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-11 11:16:09 -05:00
bitcoin-bitcoin-core/src/wallet/test
MarcoFalke 59f0687fea
Merge #16786: test: add unit test for wallet watch-only methods involving PubKeys
a57a1d42d5 test: add unit test for wallet watch-only methods involving PubKeys (Sebastian Falbesoner)

Pull request description:

  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.

ACKs for top commit:
  Sjors:
    ACK a57a1d4
  instagibbs:
    reACK a57a1d42d5
  Sjors:
    re-ACK a57a1d4

Tree-SHA512: 92a242204ab533022cd848662997372c41815b1265d07b3d96305697f801db29a5ba5668337faf4bea702bec1451972529afd6665927fb142aaf91700a338b26
2019-10-10 12:12:54 -04: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 Merge #16786: test: add unit test for wallet watch-only methods involving PubKeys 2019-10-10 12:12:54 -04:00