-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cardano-node after addition of the new BulkSync implementation #5942
base: master
Are you sure you want to change the base?
Conversation
c76fc4f
to
d523ca1
Compare
only temporary for testing (remove this commit once we rebased on top of 9.1.1/9.2.0)
@@ -280,6 +280,7 @@ defaultYamlHardforkViaConfig era = | |||
, (proxyName (Proxy @TraceBlockFetchProtocolSerialised), Aeson.Bool False) | |||
, (proxyName (Proxy @TraceBlockFetchServer), Aeson.Bool False) | |||
, (proxyName (Proxy @TraceBlockchainTime), Aeson.Bool True) | |||
, (proxyName (Proxy @TraceChainSyncJumping), Aeson.Bool False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep with the ordering, this should be under TraceChainSyncHeaderServer
.
@@ -329,7 +332,8 @@ instance FromJSON PartialNodeConfiguration where | |||
|
|||
-- Genesis syncing protocol | |||
-- DISABLED BY DEFAULT | |||
pncEnableGenesis <- Last <$> v .:? "EnableGenesis" .!= Just False | |||
pncEnableGenesis <- Last <$> v .:? "EnableGenesis" .!= Just False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why two configuration values? If the genesis config plans aren't present then we know to not enable it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, what would you prefer instead? Something like
Genesis:
Enable: True
# optionally
LowLevelOptions:
....
?
- Move most info to higher verbosity/detail level (to avoid spamming the logs) - Use structured logging instead of `Show` instances
This PR is stale because it has been open 45 days with no activity. |
This PR updates tracing and exposes the genesis configuration.
It requires IntersectMBO/ouroboros-consensus#1179.
cabal.project
is made to point to a back-port of the BulkSync implementation onouroboros-network-0.16.1.1
andouroboros-consensus-0.20.0.0
.