Skip to content

Commit 3f55435

Browse files
authored
Update masternode-payments.h
1 parent 11251ee commit 3f55435

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/masternode-payments.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ class CMasternodeBlockPayees;
1919

2020
static const int MNPAYMENTS_SIGNATURES_REQUIRED = 6;
2121
static const int MNPAYMENTS_SIGNATURES_TOTAL = 10;
22+
static const int DEFAULTMINPROTO = 79999;
23+
static const int FACTOR_ENFORCEMENT = 2;
2224

2325
//! minimum peer version that can receive and send masternode payment messages,
2426
// vote for masternode and be elected as a payment winner
2527
// V1 - Last protocol version before update
2628
// V2 - Newest protocol version
27-
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_1 = 70206;
28-
static const int MIN_MASTERNODE_PAYMENT_PROTO_VERSION_2 = 70208;
2929

3030
extern CCriticalSection cs_vecPayees;
3131
extern CCriticalSection cs_mapMasternodeBlocks;
@@ -210,6 +210,7 @@ class CMasternodePayments
210210
bool CanVote(COutPoint outMasternode, int nBlockHeight);
211211

212212
int GetMinMasternodePaymentsProto();
213+
int GetFactorEnforcement();
213214
void ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStream& vRecv, CConnman& connman);
214215
std::string GetRequiredPaymentsString(int nBlockHeight);
215216
void FillBlockPayee(CMutableTransaction& txNew, int nBlockHeight, CAmount blockReward, CTxOut& txoutMasternodeRet);

0 commit comments

Comments
 (0)