File tree 1 file changed +7
-0
lines changed
contracts/ckb-bitcoin-spv-type-lock
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ There are 2 kinds of cells in a Bitcoin SPV instance:
52
52
- tip client cell id
53
53
` ` `
54
54
55
+ - Flags
56
+
57
+ Flags is the last part of ` args` and takes up one byte. The highest two bits
58
+ are used to indicate different btc chain types. see [btc chain type] for details.
59
+
55
60
# ## Operations
56
61
57
62
There are 4 kinds of operations :
@@ -273,3 +278,5 @@ When you want to verify a transaction with Bitcoin SPV Client cell:
273
278
[Section "Code Locating"] : https://github.com/nervosnetwork/rfcs/blob/v2020.01.15/rfcs/0022-transaction-structure/0022-transaction-structure.md#code-locating
274
279
[CKB RFC 0032] : https://github.com/nervosnetwork/rfcs/blob/dff5235616e5c7aec706326494dce1c54163c4be/rfcs/0032-ckb-vm-version-selection/0032-ckb-vm-version-selection.md#specification
275
280
[CKB RFC 0051] : https://github.com/nervosnetwork/rfcs/blob/dff5235616e5c7aec706326494dce1c54163c4be/rfcs/0051-ckb2023/0051-ckb2023.md#ckb-vm-v2
281
+
282
+ [btc chain type] : https://github.com/ckb-cell/ckb-bitcoin-spv/blob/bfc71d7daf17e96f34e8e287f45254e512383330/verifier/src/constants.rs#L3
You can’t perform that action at this time.
0 commit comments