Skip to content

Commit

Permalink
Merge #2809: [Tier Two] Pre dip7 upgrade
Browse files Browse the repository at this point in the history
3007354 RPC: Add listquorums and getquoruminfo (Alessandro Rezzi)
747863c Added quorum and quorum manager classes (Alessandro Rezzi)

Pull request description:

  Abstract:
  The aim of this PR is adding all the background needed to implement Signing Requests (dip7). Two new classes are added that will help: storing/fetching/make sure we are connected to the latest k quorums

ACKs for top commit:
  Liquid369:
    ACK 3007354
  Fuzzbawls:
    ACK 3007354

Tree-SHA512: fa210544441d9c9e513adb40030c8f0caa1d8b28d0e6ae9c65a369418484511531600c780885d10dab255c4e6523926b1eabf3c67c7a7c0eee87955cb490ac9f
  • Loading branch information
Fuzzbawls committed Mar 13, 2023
2 parents ac8a74d + 3007354 commit 6f2d9be
Show file tree
Hide file tree
Showing 13 changed files with 695 additions and 6 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ set(SERVER_SOURCES
./src/interfaces/wallet.cpp
./src/dbwrapper.cpp
./src/legacy/validation_zerocoin_legacy.cpp
./src/llmq/quorums.cpp
./src/mapport.cpp
./src/merkleblock.cpp
./src/miner.cpp
Expand Down
2 changes: 2 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ BITCOIN_CORE_H = \
evo/providertx.h \
evo/specialtx_validation.h \
flatdb.h \
llmq/quorums.h \
llmq/quorums_blockprocessor.h \
llmq/quorums_commitment.h \
llmq/quorums_connections.h \
Expand Down Expand Up @@ -367,6 +368,7 @@ libbitcoin_server_a_SOURCES = \
evo/mnauth.cpp \
evo/providertx.cpp \
evo/specialtx_validation.cpp \
llmq/quorums.cpp \
llmq/quorums_blockprocessor.cpp \
llmq/quorums_commitment.cpp \
llmq/quorums_connections.cpp \
Expand Down
2 changes: 2 additions & 0 deletions src/evo/evonotificationinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include "evo/deterministicmns.h"
#include "evo/mnauth.h"
#include "llmq/quorums.h"
#include "llmq/quorums_dkgsessionmgr.h"
#include "validation.h"

Expand All @@ -19,6 +20,7 @@ void EvoNotificationInterface::UpdatedBlockTip(const CBlockIndex *pindexNew, con
{
// background thread updates
llmq::quorumDKGSessionManager->UpdatedBlockTip(pindexNew, fInitialDownload);
llmq::quorumManager->UpdatedBlockTip(pindexNew, pindexFork, fInitialDownload);
}

void EvoNotificationInterface::NotifyMasternodeListChanged(bool undo, const CDeterministicMNList& oldMNList, const CDeterministicMNListDiff& diff)
Expand Down
Loading

0 comments on commit 6f2d9be

Please sign in to comment.