aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-10-30 23:53:38 -0700
committerPieter Wuille <[email protected]>2016-10-31 00:10:36 -0700
commit3f78562df5e86a2a0a21812047fc3a7db8cee988 (patch)
tree44ef06335547c3314542061669a18ebe7bef29c4 /src/main.h
parentAdd AcceptToMemoryPoolWithTime function (diff)
downloaddiscoin-3f78562df5e86a2a0a21812047fc3a7db8cee988.tar.xz
discoin-3f78562df5e86a2a0a21812047fc3a7db8cee988.zip
Add DumpMempool and LoadMempool
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 5a3af52fe..4c6af9514 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)