You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for this issue genesis section needs to include: genesis time and genesis extra data (other fields can be moved into this config later)
genesis time is a string with time encoded according to RFC3339
genesis extra data is a string with a max size of 255 chars. defaults to mainnet
when node is started check if genesis section is already stored in the data directory (example: /data/genesis.conf)
if it is not stored, encode genesis section with json and persist it on disk
if stored - decode object with json into another instance of genesis config, compute diff using https://github.com/google/go-cmp/ and print fatal error to the operator with a diff and a path to persisted genesis conf
compute genesis id as a hash from genesis time and genesis extra data
golden atx should be set to genesis id
The text was updated successfully, but these errors were encountered:
dshulyak
changed the title
cmd/node, p2p: configuration changes for genesis id
cmd/node: configuration changes for genesis id
Aug 27, 2022
part of: spacemeshos/pm#135
depends on: #3505
mainnet
The text was updated successfully, but these errors were encountered: