kevacoin/src/wallet
Russell Yanofsky ff44101e8d
Fix rescan test failure due to unset g_address_type, g_change_type
New global variables were introduced in #11403 and not setting them causes:

    test_bitcoin: wallet/wallet.cpp:4259: CTxDestination GetDestinationForKey(const CPubKey&, OutputType): Assertion `false' failed.
    unknown location(0): fatal error in "importwallet_rescan": signal: SIGABRT (application abort requested)

It's possible to reproduce the failure reliably by running:

    src/test/test_bitcoin --log_level=test_suite --run_test=wallet_tests/importwallet_rescan

Failures happen nondeterministically because boost test framework doesn't run
tests in a specified order, and tests that run previously can set the global
variables and mask the bug.

Github-Pull: #12424
Rebased-From: b7f6002ed5d12b461eb56b768d06f2468cd0c12e
Tree-SHA512: 1cc64db3b1d886d793e9d194b318dde3d5f628bde778a50513de4bf54dcfc77152885e72608927e3e490d253350ca0381847539a904cb31862f3a6fceac88dc1
2018-02-14 12:29:12 +01:00
..
test Fix rescan test failure due to unset g_address_type, g_change_type 2018-02-14 12:29:12 +01:00
coincontrol.h [wallet] Add change type to CCoinControl 2018-01-24 15:52:05 +00:00
crypter.cpp Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
crypter.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
db.cpp Abstract directory locking into util.cpp 2018-01-16 19:05:46 +13:00
db.h Add a lock to the wallet directory 2018-01-16 19:02:57 +13:00
feebumper.cpp scripted-diff: Replace #include "" with #include <> (ryanofsky) 2017-11-16 08:23:01 +13:00
feebumper.h [wallet] Change feebumper from class to functions 2017-11-10 17:16:46 -05:00
fees.cpp scripted-diff: Replace #include "" with #include <> (ryanofsky) 2017-11-16 08:23:01 +13:00
fees.h scripted-diff: Replace #include "" with #include <> (ryanofsky) 2017-11-16 08:23:01 +13:00
init.cpp initwallet: Do not translate highly technical addresstype help 2018-01-24 11:30:44 -05:00
init.h [trivial] fixup comment for VerifyWallets() 2017-09-07 16:22:11 -07:00
rpcdump.cpp Bech32 addresses in dumpwallet 2018-02-08 10:07:45 +01:00
rpcwallet.cpp [rpc] Mention that HD is enabled if hdmasterkeyid is present 2018-01-29 21:00:27 +08:00
rpcwallet.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
wallet.cpp [wallet] Remove duplicate mapWallet lookups 2018-01-28 17:25:16 +00:00
wallet.h [wallet] Add change type to CCoinControl 2018-01-24 15:52:05 +00:00
walletdb.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
walletdb.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
walletutil.cpp Don't allow relative -walletdir paths 2018-01-18 15:09:27 -05:00
walletutil.h Cleanups for walletdir PR 2017-12-13 23:36:43 +13:00