Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Support forkid in ENR #5897

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Support forkid in ENR #5897

wants to merge 1 commit into from

Conversation

gumb0
Copy link
Member

@gumb0 gumb0 commented Feb 26, 2020

Addresses #5889

TODO

  • construct forkHash in BlockChain::forkHash()
  • return forkNext from BlockChain::nextForkBlockNumber()
  • add eth field to ENR - easiest would be to add it to IdentitySchemeV4::updateENR and IdentitySchemeV4::createKeyValuePairs
  • pass forkHash and forkNext from NodeTable to IdentitySchemeV4::updateENR

cc @fjl

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.

None yet

1 participant