diff options
author | Johnson Lau <jl2012@xbt.hk> | 2018-04-27 03:56:29 +0800 |
---|---|---|
committer | Johnson Lau <jl2012@xbt.hk> | 2018-05-05 04:26:12 +0800 |
commit | 9dabfe49c066301ef75bcfcb089fd308366127c4 (patch) | |
tree | 9640b1303dc21c3dc68463833d9f34145a118b2e /src/blockencodings.h | |
parent | 627c3762ce5d8ce097f70c7fb52a3640246fae9b (diff) |
Add constant scriptCode policy in non-segwit scripts
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.
Diffstat (limited to 'src/blockencodings.h')
0 files changed, 0 insertions, 0 deletions