diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-10-30 23:53:38 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-10-31 00:10:36 -0700 |
commit | 3f78562df5e86a2a0a21812047fc3a7db8cee988 (patch) | |
tree | 44ef06335547c3314542061669a18ebe7bef29c4 /src/main.h | |
parent | ced7c949e8648b727c05adccdc2a977f129ca2cd (diff) | |
download | bitcoin-3f78562df5e86a2a0a21812047fc3a7db8cee988.tar.xz |
Add DumpMempool and LoadMempool
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index 5a3af52fed..4c6af95142 100644 --- a/src/main.h +++ b/src/main.h @@ -533,6 +533,12 @@ static const unsigned int REJECT_ALREADY_KNOWN = 0x101; /** Transaction conflicts with a transaction already known */ static const unsigned int REJECT_CONFLICT = 0x102; +/** Dump the mempool to disk. */ +void DumpMempool(); + +/** Load the mempool from disk. */ +bool LoadMempool(); + // The following things handle network-processing logic // (and should be moved to a separate file) |