mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-23 03:20:19 +08:00
the genesis block will encode all stage it went through, the signing keys, and the final stage (as the actual "genesis block" to be loaded into the db)
This commit is contained in:
@@ -21,9 +21,21 @@
|
||||
along with Blockstack. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
# this is a place-holder
|
||||
GENESIS_BLOCK = {
|
||||
'history': [],
|
||||
'rows': [],
|
||||
}
|
||||
# for the sake of interpreting a JSON string as Python
|
||||
true = True
|
||||
false = False
|
||||
|
||||
# TODO: fill in
|
||||
GENESIS_BLOCK_STAGES = [
|
||||
{
|
||||
'history': [],
|
||||
'rows': [],
|
||||
}
|
||||
]
|
||||
|
||||
# TODO: fill in -- map key ID to ASCII armored public key
|
||||
GENESIS_BLOCK_SIGNING_KEYS = {}
|
||||
|
||||
# genesis block is the final stage of the genesis block's evolution
|
||||
GENESIS_BLOCK = GENESIS_BLOCK_STAGES[-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user