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

[chaincfg] Add a checkpoint at the next release. #29

Closed
davecgh opened this issue Feb 15, 2016 · 6 comments
Closed

[chaincfg] Add a checkpoint at the next release. #29

davecgh opened this issue Feb 15, 2016 · 6 comments

Comments

@davecgh
Copy link
Member

davecgh commented Feb 15, 2016

Since the chain is new and there is only roughly 2 TH/s hash power securing the network, I think it's important to get an initial checkpoint in place with the next release to prevent the ability to rewrite history before that point once more hash power shows up.

@davecgh davecgh changed the title [params] Add a checkpoint at the next release. [chaincfg] Add a checkpoint at the next release. Feb 15, 2016
@jcvernaleo
Copy link
Member

@davecgh @cjepson any thoughts as to a particular block to use for a checkpoint? I don't see any reason not to add one.

@davecgh
Copy link
Member Author

davecgh commented Feb 19, 2016

The findcheckpoint utility exists for identifying good candidates. From that list, I usually just pick one that has a 0 on the end so it's a nice round number.

@jcvernaleo
Copy link
Member

I totally forgot that findcheckpoint existed. I'll give that a shot and do a PR for this soon.

@jcvernaleo
Copy link
Member

As we discussed on irc, this brought up some issues findcheckpoint (from the upstream btcd version) has when there are no existing checkpoints and when working early in the chain. So this will have to wait for those to be fixed.

@jcvernaleo
Copy link
Member

@davecgh I can do a hash at:
Candidate 4 -- Height: 140, Hash: 000000000001cf214856cd2714479af5286c2b70160a21ae9babea7eea1f6311
Do you think that is worth it or should I wait until we are further in the chain?

@davecgh
Copy link
Member Author

davecgh commented Feb 22, 2016

I think it would be worthwhile to wait to at least 257 so the initial coins have matured by the time the checkpoint is reached.

jcvernaleo added a commit that referenced this issue Feb 23, 2016
Correct findcheckpoint output for Decred.

Closes #29
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