-
Notifications
You must be signed in to change notification settings - Fork 21
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
[segnet3 hard-fork] Allow additional data in coinbase witness #60
base: segwit
Are you sure you want to change the base?
Commits on Mar 16, 2016
-
Testchains: Don't check the genesis block
Rebased by Pieter Wuille. Cleanup by Matt Corallo.
Configuration menu - View commit details
-
Copy full SHA for efa12a9 - Browse repository at this point
Copy the full SHA efa12a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3f9afd - Browse repository at this point
Copy the full SHA b3f9afdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bee617 - Browse repository at this point
Copy the full SHA 0bee617View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b6c2e4 - Browse repository at this point
Copy the full SHA 0b6c2e4View commit details -
Add segregated witness transaction serialization
Contains refactorings by Eric Lombrozo. Contains fixup by Nicolas Dorier.
Configuration menu - View commit details
-
Copy full SHA for 1c5149b - Browse repository at this point
Copy the full SHA 1c5149bView commit details -
Configuration menu - View commit details
-
Copy full SHA for af13f13 - Browse repository at this point
Copy the full SHA af13f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70b54b6 - Browse repository at this point
Copy the full SHA 70b54b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33489d6 - Browse repository at this point
Copy the full SHA 33489d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b180e7 - Browse repository at this point
Copy the full SHA 9b180e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0caed3f - Browse repository at this point
Copy the full SHA 0caed3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 778d1e4 - Browse repository at this point
Copy the full SHA 778d1e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 712da91 - Browse repository at this point
Copy the full SHA 712da91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4013d1e - Browse repository at this point
Copy the full SHA 4013d1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce1766d - Browse repository at this point
Copy the full SHA ce1766dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f93a5ba - Browse repository at this point
Copy the full SHA f93a5baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58625a7 - Browse repository at this point
Copy the full SHA 58625a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab9ef68 - Browse repository at this point
Copy the full SHA ab9ef68View commit details -
Add signature version 1 with updated sighash
Includes simplifications by Eric Lombrozo.
Configuration menu - View commit details
-
Copy full SHA for 8e01adb - Browse repository at this point
Copy the full SHA 8e01adbView commit details -
Add witness address RPCs (using P2SH)
Includes support for pushkeyhash wit v0 by Alex Morcos.
Configuration menu - View commit details
-
Copy full SHA for 38183e6 - Browse repository at this point
Copy the full SHA 38183e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0724fef - Browse repository at this point
Copy the full SHA 0724fefView commit details -
Implementing base+wit/4 block size limit rule
Includes fixup by Suhas Daftuar.
Configuration menu - View commit details
-
Copy full SHA for dca8111 - Browse repository at this point
Copy the full SHA dca8111View commit details -
Configuration menu - View commit details
-
Copy full SHA for 616e69b - Browse repository at this point
Copy the full SHA 616e69bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 156c41a - Browse repository at this point
Copy the full SHA 156c41aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b08ed9 - Browse repository at this point
Copy the full SHA 0b08ed9View commit details -
bitcoinconsensus: add method that accepts amount, and return error wh…
…en verify_script receives VERIFY_WITNESS flag script_tests: always test bitcoinconsensus_verify_script_with_amount if VERIFY_WITNESS isn't set Rename internal method + make it static trim bitcoinconsensus_ prefix Add SERIALIZE_TRANSACTION_WITNESS flag
Configuration menu - View commit details
-
Copy full SHA for 2161d22 - Browse repository at this point
Copy the full SHA 2161d22View commit details -
Increase MAX_PROTOCOL_MESSAGE_LENGTH
Witness blocks can be greater than 2MiB, but cannot be validly greater than 4MB.
Configuration menu - View commit details
-
Copy full SHA for b002a8c - Browse repository at this point
Copy the full SHA b002a8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 590d715 - Browse repository at this point
Copy the full SHA 590d715View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99c8d54 - Browse repository at this point
Copy the full SHA 99c8d54View commit details
Commits on Mar 17, 2016
-
Refactor Witness commitment checks
Break out witness commit position search and witness commitment and nonce check into separate functions.
Configuration menu - View commit details
-
Copy full SHA for cd943d6 - Browse repository at this point
Copy the full SHA cd943d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffe4700 - Browse repository at this point
Copy the full SHA ffe4700View commit details -
Reconsider coinbase witness commitment
Rather than having the coinbase witness commitment be the hash of the concatenation of the transaction witness merkle root and a single 32-byte nonce from the coinbase witness, treat it instead as the merkle root of a tree with the leaves being the transaction witness merkle root, and each of the items from the coinbase stack. For the case where the coinbase witness stack contains a single, 32-byte item this change has no effect, however it should generalise well to allow the coinbase witness stack to contain an arbitrary number of elements. (If an element on the coinbase stack is not already exactly 32 bytes, it is first hashed before being added as a leaf to the merkle tree)
Configuration menu - View commit details
-
Copy full SHA for 0a25cca - Browse repository at this point
Copy the full SHA 0a25ccaView commit details -
Remove restrictions on coinbase witness
This relaxes the restriction on the coinbase witness that limited it to only having one entry that must be 32 bytes; instead there may be up to 255 items on the coinbase witness stack, and they may be any length. In order to have multiple entries on the coinbase witness stack, the number of entries must be specified in the coinbase commitment, by changing the witness commitment from a 36 byte push: OP_RETURN [ 0xaa 0x21 0xa9 0xed HASH ] to a 37 byte push: OP_RETURN [ 0xaa 0x21 0xa9 0xed HASH N ] where N is the number of entries on the coinbase witness stack (from 0 to 255).
Configuration menu - View commit details
-
Copy full SHA for 86c55b0 - Browse repository at this point
Copy the full SHA 86c55b0View commit details