diff options
| author | Alex Morcos <[email protected]> | 2015-12-04 15:01:22 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2016-03-16 16:11:46 -0400 |
| commit | 982670c333aff6d5660c18ed00931df764733529 (patch) | |
| tree | c30509abd3422e3e7fcdd10320885eabc5dac126 /src/test/test_bitcoin.h | |
| parent | Merge #7526: fix spelling of advertise (shows up in the debug log) (diff) | |
| download | discoin-982670c333aff6d5660c18ed00931df764733529.tar.xz discoin-982670c333aff6d5660c18ed00931df764733529.zip | |
Add LockPoints
Obtain LockPoints to store in CTxMemPoolEntry and during a reorg, evaluate whether they are still valid and if not, recalculate them.
Diffstat (limited to 'src/test/test_bitcoin.h')
| -rw-r--r-- | src/test/test_bitcoin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h index c62392088..769ae5a13 100644 --- a/src/test/test_bitcoin.h +++ b/src/test/test_bitcoin.h @@ -9,6 +9,7 @@ #include "key.h" #include "pubkey.h" #include "txdb.h" +#include "txmempool.h" #include <boost/filesystem.hpp> #include <boost/thread.hpp> @@ -71,7 +72,8 @@ struct TestMemPoolEntryHelper bool hadNoDependencies; bool spendsCoinbase; unsigned int sigOpCount; - + LockPoints lp; + TestMemPoolEntryHelper() : nFee(0), nTime(0), dPriority(0.0), nHeight(1), hadNoDependencies(false), spendsCoinbase(false), sigOpCount(1) { } |