forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
backport: merge bitcoin#25153, #25113, #25249, #25369, #25617, #25611, #25736, #25714, #26612, #27605, #30464, partial bitcoin#25551 (univalue backports) #6775
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1780961
revert: bitcoin#25464 (Reduce Univalue push_backV peak memory usage i…
kwvg b1ae6f5
Squashed 'src/univalue/' changes from 2740c4f712..a44caf65fe
kwvg f0caaf9
depends: update 'src/univalue' to bitcoin-core/univalue-subtree@a44ca…
kwvg b07e550
merge bitcoin#25153: Use getInt<T> over get_int/get_int64
kwvg 774a8ff
depends: update 'src/univalue' to bitcoin-core/univalue-subtree@6c19d…
kwvg 88f794f
Squashed 'src/univalue/' changes from a44caf65fe..6c19d050a9
kwvg 9db7b12
merge bitcoin#25113: Bump univalue subtree
kwvg b3443ee
Squashed 'src/univalue/' changes from 6c19d050a9..de4f73ddca
kwvg c0c3af9
depends: update 'src/univalue' to bitcoin-core/univalue-subtree@de4f7…
kwvg 6b9e682
merge bitcoin#25249: Bump univalue subtree
kwvg 1e023e5
merge bitcoin#25369: Unsubtree Univalue
kwvg d980870
revert: revert bitcoin#25464 (Reduce Univalue push_backV peak memory …
kwvg 94bbbf1
partial bitcoin#25551: Throw exception on invalid Univalue pushes ove…
kwvg 7802752
merge bitcoin#25617: univalue test cleanups
kwvg 32958da
merge bitcoin#25611: Avoid brittle, narrowing and verbose integral ty…
kwvg 27cffb1
refactor: shed avoidable casts in Dash-specific UniValue-ret functions
kwvg 6f03a13
merge bitcoin#25736: Remove unused and confusing set*() return value
kwvg 41eb3b0
merge bitcoin#25714: Avoid std::string copies
kwvg 203a1c1
merge bitcoin#26612: pass named argument value as string_view
kwvg 6d81d06
merge bitcoin#27605: Replace global find_value function with UniValue…
kwvg f00dc78
build: drop `-Wdangling-reference` GCC suppression
kwvg 05e2091
merge bitcoin#30464: Fix MSVC warning C4101 "unreferenced local varia…
kwvg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consistency: convert enum values with
ToUnderlyingnVersionis explicitly converted withToUnderlying, butbestCLHeightDiff(plain integral) andnReasonbelow are not enums.However,
CProUpRevTx::nReasonis an enum class (seeprotx.h). Passing it directly relies on an implicit conversion that is forbidden for scoped enums on some compilers. Use the same helper for clarity and portability:This mirrors the pattern used for
nTypeand avoids future compile issues.📝 Committable suggestion
🤖 Prompt for AI Agents