File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ BITCOIN_CORE_H = \
226226 evo/mnauth.h \
227227 evo/mnhftx.h \
228228 evo/netinfo.h \
229+ evo/snapshot_types.h \
229230 evo/providertx.h \
230231 evo/simplifiedmns.h \
231232 evo/smldiff.h \
@@ -531,6 +532,7 @@ libbitcoin_node_a_SOURCES = \
531532 evo/mnauth.cpp \
532533 evo/mnhftx.cpp \
533534 evo/snapshot.cpp \
535+ evo/snapshot_load.cpp \
534536 evo/providertx.cpp \
535537 evo/simplifiedmns.cpp \
536538 evo/smldiff.cpp \
@@ -1368,6 +1370,7 @@ libdashkernel_la_SOURCES = \
13681370 util/threadnames.cpp \
13691371 util/time.cpp \
13701372 util/tokenpipe.cpp \
1373+ evo/snapshot_load.cpp \
13711374 validation.cpp \
13721375 validationinterface.cpp \
13731376 versionbits.cpp \
Original file line number Diff line number Diff line change 88#include < consensus/params.h>
99#include < evo/creditpool.h>
1010#include < evo/deterministicmns.h>
11+ #include < evo/snapshot_types.h>
1112#include < llmq/commitment.h>
1213#include < llmq/params.h>
1314#include < llmq/snapshot.h>
@@ -41,12 +42,6 @@ class CQuorumSnapshotManager;
4142
4243namespace evo {
4344
44- class SnapshotStateMismatchError : public std ::runtime_error
45- {
46- public:
47- using std::runtime_error::runtime_error;
48- };
49-
5045static constexpr uint16_t EVO_SNAPSHOT_VERSION {3 };
5146/* * Serialized little-endian bytes are "DASHEVO\0". */
5247static constexpr uint64_t EVO_SNAPSHOT_MARKER {0x004f564548534144ULL };
You can’t perform that action at this time.
0 commit comments