HomePhabricator

Allow large integers to be used in maxtries

Description

Allow large integers to be used in maxtries

Summary:
While doing some testing, I ran into this issue.
maxtries is the total number of tries regardless of the number of blocks to generate.
On modern machines, it's trivial to hit the limit when generating hundreds of blocks in
one go. The underlying implementation already supports 64-bit int, so let's use it.

Test Plan:

ninja
test_runner.py mining_basic

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D7138

Details

Provenance
jasonbcoxAuthored on Aug 6 2020, 17:55
abc-botPushed on Aug 6 2020, 17:58
Reviewer
Restricted Project
Differential Revision
D7138: Allow large integers to be used in maxtries
Parents
rABC12579ad42fda: Polish release notes
Branches
Unknown
Tags
Unknown