aboutsummaryrefslogtreecommitdiff
path: root/src/test/util.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-04-10 15:06:31 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-04-15 16:49:34 -0400
commitfa46ac3127142358116c8473741708b3bb70ca15 (patch)
tree2a3a0a2f91df5ba0fcc0a6868a43290c458d36ea /src/test/util.cpp
parent78295e97b8d38ecf6628b5d8ce1efd3900a5c345 (diff)
bench: Add wallet_balance benchmarks
Diffstat (limited to 'src/test/util.cpp')
-rw-r--r--src/test/util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/util.cpp b/src/test/util.cpp
index 7c348c5b25..05d3a97a59 100644
--- a/src/test/util.cpp
+++ b/src/test/util.cpp
@@ -22,6 +22,8 @@
#include <boost/thread.hpp>
+const std::string ADDRESS_BCRT1_UNSPENDABLE = "bcrt1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq3xueyj";
+
#ifdef ENABLE_WALLET
std::string getnewaddress(CWallet& w)
{
@@ -75,7 +77,6 @@ CTxIn MineBlock(const CScript& coinbase_scriptPubKey)
return CTxIn{block->vtx[0]->GetHash(), 0};
}
-
std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
{
auto block = std::make_shared<CBlock>(