Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Log milestones at startup and other minor logging improvements #733

Merged
merged 3 commits into from
Jan 31, 2019

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Jan 31, 2019

PR description

When pantheon starts up it now logs the milestone blocks that are in use e.g.

Protocol schedule created with milestones: [Frontier: 0, Homestead: 1150000, DaoRecoveryInit: 1920000, DaoRecoveryTransition: 1920001, Homestead: 1920010, TangerineWhistle: 2463000, SpuriousDragon: 2675000, Byzantium: 4370000, ConstantinopleFix: 7280000]

Note that milestones which are skipped (have the same block number as a later milestone) are deliberately omitted so it's clear exactly which milestone you get from a given block. So ropsten outputs:

Protocol schedule created with milestones: [TangerineWhistle: 0, SpuriousDragon: 10, Byzantium: 1700000, Constantinople: 4230000, ConstantinopleFix: 4939394]

Additionally, fix an error in the "Generated new key" log message where the word key was duplicated and don't print "Pausing mining while behind chain head" unless mining is actually enabled.

@ajsutton ajsutton merged commit 474511b into PegaSysEng:master Jan 31, 2019
@ajsutton ajsutton deleted the log-milestones branch January 31, 2019 21:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants