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
redeclare nChainTx to use uint64_t #29331
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
0dce715
to
10d4aa8
Compare
🚧 At least one of the CI tasks failed. Make sure to run all tests locally, according to the Possibly this is due to a silent merge conflict (the changes in this pull request being Leave a comment here, if you need help tracking down a confusing failure. |
c90ca59
to
ecabf53
Compare
Would you mind adding a test? It should be possible to fake a large |
It's annoying that each test doing something like that would need to add an entry to the regtest chainparams, maybe my suggestion here to allow that per RPC could make sense (not necessarily in this PR). |
I was thinking of a unit test, so no need for an RPC but yes some way to add assumeutxo data for tests would be needed (I assumed we already have this). |
I don't think you need to detail what is changed and if the tests pass in the description. It would be better to focus on information that is useful to reviewers. For example, a measurement of memory before and after. Also, when changing the type, you'll have to check all places where this is used, and update them, if needed. For example, casts should be removed and other types need to be increased in width to hold the new values. |
Are you still working on this? If not, I am happy to pick up. |
Could I please have just a bit more time to work on this? Thanks, Reese |
@russeree are you still following up here? |
I would be willing to hand this off now, primary issue is the inability to allocate the proper amount of time due to other work commitments. Sorry if this caused any substantial setbacks. |
No worries. @maflcko may pick it up. |
Following up on #29258 the type of
nChainTx
has now been changed to auint64_t
allowing for the counting of TXs well into the future. The note about changing the type in 2024 was also removed. This passes all extended tests.