1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

Specify OP_DATA to express accepted/offered_htlc_script with same

convention
This commit is contained in:
Antoine Riard 2019-01-24 21:37:43 -05:00 committed by Rusty Russell
parent 064d6feed0
commit 6508af5145

View File

@ -698,7 +698,8 @@ The *expected weight* of an HTLC transaction is calculated as follows:
- remotepubkey: 33 bytes
- OP_SWAP: 1 byte
- OP_SIZE: 1 byte
- 32: 2 bytes
- OP_DATA: 1 byte (32 length)
- 32: 1 byte
- OP_EQUAL: 1 byte
- OP_IF: 1 byte
- OP_HASH160: 1 byte