forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Spork] Define SporkId enum (with its serialization)
- Loading branch information
1 parent
41effbf
commit 4df1046
Showing
8 changed files
with
84 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Copyright (c) 2014-2016 The Dash developers | ||
// Copyright (c) 2016-2019 The PIVX developers | ||
// Distributed under the MIT/X11 software license, see the accompanying | ||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||
|
||
#ifndef SPORKID_H | ||
#define SPORKID_H | ||
|
||
/* | ||
Don't ever reuse these IDs for other sporks | ||
- This would result in old clients getting confused about which spork is for what | ||
*/ | ||
|
||
enum SporkId : int32_t { | ||
SPORK_2_SWIFTTX = 10001, | ||
SPORK_3_SWIFTTX_BLOCK_FILTERING = 10002, | ||
SPORK_5_MAX_VALUE = 10004, | ||
SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT = 10007, | ||
SPORK_9_MASTERNODE_BUDGET_ENFORCEMENT = 10008, | ||
SPORK_10_MASTERNODE_PAY_UPDATED_NODES = 10009, | ||
SPORK_13_ENABLE_SUPERBLOCKS = 10012, | ||
SPORK_14_NEW_PROTOCOL_ENFORCEMENT = 10013, | ||
SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2 = 10014, | ||
SPORK_16_ZEROCOIN_MAINTENANCE_MODE = 10015, | ||
|
||
SPORK_START = SPORK_2_SWIFTTX, | ||
SPORK_END = SPORK_16_ZEROCOIN_MAINTENANCE_MODE, | ||
SPORK_INVALID = -1 | ||
}; | ||
|
||
#endif |