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

on_block_accepted logging and webhooks all the time #3486

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented Nov 9, 2020

Resolves #3485

We want to fire the registered on_block_accepted hooks regardless of SYNC.
We do still want to suppress block broadcast if SYNC.

Pretty sure this is fine to do even if we have webhooks registered. We use futures in the webhook code (hyper client) so these are not blocking and should be fine to run even during sync.

Copy link
Member

@quentinlesceller quentinlesceller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@quentinlesceller quentinlesceller merged commit 49cccea into mimblewimble:master Nov 9, 2020
@antiochp antiochp deleted the block_accepted_fix branch November 9, 2020 17:29
@antiochp antiochp mentioned this pull request Nov 26, 2020
bayk added a commit to mwcproject/mwc-node that referenced this pull request Jun 8, 2024
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

Successfully merging this pull request may close these issues.

on_block_accepted hooks should fire regardless of sync
2 participants