Question about the Vin #102
-
Hi there, I found the VIn code in the rgb-core/src/contract/bundile.rs. v0.11: line 35 pub type Vin = Vout; |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Like this? |
Beta Was this translation helpful? Give feedback.
-
Vin means the ordinal number of some transaction input. It is just a u32 integer. It is defined that way since it is the same type int as Vout. Your comment
does not make any sense to me
The definition of the input map is exactly given in the code: pub input_map: Confined<BTreeMap<Vin, OpId>, 1, U16>, |
Beta Was this translation helpful? Give feedback.
Vin means the ordinal number of some transaction input. It is just a u32 integer. It is defined that way since it is the same type int as Vout.
Your comment
does not make any sense to me
The definition of the input map is exactly given in the code: