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:
Jude Nelson
2018-10-21 02:16:35 -04:00
parent 8d3743036d
commit 98396cf469

View File

@@ -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]