aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use CAmount for amountsRoss Nicoll2021-08-081-1/+1
| | | | | | | | | | Use CAmount rather than unsigned int for amounts for consistency with other fee rate amounts. This does change the type from unsigned int to unsigned int64, and while it is unlikely anyone would need a dust limit higher than unsigned int, again this ensures the theoretical maximum is in line with other rates.
* [fees] introduce configurable hard dust limitPatrick Lodder2021-08-051-0/+1
| | | | Co-authored-by: Ross Nicoll <[email protected]>
* Introduce -dustrelayfeeAlex Morcos2017-01-161-1/+2
|
* Introduce -incrementalrelayfeeAlex Morcos2017-01-161-0/+1
|
* Move CTxInWitness inside CTxInPieter Wuille2016-12-041-4/+4
|
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|
* update comments for tx weightBrian Deery2016-11-141-1/+1
|
* [copyright] copyright header style uniformisle29832016-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Three categories of modifications: 1) 1 instance of 'The Bitcoin Core developers \n', 1 instance of 'the Bitcoin Core developers\n', 3 instances of 'Bitcoin Core Developers\n', and 12 instances of 'The Bitcoin developers\n' are made uniform with the 443 instances of 'The Bitcoin Core developers\n' 2) 3 instances of 'BitPay, Inc\.\n' are made uniform with the other 6 instances of 'BitPay Inc\.\n' 3) 4 instances where there was no '(c)' between the 'Copyright' and the year where it deviates from the style of the local directory.
* Add standard limits for P2WSH with testsJohnson Lau2016-10-161-1/+53
|
* Merge #8381: Make witness v0 outputs non-standardWladimir J. van der Laan2016-07-261-3/+6
|\ | | | | | | | | c59c434 qa: Add test for standardness of segwit v0 outputs (Suhas Daftuar) 1ffaff2 Make witness v0 outputs non-standard before segwit activation (Johnson Lau)
| * qa: Add test for standardness of segwit v0 outputsSuhas Daftuar2016-07-231-1/+1
| |
| * Make witness v0 outputs non-standard before segwit activationJohnson Lau2016-07-221-3/+6
| |
* | Treat high-sigop transactions as larger rather than rejecting themPieter Wuille2016-07-191-4/+6
|/
* Rename "block cost" to "block weight"Suhas Daftuar2016-07-181-5/+5
|
* BIP141: Other consensus critical limits, and BIP145Pieter Wuille2016-06-221-2/+12
| | | | Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
* BIP143: Verification logicPieter Wuille2016-06-221-1/+1
| | | | Includes simplifications by Eric Lombrozo.
* Doc: Update isStandardTx commentMatthew English2016-04-081-2/+2
|
* Policy: allow transaction version 2 relay policy.BtcDrak2016-03-181-1/+1
| | | | | This commit introduces a way to gracefully bump the default transaction version in a two step process.
* 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