-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds a few more checks to restrict what transactions are allowed into the transaction memory pool and therefore are candidates to be mined and relayed. In particular, the following changes were made to what is considered standard: - nulldata scripts are now supported and considered standard - multi-signature transaction are now checked to ensure they only have a max of 3 pubkeys and the number of signatures doesn't exceed the number of pubkeys - the number of inputs to a signature script must now match the expected number of inputs for the script type (includes support for additional pay-to-script-hash inputs) - the number of inputs pushed onto the stack by a redeeming sig script must match the number of inputs consumed by the referenced pk script - there can now only be a max of one nulldata output per transaction
- Loading branch information
Showing
1 changed file
with
93 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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