diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2019-09-01 22:10:51 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2019-09-16 23:23:48 +0200 |
commit | a57a1d42d52fe51e5b413a1fd3a5ef2b7a2120e3 (patch) | |
tree | 30c1a237786b8dae3d39d50eb1c0932b0ca7bb8f /test/functional/test_framework/script_util.py | |
parent | d3e672119e80b04f15548b5bfae279cd722eac24 (diff) |
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
798a589aff64b83a0844688a661f4bd987c3340c) 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
Diffstat (limited to 'test/functional/test_framework/script_util.py')
0 files changed, 0 insertions, 0 deletions