42 extern std::map<uint256, CSporkMessage>
mapSporks;
75 template <
typename Stream,
typename Operation>
76 inline void SerializationOp(Stream& s, Operation ser_action,
int nType,
int nVersion) {
92 bool Sign(std::string strSignKey);
void ProcessSpork(CNode *pfrom, std::string &strCommand, CDataStream &vRecv, CConnman &connman)
static const int64_t SPORK_14_REQUIRE_SENTINEL_FLAG_DEFAULT
static const int64_t SPORK_9_SUPERBLOCKS_ENABLED_DEFAULT
static const int64_t SPORK_5_INSTANTSEND_MAX_VALUE_DEFAULT
static const int SPORK_10_MASTERNODE_PAY_UPDATED_NODES
std::map< uint256, CSporkMessage > mapSporks
static const int SPORK_3_INSTANTSEND_BLOCK_FILTERING
static const int SPORK_5_INSTANTSEND_MAX_VALUE
std::vector< unsigned char > vchSig
static const int SPORK_9_SUPERBLOCKS_ENABLED
int GetSporkIDByName(std::string strName)
std::string GetSporkNameByID(int nSporkID)
std::vector< unsigned char > vchSig
CSporkManager sporkManager
std::map< int, CSporkMessage > mapSporksActive
static const int SPORK_13_OLD_SUPERBLOCK_FLAG
std::string strMasterPrivKey
static const int SPORK_END
static const int SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT
bool Sign(std::string strSignKey)
void Relay(CConnman &connman)
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
static const int SPORK_12_RECONSIDER_BLOCKS
bool UpdateSpork(int nSporkID, int64_t nValue, CConnman &connman)
static const int SPORK_14_REQUIRE_SENTINEL_FLAG
CSporkMessage(int nSporkID, int64_t nValue, int64_t nTimeSigned)
static const int64_t SPORK_13_OLD_SUPERBLOCK_FLAG_DEFAULT
static const int64_t SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT_DEFAULT
static const int PROTOCOL_VERSION
static const int64_t SPORK_3_INSTANTSEND_BLOCK_FILTERING_DEFAULT
void ExecuteSpork(int nSporkID, int nValue)
static const int64_t SPORK_2_INSTANTSEND_ENABLED_DEFAULT
bool SetPrivKey(std::string strPrivKey)
bool IsSporkActive(int nSporkID)
static const int64_t SPORK_12_RECONSIDER_BLOCKS_DEFAULT
static const int SPORK_START
int64_t GetSporkValue(int nSporkID)
static const int SPORK_2_INSTANTSEND_ENABLED
static const int64_t SPORK_10_MASTERNODE_PAY_UPDATED_NODES_DEFAULT