mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-02 19:51:13 +00:00
tests: Move ADDRESS_BCRT1_UNSPENDABLE to wallet/test/util.h
This static address is usable for other wallet tests and benchmarks, so make it available to them.
This commit is contained in:
parent
c61d3f02f5
commit
846b2fe67e
@ -14,8 +14,6 @@
|
||||
|
||||
#include <optional>
|
||||
|
||||
const std::string ADDRESS_BCRT1_UNSPENDABLE = "bcrt1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq3xueyj";
|
||||
|
||||
namespace wallet {
|
||||
static void WalletBalance(benchmark::Bench& bench, const bool set_dirty, const bool add_mine)
|
||||
{
|
||||
|
||||
@ -32,6 +32,8 @@ static const DatabaseFormat DATABASE_FORMATS[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
const std::string ADDRESS_BCRT1_UNSPENDABLE = "bcrt1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq3xueyj";
|
||||
|
||||
std::unique_ptr<CWallet> CreateSyncedWallet(interfaces::Chain& chain, CChain& cchain, const CKey& key);
|
||||
|
||||
std::shared_ptr<CWallet> TestLoadWallet(WalletContext& context);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user