lbrycrd/src/script
Wladimir J. van der Laan 842f61a675
Merge #11900: [script] simplify CheckMinimalPush checks, add safety assert
0749808a7 CheckMinimalPush comments are prescriptive (Gregory Sanders)
176db6147 simplify CheckMinimalPush checks, add safety assert (Gregory Sanders)

Pull request description:

  the two conditions could simply never be hit as `true`, as those opcodes have a push payload of size 0 in `data`.

  Added the assert for clarity for future readers(matching the gating in the interpreter) and safety for future use.

  This effects policy only.

Tree-SHA512: f49028a1d5e907ef697b9bf5104c81ba8f6a331dbe5d60d8d8515ac17d2d6bfdc9dcc856a7e3dbd54814871b7d0695584d28da6553e2d9d7715430223f0b3690
2018-03-07 17:18:14 +01:00
..
bitcoinconsensus.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
bitcoinconsensus.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
interpreter.cpp Merge #11900: [script] simplify CheckMinimalPush checks, add safety assert 2018-03-07 17:18:14 +01:00
interpreter.h Fix a-vs-an typos 2018-02-11 10:48:15 +01:00
ismine.cpp Refactor HaveKeys to early return on false result 2018-01-29 23:45:25 +00:00
ismine.h Fix a-vs-an typos 2018-02-11 10:48:15 +01:00
script.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
script.h Merge #10498: Use static_cast instead of C-style casts for non-fundamental types 2018-02-07 16:15:28 -05:00
script_error.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
script_error.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sigcache.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sigcache.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sign.cpp Merge #11889: Drop extra script variable in ProduceSignature 2018-03-05 19:12:37 +01:00
sign.h Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
standard.cpp Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
standard.h Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00