2022-01-12 17:43:06 -08:00
|
|
|
struct TestVector {
|
|
|
|
tx: Vec<u8>,
|
|
|
|
txid: [u8; 32],
|
|
|
|
auth_digest: [u8; 32],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: Vec<i64>,
|
|
|
|
script_pubkeys: Vec<Vec<u8>>,
|
2022-01-12 17:43:06 -08:00
|
|
|
transparent_input: Option<u32>,
|
|
|
|
sighash_shielded: [u8; 32],
|
|
|
|
sighash_all: Option<[u8; 32]>,
|
|
|
|
sighash_none: Option<[u8; 32]>,
|
|
|
|
sighash_single: Option<[u8; 32]>,
|
|
|
|
sighash_all_anyone: Option<[u8; 32]>,
|
|
|
|
sighash_none_anyone: Option<[u8; 32]>,
|
|
|
|
sighash_single_anyone: Option<[u8; 32]>,
|
|
|
|
};
|
|
|
|
|
|
|
|
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/zip_0244.py
|
|
|
|
let test_vectors = vec![
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x7a, 0x8f, 0x73, 0x9a, 0x2d, 0x6f, 0x2c, 0x02, 0x01, 0xe1, 0x52, 0xa8, 0x04, 0x9e, 0x29, 0x4c, 0x4d, 0x6e, 0x66, 0xb1, 0x64, 0x93, 0x9d, 0xaf, 0xfa, 0x2e, 0xf6, 0xee, 0x69, 0x21, 0x48, 0x1c, 0xdd, 0x86, 0xb3, 0xcc, 0x43, 0x18, 0xd9, 0x61, 0x4f, 0xc8, 0x20, 0x90, 0x5d, 0x04, 0x53, 0x51, 0x6a, 0xac, 0xa3, 0xf2, 0x49, 0x88, 0x00, 0x01, 0x9f, 0x33, 0xbf, 0x3a, 0x10, 0x9b, 0xdd, 0x1b, 0x23, 0x2b, 0x47, 0xb1, 0x64, 0x6d, 0x91, 0xe1, 0x29, 0x66, 0x34, 0xeb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, 0x75, 0xe3, 0xf8, 0x74, 0xa4, 0x53, 0x3f, 0x1d, 0x63, 0xa8, 0x4d, 0xfa, 0x3e, 0x0f, 0x46, 0x0f, 0xe2, 0xf5, 0x7e, 0x34, 0xfb, 0xc7, 0x54, 0x23, 0xc3, 0x73, 0x7f, 0x5b, 0x2a, 0x06, 0x15, 0xf5, 0x72, 0x2d, 0xb0, 0
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x55, 0x2c, 0x96, 0xbd, 0x33, 0x83, 0x4b, 0xa1, 0xa8, 0xa3, 0xec, 0xd8, 0x0a, 0x2c, 0x9c, 0xb4, 0x11, 0x87, 0x55, 0x3a, 0x3d, 0xcf, 0xe7, 0x92, 0x83, 0x16, 0xbb, 0x70, 0x70, 0x4b, 0x85, 0xd0
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x12, 0x76, 0x7e, 0x5f, 0x67, 0x85, 0x67, 0x36, 0x0f, 0xb3, 0xa1, 0xcb, 0x9c, 0xf8, 0x58, 0x61, 0x3f, 0xfe, 0x22, 0x63, 0xb6, 0x53, 0xc6, 0xa3, 0x70, 0xee, 0x1f, 0x68, 0x20, 0xab, 0xdc, 0x57
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
1800841178198868,
|
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
vec![
|
|
|
|
0x65, 0x00, 0x51
|
|
|
|
],
|
|
|
|
],
|
|
|
|
transparent_input: Some(0),
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x88, 0xda, 0x64, 0xb9, 0x5b, 0x56, 0xd8, 0x29, 0x6a, 0xb1, 0xf7, 0x21, 0xeb, 0x5b, 0xe6, 0x6d, 0x0f, 0xd4, 0x78, 0xf2, 0xb9, 0x6b, 0x93, 0xd5, 0xdc, 0xee, 0x8f, 0x7a, 0x10, 0x00, 0xb0, 0xff
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x2d, 0x4e, 0xbf, 0x4d, 0x42, 0x42, 0x38, 0xad, 0x0b, 0xc2, 0x46, 0x99, 0x70, 0x34, 0x7e, 0xaf, 0x76, 0x7f, 0xf9, 0x06, 0x95, 0x8e, 0x35, 0x10, 0x7f, 0xd2, 0x2c, 0x1d, 0xc5, 0x36, 0xe4, 0x59
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x68, 0x3e, 0xca, 0xa5, 0x64, 0x00, 0x2c, 0xa5, 0xa8, 0x0b, 0xea, 0x04, 0x37, 0x0c, 0x78, 0x85, 0x5b, 0x8d, 0x9c, 0x9c, 0x38, 0x23, 0x09, 0xc7, 0x0b, 0x29, 0xbd, 0xd9, 0x8d, 0x75, 0xb0, 0x66
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single: None,
|
|
|
|
sighash_all_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x9c, 0x9e, 0x75, 0xee, 0x15, 0xf4, 0xed, 0xa1, 0x5d, 0x77, 0x79, 0x39, 0x52, 0x9f, 0xa3, 0xa4, 0xf6, 0x4b, 0x93, 0x5c, 0x7d, 0x21, 0x83, 0x5f, 0x79, 0x39, 0x3e, 0x7a, 0xa2, 0x3e, 0x28, 0x79
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xa7, 0xdf, 0xf0, 0x0a, 0x96, 0xfd, 0x2b, 0x41, 0xc5, 0x80, 0x8d, 0x35, 0xe4, 0xa6, 0xa2, 0xaa, 0x7b, 0x40, 0xee, 0xeb, 0xb6, 0xdc, 0xf3, 0xb9, 0xf2, 0x81, 0xeb, 0x6c, 0x17, 0xe4, 0x3a, 0xf4
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single_anyone: None,
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x1f, 0xc9, 0x98, 0xc3, 0x1f, 0x4d, 0xd2, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x06, 0x04, 0x1f, 0x4d, 0xd2, 0x08, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01, 0x50, 0x58, 0xe5, 0x75, 0x4c, 0x21, 0x04, 0x00, 0x07, 0x53, 0xac, 0x51, 0x53, 0x00, 0x51, 0x52, 0x00, 0x01, 0xe5, 0x84, 0x9f, 0x96, 0xba, 0xe6, 0xf2, 0x05, 0x6f, 0x33, 0xab, 0x1e, 0x69, 0x89, 0xd7, 0xd2, 0x64, 0xad, 0xc9, 0x78, 0x55, 0xa9, 0x90, 0x10, 0x3b, 0x4d, 0x1e, 0x63, 0x50, 0xd5, 0xc3, 0x1a, 0x39, 0xc3, 0xca, 0xf6, 0x94, 0x59, 0xe4, 0x62, 0xf1, 0x41, 0xbe, 0x8b, 0x39, 0x03, 0x7f, 0xfa, 0x25, 0x5c, 0xe2, 0x7e, 0x4a, 0xd7, 0xb5, 0x66, 0xa2, 0x96, 0x20, 0xa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 0xa4, 0xc2, 0xf6, 0x18, 0x09, 0xc2, 0x4a, 0x2f, 0x08, 0x6c, 0x58, 0xce, 0xec, 0xaf, 0x7a, 0xf9, 0x41, 0x4c, 0x38, 0xbd, 0xbd, 0xc4, 0xe4, 0x6e, 0x98
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xad, 0x64, 0x58, 0x0e, 0xd3, 0xa2, 0x8a, 0x3b, 0xa4, 0x1e, 0x2d, 0x32, 0x0b, 0x5f, 0xf2, 0xa0, 0x7f, 0xa1, 0x9d, 0xb0, 0x74, 0xaf, 0xc4, 0x55, 0xe9, 0x2e, 0x0f, 0x32, 0x6b, 0xe0, 0x8a, 0x6a
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
transparent_input: None,
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xa3, 0xcb, 0xad, 0xd7, 0xa5, 0x8d, 0x80, 0xa4, 0xc2, 0xf6, 0x18, 0x09, 0xc2, 0x4a, 0x2f, 0x08, 0x6c, 0x58, 0xce, 0xec, 0xaf, 0x7a, 0xf9, 0x41, 0x4c, 0x38, 0xbd, 0xbd, 0xc4, 0xe4, 0x6e, 0x98
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: None,
|
|
|
|
sighash_none: None,
|
|
|
|
sighash_single: None,
|
|
|
|
sighash_all_anyone: None,
|
|
|
|
sighash_none_anyone: None,
|
|
|
|
sighash_single_anyone: None,
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0xc2, 0xeb, 0x51, 0x8f, 0x68, 0x98, 0x4d, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x06, 0x04, 0x68, 0x98, 0x4d, 0x02, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x28, 0xd1, 0x6c, 0x3c, 0xd7, 0x8a, 0x6b, 0x7a, 0x50, 0xb1, 0x1a, 0x1b, 0x84, 0x17, 0x76, 0x4c, 0x4e, 0x63, 0xc6, 0xe3, 0xd8, 0xaa, 0x28, 0x9f, 0x7e, 0x87, 0xe3, 0x98, 0x45, 0x87, 0x27, 0x64
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x33, 0x21, 0x55, 0xb1, 0xcc, 0x23, 0xa2, 0x57, 0x1e, 0x86, 0xe4, 0x9e, 0x06, 0x01, 0x0c, 0xd2, 0x53, 0x21, 0xdc, 0xfc, 0xca, 0x34, 0xae, 0x14, 0xe8, 0xb3, 0xf4, 0xf0, 0x02, 0x70, 0xd2, 0x87
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
transparent_input: None,
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x28, 0xd1, 0x6c, 0x3c, 0xd7, 0x8a, 0x6b, 0x7a, 0x50, 0xb1, 0x1a, 0x1b, 0x84, 0x17, 0x76, 0x4c, 0x4e, 0x63, 0xc6, 0xe3, 0xd8, 0xaa, 0x28, 0x9f, 0x7e, 0x87, 0xe3, 0x98, 0x45, 0x87, 0x27, 0x64
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: None,
|
|
|
|
sighash_none: None,
|
|
|
|
sighash_single: None,
|
|
|
|
sighash_all_anyone: None,
|
|
|
|
sighash_none_anyone: None,
|
|
|
|
sighash_single_anyone: None,
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x5e, 0x3d, 0xba, 0xf7, 0xae, 0x12, 0x67, 0x0d, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x06, 0x04, 0xae, 0x12, 0x67, 0x0d, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01, 0x51, 0x6c, 0xf4, 0xad, 0xec, 0x75, 0x07, 0x00, 0x03, 0x65, 0x65, 0x00, 0x00, 0x00, 0x00
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x6b, 0xf4, 0xef, 0xe7, 0x7a, 0xf6, 0x9b, 0x72, 0x19, 0x47, 0x5f, 0x60, 0xa0, 0xf7, 0x92, 0xdb, 0x02, 0x63, 0xe4, 0xe1, 0x2f, 0xa1, 0xd9, 0xee, 0x1a, 0x1b, 0x9a, 0x68, 0x54, 0x05, 0x90, 0xda
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x99, 0x3b, 0xfc, 0xa6, 0x14, 0x99, 0x75, 0xa4, 0x01, 0x37, 0x97, 0xea, 0xd5, 0x58, 0x39, 0xa1, 0x3a, 0x0f, 0xb1, 0x52, 0xf6, 0x83, 0x72, 0xbb, 0x0e, 0x0f, 0xd9, 0x49, 0x94, 0x77, 0xf9, 0x03
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
transparent_input: None,
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x6b, 0xf4, 0xef, 0xe7, 0x7a, 0xf6, 0x9b, 0x72, 0x19, 0x47, 0x5f, 0x60, 0xa0, 0xf7, 0x92, 0xdb, 0x02, 0x63, 0xe4, 0xe1, 0x2f, 0xa1, 0xd9, 0xee, 0x1a, 0x1b, 0x9a, 0x68, 0x54, 0x05, 0x90, 0xda
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: None,
|
|
|
|
sighash_none: None,
|
|
|
|
sighash_single: None,
|
|
|
|
sighash_all_anyone: None,
|
|
|
|
sighash_none_anyone: None,
|
|
|
|
sighash_single_anyone: None,
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0xff, 0x6a, 0xcc, 0x0f, 0xfc, 0x2e, 0x49, 0x0d, 0x03, 0x14, 0x6b, 0x9d, 0x49, 0xdd, 0x8c, 0x78, 0x35, 0xf4, 0x3a, 0x37, 0xdc, 0xa0, 0x78, 0x7e, 0x3e, 0xc9, 0xf6, 0x60, 0x52, 0x23, 0xd5, 0xba, 0x7a, 0xe0, 0xab, 0x90, 0x25, 0xb7, 0x3b, 0xc0, 0x3f, 0x7f, 0xac, 0x36, 0xc0, 0x09, 0x63, 0x63, 0x63, 0x63, 0x51, 0x00, 0x63, 0x53, 0x65, 0xbc, 0xa7, 0xe5, 0x4c, 0xc1, 0xa1, 0x2d, 0x12, 0x7b, 0x57, 0xc8, 0x13, 0x89, 0x76, 0xe7, 0x91, 0x01, 0x3b, 0x01, 0x5f, 0x06, 0xa6, 0x24, 0xf5, 0x21, 0xb6, 0xee, 0x04, 0xec, 0x98, 0x08, 0x93, 0xc7, 0xe5, 0xe0, 0x1a, 0x33, 0x62, 0x03, 0x59, 0x04, 0xac, 0x00, 0x00, 0x53, 0xd7, 0x44, 0x5f, 0xe2, 0xd0, 0x91, 0x30, 0xf6, 0x35, 0x11, 0xda, 0x54, 0x83, 0x2d, 0xe9, 0x13, 0x6b, 0x39, 0xf4, 0x59, 0x9f, 0x5a, 0xa5, 0xdf, 0xbb, 0x45, 0xda, 0x60, 0xcd, 0xce, 0xab, 0x7e, 0xef, 0xde, 0x89, 0xbe, 0x63, 0xf3, 0xf7, 0xc0, 0x04, 0x52, 0x00, 0x6a, 0xac, 0xe1, 0x40, 0x5d, 0xef, 0x02, 0x44, 0xfd, 0x7f, 0x99, 0xb6, 0x7d, 0x04, 0x00, 0x04, 0x63, 0x00, 0x63, 0xac, 0x12, 0xf6, 0x46, 0x50, 0x73, 0xe1, 0x02, 0x00, 0x09, 0x63, 0x6a, 0x53, 0x51, 0x52, 0x00, 0x65, 0xac, 0x65, 0x00, 0x00, 0x00
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xbc, 0x34, 0xe5, 0xca, 0x58, 0x1c, 0x5c, 0x65, 0x44, 0xaa, 0xfb, 0x3e, 0x58, 0x65, 0x34, 0x8f, 0x71, 0xb8, 0xaa, 0x2a, 0x78, 0x2d, 0xf8, 0xb6, 0xbf, 0xa1, 0x79, 0x1b, 0xf5, 0xa7, 0x37, 0x58
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x6c, 0x36, 0xbc, 0x25, 0xfc, 0x48, 0x56, 0xe5, 0x09, 0x8e, 0x5d, 0x33, 0x03, 0x3c, 0x5b, 0x38, 0x75, 0x21, 0x7f, 0xcb, 0x45, 0x52, 0x61, 0x18, 0xbb, 0x05, 0x8a, 0x2d, 0xd7, 0xb6, 0xea, 0x5e
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
1848924248978091,
|
|
|
|
447389782351145,
|
|
|
|
620151782842275,
|
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
vec![
|
|
|
|
0xac, 0x00, 0x00
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
0x65, 0x65
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
transparent_input: Some(0),
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xa9, 0x60, 0xf4, 0xba, 0xa5, 0xf4, 0x33, 0x1f, 0x4d, 0xad, 0xc3, 0x74, 0x56, 0x6b, 0xc0, 0x47, 0xe7, 0xc0, 0x71, 0x53, 0xb0, 0x38, 0x5a, 0x58, 0x7a, 0x2b, 0xe8, 0x6a, 0x51, 0x8a, 0xb5, 0xd3
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x8f, 0x60, 0x76, 0x56, 0xc5, 0x2d, 0x9a, 0xd2, 0x23, 0x11, 0x20, 0xc2, 0x4f, 0xaa, 0x7b, 0x68, 0x55, 0xae, 0x57, 0x1b, 0xee, 0x46, 0xe6, 0x1d, 0x76, 0xa2, 0x5c, 0xff, 0xb2, 0xbb, 0x4f, 0xcb
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xfd, 0xcf, 0x8a, 0x04, 0x69, 0x0d, 0xc2, 0x76, 0x9d, 0x93, 0x43, 0x37, 0xfe, 0x8b, 0x47, 0x24, 0x2a, 0x6e, 0xd7, 0xc9, 0xd8, 0x6d, 0x3e, 0x01, 0x33, 0x24, 0x84, 0xd3, 0x8d, 0x71, 0xe7, 0x85
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xb3, 0xa2, 0x8e, 0xbd, 0x7c, 0xf3, 0x7a, 0x44, 0x3a, 0x40, 0x90, 0x9f, 0x51, 0x3f, 0x08, 0x1f, 0xbe, 0x0f, 0xd7, 0x8c, 0x67, 0xf7, 0xc4, 0xf0, 0x1b, 0x5f, 0xb1, 0x15, 0x97, 0x89, 0x86, 0x1a
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_all_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x62, 0xea, 0xda, 0x92, 0xbb, 0xc5, 0xaf, 0x09, 0xab, 0x7b, 0x95, 0x83, 0x4a, 0xe6, 0xba, 0x41, 0x3b, 0x17, 0xcd, 0xf1, 0x96, 0xa6, 0xf9, 0x9c, 0x54, 0x1b, 0x71, 0x0d, 0xda, 0xcf, 0xa5, 0x45
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xdf, 0xf0, 0xeb, 0x1e, 0x03, 0xb9, 0xc2, 0xfe, 0x30, 0x1d, 0xb9, 0xb0, 0x18, 0x35, 0x83, 0x61, 0x88, 0x93, 0xc8, 0x47, 0x4e, 0xf5, 0x65, 0x92, 0x1d, 0x5f, 0x28, 0x32, 0xed, 0xe3, 0xbf, 0x49
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x1d, 0xe6, 0x07, 0xf1, 0x88, 0xa4, 0x0b, 0x5c, 0x15, 0x22, 0x26, 0xd9, 0x4e, 0x44, 0x41, 0x1b, 0x69, 0x02, 0x94, 0x7d, 0x42, 0xfb, 0xb2, 0x5f, 0xb8, 0x6c, 0x9a, 0x4e, 0x77, 0xa4, 0xf3, 0x5b
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x23, 0xe1, 0x19, 0xf6, 0x35, 0xef, 0x1d, 0x05, 0x02, 0x4b, 0x21, 0x6b, 0x70, 0x23, 0xfa, 0xdc, 0x2d, 0x25, 0x94, 0x9c, 0x90, 0x03, 0x7e, 0x71, 0xe3, 0xe5, 0x50, 0x72, 0x6d, 0x21, 0x0a, 0x2c, 0x68, 0x83, 0x42, 0xe5, 0x24, 0x40, 0x63, 0x5e, 0x9c, 0xc1, 0x4a, 0xfe, 0x10, 0x06, 0x65, 0x51, 0x51, 0x51, 0xac, 0x53, 0x78, 0x2e, 0x9e, 0x4a, 0x5f, 0xa8, 0x7f, 0x0a, 0x95, 0x6f, 0x5b, 0x85, 0x50, 0x99, 0x60, 0x28, 0x5c, 0x22, 0x62, 0x7c, 0x59, 0x48, 0x3a, 0x5a, 0x4c, 0x28, 0xcc, 0xe4, 0xb1, 0x56, 0xe5, 0x51, 0x40, 0x6a, 0x7e, 0xe8, 0x35, 0x56, 0x56, 0xa2, 0x00, 0x43, 0xe3, 0x8c, 0xe1, 0x03, 0xbd, 0x9a, 0x27, 0x4e, 0x28, 0x8d, 0x02, 0x00, 0x00, 0xaa, 0xfe, 0x03, 0x32, 0x52, 0xc7, 0x03, 0x00, 0x05, 0x51, 0x6a, 0x63, 0x65, 0x63, 0x38, 0xeb, 0x8b, 0x41, 0xca, 0x51, 0x04, 0x00, 0x06, 0x53, 0x51, 0x63, 0x65, 0xac, 0xac, 0x00, 0x00, 0x00
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x90, 0xd2, 0x88, 0x6c, 0xb6, 0x28, 0x81, 0x33, 0x71, 0xc7, 0xd1, 0xbd, 0x02, 0x03, 0x1b, 0x6c, 0xa6, 0x6b, 0x42, 0xd1, 0xdb, 0x4e, 0x11, 0x8d, 0x65, 0xf3, 0x1b, 0x2d, 0xcc, 0xb6, 0x32, 0x35
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x9c, 0x05, 0x32, 0xe6, 0x78, 0x8f, 0xe9, 0xe2, 0x8b, 0x3b, 0x67, 0xf5, 0x71, 0x98, 0x9b, 0xe7, 0x7a, 0xe7, 0x61, 0xdf, 0xd3, 0x75, 0xc7, 0x4b, 0xbf, 0x5d, 0xb3, 0xca, 0xfa, 0xa1, 0xf9, 0xa5
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
1561051182746413,
|
|
|
|
1535468271734483,
|
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
vec![
|
|
|
|
0x65, 0x6a, 0x51, 0x6a, 0xac, 0x51, 0x6a, 0x65, 0x52
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
0x52
|
|
|
|
],
|
|
|
|
],
|
|
|
|
transparent_input: Some(1),
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x24, 0xa9, 0x1d, 0x01, 0x7e, 0x69, 0x1f, 0xe7, 0xd5, 0x80, 0xe3, 0xfc, 0x16, 0x87, 0x2d, 0x61, 0x2c, 0x14, 0xbf, 0xcb, 0xe5, 0xe2, 0x72, 0x5e, 0x16, 0xd0, 0x9e, 0xc0, 0xc1, 0xc9, 0x13, 0x05
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x2b, 0xea, 0x7c, 0x00, 0xcf, 0x77, 0xfa, 0x59, 0xa6, 0x3a, 0xb0, 0xbd, 0x3e, 0xb7, 0xb1, 0x06, 0x59, 0xf8, 0xfc, 0x9e, 0x4c, 0x48, 0x94, 0xba, 0xfc, 0x37, 0x64, 0x0e, 0x86, 0x55, 0xf5, 0x62
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xe6, 0x36, 0x03, 0xea, 0xde, 0x7d, 0xde, 0x98, 0xef, 0x0e, 0xd6, 0x8d, 0xe6, 0x40, 0x70, 0x7d, 0xf6, 0xcc, 0x9c, 0x33, 0x78, 0x37, 0xbc, 0xbd, 0xcd, 0xe0, 0x5a, 0x07, 0xff, 0x7d, 0x87, 0x3b
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xe4, 0xb2, 0xf9, 0x8a, 0xd7, 0xb5, 0x5f, 0xb2, 0x56, 0xa1, 0x29, 0x23, 0x30, 0x3a, 0xbc, 0xae, 0xee, 0x38, 0x35, 0x10, 0x90, 0xe9, 0x76, 0xb0, 0x19, 0x5d, 0xd7, 0x5b, 0xdc, 0xf9, 0x4a, 0xd9
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_all_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x61, 0xc7, 0x05, 0xd5, 0x50, 0x5f, 0x0d, 0x5c, 0xfb, 0x3a, 0x28, 0x51, 0x9d, 0x79, 0x1f, 0x14, 0x57, 0x70, 0x4f, 0x7b, 0x38, 0x39, 0x2e, 0xff, 0x88, 0x5a, 0x82, 0x07, 0xfa, 0x68, 0x3c, 0x57
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xf3, 0x5e, 0xa9, 0xbe, 0xb0, 0xb7, 0xed, 0x68, 0x2d, 0x27, 0xef, 0x78, 0xdd, 0xe1, 0x17, 0x8d, 0x6a, 0x55, 0xf3, 0x07, 0xc8, 0x51, 0x21, 0xcd, 0x83, 0x02, 0x58, 0xd8, 0x9d, 0x33, 0xcd, 0xd1
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xae, 0xce, 0x3f, 0x45, 0x76, 0x98, 0x76, 0xd8, 0x7b, 0x50, 0x47, 0x8b, 0x90, 0xcd, 0x5e, 0x3b, 0x37, 0xb7, 0xf4, 0xc5, 0x5b, 0x38, 0xf7, 0x56, 0xa5, 0x74, 0x86, 0xa3, 0x10, 0x61, 0xdf, 0xa8
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x47, 0x23, 0x62, 0x29, 0x87, 0xd8, 0xd7, 0x04, 0x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2a, 0x31, 0xde, 0x26, 0xe7, 0xd1, 0xec, 0x3a, 0x9c, 0x8a, 0x09, 0x1f, 0xfd, 0xc7, 0x5b, 0x7e, 0xcf, 0xdc, 0x7c, 0x12, 0x99, 0x5a, 0x5e, 0x37, 0xce, 0x34, 0x88, 0xbd, 0x29, 0xf8, 0x62, 0x9d, 0x68, 0xf6, 0x96, 0x49, 0x24, 0x48, 0xdd, 0x52, 0x66, 0x97, 0x47, 0x6d, 0xc0, 0x61, 0x34, 0x6e, 0xbe, 0x3f, 0x67, 0x72, 0x17, 0xff, 0x9c, 0x60, 0xef, 0xce, 0x94, 0x3a, 0xf2, 0x8d, 0xfd, 0x3f, 0x9e, 0x59, 0x69, 0x25, 0x98, 0xa6, 0x04, 0x7c, 0x23, 0xc4, 0xc0, 0x14, 0x00, 0xf1, 0xab, 0x57, 0x30, 0xea, 0xc0, 0xae, 0x8d, 0x58, 0x43, 0xd5, 0x05, 0x1c, 0x37, 0x62, 0x40, 0x17, 0x2a, 0xf2, 0x18, 0xd7, 0xa1, 0xec, 0xfe, 0x65, 0
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x3f, 0x1b, 0x9f, 0xaa, 0x40, 0x5d, 0x82, 0x70, 0xe2, 0xd9, 0x53, 0x8e, 0x33, 0x9f, 0x91, 0x97, 0x93, 0x84, 0x16, 0x91, 0xab, 0x03, 0x3d, 0x18, 0x30, 0xa8, 0xdc, 0xbe, 0xed, 0x4a, 0xfc, 0x4d
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xc9, 0x0c, 0x05, 0x9f, 0xeb, 0x7c, 0x80, 0x7a, 0x6b, 0x34, 0x77, 0x7c, 0x14, 0xa6, 0xc0, 0x28, 0xb0, 0x92, 0xd8, 0x2c, 0xd5, 0x85, 0x5e, 0xd5, 0xfe, 0x8d, 0xef, 0xae, 0x87, 0xd2, 0x89, 0xf7
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
transparent_input: None,
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x3f, 0x1b, 0x9f, 0xaa, 0x40, 0x5d, 0x82, 0x70, 0xe2, 0xd9, 0x53, 0x8e, 0x33, 0x9f, 0x91, 0x97, 0x93, 0x84, 0x16, 0x91, 0xab, 0x03, 0x3d, 0x18, 0x30, 0xa8, 0xdc, 0xbe, 0xed, 0x4a, 0xfc, 0x4d
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: None,
|
|
|
|
sighash_none: None,
|
|
|
|
sighash_single: None,
|
|
|
|
sighash_all_anyone: None,
|
|
|
|
sighash_none_anyone: None,
|
|
|
|
sighash_single_anyone: None,
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x1b, 0xfe, 0xb9, 0x1b, 0x0b, 0x31, 0x69, 0x1c, 0x03, 0xc2, 0xe8, 0x25, 0xa5, 0x97, 0xb8, 0xfb, 0x75, 0xbc, 0x56, 0x2d, 0x65, 0x4d, 0x62, 0x10, 0x46, 0x40, 0xdd, 0x74, 0xe5, 0x6c, 0xd1, 0x4b, 0xaa, 0xba, 0x56, 0x5b, 0x84, 0xb8, 0x45, 0xe1, 0x63, 0xd1, 0xca, 0xef, 0x25, 0x01, 0x53, 0x98, 0x16, 0x37, 0x20, 0x4f, 0x96, 0xa5, 0x9c, 0x8e, 0x80, 0x24, 0xd9, 0x04, 0x1b, 0x20, 0x29, 0xe9, 0x4c, 0x15, 0x24, 0x5f, 0x1a, 0x95, 0x88, 0x40, 0xba, 0x3f, 0x38, 0x0a, 0x4d, 0x20, 0xf1, 0x18, 0x4e, 0x77, 0x82, 0x7d, 0xe3, 0xff, 0x8f, 0x01, 0x53, 0x45, 0x9a, 0xfe, 0x24, 0x1f, 0x72, 0x3c, 0x08, 0x48, 0x23, 0x23, 0x0e, 0x00, 0x3d, 0x3d, 0x21, 0xe5, 0x35, 0x01, 0xec, 0x04, 0x99, 0xb0, 0x83, 0xa7, 0xda, 0xd6, 0x85, 0xc5, 0x71, 0x27, 0xf4, 0xde, 0x64, 0x73, 0x3a, 0x88, 0x0c, 0x2d, 0xb2, 0x07, 0x52, 0x53, 0x51, 0x63, 0x52, 0x52, 0x63, 0xf6, 0x64, 0xa3, 0x51, 0x00, 0x00, 0x00, 0x03, 0xf9, 0x27, 0xb9, 0x46, 0x9e, 0x18, 0x22, 0x9d, 0x02, 0xc3, 0x3d, 0xec, 0x3f, 0x11, 0x7c, 0x5d, 0x2a, 0x8a, 0x85, 0xdb, 0x9b, 0x57, 0x56, 0xdd, 0x52, 0xb8, 0x19, 0x0d, 0xb2, 0x59, 0x62, 0x80, 0xfa, 0x21, 0x39, 0x43, 0x77, 0xa4, 0x55, 0x1c, 0x76, 0xd1, 0xf7, 0x5a, 0xc0, 0x3c, 0x26, 0x20, 0x54, 0xdf, 0xfd, 0x79, 0xa9, 0xde, 0xd0, 0x5e, 0x88, 0x89, 0x58, 0x19, 0x9e, 0xea, 0x45, 0x01, 0xcc, 0xfa, 0x41, 0x52, 0xd4, 0x45, 0xa6, 0xb3, 0x08, 0x54, 0x9e, 0xfc, 0x1d, 0x9b, 0x2b, 0x97, 0xd3, 0x9d, 0xa9, 0x0c, 0x63, 0x88, 0xbe, 0x80, 0x52, 0x45, 0x83, 0x25, 0xbf, 0xd2, 0xf5, 0xbf, 0x73, 0x74, 0x1d, 0x57, 0x85, 0x83, 0x7a, 0x6b, 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x67, 0x26, 0xc9, 0xad, 0xe3, 0xb2, 0x65, 0xb9, 0x08, 0x6c, 0x8b, 0x5b, 0x75, 0xef, 0x56, 0xfe, 0x4b, 0xd8, 0xb4, 0xd6, 0x28, 0x93, 0x89, 0x5b, 0x3f, 0xd2, 0x73, 0x4f, 0xda, 0xc4, 0x64, 0x15, 0x6d, 0x7e, 0x5e, 0xbc, 0x7e, 0xcf, 0x1d, 0x83, 0xb8, 0x6f, 0x65, 0x96, 0x37, 0xe3, 0
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x67, 0x62, 0xf9, 0xc5, 0x72, 0x30, 0xa5, 0x8d, 0xca, 0x6d, 0x44, 0x45, 0x47, 0xb2, 0xf6, 0xe0, 0xe2, 0x13, 0x49, 0x2d, 0xbb, 0x40, 0x56, 0x4a, 0xe1, 0x01, 0xdf, 0x13, 0x94, 0x1c, 0x61, 0x52
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x1c, 0x3e, 0xc5, 0x10, 0x4d, 0x96, 0xb6, 0x68, 0x37, 0xb6, 0xe3, 0x81, 0xf7, 0x02, 0xc7, 0xe4, 0x8a, 0x09, 0x7a, 0xaf, 0x12, 0x5c, 0x9b, 0x82, 0x89, 0x5b, 0x57, 0x8b, 0x92, 0xea, 0xfd, 0x14
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
787459282010655,
|
|
|
|
1685382316228727,
|
|
|
|
1715663111103469,
|
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
vec![
|
|
|
|
0x65, 0x6a
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
0x65, 0x00, 0x51, 0x52, 0x6a
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
0x52, 0x6a, 0x51, 0x53, 0x00, 0x51, 0x52, 0x51, 0x6a
|
|
|
|
],
|
|
|
|
],
|
|
|
|
transparent_input: Some(2),
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xa7, 0xe2, 0x72, 0xca, 0x04, 0x40, 0x87, 0xc4, 0xd3, 0x56, 0x61, 0x88, 0x8b, 0x34, 0x8c, 0x57, 0xe9, 0x8b, 0x79, 0x81, 0xa1, 0x6f, 0xe5, 0xe8, 0x81, 0x81, 0xc8, 0xe1, 0x5a, 0xae, 0x58, 0x1c
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xda, 0x3e, 0xdd, 0x81, 0xf4, 0xfa, 0x79, 0xe4, 0x7f, 0xb6, 0x76, 0xca, 0x0b, 0x56, 0xb1, 0x29, 0x9f, 0xf5, 0xb5, 0xec, 0x58, 0x23, 0xec, 0x87, 0x1e, 0x3d, 0x7c, 0x12, 0x88, 0x4f, 0xe5, 0x77
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xdd, 0xe8, 0x6c, 0x69, 0x61, 0xd0, 0x2d, 0x65, 0x51, 0x03, 0xc9, 0xd1, 0x9c, 0x89, 0x62, 0x3f, 0xde, 0x4e, 0xc6, 0xb5, 0x28, 0x2b, 0xb8, 0xfb, 0xc7, 0xe8, 0xba, 0x46, 0x91, 0x1e, 0x9a, 0x3e
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single: None,
|
|
|
|
sighash_all_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x41, 0x15, 0x08, 0xbb, 0x7b, 0x21, 0x94, 0xf6, 0x17, 0xad, 0xc6, 0xc7, 0x82, 0xbb, 0x77, 0x20, 0xc8, 0xdf, 0xc2, 0x5f, 0xef, 0x3b, 0xc4, 0x8e, 0xc7, 0x31, 0xa2, 0x4a, 0xa2, 0xc1, 0xc1, 0x05
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xb4, 0x25, 0x3a, 0x25, 0xbf, 0x7e, 0xe6, 0xcd, 0x20, 0x9c, 0x5f, 0x07, 0x66, 0x6f, 0xea, 0x85, 0x3e, 0x4b, 0x80, 0x08, 0x62, 0xa2, 0x9a, 0xa5, 0xa8, 0x96, 0x1f, 0x95, 0x32, 0x03, 0xa3, 0xb0
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single_anyone: None,
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x81, 0x83, 0x6c, 0x3b, 0xe9, 0x9a, 0x08, 0x17, 0x03, 0xa4, 0x60, 0xe9, 0x68, 0xaa, 0x71, 0x09, 0x87, 0x0b, 0xbe, 0xd1, 0x7d, 0xf5, 0xf8, 0x88, 0xc8, 0xca, 0x14, 0x67, 0xae, 0x17, 0xdb, 0xbc, 0xde, 0x31, 0xc1, 0x10, 0x5c, 0xb5, 0xbd, 0xa8, 0x8a, 0xc6, 0xc6, 0x27, 0x00, 0x04, 0x52, 0xac, 0x52, 0xac, 0x0f, 0xfe, 0x81, 0xec, 0x58, 0xbf, 0x1e, 0x6d, 0x1b, 0xb7, 0xaa, 0xad, 0xa4, 0x1f, 0xba, 0x0b, 0xb5, 0x88, 0x77, 0x8a, 0x7f, 0x65, 0x20, 0x2a, 0xd8, 0x11, 0xea, 0x73, 0xd2, 0x6c, 0x74, 0x55, 0x03, 0x95, 0xaf, 0xf7, 0x53, 0x25, 0x10, 0x7c, 0x09, 0x6a, 0x52, 0x51, 0xac, 0xac, 0x00, 0x65, 0x00, 0x51, 0xa2, 0xe7, 0x42, 0x47, 0x19, 0xa3, 0xd1, 0x85, 0xb7, 0xe0, 0xa4, 0x3a, 0x47, 0x2e, 0x29, 0x8a, 0xc0, 0xaf, 0xdc, 0x52, 0x87, 0xd7, 0xad, 0x12, 0x4c, 0xd9, 0x40, 0x5a, 0x62, 0xcd, 0x1c, 0xa0, 0x8b, 0x28, 0x2e, 0xfe, 0xf7, 0xf9, 0x28, 0xdf, 0x08, 0x52, 0x52, 0x52, 0x51, 0xac, 0x53, 0x53, 0xac, 0xea, 0xa5, 0xff, 0x12, 0x00, 0x00, 0x00, 0x00
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x22, 0x1d, 0x40, 0x59, 0x7b, 0x56, 0x3f, 0x20, 0x64, 0x58, 0xf9, 0x73, 0x6b, 0x85, 0x49, 0x23, 0x7c, 0x55, 0x54, 0x24, 0x2c, 0x41, 0x90, 0x22, 0x43, 0x5a, 0x33, 0x50, 0xa0, 0x70, 0x8e, 0xa1
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x6a, 0x75, 0xe4, 0x93, 0x24, 0xe8, 0x53, 0x20, 0xfe, 0x2f, 0x22, 0x46, 0x66, 0x18, 0xb7, 0x0b, 0x4b, 0xbe, 0xfe, 0xa2, 0x48, 0xe5, 0xd3, 0x67, 0x3f, 0x18, 0xf2, 0xe4, 0x87, 0xa2, 0xb2, 0x0a
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
1076763594431866,
|
|
|
|
316847576141144,
|
|
|
|
1780844721475339,
|
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
vec![
|
|
|
|
0x00, 0x65, 0x51, 0xac, 0x65, 0x63, 0x00, 0x53
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
0x63, 0x52, 0x00, 0x53
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
0xac, 0xac, 0x00, 0x65, 0x6a, 0x63, 0x51
|
|
|
|
],
|
|
|
|
],
|
|
|
|
transparent_input: Some(2),
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xb5, 0xa1, 0x8f, 0xf6, 0x57, 0x83, 0x9c, 0x69, 0x79, 0xc2, 0xf2, 0xaf, 0xae, 0xea, 0xf2, 0xf5, 0xc1, 0xcf, 0x43, 0xdf, 0x92, 0xf4, 0xa6, 0x57, 0x55, 0xfa, 0x42, 0xae, 0x2b, 0x77, 0x06, 0xab
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x9d, 0x80, 0x2c, 0x8a, 0xce, 0x5b, 0xc5, 0xf5, 0xb0, 0x3c, 0x7d, 0xac, 0x8a, 0x29, 0xef, 0x33, 0x42, 0x4d, 0xef, 0x82, 0xcb, 0xc4, 0xfc, 0x84, 0x00, 0xc0, 0xbb, 0x9d, 0x5e, 0x08, 0x41, 0x47
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xae, 0x2d, 0xb1, 0x4c, 0x57, 0x78, 0x1f, 0xb5, 0x5c, 0x2f, 0x66, 0x58, 0xf6, 0x14, 0x18, 0x83, 0xf7, 0xeb, 0xe0, 0xd3, 0x9f, 0x43, 0x9c, 0xf5, 0x66, 0xdc, 0x55, 0x0f, 0xb9, 0xda, 0x71, 0x68
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single: None,
|
|
|
|
sighash_all_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xe7, 0x11, 0x83, 0x4b, 0x5a, 0x4e, 0xb8, 0x4a, 0xa2, 0x98, 0x6a, 0x53, 0xc2, 0xb2, 0xba, 0x2f, 0xd6, 0x37, 0x4e, 0x66, 0x6f, 0x03, 0x11, 0xbf, 0xca, 0x8c, 0xbc, 0xee, 0xfd, 0xde, 0x1e, 0x38
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x5c, 0x3a, 0x08, 0x39, 0xfd, 0xc7, 0x34, 0x17, 0xae, 0x7d, 0x5f, 0x15, 0xdc, 0xee, 0xd6, 0xc1, 0xa4, 0xcb, 0xe8, 0x0c, 0x6c, 0x25, 0xce, 0x03, 0x86, 0xfe, 0xf7, 0xc0, 0x58, 0xa8, 0xb9, 0x43
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single_anyone: None,
|
|
|
|
},
|
|
|
|
TestVector {
|
|
|
|
tx: vec![
|
2022-03-22 17:27:32 -07:00
|
|
|
0x05, 0x00, 0x00, 0x80, 0x0a, 0x27, 0xa7, 0x26, 0xb4, 0xd0, 0xd6, 0xc2, 0x57, 0xb8, 0x57, 0x51, 0x23, 0x5d, 0xbc, 0x10, 0x02, 0x52, 0xe4, 0x1e, 0x00, 0x29, 0x31, 0xb4, 0x57, 0x46, 0x19, 0x8e, 0x5d, 0xd9, 0x57, 0x1a, 0x56, 0xa7, 0xe0, 0xd4, 0x23, 0xff, 0x27, 0x98, 0x9d, 0x3e, 0xb4, 0x17, 0xec, 0xd3, 0xc3, 0x09, 0x3f, 0xb8, 0x2c, 0x56, 0x58, 0x00, 0x96, 0x24, 0xc5, 0x32, 0x19, 0xa6, 0x0c, 0xd0, 0xa8, 0xc4, 0xda, 0x36, 0x7e, 0x29, 0xa7, 0x17, 0x79, 0xa7, 0x30, 0x32, 0x98, 0x5a, 0x3d, 0x1f, 0xd0, 0x3d, 0xd4, 0x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0xf1, 0xf3, 0x14, 0xcd, 0xcc, 0x71, 0x35, 0x9e, 0x23, 0x5f, 0x1d, 0x7d, 0xc2, 0xb5, 0xf3, 0x8e, 0xf7, 0xb9, 0x70, 0x84, 0x31, 0x63, 0xc0, 0x3f, 0x9d, 0xd4, 0x0a, 0x80, 0x15, 0xef, 0xdc, 0x87, 0x91, 0x95, 0x6a, 0x3f, 0x3c, 0xed, 0xd9, 0
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
txid: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0x5b, 0xb4, 0x4e, 0xbf, 0x80, 0x30, 0xac, 0x2f, 0xb7, 0x4d, 0x82, 0xb4, 0x32, 0xd4, 0x80, 0x21, 0x8a, 0x3d, 0x16, 0x48, 0xe3, 0x27, 0x0b, 0x89, 0xff, 0xb3, 0xcf, 0x73, 0x5c, 0x2c, 0xe7, 0xa0
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
auth_digest: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xb3, 0xd8, 0xef, 0x97, 0x5a, 0x6a, 0xfa, 0x72, 0x00, 0x92, 0x3c, 0x11, 0x60, 0xb7, 0xeb, 0xcf, 0xce, 0x43, 0xb5, 0xb9, 0x1e, 0xe3, 0xb3, 0xdd, 0x91, 0x78, 0x49, 0x38, 0xbf, 0xa6, 0x8e, 0xa6
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
amounts: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
1399781968202734,
|
|
|
|
1999413718097392,
|
|
|
|
],
|
2022-01-25 13:57:29 -08:00
|
|
|
script_pubkeys: vec![
|
2022-01-12 17:43:06 -08:00
|
|
|
vec![
|
|
|
|
0x00, 0x53, 0x00
|
|
|
|
],
|
|
|
|
vec![
|
|
|
|
0x53, 0x51, 0x52, 0x52, 0x65, 0x52, 0x00, 0x53, 0x63
|
|
|
|
],
|
|
|
|
],
|
|
|
|
transparent_input: Some(1),
|
|
|
|
sighash_shielded: [
|
2022-03-22 17:27:32 -07:00
|
|
|
0xa8, 0x19, 0x23, 0x45, 0x81, 0x21, 0xcd, 0xb5, 0x64, 0x75, 0xf9, 0x6e, 0xd2, 0xd9, 0x20, 0x80, 0xf5, 0x6e, 0xd3, 0x06, 0xe4, 0x1f, 0x45, 0x01, 0x2a, 0xf5, 0x7c, 0xfb, 0x34, 0x8a, 0xcd, 0xa1
|
2022-01-12 17:43:06 -08:00
|
|
|
],
|
|
|
|
sighash_all: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x0b, 0x75, 0x2d, 0xe9, 0x48, 0x55, 0x2d, 0x11, 0x70, 0xc1, 0xc9, 0x38, 0x2d, 0xb1, 0x4e, 0xb4, 0x6a, 0xda, 0x2d, 0xb1, 0x64, 0xda, 0x90, 0x14, 0x1a, 0x62, 0x6a, 0x03, 0x5d, 0xf3, 0xb4, 0xd5
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0xef, 0x8a, 0xf0, 0x6f, 0x6a, 0xec, 0x49, 0x39, 0x4f, 0x46, 0x6d, 0xdd, 0x5a, 0x6c, 0x11, 0x2f, 0x80, 0xde, 0xd7, 0x68, 0x7c, 0xa2, 0x1c, 0x10, 0x78, 0x2f, 0xda, 0x26, 0x1b, 0xe5, 0xf6, 0x87
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x9b, 0xa5, 0x4f, 0xf9, 0xf5, 0xda, 0x79, 0xfb, 0xa5, 0x1c, 0xdf, 0x48, 0x91, 0xc0, 0x21, 0xd8, 0xdb, 0xe8, 0x88, 0xbf, 0x21, 0x5f, 0x7c, 0x2f, 0xd7, 0x9e, 0x43, 0xba, 0x5d, 0xd1, 0xcc, 0x76
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_all_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x22, 0x54, 0x83, 0x9a, 0x4e, 0xd2, 0x5a, 0x96, 0x54, 0x8d, 0xd8, 0x04, 0xdc, 0x33, 0x38, 0x29, 0xba, 0xa4, 0xda, 0x26, 0x77, 0xe9, 0xc8, 0x3d, 0xf8, 0xab, 0x2d, 0x5a, 0x57, 0xcd, 0x66, 0x6a
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_none_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x14, 0x97, 0xbf, 0x31, 0xdf, 0x9b, 0x0f, 0x6e, 0x77, 0xe1, 0x17, 0x3a, 0x9e, 0xb4, 0x08, 0xef, 0x5e, 0x19, 0xd8, 0x44, 0xaa, 0x9a, 0x85, 0xb6, 0xe7, 0x54, 0x6f, 0x30, 0xde, 0x1f, 0x0b, 0xe2
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
sighash_single_anyone: Some([
|
2022-03-22 17:27:32 -07:00
|
|
|
0x39, 0xac, 0xb5, 0xfd, 0x91, 0xa1, 0x2d, 0xd4, 0x07, 0x36, 0xfc, 0x6a, 0xba, 0x53, 0xfd, 0xf5, 0x2f, 0x05, 0x83, 0x80, 0x94, 0xc3, 0xaa, 0x6e, 0xf3, 0x45, 0xd9, 0x4a, 0x1a, 0x07, 0x24, 0xbf
|
2022-01-12 17:43:06 -08:00
|
|
|
]),
|
|
|
|
},
|
|
|
|
];
|