[Testing only] Mainnet normalization tests #239

Closed
kaykurokawa wants to merge 332 commits from mainnet_normalization_tests into master
kaykurokawa commented 2018-11-26 04:48:18 +01:00 (Migrated from github.com)

This goes on top of https://github.com/lbryio/lbrycrd/pull/235, I created this branch to be able to test the normalization hard fork on mainnet. There is a change that will reset the difficulty down to the lowest possible value at the hard fork height so you can generate a block on your own.

6d8ea77 - You will have to set the correct nNormalizedNameForkHeight for your node here. Set it so that when your node starts up, it will not have hit this height. This commit resets the difficulty at the hard fork height, allowing you to generate blocks on your own

58f9453 - I saw that due to the number of claims on the mainnet, any logging that happens on a per claim basis will slow down the normalization process at the hard fork height by a lot, so I removed them. The claimtrie normalization process took about 10 minutes with the logging, and about 30 seconds without the logging. This commit should be cherry picked on to the main normalization hard fork PR.

This goes on top of https://github.com/lbryio/lbrycrd/pull/235, I created this branch to be able to test the normalization hard fork on mainnet. There is a change that will reset the difficulty down to the lowest possible value at the hard fork height so you can generate a block on your own. 6d8ea77 - You will have to set the correct nNormalizedNameForkHeight for your node here. Set it so that when your node starts up, it will not have hit this height. This commit resets the difficulty at the hard fork height, allowing you to generate blocks on your own 58f9453 - I saw that due to the number of claims on the mainnet, any logging that happens on a per claim basis will slow down the normalization process at the hard fork height by a lot, so I removed them. The claimtrie normalization process took about 10 minutes with the logging, and about 30 seconds without the logging. This commit should be cherry picked on to the main normalization hard fork PR.
BrannonKing (Migrated from github.com) reviewed 2018-11-26 04:48:18 +01:00

Pull request closed

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#239
No description provided.