aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of inaccurate ScriptSigArgsExpectedPieter Wuille2016-02-011-31/+6
| | | | (cherry picked from commit 52b29dca7670c3f6d2ab918c0fff1d17c4e494ad)
* Merge pull request #7266Wladimir J. van der Laan2016-01-071-3/+0
|\ | | | | | | 6cd198f Removed comment about IsStandard for P2SH scripts (Marcel Krüger)
| * Removed comment about IsStandard for P2SH scriptsMarcel Krüger2015-12-301-3/+0
| | | | | | Since #4365 (62599373883a66a958136f48ab0e2b826e3d5bf8) P2SH scripts do not have to be IsStandard scripts.
* | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|/
* Constrain constant values to a single location in codeLuke Dashjr2015-11-281-1/+1
|
* Accept any sequence of PUSHDATAs in OP_RETURN outputsPeter Todd2015-10-011-1/+3
| | | | | | | | | | | | Previously only one PUSHDATA was allowed, needlessly limiting applications such as matching OP_RETURN contents with bloom filters that operate on a per-PUSHDATA level. Now any combination that passes IsPushOnly() is allowed, so long as the total size of the scriptPubKey is less than 42 bytes. (unchanged modulo non-minimal PUSHDATA encodings) Also, this fixes the odd bug where previously the PUSHDATA could be replaced by any single opcode, even sigops consuming opcodes such as CHECKMULTISIG. (20 sigops!)
* Policy: MOVEONLY: 3 functions to policy.o:Luke Dashjr2015-06-261-0/+178
- [script/standard.o] IsStandard - [main.o] IsStandardTx - [main.o] AreInputsStandard Also, don't use namespace std in policy.cpp