diff options
| author | fanquake <[email protected]> | 2020-04-26 20:01:46 +0800 |
|---|---|---|
| committer | fanquake <[email protected]> | 2020-04-29 11:20:22 +0800 |
| commit | 06442549f8b725f46c1c727e9eb6fde6b843503c (patch) | |
| tree | 13cccca00de2f9c22549cb878df0b5923fbfb8af /src/httpserver.cpp | |
| parent | Merge #18805: tests: Add missing sync_all to wallet_importdescriptors.py (diff) | |
| download | discoin-06442549f8b725f46c1c727e9eb6fde6b843503c.tar.xz discoin-06442549f8b725f46c1c727e9eb6fde6b843503c.zip | |
validation: Add minimum witness commitment size constant
Per BIP 141, the witness commitment structure is atleast 38 bytes,
OP_RETURN (0x6a) + 36 (0x24) + 4 byte header (0xaa21a9ed) + 32 byte
SHA256 hash. It can be longer, however any additional data has no
consensus meaning.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions