You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/commitment-lock/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This is a commitment lock script for ckb fiber network, which implements [daric]
5
5
The lock script args is concatenated by the following fields:
6
6
7
7
-`pubkey_hash`: 20 bytes, hash result of blake160(x only aggregated public key)
8
-
-`delay_epoch`: 8 bytes, u64 in little endian, must be a relative EpochNumberWithFraction
8
+
-`delay_epoch`: 8 bytes, u64 in little endian, must be a relative [EpochNumberWithFraction](https://github.com/nervosnetwork/ckb/blob/develop/rpc/README.md#type-epochnumberwithfraction)
9
9
-`version`: 8 bytes, u64 in big-endian
10
10
-`htlcs`: 20 bytes, hash result of blake160(pending_htlc_count || N * pending_htlc), optional
11
11
@@ -30,7 +30,7 @@ For pending HTLC unlock process, the transaction must provide the following fiel
30
30
-`payment_hash`: 20 bytes
31
31
-`remote_htlc_pubkey_hash`: 20 bytes, hash result of blake160(remote_htlc_pubkey)
32
32
-`local_htlc_pubkey_hash`: 20 bytes, hash result of blake160(local_htlc_pubkey)
33
-
-`htlc_expiry`: 8 bytes, u64 in little endian, must be an absolute timestamp
33
+
-`htlc_expiry`: 8 bytes, u64 in little endian, must be an absolute timestamp[since](https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0017-tx-valid-since/0017-tx-valid-since.md)
34
34
-`signature`: 65 bytes, the signature of the xxx_pubkey
35
35
-`preimage`: 32 bytes, an optional field to provide the preimage of the payment_hash
0 commit comments