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 another type of spork to invalid block by its hash or by its height #33

Open
hanzac opened this issue Aug 27, 2018 · 1 comment
Open

Comments

@hanzac
Copy link
Contributor

hanzac commented Aug 27, 2018

This is to work in case of network having trouble of chain forks.
This can work with SPORK_6_RECONSIDER_BLOCKS: Forces reindex of a specified number of blocks to recover from unintentional network forks.

@TheSin-
Copy link
Collaborator

TheSin- commented Aug 27, 2018

turns out that there is no code for RECONSIDER_BLOCKS SPORK at all, Dash must have removed it

and since as I mentioned you can only use int64s for SPORKS you can't send a hash, invalid can't be controlled that way.

I'm going to keep this open to think about it but it's likely not going to see it's way in anytime soon since the first spork needs to be written and the second one isn't a valid type.

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