Skip to content

Commit 9e8a867

Browse files
committed
Implementation of deterministic MNs list
1 parent 76fd308 commit 9e8a867

File tree

10 files changed

+948
-0
lines changed

10 files changed

+948
-0
lines changed

src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ BITCOIN_CORE_H = \
109109
evo/evodb.h \
110110
evo/specialtx.h \
111111
evo/providertx.h \
112+
evo/deterministicmns.h \
112113
privatesend.h \
113114
privatesend-client.h \
114115
privatesend-server.h \
@@ -222,6 +223,7 @@ libdash_server_a_SOURCES = \
222223
evo/evodb.cpp \
223224
evo/specialtx.cpp \
224225
evo/providertx.cpp \
226+
evo/deterministicmns.cpp \
225227
httprpc.cpp \
226228
httpserver.cpp \
227229
init.cpp \

src/dsnotificationinterface.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include "privatesend-client.h"
1515
#endif // ENABLE_WALLET
1616

17+
#include "evo/deterministicmns.h"
18+
1719
void CDSNotificationInterface::InitializeCurrentBlockTip()
1820
{
1921
LOCK(cs_main);
@@ -35,6 +37,8 @@ void CDSNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, con
3537
if (pindexNew == pindexFork) // blocks were disconnected without any new ones
3638
return;
3739

40+
deterministicMNManager->UpdatedBlockTip(pindexNew);
41+
3842
masternodeSync.UpdatedBlockTip(pindexNew, fInitialDownload, connman);
3943

4044
// Update global DIP0001 activation status

0 commit comments

Comments
 (0)