Skip to content
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

Reorg resistant Header sub #10

Open
ggwpez opened this issue Jun 18, 2021 · 1 comment
Open

Reorg resistant Header sub #10

ggwpez opened this issue Jun 18, 2021 · 1 comment

Comments

@ggwpez
Copy link

ggwpez commented Jun 18, 2021

Location: [backend/eth/subscription]

Problem: We currently use SubscribeNewHead to wait for headers, e.g. secondaryWaitBlocks.
Headers will be sent multiple times when a reorg occurs.

Possible fixes:
Create and use a reorg resistant

  • Header Sub
    OR
  • Block Timeout
@matthiasgeihs
Copy link
Contributor

If I understand correctly, this purely refers to waitConcludedSecondary.

@matthiasgeihs matthiasgeihs transferred this issue from hyperledger-labs/go-perun Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants