Updating chainparams, adding checkpoint at block 4000 to mainnet, fix… #9

Merged
kaykurokawa merged 1 commit from master into master 2016-07-02 02:31:07 +02:00
kaykurokawa commented 2016-07-02 00:02:27 +02:00 (Migrated from github.com)

This fixes the regtest and testnet parameters which are are necessary to create a testing environment for lbrycrd.

This also adds in a checkpoint on the mainnet at block 4000. Although checkpoints in bitcoin is used as a DOS prevention method, for our purpose it will effectively prevent malicious forks before that block since that is fairly easy to do with the current hash rate.

Parameters for BIP34 soft fork activation was changed from what it was in Bitcoin.

Some unit tests were also broken , and this has been fixed as well.

This fixes the regtest and testnet parameters which are are necessary to create a testing environment for lbrycrd. This also adds in a checkpoint on the mainnet at block 4000. Although checkpoints in bitcoin is used as a DOS prevention method, for our purpose it will effectively prevent malicious forks before that block since that is fairly easy to do with the current hash rate. Parameters for BIP34 soft fork activation was changed from what it was in Bitcoin. Some unit tests were also broken , and this has been fixed as well.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrycrd#9
No description provided.