lbrycrd/src/policy
Wladimir J. van der Laan 6af005c3eb
Merge #11423: [Policy] Several transaction standardness rules
364bae5 qa: Pad scriptPubKeys to get minimum sized txs (MarcoFalke)
7485488 Policy to reject extremely small transactions (Johnson Lau)
0f8719b Add transaction tests for constant scriptCode (Johnson Lau)
9dabfe4 Add constant scriptCode policy in non-segwit scripts (Johnson Lau)

Pull request description:

  This disables `OP_CODESEPARATOR` in non-segwit scripts (even in an unexecuted branch), and makes a positive `FindAndDelete` result invalid. This ensures that the `scriptCode` serialized in `SignatureHash` is always the same as the script passing to the `EvalScript`.

Tree-SHA512: a0552cb920294d130251c48053fa2ff1fbdd26332e62b52147d918837852750f0ce35ce2cd1cbdb86588943312f8154ccb4925e850dbb7c2254bc353070cd5f8
2018-05-12 17:39:46 +02:00
..
feerate.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
feerate.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
fees.cpp fee estimator: avoid sorting mempool on shutdown 2018-01-25 18:02:24 -05:00
fees.h Merge #12859: Bugfix: Include <memory> for std::unique_ptr 2018-04-05 09:31:53 +02:00
policy.cpp Extract consts for WITNESS_V0 hash sizes 2018-04-10 20:13:32 -07:00
policy.h Policy to reject extremely small transactions 2018-05-05 04:26:13 +08:00
rbf.cpp scripted-diff: Convert 11 enums into scoped enums (C++11) 2018-03-09 15:03:40 +01:00
rbf.h Add compile time checking for all ::mempool.cs runtime locking assertions 2018-05-05 08:11:05 +02:00