forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Vibe Coded rebase of 444 onto version 30 #1
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
Draft
Rob1Ham
wants to merge
47
commits into
v30.0-base
Choose a base branch
from
v30.0-BIP-444
base: v30.0-base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
0ca6839
Add concept of temporary softforks (buried only for now)
luke-jr 69cdd1f
Define no-op "reduced_data" buried deployment (no activation params)
luke-jr 6257eb2
Use TAPROOT_CONTROL_MAX_NODE_COUNT_REDUCED for non-consensus Taproot …
luke-jr 0bd7de3
Policy: Enforce SCRIPT_VERIFY_REDUCED_DATA as a policy rule
luke-jr ab89af2
script: Define SCRIPT_VERIFY_REDUCED_DATA verification flag (unused) …
luke-jr 4669be9
script: Limit Taproot annex to 256 bytes for SCRIPT_VERIFY_REDUCED_DA…
luke-jr 869ea40
script: Forbid Taproot annex entirely with SCRIPT_VERIFY_REDUCED_DATA…
luke-jr cf21920
script: Forbid OP_IF in Tapscript with SCRIPT_VERIFY_REDUCED_DATA (st…
luke-jr e94bfc1
script: Limit Taproot control block to 257 bytes for SCRIPT_VERIFY_RE…
luke-jr 1adc64b
consensus: Enforce SCRIPT_VERIFY_REDUCED_DATA if DEPLOYMENT_REDUCED_D…
luke-jr 1019466
Limit datacarriersize config to MAX_OUTPUT_DATA_SIZE (=83 B)
luke-jr a42df5b
consensus: Add no-op flags to CheckTxInputs function
luke-jr 6957cb4
consensus: Define CheckTxInputsRules::OutputSizeLimit flag (unused) t…
luke-jr a632853
consensus: When CheckTxInputsRules::OutputSizeLimit is enforced (stil…
luke-jr aceba7d
QA: rpc_getdescriptoractivity: Use RAW_OP_TRUE for test_no_address
luke-jr e579f20
QA: test_framework/wallet: Turn MiniWalletMode.RAW_P2PK into actually…
luke-jr 0235c6a
RPC/Mempool: Provide tx memory usage in testmempoolaccept
luke-jr 4a8054e
QA: test_framework/mempool_util: Calibrate fill_mempool bulk tx size …
luke-jr e6e26a8
Bugfix: QA: mempool_limit: Use "usage" rather than "bytes"
luke-jr 368b84a
QA: test_framework: Use multiple OP_RETURNs to pad transactions rathe…
luke-jr bc2ed08
consensus: Enforce CheckTxInputsRules::OutputSizeLimit when DEPLOYMEN…
luke-jr 2cc8124
Policy: Do not allow user to bypass SCRIPT_VERIFY_DISCOURAGE_{UPGRADA…
luke-jr 90cd949
consensus: Enforce SCRIPT_VERIFY_DISCOURAGE_{UPGRADABLE_WITNESS_PROGR…
luke-jr 14c0f5b
Simple check for and invalidating (TBD) bad block
luke-jr 1c91125
Define a service bit for BIP148
luke-jr 7c80bb6
Add questionmark to end of BIP148 service bit string, and add to bitc…
luke-jr e2e6691
Preferentially peer with nodes enforcing BIP148 to avoid partitioning…
luke-jr a0933c2
Append UA string with UASF-ReducedData:0.1/
luke-jr 1231c4d
tests: fix feature_cltv, feature_dersig, mempool_accept, and mempool_…
moneybadger1 f767bab
tests: fix BIP148 service bit
moneybadger1 70eeda3
test: Adapt functional tests to MAX_OUTPUT_SCRIPT_SIZE=34 consensus l…
3c853b6299 68a7bbc
test: Skip test_segwit_versions subtest (conflicts with DEPLOYMENT_RE…
3c853b6299 414bdb2
Fix p2p_1p1c_network test by using dynamic feerates based on mempool …
dathonohm 5c4302c
Fix interface_bitcoin_cli test to accept BIP148 service bit
dathonohm 4a80c5f
Fix p2p_addrv2_relay test to handle BIP148 service bit CompactSize en…
dathonohm dc24f53
Fix addpeeraddress RPC to include NODE_BIP148 service flag
dathonohm 7ffa7f4
Refactor: Include all reduced_data verify flags in REDUCED_DATA_MANDA…
luke-jr d9f6e13
validation: Extend CheckInputScripts to allow overriding script valid…
luke-jr 706651b
validation: Exempt inputs spending UTXOs prior to ReducedDataHeightBe…
luke-jr ebb01d9
fixup! test: skip test_segwit_versions subtest conflicting with DEPLO…
luke-jr c37e856
Rename BIP148 service bit to BIP444
luke-jr 85f7b0a
clientversion: Rename fork to UASF-BIP444
luke-jr c919c17
test: implement functional tests for UASF-ReducedData Spec
3c853b6299 7dd40db
test: Add UTXO height-based REDUCED_DATA enforcement test
dathonohm d859029
test: Update tests for REDUCED_DATA consensus limits
dathonohm 7fd3cdc
test: Replace thresh() with and_v() in descriptor test
dathonohm bb118dc
test: Add NODE_BIP444 service flag to peer connection tests
dathonohm 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
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.
Its interesting utreexo stuff somehow ended up in here. Also
NODE_MALICIOUS? Was that part of the bip444 implementation?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.
This repo is me cherry picking all UASF commits and just dropping them on v30 with llms doing auto merge conflicts.
here it is in the original proposed uasf code: https://github.com/UASF/bitcoin/blob/e5100daf50eea365f0930fbdb00a973cd0bc1371/src/protocol.cpp#L107
Uh oh!
There was an error while loading. Please reload this page.
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.
Dathon told me it's a knots service bit that rejects libre relay