forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#1410: [Tests] Run tests on pre-HD wallets
4cd5c51 [Tests] Fix wallet_upgrade (random-zebra) 58ff9ec [Tests] Fix wallet_keypool_topup.py for non-HD wallets (random-zebra) 4cc90d0 [Tests] Add -legacywallet flag to run functional tests on pre-HD wallets (random-zebra) d1b070c [Wallet] Remove check preventing legacy wallet keypool topup (random-zebra) a22609d [Init] Add -legacywallet startup option (random-zebra) Pull request description: This adds a startup flag `-legacywallet`, which, on first run, enables the creation of a pre-HD wallet (when a wallet.dat is already present, the flag is just ignored). This flag is available for RegTest only. A special option `--legacywallet` is also added to the functional test_runner. Single tests (or the entire test suite) can now be performed over legacy wallets easily, e.g.: ``` ./test_runner.py -j10 --legacywallet ./wallet_basic.py --legacywallet ``` **Note 1**: Running with pre-HD wallets, the `wallet_accounts.py` test fails. It is fixed in a successive PR. **Note 2**: Travis currently is set to run the functional test suite only on HD wallets. Top commit has no ACKs. Tree-SHA512: 311db59078ee3c5bd727eaa6fa9f3e19a5490bc42359d8c849b06da617376898644b6cb93ab8cbbd4deb515111ff165ba0478f74371fb9bd240dc74006cda9c9
- Loading branch information
Showing
7 changed files
with
62 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters