From 2222c96deec0f636dee6e49efb745f29b06a40a5 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 10 Sep 2019 09:38:09 -0400 Subject: [PATCH] test: Add notes on how to generate data/wallets/high_minversion --- test/functional/data/wallets/high_minversion/GENERATE.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/functional/data/wallets/high_minversion/GENERATE.md diff --git a/test/functional/data/wallets/high_minversion/GENERATE.md b/test/functional/data/wallets/high_minversion/GENERATE.md new file mode 100644 index 00000000000..e55c4557cab --- /dev/null +++ b/test/functional/data/wallets/high_minversion/GENERATE.md @@ -0,0 +1,8 @@ +The wallet has been created by starting Bitcoin Core with the options +`-regtest -datadir=/tmp -nowallet -walletdir=$(pwd)/test/functional/data/wallets/`. + +In the source code, `WalletFeature::FEATURE_LATEST` has been modified to be large, so that the minversion is too high +for a current build of the wallet. + +The wallet has then been created with the RPC `createwallet high_minversion true true`, so that a blank wallet with +private keys disabled is created.