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

Add Whisper Rollback Endpoint With Smart Contract Signature Authentication #144

Merged
merged 8 commits into from
Dec 12, 2018

Conversation

dbkbali
Copy link

@dbkbali dbkbali commented Dec 12, 2018

  • This pull request adds functionality to subscribe the geth node to listen for whisper broadcast messages to rollback the blockchain.

  • Upon receipt of the message the signature is verified against a deployed smart contract (the whisper signers contract). The address of which can be included in the config.toml

  • If the broadcast message is verified the chain and the postgresql db (if enabled) will rollback and remove all blocks at block heights above the designated blockhash

@GregTheGreek GregTheGreek merged commit 359baf1 into development Dec 12, 2018
@GregTheGreek GregTheGreek deleted the whisper_smart_endpoint branch December 12, 2018 18:53
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.

2 participants