head_array[10], head_array[11], head_array[12], head_array[13], head_array[14], head_array[15], tail_array[0], tail_array[1], tail_array[2], tail_array[3], tail_array[4], tail_array[5], tail_array[6], tail_array[7], tail_array[8], tail_array[9], tail_array[10], tail_array[11], tail_array[12], tail_array[13], tail_array[14], tail_array[15], ]; Self { txid: Txid::from_byte_array(array), index, } } fn store(self) -> Self::Value { let txid_entry = self.txid.store(); let little_end = u128::from_le_bytes(txid_entry[..16].try_into().unwrap()); let big_end = u128::from_le_bytes(txid_entry[16..].try_into().unwrap()); (little_end, big_end, self.index) } } pub(super) type OutPointValue = [u8; 36]; impl Entry for OutPoint { type Value = OutPointValue; fn load(value: Self::Value) -> Self { Decodable::consensus_decode(&mut io::Cursor::new(value)).unwrap()
Inscription number 44,978,519
Genesis block 819,053
File type text
File size 1.02 KB
Creation date Nov 30,2023 12:1 am