aboutsummaryrefslogtreecommitdiff
path: root/src/script/standard.h
Commit message (Collapse)AuthorAgeFilesLines
...
| * Change the default maximum OP_RETURN size to 80 bytesFlavien Charlon2014-11-141-1/+1
| | | | | | | | | | The value can be changed through the '-datacarriersize' option, this is modifying the default value for that option.
* | BIP66 changeover logicPieter Wuille2015-02-011-0/+1
| |
* | Merge pull request #5143Wladimir J. van der Laan2015-01-081-1/+2
|\ \ | | | | | | | | | | | | | | | da918ac Make SCRIPT_VERIFY_CLEANSTACK a standardness requirement (Pieter Wuille) b6e03cc Add SCRIPT_VERIFY_CLEANSTACK (BIP62 rule 6) (Pieter Wuille) ae4151b No semantic change: reuse stack variable in P2SH evaluation (Pieter Wuille)
| * | Make SCRIPT_VERIFY_CLEANSTACK a standardness requirementPieter Wuille2014-11-251-1/+2
| | |
* | | Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan2015-01-051-1/+1
| | | | | | | | | | | | | | | | | | Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
* | | Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
|/ / | | | | | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* / Discourage NOPs reserved for soft-fork upgradesPeter Todd2014-11-171-1/+2
|/ | | | | | | | | | | | | | | | | NOP1 to NOP10 are reserved for future soft-fork upgrades. In the event of an upgrade such NOPs have *VERIFY behavior, meaning that if their arguments are not correct the script fails. Discouraging these NOPs by rejecting transactions containing them from the mempool ensures that we'll never accept transactions, nor mine blocks, with scripts that are now invalid according to the majority of hashing power even if we're not yet upgraded. Previously this wasn't an issue as the IsStandard() rules didn't allow upgradable NOPs anyway, but 7f3b4e95 relaxed the IsStandard() rules for P2SH redemptions allowing any redeemScript to be spent. We *do* allow upgradable NOPs in scripts so long as they are not executed. This is harmless as there is no opportunity for the script to be invalid post-upgrade.
* Make comments in /src/script doxygen compatibleMichael Ford2014-11-101-13/+18
|
* minor code style cleanup after recent mergesPhilip Kaufmann2014-11-041-2/+2
| | | | | - add a missing license header - correct some header orderings etc.
* Merge pull request #5196Wladimir J. van der Laan2014-11-041-3/+3
|\ | | | | | | 8473862 Fix all header defines (Pavel Janík)
| * Fix all header definesPavel Janík2014-11-031-3/+3
| |
* | Merge pull request #5162Wladimir J. van der Laan2014-11-041-2/+2
|\ \ | |/ |/| | | | | | | d2e74c5 boost: moveonly: split CPubKey and friends to new files (Cory Fields) 78c228c boost: moveonly: move BIP32Hash to hash.h (Cory Fields) 900078a boost: moveonly: create eccryptoverify.h|cpp and move helper functions there (Cory Fields)
| * boost: moveonly: split CPubKey and friends to new filesCory Fields2014-10-311-2/+2
| |
* | Merge pull request #5077Wladimir J. van der Laan2014-10-311-0/+1
|\ \ | |/ |/| | | 2aa6329 Enable customising node policy for datacarrier data size with a -datacarriersize option (Luke Dashjr)
| * Enable customising node policy for datacarrier data size with a ↵Luke Dashjr2014-10-271-0/+1
| | | | | | | | -datacarriersize option
* | Add SCRIPT_VERIFY_MINIMALDATA (BIP62 rules 3 and 4)Pieter Wuille2014-10-251-0/+1
|/ | | | | Also use the new flag as a standard rule, and replace the IsCanonicalPush standardness check with it (as it is more complete).
* script: add a slew of includes all around and drop includes from script.hCory Fields2014-10-171-0/+3
| | | | Lots of files ended up with indirect includes from script.h.
* script: move CScriptID to standard.h and add a ctor for creating them from ↵Cory Fields2014-10-171-0/+9
| | | | | | | | | | | | | | | | CScripts This allows for a reversal of the current behavior. This: CScript foo; CScriptID bar(foo.GetID()); Becomes: CScript foo; CScriptID bar(foo); This way, CScript is no longer dependent on CScriptID or Hash();
* Move CTxDestination from script/script to script/standardPieter Wuille2014-09-161-0/+17
|
* cleanup new script files (no code changes)Philip Kaufmann2014-09-141-3/+3
| | | | | | - add missing header end comments - ensure alphabetical ordering - update copyright year and license
* Separate script/standardjtimon2014-09-081-0/+56