Transaction 5c87a3eaa4a03e35af2d7c21ec7e7fe333937e827af4ce11115dcf633f214cc0
1 Input
-
6765b8e5796ced7d1dc4bc108a505cd307a38c71f2326465ada97116695fc377:3
OP_DATA_32(32) 2046c46a934386fa1a5aa7a8ca70f5fc27bd7102718892c38ff14d671ab8ba80OP_CHECKSIG(172)OP_0(0)OP_IF(99)OP_DATA_3(3) ordOP_DATA_1(1)OP_DATA_24(24) text/plain;charset=utf-8OP_0(0)OP_PUSHDATA2(77) (255, &[0x80, 0x7F]), (256, &[0x81, 0x00]), (16383, &[0xFE, 0x7F]), (16384, &[0xFF, 0x00]), (16511, &[0xFF, 0x7F]), (65535, &[0x82, 0xFE, 0x7F]), (1 << 32, &[0x8E, 0xFE, 0xFE, 0xFF, 0x00]), ]; for (n, encoding) in TEST_VECTORS { let actual = encode(*n); assert_eq!(actual, *encoding); let (actual, length) = decode(encoding).unwrap(); assert_eq!(actual, *n); assert_eq!(length, encoding.len()); } } #[test] fn truncated_varint_rOP_DATA_75(75) eturns_error() { assert_eq!(decode(&[128]), Err(Error::Varint)); } }OP_ENDIF(104)
1 Outputs
- 5c87a3eaa4a03e35af2d7c21ec7e7fe333937e827af4ce11115dcf633f214cc0:0
value 330
address bc1pxa3kla442j3qzehhnxszrvp6sx03gxnc3s3hz7vytse37r48hsysd8hvkg