Skip to content

Commit 991cf08

Browse files
authored
doc: add link for since and EpochNumberWithFraction
1 parent 0cfe7c7 commit 991cf08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/commitment-lock/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is a commitment lock script for ckb fiber network, which implements [daric]
55
The lock script args is concatenated by the following fields:
66

77
- `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)
99
- `version`: 8 bytes, u64 in big-endian
1010
- `htlcs`: 20 bytes, hash result of blake160(pending_htlc_count || N * pending_htlc), optional
1111

@@ -30,7 +30,7 @@ For pending HTLC unlock process, the transaction must provide the following fiel
3030
- `payment_hash`: 20 bytes
3131
- `remote_htlc_pubkey_hash`: 20 bytes, hash result of blake160(remote_htlc_pubkey)
3232
- `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)
3434
- `signature`: 65 bytes, the signature of the xxx_pubkey
3535
- `preimage`: 32 bytes, an optional field to provide the preimage of the payment_hash
3636

0 commit comments

Comments
 (0)