diff --git a/CHANGELOG.md b/CHANGELOG.md index 94e69c6b..75a5a8a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Unreleased * Fix `RedeemNode::prune` producing programs that consensus rejects, and add `ExecutionError::PruningFailed` [#391](https://github.com/BlockstreamResearch/rust-simplicity/issues/391). +* Update libsimplicity to `4e0beb5`, so that `Bitcoin::cmr()` and `Bitcoin::cost()` no longer panic [#405](https://github.com/BlockstreamResearch/rust-simplicity/pull/405). +* Add `Cost::get_annex_padding_size`, and make `Cost::get_padding` return the shortest annex [#405](https://github.com/BlockstreamResearch/rust-simplicity/pull/405). +* `Cost::get_padding` and `Cost::is_budget_valid` now take `&[Vec]` instead of `&Vec>`, and `Cost::is_budget_valid` is available with the `bitcoin` feature [#405](https://github.com/BlockstreamResearch/rust-simplicity/pull/405). # 0.9.0 - 2026-09-16 diff --git a/simplicity-sys/depend/simplicity-HEAD-revision.txt b/simplicity-sys/depend/simplicity-HEAD-revision.txt index 1948a9d7..fb838358 100644 --- a/simplicity-sys/depend/simplicity-HEAD-revision.txt +++ b/simplicity-sys/depend/simplicity-HEAD-revision.txt @@ -1,2 +1,2 @@ # This file has been automatically generated. -3f0bb69c4547bcf3483ca5ccbd06699464166650 +4e0beb5947b7e75ee7974d82a1447e89a0b4b5d6 diff --git a/simplicity-sys/src/tests/mod.rs b/simplicity-sys/src/tests/mod.rs index e5526218..ac880968 100644 --- a/simplicity-sys/src/tests/mod.rs +++ b/simplicity-sys/src/tests/mod.rs @@ -19,6 +19,10 @@ use crate::tests::ffi::{ }; use crate::CElementsTxEnv; +/// The vendored C table of the Bitcoin jets +pub const BITCOIN_PRIMITIVE_JET_NODE_INC: &str = + include_str!("../../depend/simplicity/bitcoin/primitiveJetNode.inc"); + /// The result of parsing, typechecking, and running a Simplicity program /// through the C FFI #[derive(Copy, Clone, Debug)] diff --git a/src/analysis.rs b/src/analysis.rs index fe5fed84..ceb6b066 100644 --- a/src/analysis.rs +++ b/src/analysis.rs @@ -4,12 +4,10 @@ use crate::jet::Jet; use std::{cmp, fmt}; use crate::value::Word; -#[cfg(feature = "elements")] -use elements::encode::Encodable; +#[cfg(feature = "bitcoin")] +use bitcoin::VarInt; #[cfg(feature = "serde")] use serde::Serialize; -#[cfg(feature = "elements")] -use std::{convert::TryFrom, io}; /// Copy of [`bitcoin::Weight`] that uses [`u32`] instead of [`u64`]. /// @@ -115,40 +113,41 @@ impl Cost { self <= Self::CONSENSUS_MAX } - /// Return the budget of the given script witness of a transaction output. + /// Return the budget of the given script witness of a transaction input. /// - /// The script witness is passed as `&Vec>` in order to use - /// the consensus encoding implemented for this type. - #[cfg(feature = "elements")] - fn get_budget(script_witness: &Vec>) -> U32Weight { - let mut sink = io::sink(); - let witness_stack_serialized_len = script_witness - .consensus_encode(&mut sink) - .expect("writing to sink never fails"); - let budget = u32::try_from(witness_stack_serialized_len) - .expect("Serialized witness stack must be shorter than 2^32 elements") + /// The budget is the serialized size of the witness stack, in weight units, plus 50 weight units. + /// Bitcoin and Elements serialize a witness stack the same way. + /// A CompactSize item count, then each item with a CompactSize length prefix. + #[cfg(feature = "bitcoin")] + fn get_budget(script_witness: &[Vec]) -> U32Weight { + let mut serialized_len = VarInt::from(script_witness.len()).size(); + for item in script_witness { + serialized_len += VarInt::from(item.len()).size() + item.len(); + } + + // A witness longer than u32::MAX bytes covers any `Cost`, so saturate + let budget = u32::try_from(serialized_len) + .unwrap_or(u32::MAX) .saturating_add(50); + U32Weight(budget) } /// Return whether the cost is within the budget of /// the given script witness of a transaction input. - /// - /// The script witness is passed as `&Vec>` in order to use - /// the consensus encoding implemented for this type. - #[cfg(feature = "elements")] - pub fn is_budget_valid(self, script_witness: &Vec>) -> bool { + #[cfg(feature = "bitcoin")] + pub fn is_budget_valid(self, script_witness: &[Vec]) -> bool { let budget = Self::get_budget(script_witness); self.0 <= budget.0.saturating_mul(1000) } - /// Return the annex bytes that are required as padding - /// so the transaction input has enough budget to cover the cost. + /// Return the length of the shortest annex that, appended to the given script witness, + /// gives the transaction input enough budget for the cost. /// - /// The first annex byte is 0x50, as defined in BIP 341. - /// The following padding bytes are 0x00. - #[cfg(feature = "elements")] - pub fn get_padding(self, script_witness: &Vec>) -> Option> { + /// Returns `None` if the cost already fits. + /// Otherwise the length is at least 1, because an annex starts with the `0x50` tag (BIP 341). + #[cfg(feature = "bitcoin")] + pub fn get_annex_padding_size(self, script_witness: &[Vec]) -> Option { let weight = U32Weight::from(self); let budget = Self::get_budget(script_witness); if weight <= budget { @@ -165,7 +164,15 @@ impl Cost { // for the actual CompactSize encoding length of the resulting annex. let deficit = (weight - budget).0 as usize; // cast safety: 32-bit machine or higher - // overhead = compact_size_len + 1 (for 0x50 tag) + // The annex is one more stack item. + // If that takes the item count past 252 or 65 535, its CompactSize grows by 2 bytes, + // which also count towards the budget, so take them off the deficit first. + let count_prefix_growth = VarInt::from(script_witness.len() + 1).size() + - VarInt::from(script_witness.len()).size(); + let deficit = deficit.saturating_sub(count_prefix_growth); + + // `padding_len` counts the zero bytes after the 0x50 tag, so + // overhead = the CompactSize length of annex_len + 1 (for the tag). let padding_len = match deficit { // annex_len <= 252, compact_size uses 1 byte, overhead = 2 0..=253 => deficit.saturating_sub(2), @@ -182,11 +189,23 @@ impl Cost { // is unreachable because Cost uses u32 milliweight, limiting the // maximum deficit to ~4_294_968 weight units. }; - let annex_bytes: Vec = std::iter::once(0x50) - .chain(std::iter::repeat(0x00).take(padding_len)) - .collect(); - Some(annex_bytes) + Some(padding_len + 1) + } + + /// Return the annex bytes that are required as padding so the transaction input + /// has enough budget to cover the cost. + /// + /// The first annex byte is 0x50, as defined in BIP 341. + /// The following padding bytes are 0x00. + /// The length is [`Self::get_annex_padding_size`]. + #[cfg(feature = "elements")] + pub fn get_padding(self, script_witness: &[Vec]) -> Option> { + self.get_annex_padding_size(script_witness).map(|len| { + let mut annex = vec![0x00; len]; + annex[0] = 0x50; + annex + }) } } @@ -214,10 +233,8 @@ impl From for Cost { #[cfg(feature = "bitcoin")] impl From for U32Weight { fn from(value: Cost) -> Self { - // Saturating addition to avoid panic at numeric bounds - // This results in a slightly different rounding for cost values close to u32::MAX. - // These values are strictly larger than CONSENSUS_MAX and are of no significance. - Self(value.0.saturating_add(999) / 1000) + // Round up, because part of a weight unit still needs a whole unit of budget + Self(value.0.div_ceil(1000)) } } @@ -428,6 +445,9 @@ mod tests { (Cost::from_milliweight(1_999), 2), (Cost::from_milliweight(2_000), 2), (Cost::CONSENSUS_MAX, 4_000_050), + (Cost::from_milliweight(4_294_967_000), 4_294_967), + (Cost::from_milliweight(4_294_967_001), 4_294_968), + (Cost::from_milliweight(u32::MAX), 4_294_968), ]; for (cost, expected_weight) in test_vectors { @@ -437,43 +457,40 @@ mod tests { } } - #[test] - #[cfg(feature = "elements")] - fn test_get_padding() { - // The budget of the empty witness stack is 51 WU: - // - // 1. 50 WU of free signature operations - // 2. 1 WU for the length byte of the witness stack + #[cfg(feature = "bitcoin")] + fn padding_vectors() -> Vec<(Cost, Vec>, Option)> { + // An empty witness has a budget of 51 WU: 50 WU plus its 1-byte item count. let empty = 51_000; - // The encoded annex starts with a length byte, so remove one padding byte from the annex - let test_vectors = vec![ + // 252 empty items have a budget of 1 + 252 + 50 WU. + // A 253rd item grows the item count from 1 byte to 3. + let items_252 = (1 + 252 + 50) * 1000; + + vec![ (Cost::from_milliweight(0), vec![], None), (Cost::from_milliweight(empty), vec![], None), + // 1 WU short: the 1-byte annex [0x50] adds 2 bytes. (Cost::from_milliweight(empty + 1), vec![], Some(1)), - (Cost::from_milliweight(empty + 2_000), vec![], Some(1)), - (Cost::from_milliweight(empty + 2_001), vec![], Some(2)), - (Cost::from_milliweight(empty + 3_000), vec![], Some(2)), - (Cost::from_milliweight(empty + 3_001), vec![], Some(3)), - (Cost::from_milliweight(empty + 4_000), vec![], Some(3)), - (Cost::from_milliweight(empty + 4_001), vec![], Some(4)), (Cost::from_milliweight(empty + 50_000), vec![], Some(49)), - // Test around CompactSize boundary (annex_len crossing 252 -> 253) - // deficit = 253: annex_len = 252, compact_size = 1 byte, overhead = 2 + // Annex lengths around the 1 -> 3 byte CompactSize boundary. (Cost::from_milliweight(empty + 253_000), vec![], Some(252)), - // deficit = 254: annex_len must be 253 (3-byte compact_size), overhead = 4 (Cost::from_milliweight(empty + 254_000), vec![], Some(253)), - // deficit = 255: same boundary case - (Cost::from_milliweight(empty + 255_000), vec![], Some(253)), - // deficit = 256: annex_len = 253, compact_size = 3, exact fit - (Cost::from_milliweight(empty + 256_000), vec![], Some(253)), - // deficit = 257: annex_len = 254 - (Cost::from_milliweight(empty + 257_000), vec![], Some(254)), - // Large annex (exercises the 3-byte compact_size path) + // Annex lengths around the 3 -> 5 byte CompactSize boundary. ( - Cost::from_milliweight(empty + 7_424_000), + Cost::from_milliweight(empty + 65_538_000), vec![], - Some(7_421), + Some(65_535), + ), + ( + Cost::from_milliweight(empty + 65_539_000), + vec![], + Some(65_536), + ), + // The growth of the item count counts towards the budget. + ( + Cost::from_milliweight(items_252 + 10_000), + vec![vec![]; 252], + Some(7), ), // Hash loop example ( @@ -483,25 +500,51 @@ mod tests { ), // Max (Cost::CONSENSUS_MAX, vec![], Some(3_999_994)), - ]; + ] + } + + #[test] + #[cfg(feature = "bitcoin")] + fn test_get_annex_padding_size() { + for (cost, mut witness, expected) in padding_vectors() { + let size = cost.get_annex_padding_size(&witness); + assert_eq!(size, expected, "cost {cost}"); + + let Some(size) = size else { + assert!(cost.is_budget_valid(&witness)); + continue; + }; + assert!(!cost.is_budget_valid(&witness)); + + // Only the length of the annex affects the budget. + witness.push(vec![0x00; size]); + assert!( + cost.is_budget_valid(&witness), + "{size} bytes do not cover cost {cost}" + ); + + // The annex must be minimal. One byte shorter must not suffice. + // A 1-byte annex is only the tag and cannot be shorter. + if size > 1 { + witness.last_mut().expect("non-empty").pop(); + assert!( + !cost.is_budget_valid(&witness), + "{size} bytes are not minimal for cost {cost}" + ); + } + } + } + + #[test] + #[cfg(feature = "elements")] + fn test_get_padding() { + for (cost, witness, expected) in padding_vectors() { + let annex = cost.get_padding(&witness); + assert_eq!(annex.as_ref().map(Vec::len), expected); - for (cost, mut witness, maybe_padding) in test_vectors { - match maybe_padding { - None => { - assert!(cost.is_budget_valid(&witness)); - assert!(cost.get_padding(&witness).is_none()); - } - Some(expected_annex_len) => { - assert!(!cost.is_budget_valid(&witness)); - - let annex_bytes = cost.get_padding(&witness).expect("not enough budget"); - assert_eq!(expected_annex_len, annex_bytes.len()); - witness.extend(std::iter::once(annex_bytes)); - assert!(cost.is_budget_valid(&witness)); - - witness.pop(); - assert!(!cost.is_budget_valid(&witness), "Padding must be minimal"); - } + if let Some(annex) = annex { + assert_eq!(annex[0], 0x50); + assert!(annex[1..].iter().all(|&b| b == 0x00)); } } } diff --git a/src/jet/bitcoin/mod.rs b/src/jet/bitcoin/mod.rs index c67dbdef..b6f900d4 100644 --- a/src/jet/bitcoin/mod.rs +++ b/src/jet/bitcoin/mod.rs @@ -2,6 +2,10 @@ mod c_env; mod environment; +#[cfg(test)] +mod spec_tests; +#[cfg(test)] +mod tests; pub use environment::BitcoinEnv; diff --git a/src/jet/bitcoin/spec_tests.rs b/src/jet/bitcoin/spec_tests.rs new file mode 100644 index 00000000..f263326e --- /dev/null +++ b/src/jet/bitcoin/spec_tests.rs @@ -0,0 +1,111 @@ +// SPDX-License-Identifier: CC0-1.0 + +//! Checks that every Bitcoin jet's `cmr()` and `cost()` agree with the values +//! in libsimplicity's vendored `primitiveJetNode.inc`. + +use std::collections::HashMap; + +use simplicity_sys::tests::BITCOIN_PRIMITIVE_JET_NODE_INC; + +use super::Bitcoin; +use crate::analysis::Cost; +use crate::jet::Jet; +use crate::merkle::cmr::Cmr; + +struct JetSpec { + cmr: Cmr, + cost: Cost, +} + +/// Parses `primitiveJetNode.inc` into a map from each jet to its CMR and cost. +/// +/// Every entry of the C table has the same shape: +/// +/// ```text +/// ,[ADD_32] = +/// { .tag = JET +/// , .jet = rustsimplicity_0_8_add_32 +/// , .cmr = {{0x4668cd55u, ..., 0xd3cebf9fu}} +/// , .sourceIx = ty_w64 +/// , .targetIx = ty_pbw32 +/// , .cost = 92 /* milli weight units */ +/// } +/// ``` +/// +/// `[` appears nowhere else in the file, so splitting on it yields one chunk per entry. +fn parse_inc(inc: &str) -> HashMap { + let mut specs = HashMap::new(); + + for entry in inc.split('[').skip(1) { + let (label, _) = entry + .split_once("] =") + .unwrap_or_else(|| panic!("no `] =` in C entry: {entry}")); + let jet: Bitcoin = label + .to_ascii_lowercase() + .parse() + .unwrap_or_else(|_| panic!("unknown C jet [{label}]")); + let cost = between(entry, ".cost = ", " ") + .parse() + .expect("cost is a u32"); + + let spec = JetSpec { + cmr: parse_cmr(between(entry, ".cmr = {{", "}}")), + cost: Cost::from_milliweight(cost), + }; + + assert!( + specs.insert(jet, spec).is_none(), + "{jet}: duplicate C entry" + ); + } + + specs +} + +/// Returns the text between the first `start` in `entry` and the next `end`. +fn between<'a>(entry: &'a str, start: &str, end: &str) -> &'a str { + entry + .split_once(start) + .and_then(|(_, rest)| rest.split_once(end)) + .map(|(found, _)| found) + .unwrap_or_else(|| panic!("no `{start}`..`{end}` in C entry: {entry}")) +} + +/// Parses `0x49425a86u, 0xe20a676du, ...` (eight 32-bit words, each serialized big-endian) into a CMR +/// +/// Each word is eight hex digits, so the digits in order are the CMR's hex encoding. +fn parse_cmr(words: &str) -> Cmr { + let hex: String = words + .split(", ") + .map(|word| { + word.strip_prefix("0x") + .and_then(|w| w.strip_suffix('u')) + .filter(|digits| digits.len() == 8) + .unwrap_or_else(|| panic!("{word}: CMR word is not 0x%08xu")) + }) + .collect(); + + hex.parse().expect("CMR is 32 bytes of hex") +} + +#[test] +fn generated_tables_match_primitive_jet_node_inc() { + let mut specs = parse_inc(BITCOIN_PRIMITIVE_JET_NODE_INC); + + assert_eq!( + specs.len(), + Bitcoin::ALL.len(), + ".inc entries vs Bitcoin::ALL" + ); + + for jet in Bitcoin::ALL { + let spec = specs + .remove(&jet) + .unwrap_or_else(|| panic!("{jet:?}: no .inc entry")); + + assert_eq!(jet.cmr(), spec.cmr, "{jet:?}: CMR differs from the .inc"); + assert_eq!(jet.cost(), spec.cost, "{jet:?}: cost differs from the .inc"); + } + + assert!(specs.is_empty(), "extra C entries: {:?}", specs.keys()); +} diff --git a/src/jet/bitcoin/tests.rs b/src/jet/bitcoin/tests.rs new file mode 100644 index 00000000..f1569d99 --- /dev/null +++ b/src/jet/bitcoin/tests.rs @@ -0,0 +1,210 @@ +// SPDX-License-Identifier: CC0-1.0 + +//! Tests that the Bitcoin backend executes tx-context jets through the C implementations, +//! using a real transaction environment. + +use std::sync::Arc; + +use bitcoin::absolute::LockTime; +use bitcoin::hashes::Hash as _; +use bitcoin::key::Parity; +use bitcoin::taproot::{ControlBlock, LeafVersion, TapNodeHash}; +use bitcoin::transaction::Version; +use bitcoin::{Amount, OutPoint, ScriptBuf, Sequence, Transaction, TxIn, TxOut, Txid}; + +use crate::bit_machine::ExecutionError; +use crate::jet::{Bitcoin, BitcoinEnv}; +use crate::node::{ConstructNode, CoreConstructible as _}; +use crate::types::{self, Final}; +use crate::{BitMachine, Cmr, Value}; + +type Env = BitcoinEnv; + +/// The bytes `start, start + 1, ..`: a hash whose byte order matters. +fn bytes32(start: u8) -> [u8; 32] { + core::array::from_fn(|i| start + i as u8) +} + +/// The parts of a spending context. +/// A test changes the field it is about and then calls [`Fixture::env`]. +struct Fixture { + tx: Transaction, + /// The UTXO spent by each input of `tx`. + utxos: Vec, + ix: u32, + cmr: Cmr, + control_block: ControlBlock, +} + +impl Fixture { + /// A spend of the middle one of three inputs, with two outputs. + /// + /// The inputs, the UTXOs they spend and the outputs all differ, + /// and no two jets of the same type read the same value (hence version 4), + /// so that nothing can be mistaken for something else. + /// + /// Only the spent input has a final sequence, + /// so the transaction as a whole is not final and its lock time applies. + fn new() -> Self { + let txin = |txid, vout, sequence| TxIn { + previous_output: OutPoint::new(Txid::from_byte_array(bytes32(txid)), vout), + sequence, + ..TxIn::default() + }; + let txout = |sat, script_pubkey: &[u8]| TxOut { + value: Amount::from_sat(sat), + script_pubkey: ScriptBuf::from(script_pubkey.to_vec()), + }; + + Fixture { + tx: Transaction { + version: Version(4), + lock_time: LockTime::from_consensus(700_000), + input: vec![ + txin(0x10, 2, Sequence::ENABLE_LOCKTIME_NO_RBF), + txin(0x20, 0, Sequence::MAX), + txin(0x30, 1, Sequence::ENABLE_RBF_NO_LOCKTIME), + ], + output: vec![txout(25_000, &[0x6a]), txout(34_000, &[0x6a; 2])], + }, + utxos: vec![ + txout(30_000, &[0x51]), + txout(10_000, &[0x52; 2]), + txout(20_000, &[0x53; 3]), + ], + ix: 1, + cmr: Cmr::from_byte_array(bytes32(0xc0)), + control_block: ControlBlock { + leaf_version: LeafVersion::from_consensus(0xbe).unwrap(), + output_key_parity: Parity::Odd, + internal_key: INTERNAL_KEY.parse().unwrap(), + merkle_branch: [bytes32(0x70), bytes32(0x90)] + .map(TapNodeHash::from_byte_array) + .into(), + }, + } + } + + fn env(&self) -> Env { + BitcoinEnv::new( + self.tx.clone(), + &self.utxos, + self.ix, + self.cmr, + self.control_block.clone(), + ) + } +} + +/// The BIP-341 NUMS point. +const INTERNAL_KEY: &str = "50929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9ace803ac0"; + +// The environment hashes of `Fixture::new()`. +const TX_HASH: &str = "1032104862fdcc0a976cad6da0fbb47ddd67930a1f83cc7d69a4d5cf6addea69"; +const TAP_ENV_HASH: &str = "c744c712ef26db826c3904d7471bf4d5d1a53fdf7c663a9a5e4d681026f6c06f"; +const SIG_ALL_HASH: &str = "c65d5cff65c29c1417783930350af2045e0ec92d6dfa7f0ff02a4826453c7c8b"; + +/// Runs `jet` on `input` against `env`. +fn run_jet(jet: Bitcoin, input: &Value, env: &Env) -> Result { + types::Context::with_context(|ctx| { + let prog = Arc::::comp( + &Arc::::scribe(&ctx, input), + &Arc::::jet(&ctx, &jet), + ) + .unwrap(); + BitMachine::test_exec(prog, env) + }) +} + +#[test] +fn jets_read_the_environment() { + let fixture = Fixture::new(); + let env = fixture.env(); + let txid = fixture.tx.compute_txid().to_byte_array(); + + for (jet, expected) in [ + (Bitcoin::Version, Value::u32(4)), + (Bitcoin::LockTime, Value::u32(700_000)), + (Bitcoin::NumInputs, Value::u32(3)), + (Bitcoin::NumOutputs, Value::u32(2)), + (Bitcoin::CurrentIndex, Value::u32(1)), + (Bitcoin::CurrentValue, Value::u64(10_000)), + (Bitcoin::ScriptCMR, Value::u256(bytes32(0xc0))), + (Bitcoin::TransactionId, Value::u256(txid)), + ] { + let value = run_jet(jet, &Value::unit(), &env).unwrap(); + assert_eq!(value, expected, "{jet:?}"); + } + + // The indexed jets return the value at each index, and nothing past the end. + for (jet, sats) in [ + (Bitcoin::InputValue, [30_000, 10_000, 20_000].as_slice()), + (Bitcoin::OutputValue, [25_000, 34_000].as_slice()), + ] { + let mut expected = Vec::from_iter(sats.iter().map(|&sat| Value::some(Value::u64(sat)))); + expected.push(Value::none(Final::u64())); + + for (i, expected) in expected.into_iter().enumerate() { + let value = run_jet(jet, &Value::u32(i as u32), &env).unwrap(); + assert_eq!(value, expected, "{jet:?} {i}"); + } + } +} + +#[test] +fn env_hashes_match_independent_digests() { + let env = Fixture::new().env(); + + for (jet, expected) in [ + (Bitcoin::TxHash, TX_HASH), + (Bitcoin::TapEnvHash, TAP_ENV_HASH), + (Bitcoin::SigAllHash, SIG_ALL_HASH), + ] { + let expected: [u8; 32] = hex::decode_to_array(expected).unwrap(); + let value = run_jet(jet, &Value::unit(), &env).unwrap(); + assert_eq!(value, Value::u256(expected), "{jet:?}"); + } +} + +/// `check_lock_height` and `check_lock_time` accept a 32-bit value iff it is at +/// most the transaction's lock height or lock time. +/// +/// A lock time below 500,000,000 is a height and any other one is a timestamp. +/// The one that does not apply reads as 0. +/// Both read as 0 when the transaction is final, i.e. when every input has sequence `0xffffffff`. +/// Finality is a property of the whole transaction, not of the input being spent. +#[test] +fn check_lock_height_and_time() { + // (lock time, whether every input is final, lock height, lock time as the jets read it) + for (lock_time, all_final, height, time) in [ + (5, false, 5, 0), + (5, true, 0, 0), + // The last lock time that is a height, and the first one that is a timestamp. + (499_999_999, false, 499_999_999, 0), + (500_000_000, false, 0, 500_000_000), + (500_000_000, true, 0, 0), + ] { + let mut fixture = Fixture::new(); + fixture.tx.lock_time = LockTime::from_consensus(lock_time); + if all_final { + for input in &mut fixture.tx.input { + input.sequence = Sequence::MAX; + } + } + let env = fixture.env(); + + // `LockTime` returns the field itself, whether or not it applies. + let raw = run_jet(Bitcoin::LockTime, &Value::unit(), &env).unwrap(); + assert_eq!(raw, Value::u32(lock_time), "{lock_time} {all_final}"); + + for (jet, limit) in [ + (Bitcoin::CheckLockHeight, height), + (Bitcoin::CheckLockTime, time), + ] { + let accepts = |x| run_jet(jet, &Value::u32(x), &env).is_ok(); + let case = (jet, lock_time, all_final); + assert!(accepts(0) && accepts(limit), "{case:?}"); + assert!(!accepts(limit + 1), "{case:?}"); + } + } +} diff --git a/src/jet/init/bitcoin.rs b/src/jet/init/bitcoin.rs index 1c4fb162..7c8b2ba4 100644 --- a/src/jet/init/bitcoin.rs +++ b/src/jet/init/bitcoin.rs @@ -881,7 +881,2150 @@ impl Bitcoin { impl Jet for Bitcoin { fn cmr(&self) -> Cmr { - unimplemented!("Bitcoin jet CMRs weights have not yet been implemented.") + let bytes = match self { + Bitcoin::Add16 => [ + 0x49, 0x42, 0x5a, 0x86, 0xe2, 0x0a, 0x67, 0x6d, 0x8b, 0x87, 0xe3, 0xc1, 0xa9, 0xb8, + 0xea, 0x6e, 0xc7, 0x5d, 0x85, 0x9c, 0x12, 0xc5, 0x1b, 0xcb, 0x7f, 0xa9, 0xf9, 0x69, + 0x12, 0xc3, 0x49, 0xcf, + ], + Bitcoin::Add32 => [ + 0x46, 0x68, 0xcd, 0x55, 0xe8, 0xd1, 0x59, 0x19, 0x53, 0x32, 0x70, 0x14, 0xec, 0x64, + 0xc8, 0xe7, 0xd5, 0x2b, 0x86, 0xb5, 0x3e, 0x11, 0xc0, 0x14, 0x57, 0xea, 0xf2, 0xc3, + 0xd3, 0xce, 0xbf, 0x9f, + ], + Bitcoin::Add64 => [ + 0xbe, 0x2b, 0x75, 0x19, 0x30, 0x3a, 0x67, 0xee, 0xa6, 0xb4, 0x82, 0x95, 0x0e, 0xda, + 0x83, 0x43, 0x5e, 0x1d, 0xe8, 0x55, 0x9c, 0x39, 0x4a, 0x23, 0x62, 0x22, 0xff, 0x5b, + 0xf0, 0x89, 0xd3, 0x46, + ], + Bitcoin::Add8 => [ + 0xdf, 0xa1, 0x79, 0xad, 0xf4, 0x55, 0x0b, 0x28, 0x48, 0x73, 0xbf, 0x30, 0x12, 0x3e, + 0x0d, 0x4e, 0x54, 0x06, 0x9b, 0x08, 0x58, 0x34, 0xce, 0x56, 0x58, 0x15, 0xef, 0x7e, + 0x45, 0x78, 0x4a, 0xcb, + ], + Bitcoin::All16 => [ + 0x24, 0xf4, 0x82, 0xa5, 0x13, 0xd3, 0x33, 0x62, 0x01, 0x5d, 0x28, 0xdf, 0x4b, 0xb6, + 0xc3, 0xee, 0x08, 0xab, 0x8a, 0xfb, 0xbd, 0x25, 0x57, 0x1f, 0x0e, 0xa8, 0x9d, 0x8c, + 0xab, 0xa3, 0x14, 0x04, + ], + Bitcoin::All32 => [ + 0xa7, 0x16, 0x52, 0x2d, 0x0f, 0x37, 0x87, 0xc8, 0xb4, 0xd5, 0x07, 0x64, 0x7f, 0x1f, + 0x80, 0x7b, 0x67, 0xf3, 0x20, 0xd6, 0xeb, 0x67, 0xb8, 0x4b, 0x60, 0x9c, 0xec, 0x1d, + 0x2f, 0x12, 0x21, 0x8a, + ], + Bitcoin::All64 => [ + 0x7a, 0xee, 0xfe, 0x2e, 0xce, 0x24, 0xba, 0xb3, 0x7c, 0x6e, 0x54, 0x30, 0xee, 0xd4, + 0x19, 0xfc, 0xd5, 0xf0, 0x37, 0x91, 0x2d, 0x17, 0x70, 0xcb, 0x7d, 0x65, 0x20, 0xdc, + 0xe5, 0x25, 0x29, 0x1a, + ], + Bitcoin::All8 => [ + 0x46, 0x37, 0xf4, 0x0e, 0x5f, 0x47, 0x26, 0xb0, 0x05, 0x70, 0x76, 0x5a, 0xc7, 0x94, + 0xe2, 0x9e, 0xd1, 0xbb, 0x26, 0x55, 0xff, 0xc4, 0x12, 0xb2, 0xdc, 0x41, 0x25, 0x8e, + 0x41, 0xaa, 0xc6, 0x24, + ], + Bitcoin::And1 => [ + 0x10, 0x68, 0x4d, 0x0d, 0xd7, 0x2c, 0xb0, 0xa8, 0x26, 0xa8, 0x63, 0x83, 0x4e, 0x01, + 0x1f, 0x50, 0xfa, 0x0d, 0x55, 0x8b, 0xa7, 0x7d, 0x6b, 0x9f, 0x49, 0xa1, 0xac, 0x22, + 0x90, 0x2a, 0x6a, 0xd0, + ], + Bitcoin::And16 => [ + 0x37, 0x3c, 0x73, 0x0f, 0xad, 0x3e, 0x88, 0x47, 0x99, 0x1a, 0xa4, 0x17, 0xd9, 0xf0, + 0x80, 0xee, 0x1c, 0xb8, 0x8a, 0x7f, 0x72, 0x06, 0xf3, 0xfa, 0x84, 0x0b, 0x19, 0x50, + 0x77, 0x61, 0xfb, 0x23, + ], + Bitcoin::And32 => [ + 0x13, 0xb0, 0x2c, 0x4c, 0x60, 0xae, 0x6e, 0xa4, 0x91, 0x16, 0x16, 0x49, 0xac, 0xf9, + 0xa4, 0x7a, 0x70, 0x25, 0xaf, 0x84, 0x7d, 0x5f, 0x58, 0x1e, 0x6f, 0x1c, 0xcc, 0xfb, + 0x21, 0xd3, 0x00, 0x1d, + ], + Bitcoin::And64 => [ + 0x92, 0x18, 0x55, 0x35, 0xd4, 0x50, 0x54, 0x07, 0xde, 0xa3, 0xc8, 0xa6, 0x08, 0x26, + 0xed, 0xe6, 0x4a, 0x8f, 0xbb, 0x3d, 0xb4, 0x86, 0xd5, 0x6f, 0x64, 0x2d, 0x21, 0x7c, + 0x29, 0xcb, 0xd7, 0x95, + ], + Bitcoin::And8 => [ + 0x26, 0x9a, 0x1b, 0x44, 0x62, 0x66, 0xf8, 0xf4, 0xa4, 0xa3, 0x8f, 0xa7, 0xe7, 0xe3, + 0x91, 0x82, 0xf1, 0x52, 0x14, 0x36, 0x14, 0x2b, 0xad, 0xed, 0xf3, 0xaa, 0x63, 0xfb, + 0x2f, 0x17, 0x2d, 0x2f, + ], + Bitcoin::AnnexHash => [ + 0x51, 0xfa, 0x19, 0x13, 0xa6, 0x29, 0x73, 0x48, 0x4a, 0x70, 0x0a, 0xf3, 0xff, 0x93, + 0x26, 0x94, 0xd3, 0x89, 0x0a, 0xe0, 0xad, 0x87, 0xa4, 0x55, 0xda, 0xf4, 0x90, 0x6f, + 0x22, 0x4a, 0x48, 0xd5, + ], + Bitcoin::Bip0340Verify => [ + 0x49, 0x15, 0x65, 0xfe, 0x23, 0xa7, 0xbd, 0xc1, 0x84, 0x2b, 0xe7, 0x49, 0x50, 0x93, + 0x37, 0xf9, 0x68, 0x90, 0xd5, 0xb3, 0x58, 0xb3, 0x65, 0x20, 0x90, 0xda, 0x55, 0x66, + 0x54, 0xe2, 0x95, 0x49, + ], + Bitcoin::BuildTapbranch => [ + 0xef, 0x8e, 0x92, 0x91, 0x9b, 0x26, 0x08, 0xea, 0x6b, 0x5b, 0xcd, 0xd3, 0x9c, 0x51, + 0x78, 0xe5, 0x46, 0x24, 0x95, 0x53, 0x91, 0x4b, 0x0f, 0x8d, 0x33, 0x73, 0x5d, 0x28, + 0x86, 0xe1, 0xa5, 0xe8, + ], + Bitcoin::BuildTapleafSimplicity => [ + 0x22, 0x41, 0x19, 0x09, 0x98, 0x41, 0x47, 0xde, 0x8f, 0x5a, 0x04, 0x28, 0x35, 0x8b, + 0x47, 0x16, 0xdb, 0x08, 0x76, 0x64, 0xa7, 0x28, 0x56, 0x08, 0x52, 0xb0, 0xe6, 0x16, + 0xeb, 0xc6, 0x2d, 0x30, + ], + Bitcoin::BuildTaptweak => [ + 0xf1, 0x92, 0xdb, 0x17, 0x06, 0x60, 0x8d, 0xef, 0x16, 0x5d, 0xbd, 0xda, 0x72, 0xa3, + 0x8c, 0x88, 0x82, 0xcb, 0x36, 0xc6, 0xda, 0x47, 0x07, 0x0d, 0x8a, 0x5f, 0x58, 0x96, + 0xfb, 0xda, 0x84, 0x34, + ], + Bitcoin::Ch1 => [ + 0x73, 0xb2, 0xa9, 0x81, 0xd7, 0x21, 0x98, 0x6f, 0x8c, 0xde, 0xd6, 0x97, 0xe0, 0x63, + 0x05, 0xd4, 0x58, 0x54, 0x10, 0x2d, 0xff, 0x20, 0xc0, 0xe5, 0xb9, 0x8a, 0xe1, 0x76, + 0x23, 0x2f, 0xf2, 0x5b, + ], + Bitcoin::Ch16 => [ + 0x78, 0xde, 0x46, 0x5e, 0x61, 0xd9, 0xa5, 0x0f, 0x78, 0x25, 0x2f, 0xf4, 0xab, 0x23, + 0xc9, 0xe6, 0x3a, 0xe6, 0x8c, 0x76, 0x9d, 0x36, 0x66, 0x12, 0x71, 0x20, 0x7d, 0xc6, + 0x93, 0xf4, 0x69, 0xb4, + ], + Bitcoin::Ch32 => [ + 0xed, 0x93, 0xbe, 0xf1, 0xf6, 0x6e, 0x3a, 0x75, 0xe6, 0x12, 0x06, 0x02, 0xec, 0xee, + 0x67, 0x40, 0x65, 0x3e, 0x7b, 0xd4, 0x6e, 0x07, 0xeb, 0x77, 0x14, 0x4e, 0xf1, 0xbb, + 0x2c, 0x9d, 0xe5, 0x3d, + ], + Bitcoin::Ch64 => [ + 0xce, 0xd0, 0x07, 0x9b, 0x0b, 0xd1, 0xcc, 0x00, 0x20, 0x9a, 0x7c, 0xbc, 0x23, 0xf1, + 0x3d, 0xfd, 0x20, 0x28, 0x08, 0xf0, 0xf5, 0x25, 0x7d, 0x8a, 0x50, 0xac, 0x54, 0x3e, + 0x64, 0xee, 0x3a, 0x05, + ], + Bitcoin::Ch8 => [ + 0xc7, 0x07, 0xca, 0x72, 0x3e, 0x24, 0xf6, 0xb2, 0x5b, 0xf3, 0x94, 0xa9, 0x9a, 0x4d, + 0x75, 0xe8, 0x13, 0x79, 0xb4, 0x67, 0x84, 0x38, 0xac, 0x78, 0x9d, 0xee, 0x18, 0x8e, + 0xdc, 0xce, 0x75, 0xfa, + ], + Bitcoin::CheckLockDistance => [ + 0x38, 0xfd, 0xf7, 0xdd, 0x28, 0x53, 0x86, 0x70, 0xfb, 0x34, 0xc1, 0xbf, 0xe7, 0x2f, + 0x17, 0xe2, 0xca, 0x57, 0x84, 0xf8, 0x7f, 0xed, 0x88, 0xea, 0xb5, 0x84, 0x79, 0x2b, + 0x39, 0x74, 0xbd, 0x18, + ], + Bitcoin::CheckLockDuration => [ + 0x77, 0x50, 0x38, 0x32, 0x6e, 0xae, 0x25, 0xc7, 0x20, 0x9b, 0x24, 0x43, 0x06, 0xea, + 0xa9, 0xf9, 0x20, 0x4c, 0x7e, 0xce, 0x2d, 0xd6, 0x3b, 0x45, 0x2e, 0x10, 0x01, 0x7f, + 0xa4, 0xea, 0x53, 0xcf, + ], + Bitcoin::CheckLockHeight => [ + 0xb9, 0x0f, 0x15, 0x1f, 0x45, 0xb4, 0xeb, 0x37, 0x21, 0x06, 0x21, 0xf9, 0x70, 0x0a, + 0x36, 0xc8, 0xc5, 0x04, 0xbe, 0xe0, 0x67, 0x77, 0x11, 0x63, 0xa8, 0xb8, 0x3a, 0x77, + 0x18, 0xe6, 0x68, 0x6a, + ], + Bitcoin::CheckLockTime => [ + 0xa4, 0x51, 0xeb, 0xb2, 0x25, 0xd6, 0xb1, 0x33, 0xa5, 0xe6, 0x35, 0x39, 0x78, 0x00, + 0xd4, 0x87, 0xb3, 0x96, 0x8b, 0x0d, 0xe5, 0x5c, 0x96, 0xeb, 0x82, 0xf2, 0x90, 0xec, + 0xff, 0x9c, 0x25, 0x90, + ], + Bitcoin::CheckSigVerify => [ + 0xb5, 0x80, 0x15, 0x54, 0x6d, 0x28, 0x52, 0x66, 0x5d, 0xd2, 0x1b, 0xf1, 0x12, 0x66, + 0x26, 0x70, 0x20, 0xfa, 0x5e, 0x27, 0x50, 0x01, 0xdd, 0x46, 0x18, 0xfa, 0x41, 0x56, + 0x25, 0x95, 0x2e, 0x68, + ], + Bitcoin::Complement1 => [ + 0x1b, 0xcf, 0xae, 0x13, 0xd5, 0xd2, 0x37, 0xa0, 0xbb, 0x9b, 0x1d, 0x75, 0x32, 0x04, + 0x74, 0x62, 0xb2, 0x76, 0x90, 0xde, 0x5c, 0xac, 0x0e, 0x20, 0x19, 0x29, 0x89, 0x64, + 0x57, 0x93, 0x40, 0x60, + ], + Bitcoin::Complement16 => [ + 0x81, 0xad, 0x4d, 0x2c, 0x3d, 0x16, 0xbf, 0x34, 0x0a, 0xf3, 0x88, 0x6d, 0x35, 0x5c, + 0xc5, 0xbd, 0x1d, 0x59, 0x67, 0xe1, 0x6a, 0xce, 0x92, 0x4f, 0x19, 0xec, 0xf7, 0xd4, + 0x86, 0xd6, 0xc7, 0xe9, + ], + Bitcoin::Complement32 => [ + 0x13, 0x74, 0x2c, 0x18, 0x04, 0xa9, 0x6e, 0x6c, 0x03, 0x95, 0x28, 0xbf, 0xd0, 0x3b, + 0x8c, 0xf2, 0xb4, 0x62, 0x52, 0x6b, 0xb1, 0x81, 0xa3, 0xd8, 0xb4, 0x32, 0xf9, 0x9a, + 0xc4, 0xf5, 0xa7, 0xef, + ], + Bitcoin::Complement64 => [ + 0x65, 0xb7, 0xbd, 0x09, 0x36, 0x39, 0xc5, 0x6d, 0xa2, 0x85, 0xce, 0xfa, 0x2d, 0x04, + 0x64, 0x64, 0x5e, 0x14, 0xdd, 0x13, 0x64, 0x2f, 0x34, 0x95, 0x7d, 0x47, 0x37, 0xbd, + 0x52, 0xfa, 0xc5, 0x88, + ], + Bitcoin::Complement8 => [ + 0x95, 0x4b, 0x70, 0xdc, 0xec, 0x53, 0x9e, 0x6b, 0x67, 0xdf, 0xfe, 0xc5, 0x3c, 0xf2, + 0x4a, 0x66, 0x99, 0x39, 0x60, 0x8b, 0x22, 0x3f, 0x5f, 0x8b, 0x6d, 0x12, 0x9d, 0xaa, + 0x48, 0xca, 0x1c, 0xf0, + ], + Bitcoin::CurrentAnnexHash => [ + 0xce, 0xd9, 0x02, 0x2e, 0xdc, 0x69, 0x24, 0x1f, 0xe7, 0x07, 0x49, 0xa7, 0xf5, 0xd4, + 0x89, 0xc3, 0x13, 0x5e, 0xe8, 0xc9, 0x6f, 0xe6, 0x4c, 0x44, 0x64, 0x40, 0x1f, 0x98, + 0x51, 0xd7, 0xa1, 0x7d, + ], + Bitcoin::CurrentIndex => [ + 0x0e, 0x8c, 0x96, 0x4c, 0x2f, 0x2b, 0x34, 0x90, 0x36, 0x2f, 0x3b, 0xbc, 0x74, 0x83, + 0xde, 0xa3, 0x7f, 0xda, 0x81, 0x0b, 0x69, 0x31, 0x4f, 0xf6, 0x64, 0xfe, 0xa0, 0xe3, + 0x27, 0x08, 0xec, 0x8f, + ], + Bitcoin::CurrentPrevOutpoint => [ + 0x64, 0x43, 0x39, 0x1b, 0x34, 0x40, 0x86, 0x84, 0x6d, 0x5a, 0x17, 0xa6, 0x2e, 0x3e, + 0x06, 0x28, 0x2a, 0xd6, 0x96, 0x2c, 0x4d, 0xfc, 0xed, 0x2f, 0x6a, 0x83, 0xd0, 0xdf, + 0xbf, 0x6a, 0x5c, 0x54, + ], + Bitcoin::CurrentScriptHash => [ + 0x23, 0x49, 0x8d, 0xd6, 0x64, 0x5e, 0xd1, 0x38, 0xb3, 0x44, 0x93, 0x7c, 0xf6, 0x54, + 0xaa, 0xff, 0xa6, 0x27, 0xf8, 0x5a, 0x47, 0xca, 0xa6, 0x89, 0x54, 0xf1, 0x3f, 0x4c, + 0x6a, 0x4d, 0xc7, 0x72, + ], + Bitcoin::CurrentScriptSigHash => [ + 0x34, 0xa3, 0xc5, 0x5d, 0x14, 0x73, 0x74, 0xd8, 0xf3, 0xa1, 0x76, 0x1b, 0xba, 0xb2, + 0x86, 0x96, 0x84, 0x55, 0x40, 0x4c, 0x2c, 0xa0, 0x3f, 0x69, 0x39, 0x3f, 0x63, 0x39, + 0xd0, 0xf5, 0x8b, 0x59, + ], + Bitcoin::CurrentSequence => [ + 0xc4, 0x9f, 0x76, 0xac, 0x79, 0xf8, 0xf1, 0x5c, 0x40, 0x9b, 0xa8, 0x15, 0xc1, 0x6e, + 0xdc, 0xb8, 0xd1, 0x1e, 0x9a, 0x07, 0x56, 0x5c, 0x8e, 0x09, 0xb6, 0x3e, 0x7f, 0xdf, + 0x31, 0x03, 0x00, 0x9f, + ], + Bitcoin::CurrentValue => [ + 0x91, 0xb9, 0x6e, 0x82, 0x9e, 0x3b, 0x49, 0x72, 0xb0, 0xcb, 0x09, 0x1a, 0x0a, 0x90, + 0x4b, 0xa4, 0x11, 0x33, 0x8a, 0xbf, 0xc0, 0x8d, 0xa7, 0x86, 0xd5, 0xa8, 0x4f, 0x04, + 0x9b, 0x5b, 0xa3, 0xb8, + ], + Bitcoin::Decompress => [ + 0x89, 0x00, 0x56, 0xdf, 0x82, 0x8a, 0x76, 0x6e, 0xe9, 0xf6, 0x56, 0x07, 0x22, 0x1e, + 0x89, 0x46, 0xfa, 0x77, 0xc2, 0x56, 0xbb, 0x96, 0xe2, 0x31, 0xe1, 0x94, 0xd3, 0x00, + 0x8c, 0xf3, 0x56, 0xf6, + ], + Bitcoin::Decrement16 => [ + 0x35, 0xfd, 0xa3, 0x8b, 0x67, 0x2c, 0x38, 0x31, 0xd8, 0xca, 0x11, 0xa4, 0xf3, 0xa9, + 0x59, 0x62, 0x22, 0x52, 0x9e, 0xb1, 0xc1, 0x5f, 0x8c, 0x70, 0x50, 0x13, 0x97, 0x7d, + 0x7d, 0xfb, 0x5d, 0x8b, + ], + Bitcoin::Decrement32 => [ + 0x3b, 0x2b, 0x19, 0x39, 0x55, 0x22, 0x84, 0xf6, 0x14, 0x69, 0x4b, 0xa1, 0x8d, 0xce, + 0x70, 0xce, 0xe4, 0x76, 0xff, 0x42, 0xdc, 0xd0, 0x89, 0xe1, 0xa3, 0xc0, 0xa4, 0x2b, + 0xeb, 0xd1, 0x08, 0xf6, + ], + Bitcoin::Decrement64 => [ + 0x7e, 0xf7, 0xbd, 0xd3, 0x5d, 0xb6, 0x85, 0xae, 0x99, 0x05, 0x53, 0x37, 0x35, 0xa2, + 0xc7, 0xa7, 0xcc, 0xbc, 0x17, 0x08, 0xae, 0x63, 0x6f, 0x93, 0x1b, 0x5c, 0xe0, 0x26, + 0xe5, 0xa1, 0x7f, 0xed, + ], + Bitcoin::Decrement8 => [ + 0xe3, 0x64, 0xf2, 0xe5, 0xc0, 0x8a, 0xe0, 0x11, 0x8e, 0xbe, 0x99, 0x3e, 0x8b, 0x3c, + 0x95, 0x8c, 0x2b, 0xcc, 0x60, 0x62, 0xa3, 0x3b, 0xaa, 0xb9, 0x28, 0xc0, 0x4b, 0x3e, + 0xc9, 0x32, 0xf5, 0x1b, + ], + Bitcoin::DivMod128_64 => [ + 0x9a, 0x94, 0x43, 0xa2, 0xb5, 0x41, 0xe2, 0x9f, 0x27, 0x2f, 0xfd, 0x56, 0x7d, 0x1b, + 0xf7, 0x42, 0xd6, 0x8c, 0xcb, 0xe9, 0x53, 0x8a, 0x87, 0x29, 0x1b, 0x0c, 0xa6, 0x38, + 0x15, 0x63, 0xac, 0x2c, + ], + Bitcoin::DivMod16 => [ + 0x39, 0xbc, 0xb5, 0xc0, 0x1d, 0xc1, 0x80, 0x5c, 0x49, 0x19, 0x89, 0x5c, 0xb5, 0x9e, + 0x8f, 0x3b, 0x41, 0x44, 0x67, 0x17, 0xf7, 0xff, 0x48, 0xfd, 0xc9, 0x37, 0xdd, 0x03, + 0x80, 0x24, 0xa0, 0x8a, + ], + Bitcoin::DivMod32 => [ + 0xfb, 0x12, 0x02, 0xf4, 0xe8, 0x66, 0x3a, 0x87, 0xf5, 0x68, 0x99, 0x2a, 0x18, 0x50, + 0x24, 0xc7, 0x0b, 0x4f, 0x07, 0x9f, 0xbe, 0x95, 0x30, 0x01, 0x0f, 0x6d, 0xb2, 0x84, + 0x21, 0x8a, 0xf6, 0xcd, + ], + Bitcoin::DivMod64 => [ + 0x67, 0x64, 0xdf, 0x5e, 0x2a, 0xa0, 0x30, 0x32, 0x6e, 0xe5, 0x44, 0xc6, 0xe5, 0x3f, + 0xf3, 0x8e, 0xf0, 0xb2, 0x85, 0x17, 0x91, 0x5e, 0xec, 0x65, 0xc7, 0x2e, 0xa5, 0x7a, + 0x12, 0x98, 0x28, 0xeb, + ], + Bitcoin::DivMod8 => [ + 0xd3, 0x00, 0x24, 0x4e, 0x48, 0x0d, 0xd9, 0x74, 0x12, 0x13, 0xe4, 0xcb, 0x0e, 0xba, + 0x83, 0x6d, 0x30, 0x59, 0xe7, 0x78, 0xb8, 0x12, 0x2f, 0x78, 0x90, 0x03, 0x26, 0x73, + 0x73, 0x9c, 0x6a, 0x2c, + ], + Bitcoin::Divide16 => [ + 0x52, 0xab, 0xfe, 0xf1, 0x79, 0x75, 0x4c, 0x90, 0xf9, 0xa4, 0x26, 0x0f, 0x32, 0x3a, + 0x8c, 0xa4, 0x95, 0x15, 0x92, 0x90, 0x2b, 0x8e, 0xcb, 0xd6, 0x4b, 0xa4, 0x26, 0x56, + 0xfa, 0xc0, 0x59, 0x68, + ], + Bitcoin::Divide32 => [ + 0x4a, 0x8a, 0xe5, 0x35, 0x44, 0xe1, 0x47, 0xed, 0x02, 0x25, 0x04, 0x23, 0x79, 0x34, + 0xcc, 0x25, 0x44, 0x79, 0xbc, 0xf9, 0x3d, 0xe1, 0xe1, 0x97, 0x4d, 0xda, 0xb3, 0xbb, + 0x51, 0x6e, 0x60, 0x6c, + ], + Bitcoin::Divide64 => [ + 0xd7, 0x02, 0x5d, 0x05, 0xad, 0xfa, 0xe6, 0x6b, 0x47, 0x10, 0xd0, 0xff, 0x1e, 0x87, + 0xe8, 0x28, 0x15, 0x57, 0x3e, 0x9c, 0xb6, 0x31, 0xb4, 0xc7, 0xd1, 0x3d, 0x2f, 0x1b, + 0xe4, 0xdd, 0x26, 0xd2, + ], + Bitcoin::Divide8 => [ + 0x40, 0xcd, 0x1d, 0xac, 0xea, 0x24, 0x66, 0x9b, 0x6a, 0x58, 0x9b, 0x61, 0x47, 0x54, + 0x74, 0xaf, 0x31, 0xd1, 0x4f, 0x8d, 0x46, 0x87, 0x70, 0x84, 0x52, 0xd3, 0xdf, 0x37, + 0x30, 0x25, 0x31, 0x26, + ], + Bitcoin::Divides16 => [ + 0x10, 0xbb, 0x18, 0x18, 0x0e, 0xab, 0x5b, 0xad, 0xdc, 0x16, 0x5d, 0x03, 0x37, 0xc4, + 0xad, 0xa0, 0x88, 0xe1, 0x57, 0xb1, 0xaa, 0x67, 0x83, 0x34, 0x2a, 0x45, 0x20, 0xa3, + 0x24, 0xdd, 0x9d, 0x2b, + ], + Bitcoin::Divides32 => [ + 0xf5, 0xe8, 0xe7, 0x8c, 0x82, 0x76, 0x9a, 0x48, 0xc9, 0x10, 0x3e, 0x44, 0xdd, 0xb4, + 0x7f, 0x84, 0x1d, 0x76, 0x93, 0xb0, 0x41, 0x9e, 0x5e, 0x7d, 0xa4, 0xe6, 0x8b, 0x78, + 0xb2, 0x37, 0xa5, 0x72, + ], + Bitcoin::Divides64 => [ + 0x9e, 0xbd, 0x55, 0xfa, 0xe4, 0x18, 0x88, 0x5e, 0xea, 0x04, 0xc3, 0xcd, 0xff, 0xf5, + 0x31, 0xb7, 0xd7, 0x14, 0xd0, 0x59, 0x4f, 0xa7, 0xda, 0x87, 0xeb, 0x65, 0x55, 0xd3, + 0x6b, 0x95, 0x3d, 0xb2, + ], + Bitcoin::Divides8 => [ + 0xa2, 0x36, 0xbc, 0x3e, 0x5c, 0xf4, 0xd2, 0x56, 0x40, 0x8b, 0xa3, 0x8c, 0x1e, 0xae, + 0xe7, 0x36, 0x9a, 0x9c, 0x40, 0x2f, 0x74, 0xbc, 0xd1, 0xc8, 0x02, 0xf9, 0x09, 0x4f, + 0xbf, 0x36, 0x80, 0x3d, + ], + Bitcoin::Eq1 => [ + 0x65, 0x49, 0xf9, 0x86, 0x20, 0x3a, 0x64, 0x97, 0x35, 0x6e, 0x43, 0x2b, 0x2a, 0xa1, + 0x60, 0xd6, 0xee, 0x87, 0x0b, 0x11, 0x19, 0x08, 0x65, 0xbd, 0x36, 0xa4, 0x7c, 0xb0, + 0x47, 0x04, 0x33, 0xa5, + ], + Bitcoin::Eq16 => [ + 0x0c, 0x54, 0x02, 0xb0, 0xad, 0xc8, 0xfc, 0x65, 0x70, 0x1b, 0xb7, 0x5b, 0x32, 0x54, + 0xc8, 0x35, 0xf8, 0xfe, 0xc1, 0x30, 0x81, 0xcd, 0x35, 0xe1, 0x32, 0x8f, 0x2b, 0xd7, + 0xdb, 0xd2, 0x3f, 0xa6, + ], + Bitcoin::Eq256 => [ + 0x26, 0x0e, 0x1d, 0x13, 0x6d, 0xd7, 0x44, 0xfc, 0xb0, 0x50, 0x7a, 0x2d, 0x27, 0x70, + 0x27, 0xa7, 0x72, 0x43, 0x54, 0xeb, 0x17, 0x6b, 0x2f, 0xbf, 0x31, 0xc6, 0xc7, 0xd7, + 0xfb, 0x3e, 0xcd, 0x6f, + ], + Bitcoin::Eq32 => [ + 0xf5, 0xd6, 0xed, 0xc8, 0xb6, 0x16, 0x4e, 0x12, 0x5b, 0xbb, 0xef, 0x08, 0xc9, 0xe0, + 0x8a, 0x1e, 0x6f, 0xd4, 0x92, 0xf5, 0xbd, 0xca, 0x6f, 0xdc, 0x8b, 0x5f, 0x5a, 0x6f, + 0x05, 0xc5, 0xab, 0x96, + ], + Bitcoin::Eq64 => [ + 0x1f, 0x93, 0xac, 0xb8, 0x09, 0x2f, 0xa0, 0x6d, 0xea, 0xf3, 0xc3, 0x87, 0xf5, 0x4a, + 0x18, 0xff, 0xea, 0xa6, 0x9a, 0x47, 0xa6, 0xf5, 0xca, 0xf4, 0xae, 0x49, 0x7e, 0x5c, + 0xc2, 0xb3, 0x6c, 0x43, + ], + Bitcoin::Eq8 => [ + 0xd7, 0x52, 0xfa, 0x7f, 0x51, 0x47, 0x30, 0x14, 0xeb, 0xb6, 0x9e, 0x1e, 0x1d, 0x2c, + 0x86, 0xd5, 0x11, 0x48, 0xb6, 0xba, 0xa0, 0x21, 0x37, 0xa4, 0x8f, 0x62, 0xd5, 0x7e, + 0xaf, 0x8d, 0xf1, 0xcd, + ], + Bitcoin::FeAdd => [ + 0xa6, 0xc9, 0x0e, 0x02, 0xfd, 0xe4, 0xee, 0x6e, 0xef, 0x66, 0x67, 0x37, 0x49, 0x2e, + 0x14, 0xaf, 0xc8, 0x76, 0x25, 0x04, 0x97, 0x4a, 0xf5, 0xd5, 0x47, 0x2b, 0xb9, 0x43, + 0x3a, 0xd2, 0xd2, 0x94, + ], + Bitcoin::FeInvert => [ + 0x7c, 0x4a, 0xba, 0xce, 0x33, 0xc7, 0x2b, 0x3b, 0xe1, 0xfd, 0x0e, 0xe3, 0x9f, 0xc6, + 0xcb, 0x3e, 0xe5, 0xc8, 0xf1, 0x1e, 0xf2, 0x19, 0x98, 0xc0, 0x60, 0x2b, 0x52, 0x15, + 0xaa, 0x2a, 0x75, 0xc2, + ], + Bitcoin::FeIsOdd => [ + 0x30, 0xf5, 0x17, 0x1f, 0x58, 0xf1, 0x08, 0x9d, 0x5d, 0xcf, 0xb6, 0xe6, 0x68, 0x3f, + 0x5a, 0xde, 0x98, 0x4c, 0x07, 0x99, 0x76, 0x3c, 0xa7, 0x38, 0x3f, 0x75, 0xdf, 0x1c, + 0xa0, 0x81, 0x3e, 0xfe, + ], + Bitcoin::FeIsZero => [ + 0xb0, 0xb7, 0x4d, 0x86, 0x51, 0xff, 0x55, 0x7c, 0xa9, 0x60, 0x44, 0xdd, 0x97, 0x28, + 0x13, 0x38, 0xa8, 0xf7, 0xd3, 0xac, 0xb3, 0x84, 0x7d, 0x03, 0xac, 0xbf, 0x3d, 0x32, + 0xd9, 0x6f, 0xae, 0x55, + ], + Bitcoin::FeMultiply => [ + 0x50, 0x6b, 0x93, 0x19, 0xc1, 0x7a, 0x14, 0xa9, 0x46, 0x9d, 0x46, 0x27, 0x61, 0xa3, + 0x30, 0x3a, 0xb4, 0x7d, 0xdb, 0x3a, 0x30, 0x79, 0xfb, 0xa3, 0x40, 0x73, 0xaa, 0x55, + 0x42, 0x16, 0xa3, 0x88, + ], + Bitcoin::FeMultiplyBeta => [ + 0x6e, 0x18, 0x0e, 0xea, 0xbe, 0x84, 0x22, 0xb7, 0x99, 0x68, 0xe7, 0x11, 0xdd, 0x00, + 0xa4, 0xb6, 0x57, 0x8b, 0xb2, 0x75, 0xbe, 0xf4, 0x7f, 0xe5, 0xff, 0x96, 0x8f, 0x14, + 0x72, 0xd7, 0x6f, 0x2a, + ], + Bitcoin::FeNegate => [ + 0xd4, 0x37, 0xea, 0x00, 0x33, 0x98, 0x80, 0xb3, 0x83, 0xd8, 0x5f, 0xb2, 0xae, 0xaf, + 0x20, 0x1b, 0xbe, 0x8f, 0xfc, 0x83, 0x70, 0x50, 0x62, 0xf9, 0xc9, 0x68, 0x59, 0x0d, + 0x5d, 0xb3, 0x37, 0xf6, + ], + Bitcoin::FeNormalize => [ + 0xec, 0x0c, 0x3d, 0xd9, 0xc5, 0x28, 0x63, 0x64, 0x78, 0xbe, 0xc0, 0xe1, 0x60, 0xe5, + 0x0a, 0xd9, 0xbf, 0x45, 0x2c, 0x5b, 0x6f, 0x84, 0xe9, 0x40, 0xe1, 0x65, 0x84, 0xeb, + 0x08, 0x5a, 0xce, 0x38, + ], + Bitcoin::FeSquare => [ + 0xb9, 0x04, 0x77, 0x2d, 0x74, 0xa1, 0x85, 0xb8, 0x28, 0xeb, 0x15, 0x47, 0x28, 0xd2, + 0x49, 0xc5, 0x08, 0x47, 0x11, 0xe9, 0xa1, 0x83, 0x2b, 0x89, 0xca, 0xf2, 0xaf, 0x59, + 0xf9, 0x60, 0xe1, 0x18, + ], + Bitcoin::FeSquareRoot => [ + 0x16, 0xfb, 0x9a, 0xce, 0xbe, 0x8b, 0x5b, 0x87, 0xf2, 0xea, 0x7d, 0xb6, 0xaa, 0x3a, + 0x2a, 0xf8, 0x8c, 0xa2, 0xb5, 0x8f, 0x02, 0xcd, 0xc8, 0x7e, 0x7c, 0xe6, 0xbe, 0x0c, + 0x1f, 0xfc, 0xe0, 0x14, + ], + Bitcoin::Fee => [ + 0xfb, 0x9c, 0xa9, 0x39, 0x81, 0x67, 0x3d, 0x1d, 0x23, 0xae, 0xd2, 0x4d, 0x61, 0x2c, + 0x1f, 0x5d, 0xc7, 0xcd, 0x49, 0xf8, 0x6d, 0x34, 0x8e, 0x67, 0xa1, 0x5b, 0xc4, 0xa7, + 0x13, 0x0a, 0xe1, 0x85, + ], + Bitcoin::FullAdd16 => [ + 0xc5, 0x03, 0xb0, 0x78, 0xdd, 0xe3, 0x99, 0xc6, 0x3a, 0xc4, 0xa2, 0x32, 0xbd, 0x2a, + 0x32, 0x9b, 0x04, 0x30, 0x8c, 0x75, 0xea, 0xec, 0x53, 0xa2, 0xf8, 0x89, 0xb8, 0xdf, + 0x0d, 0x03, 0x34, 0x72, + ], + Bitcoin::FullAdd32 => [ + 0xa7, 0xaf, 0xd0, 0x40, 0xfc, 0xb0, 0xb2, 0xf2, 0x71, 0x90, 0x78, 0x1a, 0xe5, 0x3a, + 0x6c, 0xca, 0x00, 0xe9, 0xfe, 0x59, 0x53, 0x11, 0x15, 0xc2, 0x58, 0xcc, 0xb6, 0x9d, + 0x3b, 0xe5, 0xa2, 0x13, + ], + Bitcoin::FullAdd64 => [ + 0x80, 0xa3, 0xef, 0x6c, 0xdb, 0x84, 0xae, 0x7c, 0x8d, 0xbc, 0xf3, 0xa1, 0x84, 0x24, + 0x84, 0xc0, 0x98, 0xdf, 0x6f, 0x19, 0x42, 0x7a, 0x5a, 0x4a, 0xdf, 0xe7, 0x6c, 0xd5, + 0xff, 0x28, 0x36, 0xca, + ], + Bitcoin::FullAdd8 => [ + 0x4b, 0x90, 0x76, 0xb8, 0xc1, 0xad, 0x56, 0xc9, 0xdb, 0x6b, 0xb3, 0xba, 0xf5, 0x93, + 0x89, 0x54, 0x46, 0xce, 0x61, 0xc7, 0x4f, 0x79, 0x7e, 0xb8, 0xb2, 0x30, 0xd2, 0x05, + 0x42, 0x1c, 0x96, 0x17, + ], + Bitcoin::FullDecrement16 => [ + 0xfb, 0xa3, 0xc9, 0x78, 0x6e, 0xa3, 0x07, 0xf6, 0xd8, 0x54, 0x34, 0xfd, 0xa2, 0x56, + 0x24, 0x82, 0x43, 0xa0, 0x0b, 0xac, 0x9a, 0x53, 0x53, 0xb6, 0x1e, 0xd3, 0x9c, 0x60, + 0x55, 0xb6, 0x93, 0xb0, + ], + Bitcoin::FullDecrement32 => [ + 0x62, 0x3d, 0x21, 0xd0, 0x46, 0x79, 0x22, 0xc0, 0x01, 0xc5, 0x65, 0x68, 0x61, 0xd0, + 0xdd, 0xb8, 0x60, 0xc0, 0xc9, 0xa8, 0x6b, 0xd4, 0xcf, 0xdc, 0x37, 0xa1, 0x4c, 0x14, + 0x06, 0xe3, 0x44, 0x6e, + ], + Bitcoin::FullDecrement64 => [ + 0x14, 0x8b, 0x3e, 0xe1, 0xf7, 0x49, 0xea, 0x0b, 0xfb, 0xa7, 0x63, 0xbe, 0xe9, 0x99, + 0xa2, 0x96, 0x77, 0x45, 0x6e, 0xae, 0x9e, 0xf5, 0x3a, 0xd8, 0x78, 0xf8, 0xb6, 0x14, + 0x94, 0xf0, 0x8f, 0x00, + ], + Bitcoin::FullDecrement8 => [ + 0xb4, 0x1a, 0xfe, 0x97, 0x4e, 0xaa, 0x11, 0x82, 0xac, 0x46, 0x10, 0x52, 0x1e, 0x28, + 0x27, 0x81, 0x31, 0x8c, 0xe2, 0x95, 0xa3, 0xf2, 0x3f, 0x0b, 0x87, 0x6a, 0xe2, 0x69, + 0x67, 0x3f, 0xb1, 0xdf, + ], + Bitcoin::FullIncrement16 => [ + 0xa6, 0x8e, 0xcc, 0xdb, 0x9e, 0xad, 0x29, 0x26, 0xc3, 0xe4, 0x5b, 0x4b, 0xae, 0x43, + 0x1c, 0xc4, 0x66, 0xd5, 0x8b, 0x8f, 0xac, 0xc9, 0x5a, 0x1b, 0x48, 0x44, 0xb9, 0x12, + 0xdf, 0x56, 0x76, 0xdf, + ], + Bitcoin::FullIncrement32 => [ + 0xd0, 0xeb, 0x0e, 0x94, 0xa5, 0xc2, 0x57, 0x13, 0xeb, 0x94, 0x4c, 0xad, 0x4d, 0x70, + 0x1c, 0x6a, 0x96, 0x88, 0x09, 0xbc, 0x1a, 0xf9, 0x03, 0xfd, 0xb1, 0x1e, 0x6f, 0xad, + 0x0b, 0xb3, 0x1b, 0x10, + ], + Bitcoin::FullIncrement64 => [ + 0xc0, 0x03, 0xd2, 0xe9, 0xb0, 0xa5, 0x10, 0xc2, 0xdd, 0x78, 0x3e, 0x7d, 0x64, 0xeb, + 0x87, 0xb3, 0x38, 0x55, 0xd3, 0x29, 0x90, 0xdf, 0xc2, 0x86, 0x26, 0x6e, 0x47, 0x8d, + 0xa4, 0xe7, 0x47, 0x91, + ], + Bitcoin::FullIncrement8 => [ + 0x0b, 0xea, 0x24, 0x29, 0x18, 0xf2, 0xdd, 0x17, 0x64, 0x77, 0x78, 0x11, 0xe4, 0x44, + 0x28, 0x63, 0x93, 0x52, 0x25, 0xb0, 0xf8, 0xb2, 0x39, 0xc2, 0x37, 0x52, 0xf9, 0xd8, + 0x53, 0x92, 0xa1, 0x39, + ], + Bitcoin::FullLeftShift16_1 => [ + 0xb3, 0x66, 0xa8, 0x16, 0x92, 0x2f, 0xc4, 0x55, 0x01, 0x0f, 0xe8, 0x8a, 0x5f, 0x6a, + 0x5c, 0xf2, 0xce, 0xa9, 0x17, 0xe1, 0x2b, 0xd1, 0x40, 0xae, 0x6d, 0x43, 0xb6, 0x41, + 0xe5, 0x7f, 0x42, 0xb3, + ], + Bitcoin::FullLeftShift16_2 => [ + 0x27, 0x96, 0x0d, 0x0d, 0xf2, 0xfb, 0xbc, 0x38, 0x99, 0x3d, 0x86, 0xfb, 0x8f, 0x0c, + 0xd2, 0xc3, 0x43, 0x4e, 0xdb, 0x11, 0x04, 0x82, 0x13, 0xc1, 0x41, 0x18, 0x93, 0xca, + 0x99, 0x33, 0xb2, 0xee, + ], + Bitcoin::FullLeftShift16_4 => [ + 0x65, 0x51, 0x37, 0xbe, 0xc5, 0xc0, 0x36, 0x8f, 0x29, 0xbc, 0x99, 0x2c, 0x88, 0x42, + 0x1a, 0x15, 0x98, 0x56, 0x40, 0x39, 0x7b, 0x61, 0x7f, 0xc4, 0x8d, 0x33, 0x21, 0x0f, + 0xc0, 0x05, 0x3a, 0xd1, + ], + Bitcoin::FullLeftShift16_8 => [ + 0x16, 0x8f, 0x57, 0x6a, 0xa5, 0x6e, 0xa4, 0x7e, 0x07, 0x06, 0x46, 0xe7, 0x88, 0x96, + 0xbe, 0xb2, 0x49, 0x8b, 0x1a, 0xe6, 0xb1, 0xff, 0x9c, 0x78, 0x62, 0x70, 0xe9, 0x55, + 0x65, 0x84, 0x19, 0x29, + ], + Bitcoin::FullLeftShift32_1 => [ + 0xd7, 0xcd, 0x52, 0x24, 0x49, 0x11, 0x8e, 0x81, 0x00, 0xa7, 0x66, 0x2f, 0x4d, 0xf0, + 0x39, 0xf8, 0xca, 0xeb, 0xf4, 0x33, 0xeb, 0x03, 0x9e, 0xdc, 0x42, 0xe8, 0x82, 0x37, + 0x92, 0xcc, 0xea, 0x8a, + ], + Bitcoin::FullLeftShift32_16 => [ + 0x8b, 0xd8, 0x0d, 0x4d, 0x2f, 0x8b, 0x22, 0x46, 0xc1, 0x23, 0x15, 0xc4, 0x28, 0x41, + 0xb4, 0xe4, 0x0a, 0x71, 0xae, 0x76, 0x96, 0x6a, 0x08, 0x95, 0x4d, 0x66, 0x6b, 0x86, + 0x32, 0x86, 0x74, 0x37, + ], + Bitcoin::FullLeftShift32_2 => [ + 0x13, 0x06, 0x3d, 0x62, 0x93, 0x83, 0x29, 0x31, 0x1f, 0xb7, 0xda, 0xbb, 0x15, 0xc3, + 0xfe, 0x58, 0xc2, 0x88, 0x76, 0x83, 0x00, 0x97, 0xec, 0xc6, 0xbf, 0xdd, 0x48, 0x0b, + 0xe1, 0x98, 0x81, 0x46, + ], + Bitcoin::FullLeftShift32_4 => [ + 0x25, 0xa1, 0xb5, 0xdd, 0xe5, 0xdb, 0x28, 0x4e, 0x8a, 0x88, 0x21, 0x26, 0x7c, 0x26, + 0x53, 0x01, 0x14, 0xbb, 0xe6, 0x71, 0xcf, 0xaf, 0xb4, 0x4a, 0x60, 0xd7, 0x50, 0x27, + 0x67, 0xdb, 0x78, 0x2e, + ], + Bitcoin::FullLeftShift32_8 => [ + 0xce, 0x54, 0x70, 0xaf, 0xbf, 0xad, 0xbf, 0xba, 0x68, 0xf9, 0xb2, 0xd5, 0xb0, 0x64, + 0x5a, 0x44, 0x08, 0xbe, 0x6f, 0x85, 0xa6, 0x9c, 0x7f, 0x09, 0xd0, 0x96, 0x45, 0x53, + 0x68, 0x04, 0x87, 0x64, + ], + Bitcoin::FullLeftShift64_1 => [ + 0x05, 0x1f, 0x36, 0x05, 0x86, 0xc3, 0x79, 0xac, 0x2c, 0xe3, 0x99, 0xcb, 0xeb, 0x68, + 0x7e, 0x77, 0x53, 0xb1, 0x5d, 0x73, 0x03, 0xdd, 0x31, 0x6c, 0xbd, 0x12, 0x30, 0x12, + 0x08, 0x7c, 0xc6, 0x6f, + ], + Bitcoin::FullLeftShift64_16 => [ + 0xb2, 0x48, 0xbe, 0x4d, 0xfc, 0xb8, 0x8c, 0x5d, 0x89, 0xb1, 0xca, 0x61, 0x86, 0xa0, + 0x41, 0xe9, 0x02, 0xb4, 0xc8, 0xa6, 0x2b, 0xb1, 0x6e, 0x09, 0xfe, 0x15, 0x61, 0x6e, + 0x0e, 0x3a, 0xbd, 0x6d, + ], + Bitcoin::FullLeftShift64_2 => [ + 0x34, 0xbb, 0x51, 0x62, 0x6b, 0x1d, 0x6b, 0x89, 0x7a, 0xbc, 0x15, 0x5d, 0x03, 0x4f, + 0xe0, 0x66, 0x3a, 0x0e, 0xc0, 0xfd, 0x8f, 0x64, 0x0e, 0x5f, 0xe1, 0xbf, 0x3c, 0xb7, + 0x67, 0x0a, 0x29, 0x25, + ], + Bitcoin::FullLeftShift64_32 => [ + 0x9d, 0xac, 0x8c, 0xd7, 0xfd, 0x8b, 0x48, 0x88, 0x9e, 0x55, 0xc5, 0xaa, 0x12, 0xfe, + 0x97, 0xb7, 0x29, 0xfe, 0xbc, 0x04, 0x1a, 0x9f, 0xff, 0x44, 0xc4, 0xd9, 0xb6, 0xf1, + 0xe0, 0x7e, 0xb4, 0x42, + ], + Bitcoin::FullLeftShift64_4 => [ + 0x94, 0xb7, 0x3d, 0xad, 0xc3, 0xee, 0xeb, 0x2e, 0xe4, 0xa4, 0xd4, 0x44, 0xdd, 0x0f, + 0x72, 0xac, 0x30, 0x62, 0x01, 0xf2, 0xff, 0xcf, 0x71, 0x4b, 0x8e, 0xbe, 0x79, 0x82, + 0x74, 0x4c, 0x0c, 0x7e, + ], + Bitcoin::FullLeftShift64_8 => [ + 0x0e, 0xf7, 0x14, 0x75, 0x7e, 0xcf, 0x11, 0xca, 0x3c, 0x73, 0xce, 0x25, 0xef, 0x24, + 0xee, 0x72, 0x95, 0xdd, 0x41, 0x71, 0xcc, 0x16, 0x28, 0x7f, 0xe6, 0x97, 0x1b, 0xd6, + 0x7b, 0x47, 0x8b, 0x46, + ], + Bitcoin::FullLeftShift8_1 => [ + 0x9b, 0xfa, 0x48, 0xb7, 0xad, 0x51, 0x00, 0x91, 0xba, 0x60, 0x85, 0x44, 0x62, 0xd8, + 0x59, 0xef, 0xd1, 0xa2, 0xaa, 0x18, 0x73, 0x1b, 0x5f, 0x0c, 0x9e, 0x2b, 0xa4, 0xd8, + 0x9d, 0x3a, 0xa8, 0x43, + ], + Bitcoin::FullLeftShift8_2 => [ + 0x79, 0x7c, 0x20, 0x87, 0x01, 0xb2, 0xa4, 0xe1, 0x04, 0x9e, 0x83, 0xd6, 0x95, 0xf5, + 0x54, 0xb9, 0x84, 0xf5, 0xdb, 0x28, 0x21, 0x52, 0x55, 0x58, 0x7c, 0x37, 0x34, 0x21, + 0x51, 0xb7, 0x24, 0x1d, + ], + Bitcoin::FullLeftShift8_4 => [ + 0x37, 0xbd, 0xac, 0x91, 0x53, 0x8f, 0x22, 0x19, 0xcb, 0x89, 0xdf, 0x0e, 0xf9, 0xf1, + 0x97, 0xcd, 0x68, 0x03, 0x1f, 0x27, 0x67, 0xe8, 0x94, 0xf0, 0x01, 0xc2, 0x6f, 0xff, + 0x5e, 0xeb, 0x58, 0xcd, + ], + Bitcoin::FullMultiply16 => [ + 0x09, 0xba, 0xff, 0x92, 0x1e, 0x9f, 0x14, 0xd1, 0x20, 0x8d, 0x1d, 0xd8, 0x26, 0x4c, + 0xf1, 0xf3, 0xb8, 0x54, 0xc9, 0xaf, 0x21, 0xf7, 0x78, 0xb2, 0xb5, 0x5a, 0x8a, 0x42, + 0x6d, 0xfe, 0x89, 0x28, + ], + Bitcoin::FullMultiply32 => [ + 0x10, 0xc4, 0xb8, 0xc4, 0xc0, 0xac, 0xd9, 0x73, 0x90, 0xf8, 0x5c, 0xb3, 0xf5, 0xff, + 0xe3, 0x6a, 0x29, 0x20, 0x37, 0xc1, 0x90, 0xee, 0xba, 0xb3, 0xe9, 0x89, 0x34, 0xfe, + 0x93, 0xb2, 0xed, 0x90, + ], + Bitcoin::FullMultiply64 => [ + 0x2d, 0xb1, 0x9d, 0xba, 0x90, 0xef, 0x86, 0x7b, 0x5a, 0x3e, 0x91, 0x4b, 0x89, 0xfd, + 0xa2, 0xda, 0x63, 0x7c, 0xa8, 0x0c, 0x42, 0x67, 0xe1, 0x98, 0x18, 0x37, 0xee, 0x3c, + 0x6f, 0xe3, 0xda, 0xf5, + ], + Bitcoin::FullMultiply8 => [ + 0x7f, 0x46, 0xee, 0x72, 0x84, 0xf3, 0x9e, 0x73, 0x42, 0x75, 0xa2, 0x50, 0x9a, 0x0b, + 0x73, 0x7e, 0xd9, 0x39, 0x11, 0x5f, 0x02, 0x19, 0xa5, 0x74, 0xd4, 0x69, 0xcd, 0x30, + 0xb8, 0x19, 0xef, 0xe3, + ], + Bitcoin::FullRightShift16_1 => [ + 0x7e, 0xbe, 0x0c, 0x66, 0xc3, 0xc7, 0xdc, 0x16, 0xa5, 0x46, 0x9e, 0x91, 0x79, 0x09, + 0x84, 0x17, 0xac, 0x5f, 0x20, 0xa3, 0x9c, 0xc4, 0x1a, 0xc3, 0x82, 0xfb, 0x1d, 0xbd, + 0x98, 0xe8, 0xe3, 0x0f, + ], + Bitcoin::FullRightShift16_2 => [ + 0x8d, 0xb0, 0xc2, 0x16, 0x19, 0xc6, 0x2d, 0x63, 0xd4, 0xc2, 0x7b, 0xfc, 0xf6, 0x47, + 0xd7, 0x09, 0xce, 0x37, 0xbe, 0xd0, 0x57, 0x18, 0xe9, 0x3e, 0x45, 0x15, 0xe2, 0x9e, + 0xf3, 0x73, 0x0c, 0xf4, + ], + Bitcoin::FullRightShift16_4 => [ + 0x5c, 0x74, 0xb1, 0x32, 0x06, 0x31, 0x79, 0x17, 0xe0, 0x70, 0xe5, 0xfc, 0x1c, 0x82, + 0xf4, 0xc5, 0xc2, 0xfb, 0xe9, 0xf3, 0x1b, 0x81, 0x29, 0x46, 0xba, 0x23, 0x0d, 0x8c, + 0x94, 0xd4, 0x06, 0x16, + ], + Bitcoin::FullRightShift16_8 => [ + 0x11, 0x05, 0x81, 0x8a, 0xc9, 0x48, 0xd7, 0xbb, 0x63, 0x47, 0x07, 0xe6, 0x9d, 0xbf, + 0x1f, 0x67, 0x90, 0x58, 0xa1, 0x3d, 0x35, 0xfa, 0xc2, 0xa6, 0x4d, 0xf9, 0x72, 0x62, + 0xf2, 0x42, 0xb6, 0x3b, + ], + Bitcoin::FullRightShift32_1 => [ + 0x9b, 0x42, 0xc8, 0xf3, 0x3b, 0xc5, 0x75, 0x0e, 0x2a, 0x83, 0xaa, 0xdb, 0xf2, 0x9c, + 0xc7, 0xfc, 0xb9, 0x50, 0xfe, 0x5a, 0x40, 0xaa, 0x0e, 0xc5, 0x24, 0x52, 0xe5, 0x33, + 0xf8, 0x25, 0xa1, 0x15, + ], + Bitcoin::FullRightShift32_16 => [ + 0x0a, 0xe5, 0x65, 0x9c, 0x2f, 0xa7, 0x57, 0x94, 0x78, 0xeb, 0xd5, 0x7c, 0x4c, 0x98, + 0xae, 0xe7, 0x77, 0x01, 0x56, 0x45, 0xb2, 0x84, 0x31, 0x81, 0x64, 0xfc, 0xbd, 0x30, + 0x65, 0xfc, 0x87, 0x3c, + ], + Bitcoin::FullRightShift32_2 => [ + 0x57, 0xfb, 0x1c, 0x03, 0xc2, 0xeb, 0x17, 0xf6, 0x23, 0x47, 0x87, 0x34, 0xfd, 0x69, + 0x37, 0xf9, 0xe3, 0xef, 0x02, 0x7c, 0x15, 0x60, 0x03, 0x8f, 0xa6, 0x06, 0x69, 0x05, + 0x17, 0x89, 0xe3, 0x68, + ], + Bitcoin::FullRightShift32_4 => [ + 0x85, 0x82, 0xcd, 0xfa, 0x74, 0xef, 0x46, 0x6b, 0x81, 0x27, 0xb1, 0x97, 0x88, 0x13, + 0x45, 0x93, 0x99, 0x8e, 0x49, 0x69, 0x00, 0xb3, 0x8f, 0x0f, 0x3d, 0x37, 0x58, 0x18, + 0xd6, 0x73, 0x45, 0x1e, + ], + Bitcoin::FullRightShift32_8 => [ + 0xd9, 0x05, 0x93, 0x2e, 0xbf, 0xca, 0x2a, 0x38, 0x61, 0x9d, 0x80, 0x7e, 0x28, 0xff, + 0x2e, 0x0d, 0x3b, 0xe0, 0x8a, 0x26, 0x06, 0x76, 0xd2, 0x57, 0xef, 0xa0, 0x40, 0xc3, + 0x05, 0xaa, 0xdc, 0x33, + ], + Bitcoin::FullRightShift64_1 => [ + 0x3c, 0x15, 0x20, 0x9b, 0x99, 0xd2, 0x84, 0x5e, 0x22, 0x5e, 0x14, 0xe1, 0xe9, 0xe5, + 0xe6, 0xa4, 0x87, 0x8b, 0xc8, 0xce, 0xa3, 0xf9, 0xf3, 0x6b, 0x8b, 0x53, 0x5a, 0xc6, + 0x83, 0xe2, 0x9d, 0x00, + ], + Bitcoin::FullRightShift64_16 => [ + 0x02, 0x85, 0x25, 0x7b, 0x09, 0x0d, 0x8d, 0xa1, 0x28, 0xef, 0x64, 0xa8, 0x0c, 0x8d, + 0x16, 0xfd, 0xc3, 0xbf, 0x5c, 0xe5, 0x0f, 0xcd, 0x56, 0xfe, 0xc5, 0xf9, 0x02, 0x55, + 0xd9, 0xc8, 0xdf, 0x47, + ], + Bitcoin::FullRightShift64_2 => [ + 0x7e, 0xc2, 0xdd, 0x65, 0xc9, 0xe0, 0x13, 0xe3, 0xe4, 0xce, 0x90, 0xfb, 0xeb, 0x3f, + 0xb1, 0xc7, 0x8c, 0xcc, 0x5d, 0x2a, 0x7d, 0x26, 0xd8, 0xaf, 0x77, 0xf9, 0x9d, 0xe8, + 0x4c, 0xf7, 0x29, 0x73, + ], + Bitcoin::FullRightShift64_32 => [ + 0x35, 0x6f, 0x7d, 0xd4, 0x6b, 0xa3, 0x3f, 0x84, 0xb0, 0x66, 0x72, 0xfd, 0xe9, 0xa2, + 0x97, 0x2e, 0x80, 0xf3, 0xea, 0x96, 0x5a, 0xe8, 0xbc, 0x0b, 0xff, 0x67, 0xaa, 0x2f, + 0x69, 0xf1, 0x0b, 0x56, + ], + Bitcoin::FullRightShift64_4 => [ + 0x05, 0x46, 0x4a, 0x33, 0x35, 0xaf, 0xbb, 0x09, 0xd0, 0x46, 0x82, 0x8a, 0x92, 0x2c, + 0x4d, 0xa0, 0xec, 0xee, 0xb1, 0x09, 0x77, 0xe4, 0x68, 0x01, 0xc9, 0x3c, 0xdd, 0x66, + 0x8f, 0x22, 0xee, 0x63, + ], + Bitcoin::FullRightShift64_8 => [ + 0x70, 0x17, 0x2e, 0x1a, 0x69, 0x48, 0xbf, 0x40, 0x12, 0x0e, 0x68, 0xfb, 0x8b, 0x4b, + 0x23, 0xbc, 0x35, 0x5a, 0x12, 0x00, 0x2c, 0xcc, 0x1d, 0xb6, 0x47, 0xc8, 0x9b, 0x12, + 0xd1, 0x0e, 0xc5, 0x06, + ], + Bitcoin::FullRightShift8_1 => [ + 0x56, 0x69, 0xdb, 0xfc, 0xc6, 0x33, 0xec, 0x0b, 0xdf, 0x59, 0xe2, 0x2f, 0x03, 0xed, + 0x4b, 0x64, 0x19, 0x20, 0x95, 0xf5, 0xdf, 0x20, 0xff, 0xc1, 0x2d, 0xd9, 0x0d, 0x7c, + 0xda, 0x11, 0x37, 0x4f, + ], + Bitcoin::FullRightShift8_2 => [ + 0x1f, 0x94, 0x43, 0x61, 0x09, 0xdf, 0x52, 0xb3, 0x45, 0xfa, 0x3a, 0x89, 0xac, 0x2a, + 0x49, 0xed, 0xc9, 0xd2, 0x85, 0xf2, 0x1f, 0x45, 0xed, 0x11, 0xd7, 0x75, 0xf7, 0xf7, + 0xf3, 0x9d, 0x3e, 0x8f, + ], + Bitcoin::FullRightShift8_4 => [ + 0x71, 0x46, 0x98, 0xa2, 0x76, 0x84, 0xb5, 0xba, 0xa6, 0xb6, 0x48, 0x0e, 0xe3, 0xb2, + 0x57, 0xcb, 0xb7, 0xcd, 0xab, 0x74, 0x72, 0xf3, 0x71, 0xa6, 0x27, 0x06, 0x18, 0xc0, + 0xab, 0x12, 0x90, 0x8b, + ], + Bitcoin::FullSubtract16 => [ + 0x40, 0x09, 0x61, 0x52, 0xb5, 0x4e, 0x74, 0x25, 0x45, 0x55, 0xa6, 0x5d, 0xcc, 0xc6, + 0x29, 0xdf, 0x57, 0xb9, 0x79, 0xc8, 0x47, 0x00, 0x54, 0x50, 0x36, 0xfe, 0x19, 0x0a, + 0x6a, 0xf3, 0xd3, 0x8a, + ], + Bitcoin::FullSubtract32 => [ + 0xe7, 0x93, 0x0d, 0x64, 0x35, 0xa9, 0x68, 0x0b, 0xef, 0xb4, 0x9d, 0xb7, 0xd8, 0x7c, + 0x2f, 0x50, 0xaf, 0xd4, 0x6d, 0x98, 0x88, 0x0d, 0xed, 0x50, 0xe5, 0x05, 0x5f, 0xa3, + 0x09, 0xe1, 0xaf, 0xca, + ], + Bitcoin::FullSubtract64 => [ + 0xff, 0x28, 0x1d, 0xf8, 0xc4, 0x2a, 0x31, 0x59, 0xd9, 0xff, 0xa9, 0x25, 0x16, 0xca, + 0x89, 0x3e, 0x23, 0xb0, 0xeb, 0x93, 0x8b, 0x4c, 0xb0, 0xb3, 0xf1, 0x34, 0x46, 0x8e, + 0x9f, 0x4e, 0xbc, 0x46, + ], + Bitcoin::FullSubtract8 => [ + 0x7e, 0x3d, 0xcf, 0xe4, 0x56, 0xae, 0x3c, 0x5c, 0x87, 0xde, 0xbf, 0x04, 0x71, 0x89, + 0xc2, 0x74, 0x82, 0xa4, 0xff, 0x4e, 0x8c, 0xfd, 0x1f, 0x17, 0x30, 0xc8, 0x7d, 0x2b, + 0x7b, 0xff, 0x73, 0xba, + ], + Bitcoin::GeIsOnCurve => [ + 0x7d, 0x44, 0x87, 0x19, 0xf5, 0xf9, 0x57, 0x2b, 0xf5, 0x40, 0x2e, 0x12, 0xd1, 0x93, + 0xaf, 0xf6, 0x77, 0x48, 0x2d, 0x66, 0xff, 0x3d, 0xcf, 0x27, 0x48, 0xf2, 0x5c, 0x6b, + 0x73, 0x77, 0x02, 0x8c, + ], + Bitcoin::GeNegate => [ + 0x3d, 0x2c, 0x8d, 0xe4, 0xc7, 0x01, 0x5f, 0xd3, 0x13, 0x26, 0x95, 0xfd, 0x66, 0xdf, + 0xcf, 0x0f, 0x17, 0x78, 0xc7, 0x91, 0x85, 0x26, 0x8e, 0x9f, 0xae, 0x77, 0x89, 0xda, + 0x53, 0x8e, 0xca, 0x59, + ], + Bitcoin::GejAdd => [ + 0x45, 0xba, 0x7f, 0x3d, 0x1e, 0x1e, 0x6d, 0x34, 0x9f, 0xcf, 0x86, 0x98, 0x7b, 0x0e, + 0x7f, 0x7a, 0xce, 0x66, 0x2e, 0x82, 0x20, 0x1d, 0x35, 0x02, 0x60, 0x45, 0x4e, 0x2f, + 0xfe, 0xec, 0xb5, 0x4d, + ], + Bitcoin::GejDouble => [ + 0x23, 0xe9, 0x78, 0xf3, 0x41, 0x54, 0x11, 0x9b, 0xde, 0xfc, 0x5d, 0x13, 0xfc, 0xfd, + 0x0a, 0x34, 0xa7, 0x5e, 0x37, 0x26, 0xd6, 0xcb, 0x25, 0x81, 0x33, 0x70, 0xad, 0x7d, + 0x9d, 0xe5, 0xe1, 0x33, + ], + Bitcoin::GejEquiv => [ + 0xb9, 0x4b, 0x2a, 0xac, 0x73, 0xa6, 0x7f, 0x44, 0x95, 0x85, 0x99, 0x13, 0x4d, 0xe2, + 0x30, 0x17, 0x9e, 0x9d, 0x6b, 0xb6, 0x47, 0xfd, 0x06, 0x11, 0x15, 0x8a, 0xab, 0xa7, + 0x0b, 0x73, 0xe4, 0x00, + ], + Bitcoin::GejGeAdd => [ + 0xf1, 0x16, 0x0b, 0x6f, 0x5e, 0xe2, 0xc5, 0x82, 0xe4, 0x95, 0x66, 0xe6, 0xc3, 0x86, + 0xb3, 0x80, 0x94, 0xab, 0xc1, 0xa7, 0x18, 0x2d, 0x33, 0xa1, 0x50, 0x1f, 0xa2, 0xaa, + 0xf0, 0x0a, 0xf3, 0xea, + ], + Bitcoin::GejGeAddEx => [ + 0xc3, 0xd7, 0x34, 0x7f, 0xfe, 0x2d, 0x9c, 0x83, 0x9a, 0xac, 0x56, 0x7e, 0x29, 0x98, + 0xe0, 0x16, 0xaf, 0x39, 0x4e, 0x2a, 0x19, 0x29, 0x31, 0x4b, 0x52, 0xe3, 0x1e, 0xed, + 0x67, 0x8e, 0x30, 0xbf, + ], + Bitcoin::GejGeEquiv => [ + 0x27, 0xc2, 0x99, 0x69, 0x13, 0x9f, 0x8d, 0x57, 0xed, 0xc9, 0x89, 0x5c, 0x30, 0x40, + 0x3d, 0xf0, 0x15, 0xc5, 0x0c, 0xe7, 0x21, 0xc3, 0x81, 0xfb, 0x19, 0x7c, 0x0c, 0x04, + 0x03, 0xf1, 0xdb, 0x0c, + ], + Bitcoin::GejInfinity => [ + 0xaa, 0xfb, 0x93, 0x80, 0xd6, 0x1a, 0x7f, 0x14, 0x78, 0x46, 0x80, 0x6b, 0x2c, 0xc3, + 0x74, 0xfb, 0xe8, 0x2d, 0xd1, 0xae, 0xd4, 0x85, 0xb9, 0x8a, 0x0f, 0x16, 0x4b, 0x3a, + 0x54, 0xc2, 0xc0, 0xb0, + ], + Bitcoin::GejIsInfinity => [ + 0xdb, 0x49, 0x5f, 0xd1, 0x31, 0x42, 0xe9, 0xb3, 0x37, 0x63, 0xfc, 0x6d, 0x48, 0xd2, + 0xfb, 0x0e, 0x71, 0xb0, 0xd9, 0xd9, 0x9b, 0xd7, 0x26, 0xf4, 0x7a, 0xd1, 0x3f, 0xc5, + 0x56, 0x06, 0x70, 0xa2, + ], + Bitcoin::GejIsOnCurve => [ + 0xbf, 0x4c, 0xa1, 0x3f, 0xf2, 0x12, 0xe3, 0x4b, 0xf1, 0x7d, 0x90, 0xc1, 0x2e, 0x45, + 0x3d, 0x08, 0xac, 0x7d, 0xaa, 0x4a, 0x47, 0xd5, 0x7e, 0x85, 0xb4, 0x3f, 0x2d, 0x43, + 0x66, 0xd4, 0x3d, 0xda, + ], + Bitcoin::GejNegate => [ + 0x01, 0xbd, 0x1a, 0x35, 0x1f, 0xb8, 0x16, 0x4c, 0x81, 0x3d, 0x91, 0x6d, 0x07, 0x77, + 0x49, 0x99, 0x6b, 0x7d, 0xb1, 0x18, 0xd3, 0x15, 0x86, 0xca, 0x9d, 0x75, 0xe7, 0x56, + 0x35, 0x18, 0xf4, 0x54, + ], + Bitcoin::GejNormalize => [ + 0xec, 0x59, 0x7d, 0x17, 0xe2, 0xef, 0xb6, 0xd2, 0xa0, 0x02, 0xd5, 0x0e, 0x67, 0x75, + 0x27, 0xd3, 0xd4, 0xa2, 0x90, 0x7a, 0x11, 0x9d, 0x68, 0xf1, 0x22, 0x84, 0xb9, 0xa1, + 0xb0, 0xd2, 0x30, 0x3a, + ], + Bitcoin::GejRescale => [ + 0x29, 0x77, 0xd9, 0x53, 0xef, 0x7a, 0x11, 0x56, 0xce, 0xc6, 0xdb, 0x2d, 0xc2, 0x92, + 0x54, 0x12, 0x75, 0xcb, 0xc8, 0x2f, 0xb8, 0x29, 0xfd, 0x67, 0x1b, 0x97, 0x2e, 0x89, + 0xeb, 0xed, 0x0c, 0x24, + ], + Bitcoin::GejXEquiv => [ + 0xf9, 0xf1, 0x89, 0xfc, 0x00, 0xb6, 0x1f, 0x72, 0xf1, 0x0b, 0xaa, 0xa2, 0x1b, 0xcd, + 0x88, 0xe5, 0xd2, 0x2e, 0x0a, 0xa9, 0xb7, 0x50, 0x9a, 0xe1, 0x62, 0xa1, 0x83, 0xa4, + 0xb6, 0x64, 0xa4, 0xaf, + ], + Bitcoin::GejYIsOdd => [ + 0x9e, 0xb6, 0xe4, 0x53, 0x5f, 0xb6, 0x9b, 0xf6, 0x09, 0x91, 0x65, 0x99, 0xf1, 0x34, + 0x5a, 0xd7, 0x73, 0x5d, 0xa3, 0xf3, 0x94, 0x8d, 0x06, 0x86, 0x90, 0x8e, 0x44, 0xf4, + 0x5b, 0x2f, 0xf6, 0x0c, + ], + Bitcoin::Generate => [ + 0x14, 0x88, 0x85, 0xac, 0x73, 0x81, 0x31, 0x13, 0xc5, 0x23, 0xe8, 0x09, 0xbe, 0xa4, + 0x7f, 0xfd, 0x8b, 0x1d, 0xaf, 0x37, 0x8d, 0x9d, 0xd5, 0x4b, 0xf9, 0x66, 0xcc, 0xb8, + 0x83, 0xb1, 0xa9, 0x84, + ], + Bitcoin::HashToCurve => [ + 0xef, 0x4f, 0x54, 0x8b, 0x3c, 0x6c, 0x75, 0x17, 0x5f, 0x2c, 0xe2, 0xd1, 0x99, 0x3b, + 0x2d, 0x19, 0x9b, 0xeb, 0x16, 0xc0, 0xa1, 0x40, 0x17, 0x5c, 0x48, 0xa1, 0x27, 0x7e, + 0xfc, 0x43, 0xa9, 0x9b, + ], + Bitcoin::High1 => [ + 0xb1, 0x09, 0xcf, 0x1c, 0xce, 0x35, 0xf7, 0xe9, 0xb6, 0x49, 0x67, 0x1a, 0x9b, 0x45, + 0xdb, 0xc2, 0x40, 0x99, 0xa7, 0x13, 0xae, 0xb9, 0xa8, 0x9c, 0xc4, 0xcf, 0x6e, 0xf6, + 0xed, 0x8b, 0x30, 0x8b, + ], + Bitcoin::High16 => [ + 0x03, 0x5d, 0xad, 0xd9, 0xd7, 0xbf, 0x74, 0x33, 0x64, 0x45, 0xe7, 0x1d, 0xdc, 0x4d, + 0x82, 0x02, 0x24, 0xff, 0x7e, 0x38, 0xe0, 0xb8, 0xd5, 0x2b, 0xec, 0x97, 0x29, 0xb5, + 0x72, 0xb5, 0x31, 0xf9, + ], + Bitcoin::High32 => [ + 0xc5, 0xf1, 0xdf, 0x0d, 0x64, 0xa2, 0x73, 0x7a, 0x63, 0x1b, 0x3a, 0xae, 0x8f, 0x26, + 0x0e, 0x8b, 0x8d, 0xc1, 0x95, 0x7b, 0xd0, 0x92, 0x91, 0x1b, 0x91, 0xd2, 0x07, 0x8a, + 0xd2, 0x1e, 0x41, 0x8a, + ], + Bitcoin::High64 => [ + 0xa3, 0x12, 0x63, 0x3e, 0x0a, 0x23, 0x05, 0xe6, 0x9b, 0x3f, 0x34, 0x1d, 0x91, 0xd6, + 0x83, 0xdd, 0x94, 0x19, 0x6a, 0x2f, 0x90, 0x05, 0xc9, 0xb1, 0x87, 0x2a, 0x2c, 0x15, + 0xad, 0x46, 0xcf, 0x17, + ], + Bitcoin::High8 => [ + 0xcb, 0xd7, 0x8d, 0x50, 0xaf, 0x77, 0x99, 0x85, 0x5a, 0xdc, 0x49, 0x03, 0xdb, 0xbe, + 0xfc, 0x13, 0x45, 0xd5, 0x14, 0x84, 0xf0, 0x3d, 0x3c, 0x75, 0x5c, 0xaa, 0xa5, 0xca, + 0xa9, 0x7d, 0x4a, 0x14, + ], + Bitcoin::Increment16 => [ + 0x86, 0x77, 0x49, 0x49, 0x39, 0xb2, 0x7b, 0x86, 0xcb, 0x5a, 0x8c, 0x7f, 0x81, 0x72, + 0xad, 0x55, 0x50, 0x95, 0x31, 0xc9, 0xb0, 0xe1, 0x1e, 0x99, 0x75, 0x7e, 0x29, 0x6c, + 0xc3, 0xc7, 0xc1, 0x92, + ], + Bitcoin::Increment32 => [ + 0x6b, 0xdb, 0xab, 0x7c, 0xfc, 0x16, 0xc5, 0x03, 0x36, 0x3c, 0x2f, 0x07, 0x7e, 0x02, + 0xc3, 0x35, 0xda, 0x40, 0x61, 0x75, 0xd1, 0x92, 0xfb, 0xef, 0x50, 0xc0, 0x7f, 0xc2, + 0x79, 0xb3, 0xf4, 0x0c, + ], + Bitcoin::Increment64 => [ + 0x20, 0xe7, 0x5e, 0x71, 0x7c, 0xb7, 0x6d, 0x46, 0x95, 0x56, 0x4f, 0x7c, 0x20, 0x22, + 0x1b, 0x7a, 0x01, 0x43, 0x13, 0x87, 0x38, 0xf1, 0x51, 0xaa, 0x19, 0x5e, 0xb1, 0x70, + 0xec, 0x13, 0xc0, 0x49, + ], + Bitcoin::Increment8 => [ + 0x5f, 0x4e, 0x05, 0x6e, 0xf4, 0xed, 0x8d, 0x68, 0xbf, 0x91, 0x1f, 0xc5, 0xcb, 0x69, + 0x03, 0x7e, 0xbf, 0x6c, 0x92, 0x21, 0x73, 0x43, 0xa8, 0x90, 0x5d, 0x38, 0xc4, 0x32, + 0xc1, 0x83, 0x23, 0x3c, + ], + Bitcoin::InputAnnexHash => [ + 0x94, 0x5b, 0x14, 0x7e, 0x5f, 0x0e, 0xdb, 0x83, 0x2d, 0x62, 0x34, 0x8c, 0xae, 0xea, + 0xc2, 0x24, 0x56, 0xee, 0xe9, 0x44, 0x65, 0x37, 0x6d, 0xbf, 0x59, 0x6b, 0x9d, 0x62, + 0x98, 0x5b, 0x01, 0xb6, + ], + Bitcoin::InputAnnexesHash => [ + 0x89, 0xb6, 0x02, 0x70, 0x44, 0x14, 0x1f, 0x20, 0x65, 0xb6, 0xf2, 0x36, 0xcf, 0xcc, + 0x13, 0xb9, 0x68, 0x48, 0x5e, 0x00, 0x74, 0x6b, 0x78, 0x59, 0x28, 0x69, 0x03, 0xc6, + 0x8c, 0x7f, 0x88, 0x0d, + ], + Bitcoin::InputHash => [ + 0x3a, 0xd2, 0x22, 0x31, 0xd6, 0xb9, 0xdf, 0xf6, 0xa0, 0xb4, 0xdb, 0xcf, 0xf0, 0x44, + 0xe1, 0x1c, 0x08, 0x2e, 0x04, 0x68, 0x4e, 0x73, 0xce, 0x95, 0xc2, 0x05, 0xe0, 0xc4, + 0x49, 0x6e, 0x5e, 0xca, + ], + Bitcoin::InputOutpointsHash => [ + 0x17, 0x59, 0xc6, 0xf4, 0x70, 0xb9, 0xab, 0xa6, 0x2a, 0x31, 0x79, 0x1e, 0xa0, 0x10, + 0x56, 0xe3, 0x60, 0x8b, 0xdf, 0x22, 0xf5, 0xdd, 0x43, 0xbf, 0x7d, 0xb0, 0x0e, 0xa5, + 0x82, 0x3f, 0x7c, 0xce, + ], + Bitcoin::InputPrevOutpoint => [ + 0x5d, 0x17, 0x12, 0x42, 0x09, 0xee, 0x05, 0x21, 0x24, 0xe5, 0x52, 0x38, 0xe0, 0xb6, + 0xa6, 0xfe, 0x85, 0xa4, 0x86, 0x88, 0xc1, 0xe1, 0x5e, 0x61, 0x81, 0xde, 0x94, 0xf7, + 0x8d, 0xb0, 0x40, 0x18, + ], + Bitcoin::InputScriptHash => [ + 0x05, 0x62, 0x41, 0x2f, 0x02, 0x1d, 0xa4, 0x81, 0x9b, 0x01, 0x9c, 0x8c, 0xd8, 0x87, + 0xd5, 0x30, 0x49, 0x2b, 0x9f, 0x94, 0x2c, 0x4e, 0xbf, 0x21, 0xae, 0x39, 0xed, 0x32, + 0x33, 0x0d, 0x7c, 0xfe, + ], + Bitcoin::InputScriptSigHash => [ + 0x1c, 0x7e, 0xfb, 0x37, 0xcb, 0xc4, 0xb9, 0x96, 0xd9, 0xb8, 0xc6, 0x17, 0x08, 0xe6, + 0x65, 0x73, 0xce, 0x87, 0xc1, 0xf0, 0xaa, 0x05, 0x22, 0xd0, 0x65, 0xba, 0x90, 0x25, + 0x05, 0x6e, 0x3f, 0x80, + ], + Bitcoin::InputScriptSigsHash => [ + 0xe7, 0x29, 0xc5, 0xf5, 0x8a, 0x93, 0x89, 0x08, 0x1a, 0x5c, 0xa8, 0x45, 0xf7, 0x6c, + 0xb9, 0x80, 0xf0, 0x85, 0x99, 0xce, 0xb3, 0xc7, 0xd7, 0xea, 0xe1, 0x14, 0x5b, 0x53, + 0xa6, 0x0a, 0xe3, 0xd5, + ], + Bitcoin::InputScriptsHash => [ + 0xf1, 0x77, 0x67, 0x1d, 0x60, 0x96, 0x0e, 0x46, 0x3a, 0x9a, 0x8f, 0x7e, 0x1f, 0x52, + 0x13, 0xaa, 0xba, 0x91, 0x22, 0xd2, 0xdb, 0x75, 0xfe, 0x91, 0xf8, 0xf1, 0xcf, 0x91, + 0xbe, 0x00, 0x19, 0x07, + ], + Bitcoin::InputSequence => [ + 0x5d, 0xd1, 0x7f, 0xe1, 0x55, 0x0f, 0x48, 0xf7, 0xba, 0xed, 0x4d, 0x06, 0x80, 0x08, + 0xd4, 0xa1, 0xff, 0x98, 0xcb, 0xeb, 0xe2, 0x54, 0x1c, 0x5d, 0xc7, 0x7a, 0xc5, 0x3a, + 0xd8, 0x3f, 0xa7, 0x79, + ], + Bitcoin::InputSequencesHash => [ + 0x55, 0x97, 0x3d, 0x64, 0x43, 0x45, 0x74, 0x72, 0x81, 0x37, 0x73, 0x64, 0xba, 0xd2, + 0xa8, 0x0b, 0x75, 0x8f, 0x45, 0x66, 0x60, 0xc1, 0x8d, 0xe5, 0xc0, 0x1a, 0x38, 0x82, + 0x07, 0x1d, 0x50, 0xe8, + ], + Bitcoin::InputUtxoHash => [ + 0x93, 0x1e, 0x4e, 0x95, 0xe0, 0xa6, 0x47, 0x60, 0x27, 0x6e, 0x91, 0xb5, 0xdc, 0x74, + 0x67, 0x80, 0xd0, 0x69, 0x7d, 0x0a, 0xf5, 0xaa, 0xf5, 0xbb, 0xc8, 0x1d, 0xbe, 0xb3, + 0x98, 0x59, 0x6a, 0xbb, + ], + Bitcoin::InputUtxosHash => [ + 0xd6, 0xf9, 0x0c, 0xd1, 0x04, 0xe1, 0xa5, 0xc6, 0x1a, 0x4b, 0x50, 0x00, 0xad, 0x9a, + 0xba, 0x8d, 0x43, 0x00, 0x4b, 0xf9, 0x43, 0xdf, 0x32, 0x5f, 0xa6, 0x36, 0xd1, 0xa2, + 0x2b, 0xec, 0xa0, 0xcb, + ], + Bitcoin::InputValue => [ + 0x7d, 0x3c, 0x3f, 0x95, 0x5b, 0x2c, 0xf0, 0xd0, 0xd1, 0x28, 0x0a, 0x1b, 0xb1, 0x20, + 0x46, 0x92, 0x92, 0xd1, 0x32, 0x9c, 0x83, 0xa9, 0xc2, 0xff, 0x7e, 0x7e, 0x1e, 0xb3, + 0xf6, 0x97, 0x83, 0xa3, + ], + Bitcoin::InputValuesHash => [ + 0x29, 0x83, 0x9e, 0xad, 0x0e, 0xb0, 0x3f, 0xe4, 0x65, 0x42, 0xe3, 0x6d, 0x71, 0xe9, + 0xe6, 0xaf, 0xdf, 0x96, 0x93, 0x01, 0x53, 0x3d, 0x74, 0xee, 0x09, 0x9b, 0x12, 0x66, + 0xa2, 0x50, 0x55, 0x2c, + ], + Bitcoin::InputsHash => [ + 0xab, 0xbf, 0xe1, 0xc7, 0xd1, 0x15, 0xc4, 0x19, 0x1f, 0x50, 0x48, 0x39, 0xf9, 0x8c, + 0x3f, 0x20, 0x42, 0x2b, 0x84, 0xe7, 0xfa, 0x14, 0xda, 0x14, 0x02, 0x89, 0x6c, 0x4d, + 0x98, 0xbf, 0xa8, 0xd8, + ], + Bitcoin::InternalKey => [ + 0x37, 0x48, 0x36, 0x99, 0x28, 0x10, 0x02, 0x2f, 0x88, 0xe0, 0x14, 0x5b, 0xca, 0xd7, + 0x7f, 0x4a, 0x84, 0x91, 0xfa, 0x80, 0x83, 0xcb, 0x51, 0xc3, 0x01, 0xfc, 0xf7, 0xa1, + 0x34, 0x78, 0xc2, 0xcc, + ], + Bitcoin::IsOne16 => [ + 0x1b, 0xd3, 0xa2, 0x53, 0xdb, 0x24, 0x3f, 0xca, 0x45, 0x53, 0x37, 0x99, 0xfe, 0x91, + 0x48, 0x38, 0xc3, 0x8e, 0x38, 0x06, 0xb1, 0x2b, 0xd7, 0xe8, 0x5c, 0xa7, 0x12, 0x07, + 0xa8, 0x84, 0x62, 0xb0, + ], + Bitcoin::IsOne32 => [ + 0x78, 0xb1, 0xba, 0xe0, 0x99, 0xec, 0x9c, 0x59, 0xcb, 0xf4, 0x12, 0x62, 0x51, 0xc1, + 0xe9, 0x67, 0x41, 0xb3, 0x50, 0xd5, 0x63, 0xbd, 0x74, 0xd5, 0x44, 0x18, 0xba, 0x78, + 0xeb, 0xea, 0x25, 0xbf, + ], + Bitcoin::IsOne64 => [ + 0x81, 0x7b, 0x95, 0xa5, 0x39, 0x5e, 0xfb, 0xec, 0xbb, 0x85, 0x15, 0xa5, 0x5b, 0x3f, + 0xfe, 0x1a, 0x4d, 0x7b, 0xac, 0x6e, 0x23, 0xdb, 0xca, 0x54, 0xad, 0x60, 0x66, 0x66, + 0x2f, 0x20, 0x2b, 0x93, + ], + Bitcoin::IsOne8 => [ + 0xf6, 0x92, 0x54, 0x91, 0xd3, 0x4b, 0x37, 0x74, 0x2c, 0xb0, 0x8d, 0xec, 0x19, 0x3e, + 0xe5, 0x12, 0x5f, 0x93, 0x3c, 0xad, 0xcc, 0x23, 0x2a, 0xed, 0xee, 0xdb, 0x57, 0x2d, + 0x12, 0x60, 0xff, 0xd5, + ], + Bitcoin::IsZero16 => [ + 0x1b, 0xa7, 0x21, 0x3b, 0x58, 0x8b, 0xe0, 0x92, 0xb4, 0x46, 0x59, 0x9c, 0x2a, 0x60, + 0xff, 0x54, 0x67, 0x13, 0x6a, 0x79, 0x75, 0x99, 0x61, 0x0b, 0xd7, 0xa5, 0xf1, 0x78, + 0x04, 0xe3, 0x2a, 0x2c, + ], + Bitcoin::IsZero32 => [ + 0x5e, 0xbf, 0x14, 0x66, 0x93, 0xf0, 0xe2, 0xd2, 0xf9, 0x36, 0x1b, 0x47, 0x6d, 0xba, + 0x34, 0x85, 0x8b, 0x83, 0x2d, 0x66, 0xfa, 0xcf, 0x71, 0x3b, 0xfb, 0x32, 0xc3, 0xbb, + 0x8d, 0xb9, 0xee, 0xbf, + ], + Bitcoin::IsZero64 => [ + 0x19, 0xab, 0x9a, 0xc0, 0xcf, 0x42, 0x66, 0x82, 0x19, 0xba, 0x6c, 0xb8, 0x97, 0xe4, + 0x87, 0xfe, 0x36, 0x80, 0x93, 0x7f, 0xff, 0xa8, 0xd2, 0x03, 0x51, 0x1d, 0xb7, 0x5d, + 0xbb, 0x10, 0xc7, 0xe5, + ], + Bitcoin::IsZero8 => [ + 0x8e, 0xff, 0x62, 0x08, 0x44, 0x07, 0xe9, 0xaf, 0xd5, 0x40, 0xf3, 0x18, 0xf6, 0x6b, + 0xcf, 0x31, 0xdf, 0x1d, 0x42, 0xa5, 0xc1, 0x61, 0xca, 0xe3, 0x5a, 0x29, 0x48, 0x18, + 0x0c, 0xa2, 0xaa, 0x2e, + ], + Bitcoin::Le16 => [ + 0x01, 0x67, 0x05, 0xa7, 0xd7, 0xdc, 0xe1, 0xaf, 0xc6, 0x3e, 0xab, 0x84, 0x20, 0x3f, + 0x5f, 0x42, 0xd6, 0xb6, 0xbb, 0xad, 0x75, 0xce, 0xe3, 0x8c, 0xec, 0x5a, 0x51, 0x5b, + 0x59, 0x97, 0x48, 0x9f, + ], + Bitcoin::Le32 => [ + 0x53, 0x51, 0xfc, 0x5d, 0xeb, 0xe5, 0xb2, 0x98, 0xad, 0x70, 0x57, 0xe4, 0xa5, 0xa7, + 0x6a, 0x3b, 0x9c, 0x65, 0x8a, 0xcd, 0xe7, 0xd1, 0xbb, 0x52, 0xe5, 0x88, 0x9c, 0xa1, + 0xe3, 0x8f, 0x5e, 0xfb, + ], + Bitcoin::Le64 => [ + 0xae, 0x2d, 0xe1, 0xe0, 0xcf, 0x73, 0x0d, 0x1d, 0xcc, 0x96, 0xd7, 0xcc, 0xfe, 0x71, + 0x16, 0x8a, 0x24, 0x0d, 0xea, 0xf8, 0x04, 0x61, 0x5a, 0x7b, 0xa9, 0x20, 0xdc, 0x16, + 0xfd, 0x6e, 0xa4, 0x5f, + ], + Bitcoin::Le8 => [ + 0xaf, 0x29, 0xf6, 0x16, 0x8e, 0xbd, 0xc0, 0x9e, 0xfb, 0xe0, 0xe6, 0x39, 0xcb, 0x75, + 0x0b, 0x12, 0x05, 0x78, 0x8f, 0x90, 0x21, 0xd6, 0x66, 0xef, 0xce, 0xfe, 0x13, 0xf1, + 0x2f, 0x96, 0x71, 0xf0, + ], + Bitcoin::LeftExtend16_32 => [ + 0x28, 0x99, 0x97, 0xfb, 0xa1, 0xfa, 0xe7, 0xec, 0x1c, 0x45, 0x31, 0xc5, 0x0b, 0xbf, + 0x86, 0x71, 0xb8, 0x97, 0x13, 0x9b, 0xdd, 0x3a, 0xad, 0x97, 0xa3, 0x76, 0x39, 0x57, + 0x4a, 0x04, 0x7c, 0x80, + ], + Bitcoin::LeftExtend16_64 => [ + 0x5d, 0xff, 0x21, 0xf6, 0xe6, 0x12, 0x47, 0x75, 0xc5, 0x78, 0xea, 0xf4, 0x85, 0x5c, + 0x0b, 0x01, 0x64, 0xf7, 0x87, 0x9b, 0x17, 0x60, 0xf9, 0x02, 0x7c, 0xb5, 0x0f, 0x7b, + 0x5a, 0xcb, 0x49, 0x18, + ], + Bitcoin::LeftExtend1_16 => [ + 0x8c, 0x87, 0xd7, 0x56, 0xd1, 0x4b, 0xd3, 0xd9, 0xa7, 0x86, 0x90, 0x81, 0x29, 0x12, + 0xb8, 0x94, 0x29, 0xc0, 0x17, 0x1a, 0x41, 0x10, 0x3a, 0x58, 0xc6, 0xe9, 0xf2, 0x25, + 0x14, 0x1a, 0x02, 0x22, + ], + Bitcoin::LeftExtend1_32 => [ + 0xc8, 0xf1, 0x54, 0xd4, 0x6d, 0x2e, 0x78, 0x95, 0xda, 0x1b, 0x33, 0xc2, 0xb3, 0x15, + 0xe6, 0xd4, 0xd4, 0x85, 0x1d, 0xde, 0xe2, 0x8a, 0xef, 0x8b, 0x70, 0x70, 0x90, 0x61, + 0x6b, 0xc7, 0xee, 0xa0, + ], + Bitcoin::LeftExtend1_64 => [ + 0xa3, 0x40, 0x4d, 0xf6, 0x8c, 0xc9, 0x20, 0x75, 0x4c, 0x6e, 0x18, 0x47, 0x20, 0x7d, + 0xb3, 0x84, 0x5d, 0x11, 0xc7, 0x49, 0x09, 0xd0, 0x7c, 0xa8, 0x2a, 0xd1, 0xf1, 0xcc, + 0x67, 0xbf, 0x3a, 0x9b, + ], + Bitcoin::LeftExtend1_8 => [ + 0x3b, 0xca, 0x33, 0x97, 0xb8, 0x3c, 0x27, 0xf3, 0x63, 0x16, 0xf8, 0xb8, 0xb3, 0x03, + 0x35, 0x0a, 0xfe, 0x8b, 0xa0, 0x07, 0x8f, 0x77, 0xf1, 0xd4, 0x2a, 0x9b, 0x78, 0x92, + 0xb2, 0xa4, 0xdb, 0xee, + ], + Bitcoin::LeftExtend32_64 => [ + 0x42, 0xcb, 0xeb, 0x01, 0xfe, 0x7a, 0x3a, 0x6d, 0xd3, 0x31, 0x1d, 0xb3, 0x36, 0x5f, + 0x91, 0xe5, 0xc1, 0x18, 0xc7, 0xe4, 0x1f, 0x03, 0xaa, 0xe7, 0xb2, 0x83, 0xde, 0x6b, + 0xb9, 0x05, 0x3e, 0x6b, + ], + Bitcoin::LeftExtend8_16 => [ + 0x9a, 0x57, 0xc9, 0x6a, 0xf5, 0x71, 0x48, 0x96, 0xb7, 0x24, 0xde, 0x45, 0xeb, 0x9f, + 0xe9, 0x7d, 0x73, 0x69, 0x7d, 0xe6, 0x2e, 0x8d, 0xad, 0x78, 0x71, 0xeb, 0x58, 0xf5, + 0x81, 0xa0, 0x11, 0xbb, + ], + Bitcoin::LeftExtend8_32 => [ + 0xd6, 0x24, 0xbd, 0x40, 0x40, 0x76, 0x3c, 0xb1, 0x3c, 0xca, 0xd4, 0x98, 0xf5, 0x3d, + 0x38, 0xc1, 0x12, 0xf1, 0x92, 0x95, 0x68, 0x26, 0xda, 0xfe, 0xc9, 0xac, 0x91, 0x65, + 0x79, 0x2b, 0x34, 0x7a, + ], + Bitcoin::LeftExtend8_64 => [ + 0x9d, 0xc4, 0xa2, 0x05, 0x4d, 0x5d, 0x26, 0x34, 0x2a, 0xc5, 0x90, 0xb6, 0x67, 0xf1, + 0xb0, 0x1d, 0xf5, 0x4f, 0xd0, 0xcd, 0xaa, 0x40, 0x5e, 0xf8, 0xcb, 0xb7, 0x6f, 0xd8, + 0xf9, 0xb0, 0x0e, 0xe5, + ], + Bitcoin::LeftPadHigh16_32 => [ + 0x05, 0x45, 0xc4, 0xb5, 0x8f, 0x00, 0x4a, 0x21, 0xe7, 0xf1, 0x29, 0xa4, 0xc0, 0x51, + 0x89, 0x97, 0x17, 0x14, 0xca, 0xa2, 0xd9, 0x1d, 0x1d, 0xfd, 0x5f, 0xad, 0x3e, 0x63, + 0x24, 0x49, 0x94, 0x28, + ], + Bitcoin::LeftPadHigh16_64 => [ + 0x1c, 0x61, 0xd0, 0x3d, 0x49, 0x3b, 0xbd, 0x05, 0x82, 0x22, 0x59, 0xd1, 0x73, 0x0a, + 0x8d, 0x7a, 0x5f, 0x55, 0xb0, 0xba, 0x2a, 0x93, 0x91, 0xa6, 0xc8, 0x88, 0x1e, 0xb4, + 0x75, 0x04, 0xaf, 0xfd, + ], + Bitcoin::LeftPadHigh1_16 => [ + 0x56, 0xfd, 0xf5, 0x4f, 0x1f, 0xcd, 0x19, 0x82, 0x5e, 0x7c, 0x3b, 0x79, 0x06, 0x15, + 0xc1, 0xd3, 0xfe, 0x82, 0x88, 0x6c, 0x74, 0x7b, 0xc4, 0x87, 0x59, 0x87, 0xf5, 0x05, + 0x16, 0x94, 0x5f, 0xb3, + ], + Bitcoin::LeftPadHigh1_32 => [ + 0xdb, 0x33, 0x05, 0x9a, 0xbe, 0x2d, 0x43, 0x2d, 0x67, 0xf4, 0x2b, 0x1e, 0x94, 0x27, + 0x56, 0xdc, 0xa6, 0xcd, 0xe6, 0x37, 0x85, 0xe5, 0xbd, 0x43, 0x0d, 0xc8, 0xf4, 0xae, + 0xfc, 0x31, 0xb8, 0xdf, + ], + Bitcoin::LeftPadHigh1_64 => [ + 0x1d, 0x66, 0x9c, 0x1f, 0xa5, 0xfd, 0x3e, 0xf6, 0x6e, 0xb4, 0xae, 0xf6, 0x18, 0x6e, + 0x3e, 0xc1, 0x36, 0xee, 0x75, 0x84, 0x10, 0xdf, 0x3e, 0xde, 0xbb, 0x31, 0xbf, 0x26, + 0xd4, 0x56, 0x20, 0x51, + ], + Bitcoin::LeftPadHigh1_8 => [ + 0x9a, 0x1b, 0xad, 0x3d, 0x8a, 0xb9, 0x00, 0x30, 0x3d, 0xa2, 0x02, 0xf0, 0xf4, 0x49, + 0xf0, 0xb7, 0xe6, 0x79, 0x5c, 0x2a, 0x7c, 0x12, 0x17, 0x18, 0x80, 0x0a, 0xc4, 0x0c, + 0x87, 0xd8, 0x27, 0x29, + ], + Bitcoin::LeftPadHigh32_64 => [ + 0x39, 0x20, 0xcc, 0x4b, 0x33, 0xba, 0xf7, 0xef, 0xa5, 0xca, 0xf9, 0xe7, 0x80, 0x01, + 0x44, 0x67, 0x06, 0xf6, 0xe4, 0xe8, 0x26, 0x56, 0x74, 0x05, 0x7e, 0xed, 0x87, 0x17, + 0x78, 0x08, 0x9e, 0x94, + ], + Bitcoin::LeftPadHigh8_16 => [ + 0x75, 0x2e, 0x29, 0xf2, 0xfe, 0x2b, 0xec, 0xc3, 0xf6, 0x62, 0x90, 0xfe, 0x44, 0xe1, + 0xae, 0xb3, 0x78, 0x41, 0x80, 0xdd, 0x90, 0x5e, 0x19, 0x62, 0x4e, 0x19, 0x5f, 0x21, + 0x6c, 0x07, 0xc5, 0x7c, + ], + Bitcoin::LeftPadHigh8_32 => [ + 0xbe, 0xe8, 0x8f, 0x1c, 0x8c, 0x30, 0x63, 0x4c, 0x6e, 0x95, 0xca, 0xcc, 0x0e, 0x9a, + 0xdd, 0x49, 0x41, 0x32, 0x21, 0xfd, 0xab, 0xbd, 0x8d, 0x4c, 0x0a, 0xcc, 0xf1, 0xca, + 0xe2, 0xd2, 0xa7, 0x78, + ], + Bitcoin::LeftPadHigh8_64 => [ + 0x39, 0x23, 0x87, 0xf6, 0xdc, 0x04, 0xbf, 0xc5, 0x4d, 0xd4, 0xa2, 0x81, 0x19, 0xc8, + 0x1d, 0x15, 0xd7, 0xa5, 0x80, 0x9b, 0xbf, 0x62, 0xfc, 0xc2, 0x7d, 0xc5, 0x5c, 0xf8, + 0x2e, 0x9e, 0x5e, 0xe6, + ], + Bitcoin::LeftPadLow16_32 => [ + 0x4f, 0xfd, 0x6c, 0xb3, 0x40, 0x23, 0x05, 0x82, 0x1d, 0xd8, 0x99, 0x70, 0xd7, 0x22, + 0xd1, 0xc1, 0x3f, 0x1f, 0xf7, 0x73, 0x9f, 0xd5, 0xf3, 0x4b, 0xa1, 0x6c, 0x73, 0x65, + 0x3b, 0x04, 0x47, 0x18, + ], + Bitcoin::LeftPadLow16_64 => [ + 0xbe, 0x3e, 0xb8, 0x5c, 0x5f, 0x19, 0x91, 0x53, 0xfb, 0x1c, 0x46, 0x13, 0x5c, 0x04, + 0xfa, 0xcf, 0xdb, 0xc6, 0xf1, 0xb7, 0x8c, 0x2b, 0xb7, 0xae, 0x75, 0xf1, 0x55, 0xbc, + 0x3e, 0xa0, 0x8a, 0x8b, + ], + Bitcoin::LeftPadLow1_16 => [ + 0xdd, 0xd0, 0x15, 0x3e, 0xf3, 0x12, 0xf2, 0x8d, 0x64, 0x2c, 0xd9, 0x4c, 0xb3, 0x6f, + 0x32, 0x97, 0x75, 0xb0, 0x0d, 0xa8, 0x8f, 0xcc, 0xc4, 0xce, 0xa1, 0xba, 0xe8, 0x9b, + 0xad, 0x13, 0xbe, 0x6b, + ], + Bitcoin::LeftPadLow1_32 => [ + 0xbc, 0x9d, 0x31, 0x14, 0x35, 0x46, 0x7b, 0xc0, 0x8b, 0x10, 0x08, 0xe5, 0x47, 0xaa, + 0x7a, 0x07, 0xe8, 0x3b, 0x15, 0x14, 0x68, 0x61, 0xa9, 0xe9, 0xb5, 0x41, 0x3b, 0xe3, + 0x1b, 0x82, 0xb6, 0xb5, + ], + Bitcoin::LeftPadLow1_64 => [ + 0x8b, 0xc6, 0x2f, 0x93, 0x60, 0x89, 0x4e, 0x48, 0xa4, 0x73, 0x2c, 0x95, 0x76, 0x9c, + 0x8f, 0xaa, 0xe9, 0x56, 0x8f, 0x9d, 0xe8, 0xe8, 0xa2, 0x00, 0x83, 0x6b, 0xd4, 0xe5, + 0x0b, 0x02, 0xcd, 0x84, + ], + Bitcoin::LeftPadLow1_8 => [ + 0xf6, 0x6c, 0xd7, 0xa4, 0x2b, 0x32, 0x0f, 0x97, 0xc1, 0x9f, 0x2d, 0x54, 0x16, 0xcd, + 0xe0, 0x87, 0x25, 0x3a, 0x27, 0x91, 0x29, 0x65, 0xd5, 0x5b, 0x65, 0x71, 0x2a, 0xd8, + 0x09, 0xb8, 0x3c, 0xfd, + ], + Bitcoin::LeftPadLow32_64 => [ + 0xa3, 0x3a, 0x07, 0xb9, 0xbc, 0xf9, 0x45, 0xf6, 0x4f, 0x07, 0x2b, 0x8b, 0x9c, 0x91, + 0x48, 0x39, 0xa5, 0x85, 0xbf, 0xa9, 0xf3, 0x42, 0x5b, 0x14, 0x77, 0x54, 0xab, 0x55, + 0xa8, 0xba, 0x6c, 0x0f, + ], + Bitcoin::LeftPadLow8_16 => [ + 0x2a, 0x51, 0x6a, 0x79, 0x3f, 0x97, 0xc4, 0x5f, 0xea, 0xeb, 0xb1, 0xcc, 0x96, 0x1a, + 0x15, 0x6d, 0x80, 0x35, 0x49, 0x28, 0x79, 0x78, 0x9d, 0x6e, 0xdc, 0x9b, 0x57, 0xe7, + 0x2f, 0x11, 0xe5, 0xb5, + ], + Bitcoin::LeftPadLow8_32 => [ + 0x1a, 0xa2, 0xe4, 0xd0, 0x4b, 0xd6, 0x90, 0x55, 0x12, 0x3d, 0xd6, 0xaa, 0xfe, 0x27, + 0xf5, 0xf7, 0xf4, 0x7c, 0x3b, 0x30, 0x90, 0xc3, 0xa8, 0x27, 0x29, 0x73, 0xfe, 0x2f, + 0x75, 0x16, 0x5a, 0x5d, + ], + Bitcoin::LeftPadLow8_64 => [ + 0xb6, 0x52, 0xe0, 0xae, 0xdd, 0x0f, 0x4f, 0x66, 0xf6, 0xa1, 0xcd, 0x4b, 0xeb, 0xf8, + 0x75, 0xff, 0x7b, 0xbb, 0x2d, 0xd9, 0x9b, 0x06, 0x5b, 0x2d, 0xb5, 0xb5, 0xb5, 0x90, + 0x53, 0x61, 0x61, 0x4d, + ], + Bitcoin::LeftRotate16 => [ + 0x8a, 0x12, 0xff, 0x6a, 0x4b, 0xf2, 0x37, 0x15, 0xdd, 0x3b, 0x76, 0x6b, 0x99, 0x67, + 0xc7, 0x15, 0x8b, 0xf3, 0xed, 0x74, 0xb3, 0xdc, 0xe7, 0x30, 0xaf, 0xfc, 0xf4, 0x66, + 0x16, 0x47, 0x8e, 0xcb, + ], + Bitcoin::LeftRotate32 => [ + 0x2f, 0xcb, 0x52, 0x17, 0x2f, 0xd4, 0x9c, 0x36, 0x21, 0x7d, 0xea, 0xe0, 0xc2, 0x37, + 0x14, 0x32, 0x1f, 0x69, 0xf5, 0xf1, 0x3f, 0x6e, 0x94, 0xb2, 0xbd, 0xfe, 0x4b, 0x74, + 0x88, 0x69, 0x7f, 0xd5, + ], + Bitcoin::LeftRotate64 => [ + 0x72, 0xcc, 0xd6, 0xc4, 0xe5, 0xfd, 0xf6, 0x8a, 0xd3, 0x3b, 0x6d, 0x58, 0xfb, 0x37, + 0x2b, 0xe4, 0xf1, 0xb8, 0x0e, 0xef, 0x70, 0x1f, 0x9d, 0xb7, 0xe5, 0xed, 0x85, 0x9b, + 0x96, 0xb3, 0x62, 0x09, + ], + Bitcoin::LeftRotate8 => [ + 0x1a, 0xae, 0xc9, 0xf3, 0xb7, 0x5d, 0x89, 0xf8, 0x2a, 0x64, 0x98, 0x45, 0x8c, 0x44, + 0x83, 0xcb, 0x9a, 0x78, 0x44, 0x89, 0x05, 0xf3, 0xbb, 0x39, 0xfc, 0x08, 0x3f, 0x14, + 0xdd, 0xcc, 0xdc, 0x9b, + ], + Bitcoin::LeftShift16 => [ + 0x37, 0xac, 0x63, 0x87, 0x21, 0xab, 0x09, 0x7a, 0x96, 0x02, 0xba, 0x4d, 0xc9, 0x2e, + 0x19, 0xb5, 0xa1, 0x85, 0xb2, 0x32, 0x9f, 0x1a, 0xa6, 0x00, 0xcb, 0x9c, 0x15, 0x61, + 0x5a, 0x00, 0x81, 0xf8, + ], + Bitcoin::LeftShift32 => [ + 0x8e, 0x3c, 0x47, 0x3b, 0x28, 0x67, 0xf1, 0x54, 0x73, 0xb3, 0x63, 0x2d, 0xbf, 0xdd, + 0x99, 0x77, 0x55, 0x51, 0xef, 0x5f, 0x9d, 0xba, 0x47, 0x5e, 0x9c, 0xf0, 0x90, 0x75, + 0x80, 0x70, 0xf0, 0xbf, + ], + Bitcoin::LeftShift64 => [ + 0x50, 0x49, 0xf4, 0x04, 0xd1, 0x73, 0x29, 0x9a, 0x3a, 0xee, 0x04, 0xcb, 0xc2, 0x46, + 0x2c, 0xb3, 0x4c, 0x80, 0x69, 0xc1, 0xb6, 0xdb, 0x7f, 0xed, 0x0e, 0x38, 0x8f, 0xf6, + 0xd4, 0x67, 0xa0, 0x86, + ], + Bitcoin::LeftShift8 => [ + 0x83, 0x2f, 0x63, 0x6e, 0x63, 0x44, 0x6c, 0xef, 0xba, 0x8d, 0xf3, 0xa4, 0x6e, 0xfb, + 0xb3, 0x61, 0x59, 0xc1, 0x88, 0x54, 0x56, 0x77, 0x68, 0xad, 0xc9, 0xb8, 0xdb, 0x8a, + 0x07, 0x49, 0x2a, 0x58, + ], + Bitcoin::LeftShiftWith16 => [ + 0xe6, 0x47, 0x62, 0xb1, 0xc5, 0xe6, 0x14, 0x4a, 0x71, 0x81, 0xea, 0xaf, 0x4d, 0xd9, + 0xd9, 0xb3, 0xaa, 0x43, 0xaa, 0xd9, 0x55, 0x15, 0x81, 0x98, 0xee, 0x20, 0x90, 0xeb, + 0xd9, 0xe4, 0xbb, 0x0d, + ], + Bitcoin::LeftShiftWith32 => [ + 0x64, 0x76, 0xba, 0x89, 0x95, 0xf8, 0x3b, 0x5e, 0xe1, 0xeb, 0xc2, 0x2c, 0xb4, 0x16, + 0xf5, 0x58, 0x15, 0x7f, 0x2e, 0x57, 0x69, 0x9a, 0x5c, 0xaf, 0x84, 0x29, 0x1f, 0xf3, + 0xfc, 0x14, 0x83, 0xc1, + ], + Bitcoin::LeftShiftWith64 => [ + 0x06, 0xb8, 0xfe, 0x67, 0xcf, 0xc5, 0x86, 0x32, 0x23, 0x97, 0xaf, 0x02, 0x4f, 0xde, + 0x29, 0x11, 0xf7, 0xae, 0x87, 0xa0, 0x6a, 0xbc, 0x6c, 0x59, 0x30, 0x93, 0x40, 0x97, + 0x15, 0x69, 0x1c, 0x19, + ], + Bitcoin::LeftShiftWith8 => [ + 0xb1, 0xac, 0x9c, 0x68, 0x23, 0x58, 0xc4, 0x5b, 0xab, 0xf4, 0x06, 0x95, 0x56, 0xfe, + 0x6e, 0x37, 0x5b, 0x45, 0x54, 0xde, 0x9e, 0x10, 0xc5, 0x91, 0xc1, 0x48, 0x39, 0x84, + 0x47, 0xac, 0x18, 0x0e, + ], + Bitcoin::Leftmost16_1 => [ + 0x5b, 0xff, 0x4c, 0xb5, 0x58, 0x76, 0x05, 0xd5, 0xfd, 0x05, 0x9d, 0x77, 0x33, 0x49, + 0x0d, 0x7d, 0xd2, 0x2d, 0x27, 0x8b, 0x59, 0x9e, 0x06, 0xd3, 0xb5, 0xdb, 0x6d, 0x79, + 0xf3, 0xc9, 0x23, 0xbd, + ], + Bitcoin::Leftmost16_2 => [ + 0x53, 0x6d, 0xb4, 0x86, 0xb1, 0x22, 0x27, 0xe5, 0xb0, 0x9d, 0x6f, 0xeb, 0xd2, 0x77, + 0x6b, 0x1a, 0xbb, 0xc6, 0x74, 0x99, 0x96, 0xaa, 0x78, 0x3e, 0xd7, 0xe5, 0x37, 0x44, + 0x6b, 0xbf, 0x15, 0x1b, + ], + Bitcoin::Leftmost16_4 => [ + 0xf2, 0x32, 0x13, 0x67, 0x49, 0x6d, 0x1a, 0x77, 0xee, 0xa0, 0x5e, 0x95, 0xe3, 0xb8, + 0x07, 0xd3, 0xba, 0x5f, 0x05, 0x13, 0x6c, 0xe0, 0x91, 0x2a, 0xe7, 0x17, 0xc8, 0x3a, + 0x02, 0x61, 0xb2, 0xe1, + ], + Bitcoin::Leftmost16_8 => [ + 0x24, 0x14, 0x8e, 0xf3, 0x0a, 0xd4, 0x3e, 0xbe, 0xc5, 0x63, 0x72, 0x83, 0x22, 0xc3, + 0xce, 0x11, 0x79, 0xae, 0xd7, 0xa7, 0x82, 0x16, 0xd7, 0x99, 0x88, 0x8b, 0xf1, 0x8b, + 0x39, 0x57, 0x06, 0x71, + ], + Bitcoin::Leftmost32_1 => [ + 0xb9, 0x2e, 0x15, 0xec, 0x5d, 0xa0, 0x7e, 0xe8, 0xed, 0x39, 0x7c, 0xb9, 0xf6, 0x0a, + 0x4c, 0x5d, 0xa8, 0x38, 0x62, 0x93, 0x1a, 0x90, 0x73, 0x59, 0xd2, 0x7c, 0xae, 0xb6, + 0x0e, 0x60, 0xef, 0x8a, + ], + Bitcoin::Leftmost32_16 => [ + 0xad, 0xb0, 0x27, 0xb2, 0x06, 0x56, 0x73, 0x58, 0x53, 0x26, 0xc0, 0x1c, 0x3b, 0xe2, + 0xfa, 0xeb, 0x38, 0x63, 0x49, 0xe2, 0x90, 0x09, 0xb6, 0x57, 0x6e, 0xe5, 0x3a, 0x85, + 0x55, 0x12, 0xcc, 0x67, + ], + Bitcoin::Leftmost32_2 => [ + 0xb7, 0x5b, 0x31, 0xc5, 0x59, 0x12, 0x3d, 0x3d, 0x63, 0x35, 0x98, 0x59, 0x32, 0xb8, + 0xb1, 0xb2, 0x66, 0x4e, 0xe5, 0x97, 0xaf, 0xb1, 0x5f, 0xd1, 0xa4, 0x99, 0xd0, 0x07, + 0xcf, 0xf2, 0x75, 0x5c, + ], + Bitcoin::Leftmost32_4 => [ + 0xcb, 0x75, 0x7e, 0x47, 0x1e, 0x9d, 0x9a, 0x40, 0x77, 0x1d, 0xd1, 0xcf, 0x3c, 0x1b, + 0xf5, 0xd2, 0x3c, 0x17, 0xed, 0x68, 0xcd, 0xbd, 0xb2, 0x2d, 0xad, 0xa1, 0x7a, 0x73, + 0xa7, 0xb4, 0x07, 0xb2, + ], + Bitcoin::Leftmost32_8 => [ + 0xbf, 0xc5, 0x34, 0xb4, 0x9e, 0x06, 0x00, 0x6e, 0x19, 0xf3, 0xb6, 0x8e, 0x0a, 0x02, + 0x39, 0x1c, 0x14, 0x9f, 0x9a, 0x34, 0xf4, 0x3e, 0xe3, 0x6b, 0x9f, 0x1d, 0x79, 0xa7, + 0x9c, 0x9a, 0x9e, 0x4d, + ], + Bitcoin::Leftmost64_1 => [ + 0x1b, 0x1d, 0x4e, 0x92, 0x38, 0x4b, 0x8b, 0x15, 0x9b, 0xa0, 0xd8, 0x06, 0x55, 0x8b, + 0x54, 0x94, 0xe3, 0x61, 0x4e, 0xed, 0xe0, 0x3c, 0x94, 0x6c, 0xea, 0xf1, 0x41, 0xf3, + 0x6f, 0x01, 0xc7, 0x9b, + ], + Bitcoin::Leftmost64_16 => [ + 0x0d, 0xeb, 0xdc, 0x1a, 0xa0, 0x43, 0x30, 0x34, 0x42, 0xe1, 0x8f, 0xe0, 0x3d, 0x8a, + 0x99, 0xd2, 0xbe, 0x6b, 0xb8, 0xa8, 0x69, 0x1a, 0xba, 0x19, 0x56, 0x62, 0x59, 0xe3, + 0x67, 0x60, 0xf7, 0xf9, + ], + Bitcoin::Leftmost64_2 => [ + 0x83, 0x9e, 0xcf, 0xa3, 0x18, 0x70, 0x5c, 0x25, 0x3d, 0x0c, 0x52, 0xff, 0x27, 0xb9, + 0x04, 0x64, 0x92, 0x3d, 0x8c, 0x0e, 0x55, 0xa8, 0x2c, 0x0d, 0x16, 0x24, 0x02, 0x39, + 0x7f, 0x36, 0x53, 0x78, + ], + Bitcoin::Leftmost64_32 => [ + 0x92, 0x91, 0x97, 0xa9, 0x64, 0x28, 0x61, 0xa7, 0x7b, 0xd6, 0x62, 0x58, 0x05, 0x11, + 0x97, 0xbe, 0x86, 0xff, 0x08, 0xe6, 0x28, 0xe3, 0x0f, 0x7e, 0xfc, 0xbd, 0x2c, 0x4d, + 0xfe, 0xcf, 0x9b, 0xdd, + ], + Bitcoin::Leftmost64_4 => [ + 0x02, 0xbd, 0x16, 0x45, 0xd5, 0x75, 0xf0, 0x4b, 0x3c, 0xbb, 0xaa, 0x6d, 0x8c, 0xa9, + 0x86, 0xef, 0x1c, 0x8c, 0xd0, 0xff, 0xe1, 0x65, 0x89, 0x03, 0x93, 0x9d, 0xb7, 0x64, + 0x56, 0x2a, 0x26, 0x47, + ], + Bitcoin::Leftmost64_8 => [ + 0x35, 0x58, 0xb3, 0x1b, 0x3b, 0x6e, 0x8f, 0x9a, 0x28, 0x8f, 0xdc, 0x72, 0xf2, 0x46, + 0x02, 0xbe, 0x05, 0x58, 0x19, 0x10, 0x71, 0xa5, 0x4a, 0x99, 0xfa, 0x03, 0xa0, 0x25, + 0x34, 0xf8, 0x80, 0x05, + ], + Bitcoin::Leftmost8_1 => [ + 0x28, 0x65, 0xef, 0xd4, 0x29, 0x83, 0xcb, 0xe3, 0xf8, 0x16, 0x37, 0x3a, 0xb8, 0xa8, + 0x82, 0xf1, 0x83, 0x17, 0x19, 0x4d, 0xc1, 0xab, 0xa3, 0x8d, 0xa0, 0x30, 0x4b, 0x8c, + 0x14, 0x4b, 0x1d, 0xa4, + ], + Bitcoin::Leftmost8_2 => [ + 0x51, 0x96, 0x4c, 0xb0, 0x74, 0x05, 0xa8, 0xd2, 0x3d, 0x21, 0x87, 0x74, 0x1a, 0x9e, + 0xd3, 0x04, 0xbc, 0xb4, 0x69, 0xd9, 0xac, 0x9f, 0x5d, 0x92, 0x55, 0x82, 0x5c, 0xfd, + 0xa3, 0xda, 0x07, 0xc0, + ], + Bitcoin::Leftmost8_4 => [ + 0x88, 0x3c, 0x94, 0xf8, 0xa2, 0x6c, 0xda, 0xb7, 0xbc, 0x5c, 0xd6, 0x31, 0xe5, 0x22, + 0x55, 0xa8, 0x5e, 0xf6, 0xe0, 0x70, 0x76, 0x64, 0x57, 0xf6, 0x32, 0x1e, 0x2c, 0xcb, + 0x11, 0x9d, 0x9b, 0x2b, + ], + Bitcoin::LinearCombination1 => [ + 0x34, 0x10, 0xa9, 0xee, 0x33, 0x3d, 0xf8, 0xc8, 0xa0, 0x1c, 0x14, 0x11, 0x5b, 0x54, + 0x43, 0x27, 0xe3, 0x24, 0xe2, 0x87, 0xaa, 0x11, 0x07, 0xe0, 0x19, 0x55, 0xbd, 0x20, + 0x50, 0x6e, 0xa9, 0x87, + ], + Bitcoin::LinearVerify1 => [ + 0xdc, 0x66, 0xd3, 0x31, 0xc1, 0x7f, 0x3f, 0xdd, 0xa3, 0x99, 0x46, 0x98, 0x1b, 0x39, + 0xb3, 0x57, 0xd0, 0x55, 0x5c, 0x35, 0x62, 0xec, 0xae, 0x02, 0xaa, 0x2d, 0xad, 0x16, + 0x3e, 0x6c, 0x9a, 0x2e, + ], + Bitcoin::LockTime => [ + 0x9a, 0xe0, 0xac, 0xc3, 0x7b, 0xc2, 0x04, 0x47, 0x79, 0xb0, 0x7c, 0x3d, 0x46, 0x02, + 0xa5, 0xfd, 0xe8, 0xbc, 0x33, 0xf8, 0x79, 0xf6, 0x6b, 0x73, 0x9b, 0x10, 0xf0, 0x1a, + 0xeb, 0x11, 0x54, 0xec, + ], + Bitcoin::Low1 => [ + 0xfe, 0x62, 0x14, 0xf9, 0x67, 0x15, 0x6d, 0xcd, 0xe6, 0xdd, 0x49, 0xfd, 0xc5, 0x5e, + 0xfb, 0x86, 0x50, 0x69, 0xfe, 0xab, 0xff, 0xf0, 0xfe, 0x93, 0x1d, 0xba, 0x85, 0x31, + 0x34, 0xee, 0xd1, 0x30, + ], + Bitcoin::Low16 => [ + 0x74, 0x93, 0xcf, 0x69, 0x8a, 0x48, 0x82, 0xe5, 0xc3, 0x57, 0x9d, 0x06, 0x51, 0x8e, + 0x7e, 0xca, 0x2b, 0x84, 0x28, 0xf6, 0x2e, 0x2b, 0x51, 0x38, 0x02, 0xab, 0xe6, 0x22, + 0x17, 0x0c, 0x20, 0xfe, + ], + Bitcoin::Low32 => [ + 0x36, 0x2d, 0x66, 0xa4, 0xf0, 0xae, 0xb9, 0x65, 0x84, 0xa5, 0x67, 0x57, 0x82, 0x71, + 0xb1, 0xf7, 0xbb, 0xfc, 0xc2, 0xde, 0x0d, 0xcf, 0x95, 0x79, 0x6b, 0x6f, 0x7a, 0x82, + 0x6b, 0x2a, 0x8a, 0xf7, + ], + Bitcoin::Low64 => [ + 0x97, 0x33, 0x23, 0xbc, 0x2b, 0x92, 0xe4, 0x28, 0x04, 0xd2, 0xe4, 0xf5, 0x8b, 0x86, + 0xf6, 0x5b, 0x56, 0xf9, 0x1d, 0xee, 0xb4, 0x81, 0x0e, 0xab, 0x8a, 0x1d, 0xed, 0xa9, + 0x69, 0x7a, 0x08, 0x72, + ], + Bitcoin::Low8 => [ + 0xcd, 0x1a, 0x85, 0x58, 0xef, 0x99, 0xa3, 0x22, 0x60, 0x21, 0x7a, 0x76, 0x49, 0xff, + 0x51, 0x40, 0xda, 0x69, 0xda, 0x70, 0x06, 0x72, 0x69, 0x0b, 0x27, 0x91, 0x7b, 0x07, + 0xd7, 0xc1, 0x4c, 0x67, + ], + Bitcoin::Lt16 => [ + 0x04, 0xac, 0xa8, 0x7e, 0x3e, 0x17, 0xf8, 0x05, 0xa2, 0x1c, 0xf2, 0x91, 0x7a, 0xee, + 0x99, 0x57, 0xb9, 0x50, 0xb2, 0xdb, 0x5d, 0x7a, 0xe5, 0xc8, 0x26, 0xd4, 0xac, 0x2e, + 0xc9, 0x7b, 0x5a, 0x52, + ], + Bitcoin::Lt32 => [ + 0x23, 0xa0, 0xa5, 0xc1, 0x97, 0x74, 0x7e, 0x3a, 0x95, 0x79, 0xe9, 0x0e, 0x0f, 0x22, + 0xf8, 0x4a, 0x29, 0xbf, 0xb5, 0xf0, 0x7b, 0x84, 0xb5, 0x9b, 0x26, 0x68, 0x8a, 0x0c, + 0xd5, 0x9d, 0xfe, 0xbd, + ], + Bitcoin::Lt64 => [ + 0xd2, 0x99, 0x90, 0x1c, 0x7b, 0x5b, 0x3a, 0x59, 0xff, 0xc8, 0xdd, 0x09, 0x54, 0x5a, + 0x32, 0x38, 0x24, 0xb7, 0x79, 0xa9, 0x9b, 0x2d, 0x1a, 0x2f, 0x87, 0x45, 0x2d, 0x9e, + 0x4b, 0xef, 0xaf, 0x30, + ], + Bitcoin::Lt8 => [ + 0xdd, 0x94, 0x41, 0x3b, 0x52, 0x9c, 0x29, 0x8c, 0x16, 0x96, 0xe9, 0xfb, 0x08, 0xe6, + 0x67, 0x67, 0xb3, 0xf8, 0x33, 0x7a, 0xc0, 0x2e, 0x44, 0xb0, 0x68, 0xe9, 0x40, 0x14, + 0xf7, 0xc4, 0x1f, 0x2a, + ], + Bitcoin::Maj1 => [ + 0x0e, 0x6f, 0xb4, 0x0f, 0xe3, 0x1a, 0x3a, 0x52, 0x6b, 0x44, 0xcf, 0x0b, 0x7c, 0x79, + 0x36, 0xc7, 0x77, 0xcb, 0xba, 0x89, 0x65, 0xa7, 0x25, 0x52, 0x32, 0xa7, 0xcf, 0x53, + 0xa9, 0x22, 0x88, 0x5a, + ], + Bitcoin::Maj16 => [ + 0x38, 0x66, 0x9c, 0xe5, 0xe1, 0xe1, 0x71, 0x47, 0x54, 0x00, 0x73, 0x1b, 0xee, 0xb6, + 0x0b, 0xca, 0xfa, 0xd6, 0x66, 0x04, 0xc9, 0x39, 0x40, 0x16, 0x0c, 0xd7, 0x12, 0x88, + 0x35, 0x55, 0x93, 0x42, + ], + Bitcoin::Maj32 => [ + 0x55, 0x54, 0x34, 0x9b, 0x58, 0x4f, 0x5c, 0x38, 0x72, 0xc7, 0xf4, 0xf2, 0x57, 0x82, + 0x9e, 0x2a, 0xe8, 0x22, 0xd8, 0x23, 0x42, 0x4c, 0xeb, 0x95, 0x98, 0xf0, 0x83, 0x18, + 0x58, 0x6a, 0x88, 0x07, + ], + Bitcoin::Maj64 => [ + 0x73, 0x49, 0x03, 0xba, 0xef, 0xb7, 0x1d, 0x5e, 0xa4, 0x16, 0x48, 0xff, 0x43, 0xee, + 0xe6, 0x98, 0x94, 0xe0, 0x63, 0xb3, 0x88, 0xea, 0x42, 0x2f, 0x96, 0xae, 0xde, 0x19, + 0x3c, 0xea, 0xb8, 0x39, + ], + Bitcoin::Maj8 => [ + 0xba, 0x47, 0xa3, 0x99, 0xdc, 0x94, 0x35, 0xe1, 0x8e, 0x08, 0x0a, 0x4e, 0x18, 0xaf, + 0x7c, 0x65, 0x7f, 0xd3, 0x9f, 0x7c, 0xe7, 0xd6, 0x05, 0x2e, 0x46, 0x90, 0x23, 0x11, + 0xb0, 0x78, 0xd5, 0x85, + ], + Bitcoin::Max16 => [ + 0xaa, 0x55, 0x23, 0x74, 0x6c, 0xab, 0xfa, 0xf5, 0x66, 0x8e, 0x9e, 0x07, 0x37, 0xe5, + 0x6b, 0x06, 0x06, 0x22, 0x51, 0xd7, 0xe8, 0x0a, 0xb9, 0xb9, 0x10, 0x6d, 0x8f, 0x17, + 0x2d, 0xc8, 0x4d, 0xd6, + ], + Bitcoin::Max32 => [ + 0x69, 0x22, 0x96, 0x5d, 0x14, 0x43, 0x45, 0xc9, 0x13, 0xec, 0xb3, 0x0b, 0x5e, 0xd4, + 0x7e, 0x88, 0xda, 0xe3, 0x5c, 0x12, 0x21, 0xf2, 0x6a, 0xa9, 0x2d, 0xd5, 0xa5, 0xf6, + 0x15, 0xdb, 0xdb, 0x53, + ], + Bitcoin::Max64 => [ + 0x8a, 0x9b, 0xe9, 0x07, 0xb6, 0xa4, 0xc3, 0x0a, 0xbc, 0xc0, 0xf2, 0x2d, 0x01, 0x30, + 0x74, 0xc2, 0xd5, 0x6b, 0xb0, 0x81, 0xf2, 0x62, 0x18, 0x57, 0xd5, 0x38, 0xcc, 0x97, + 0x13, 0x1e, 0x44, 0x09, + ], + Bitcoin::Max8 => [ + 0xb4, 0xbf, 0x93, 0x23, 0x40, 0x22, 0xe8, 0x60, 0xfe, 0x76, 0xc0, 0xb5, 0x36, 0x0e, + 0x8b, 0x36, 0xff, 0x81, 0xee, 0x67, 0x05, 0xb5, 0x93, 0xac, 0xdf, 0x65, 0x5a, 0xc6, + 0xe6, 0xd7, 0xae, 0xba, + ], + Bitcoin::Median16 => [ + 0x17, 0xe2, 0xe8, 0x7f, 0x07, 0x60, 0xf4, 0xfb, 0x3c, 0x9f, 0xd0, 0xbe, 0xd0, 0x00, + 0xd7, 0x39, 0x73, 0xab, 0x60, 0xf5, 0xe6, 0xc2, 0xc1, 0xfa, 0xb1, 0x7f, 0x9b, 0x23, + 0xee, 0x6a, 0xca, 0x48, + ], + Bitcoin::Median32 => [ + 0x11, 0x60, 0xae, 0x8e, 0xa8, 0xd3, 0x0f, 0x9a, 0x22, 0x33, 0xc4, 0x8e, 0x73, 0x12, + 0x40, 0xf8, 0x44, 0x93, 0xb8, 0x28, 0xb5, 0x57, 0x93, 0xe2, 0xf4, 0x04, 0x2a, 0x19, + 0x82, 0xac, 0x26, 0xa5, + ], + Bitcoin::Median64 => [ + 0xc8, 0x73, 0x73, 0x64, 0x9e, 0x7e, 0x40, 0x50, 0xbb, 0x73, 0x33, 0x7e, 0x08, 0xeb, + 0x5d, 0xe4, 0x52, 0x28, 0xab, 0x86, 0xad, 0x4e, 0x1f, 0x41, 0x91, 0xe5, 0x20, 0x2a, + 0xa6, 0xaf, 0xa0, 0xc5, + ], + Bitcoin::Median8 => [ + 0xc3, 0xb4, 0xe0, 0x89, 0x8a, 0x21, 0xbd, 0xe9, 0x4d, 0xae, 0xd3, 0x7a, 0x20, 0xad, + 0xf9, 0x0c, 0x8b, 0xe5, 0x69, 0x1a, 0x03, 0xb6, 0xa1, 0xe5, 0x56, 0x38, 0x5d, 0x42, + 0xeb, 0x19, 0x02, 0x2b, + ], + Bitcoin::Min16 => [ + 0x5f, 0xd0, 0x05, 0x1e, 0xdb, 0x37, 0x19, 0xa6, 0x45, 0xb2, 0x72, 0xa0, 0x21, 0x08, + 0xef, 0xbb, 0x3d, 0x9b, 0xc0, 0xf6, 0x06, 0x21, 0xbf, 0x5a, 0x5b, 0xab, 0xe1, 0x16, + 0xd5, 0x55, 0xd5, 0x78, + ], + Bitcoin::Min32 => [ + 0xd8, 0x07, 0x82, 0xa2, 0xb5, 0xd8, 0x6a, 0xb6, 0xb9, 0xc9, 0xc3, 0xfb, 0x77, 0x8a, + 0x34, 0x73, 0xf6, 0x00, 0xb1, 0x85, 0xfe, 0x19, 0x25, 0xee, 0x9f, 0xc2, 0xe8, 0x77, + 0x7e, 0xd2, 0x66, 0x01, + ], + Bitcoin::Min64 => [ + 0xc5, 0xc0, 0x9d, 0x50, 0x13, 0x38, 0xe9, 0xa5, 0x12, 0xcf, 0x89, 0x76, 0xca, 0x4b, + 0x32, 0xb9, 0x24, 0x80, 0xbe, 0xf6, 0xae, 0xb2, 0x9d, 0x36, 0xd5, 0x90, 0xd3, 0x5b, + 0xf9, 0xf9, 0xec, 0xe1, + ], + Bitcoin::Min8 => [ + 0x81, 0xd2, 0x1e, 0x12, 0x81, 0x42, 0x38, 0x81, 0x80, 0x2c, 0x0e, 0x0c, 0x7d, 0x22, + 0xbd, 0x34, 0xd2, 0x6b, 0xd1, 0x2a, 0x4c, 0x4f, 0x1b, 0x70, 0x68, 0xe7, 0xe1, 0x83, + 0x82, 0x08, 0x48, 0xe9, + ], + Bitcoin::Modulo16 => [ + 0xb6, 0xb8, 0x7c, 0xfa, 0xb6, 0x7e, 0x55, 0x19, 0xf1, 0xc9, 0x98, 0xda, 0x47, 0x94, + 0x37, 0xbb, 0x79, 0xe6, 0x74, 0xf7, 0x15, 0xe9, 0xa2, 0xe5, 0x38, 0xee, 0xc5, 0xec, + 0x18, 0xe1, 0x8e, 0xa5, + ], + Bitcoin::Modulo32 => [ + 0x8d, 0x48, 0x6e, 0x83, 0x16, 0x54, 0xf3, 0x8a, 0x32, 0xda, 0x35, 0xeb, 0x7b, 0xb6, + 0x55, 0xa6, 0xed, 0x69, 0x4d, 0xbf, 0xa0, 0x58, 0x95, 0x7d, 0x9f, 0x5c, 0xbf, 0xcc, + 0x57, 0x92, 0xc6, 0x5b, + ], + Bitcoin::Modulo64 => [ + 0x14, 0xdf, 0x20, 0xd9, 0x3d, 0xfd, 0xef, 0xe2, 0x55, 0x9b, 0xac, 0x50, 0xed, 0x38, + 0x19, 0x3b, 0xd7, 0x8b, 0xd6, 0x3f, 0x92, 0x9d, 0x86, 0xfb, 0x4f, 0x29, 0xa7, 0xc5, + 0xaf, 0x32, 0x42, 0xad, + ], + Bitcoin::Modulo8 => [ + 0x2c, 0x75, 0x8a, 0x7c, 0x0f, 0x59, 0xe8, 0x00, 0xe9, 0x4f, 0x3d, 0xc5, 0xa0, 0x01, + 0xbf, 0x8e, 0xd9, 0x43, 0x5f, 0x75, 0xa2, 0xd9, 0x69, 0x30, 0xc5, 0x7e, 0xaa, 0xb0, + 0xcd, 0x80, 0xaf, 0x5c, + ], + Bitcoin::Multiply16 => [ + 0x75, 0xbd, 0x41, 0xf2, 0xd2, 0xb3, 0x39, 0xf0, 0x69, 0xbf, 0xdf, 0xd8, 0x02, 0xd6, + 0x1e, 0x6c, 0xa8, 0xe3, 0xba, 0xd6, 0xfb, 0x6d, 0x95, 0xb6, 0x72, 0x09, 0x5b, 0x93, + 0x34, 0x5f, 0x04, 0x7f, + ], + Bitcoin::Multiply32 => [ + 0x84, 0xcb, 0xe6, 0xce, 0x87, 0x03, 0x79, 0x92, 0x13, 0x87, 0x7c, 0x1b, 0xd5, 0x05, + 0xc7, 0x64, 0x34, 0x33, 0x69, 0x00, 0x2e, 0x50, 0x2c, 0x43, 0xd9, 0x7f, 0x3d, 0x57, + 0x77, 0x2d, 0x6c, 0x87, + ], + Bitcoin::Multiply64 => [ + 0x92, 0x98, 0x7b, 0x80, 0x1b, 0x92, 0xf6, 0x79, 0xeb, 0x96, 0x13, 0x68, 0x84, 0x44, + 0xa1, 0x78, 0x87, 0x50, 0xa8, 0x50, 0x6e, 0x03, 0xa9, 0x21, 0x8c, 0x21, 0xec, 0xc7, + 0x20, 0x82, 0xdc, 0x6a, + ], + Bitcoin::Multiply8 => [ + 0x76, 0x4c, 0xab, 0x71, 0xdb, 0x94, 0x59, 0xa7, 0x69, 0x6d, 0x94, 0x4a, 0x50, 0x09, + 0x5b, 0x1a, 0xeb, 0xdf, 0xd9, 0x28, 0x4b, 0xdb, 0x74, 0x96, 0xa7, 0xb3, 0x02, 0x41, + 0xcc, 0xba, 0x3e, 0xce, + ], + Bitcoin::Negate16 => [ + 0xe7, 0x60, 0xee, 0x40, 0x29, 0xc3, 0x4f, 0x89, 0x74, 0x06, 0xff, 0xde, 0xa5, 0x55, + 0x84, 0x86, 0x62, 0xe8, 0x9c, 0x98, 0x3e, 0x60, 0x70, 0xbd, 0x02, 0x72, 0xad, 0x0f, + 0xa3, 0x42, 0xef, 0xa3, + ], + Bitcoin::Negate32 => [ + 0x84, 0x95, 0xb7, 0x40, 0x09, 0xad, 0x07, 0xc9, 0x30, 0x2a, 0x25, 0xae, 0x56, 0xc3, + 0xe9, 0x73, 0x3f, 0x00, 0xc2, 0xba, 0xa4, 0x10, 0xea, 0xc4, 0xa5, 0x8e, 0x75, 0xdb, + 0x83, 0xaf, 0x1d, 0x22, + ], + Bitcoin::Negate64 => [ + 0x34, 0xe8, 0x9f, 0xaf, 0x34, 0x5a, 0xfd, 0x5e, 0x7b, 0x29, 0x00, 0x14, 0x52, 0xfc, + 0x5f, 0xc2, 0xe3, 0x78, 0x3a, 0xf7, 0xf2, 0x10, 0x16, 0x43, 0xbd, 0x76, 0x70, 0x6a, + 0x6f, 0xc3, 0xf3, 0x6a, + ], + Bitcoin::Negate8 => [ + 0xe8, 0x1b, 0xe0, 0xb1, 0x5c, 0x67, 0x1a, 0xb8, 0xdf, 0x1f, 0x48, 0x69, 0xc5, 0x7f, + 0x11, 0x11, 0x18, 0xcb, 0x66, 0x83, 0x54, 0x97, 0x5c, 0x63, 0x66, 0xec, 0xb2, 0xb8, + 0xbb, 0x7c, 0x15, 0xcf, + ], + Bitcoin::NumInputs => [ + 0x5c, 0x5a, 0xc4, 0xff, 0x6d, 0xa5, 0x6c, 0xb3, 0x72, 0xb2, 0x32, 0x66, 0x6e, 0x83, + 0x34, 0xb9, 0xe2, 0xcf, 0xb0, 0xdc, 0xb4, 0x18, 0xf1, 0x61, 0xbf, 0xf1, 0x49, 0xe8, + 0x4e, 0xc9, 0x2c, 0x3e, + ], + Bitcoin::NumOutputs => [ + 0x98, 0xa1, 0xcc, 0xa7, 0x05, 0xdf, 0xcf, 0xaf, 0xd3, 0xa6, 0x9e, 0x9a, 0xdc, 0x05, + 0xba, 0x47, 0xe1, 0xfe, 0xfa, 0x6a, 0x29, 0xf3, 0x42, 0x86, 0x20, 0x48, 0xe4, 0x96, + 0x86, 0x48, 0xc3, 0xd7, + ], + Bitcoin::One16 => [ + 0x2e, 0x5e, 0x3d, 0x95, 0xe4, 0x53, 0x16, 0x88, 0x8e, 0x4f, 0x37, 0x09, 0xef, 0x83, + 0x2b, 0x9f, 0xd9, 0xe1, 0x5f, 0x30, 0x71, 0x9b, 0xf5, 0x5f, 0xc2, 0xe0, 0xe0, 0x9a, + 0x36, 0x57, 0xd8, 0x82, + ], + Bitcoin::One32 => [ + 0x06, 0x42, 0x6b, 0x85, 0x3c, 0x1b, 0xcb, 0x33, 0x8a, 0xed, 0xbe, 0x1f, 0x89, 0xa6, + 0xd9, 0xb7, 0xa3, 0xda, 0x03, 0x8c, 0xd0, 0x0a, 0x44, 0x71, 0x18, 0x36, 0x93, 0x49, + 0x66, 0x9e, 0x29, 0x76, + ], + Bitcoin::One64 => [ + 0xab, 0x1d, 0x2c, 0xd9, 0x96, 0x78, 0xda, 0x3c, 0x12, 0x8d, 0x39, 0xad, 0x9f, 0xe6, + 0xff, 0xa9, 0x55, 0xc1, 0x6e, 0x5e, 0xf2, 0xc2, 0x5b, 0xb4, 0x31, 0x83, 0x15, 0x59, + 0x69, 0x51, 0xf4, 0x27, + ], + Bitcoin::One8 => [ + 0x3c, 0xc5, 0xf5, 0x23, 0xd6, 0xa6, 0x35, 0x5d, 0xc9, 0x24, 0xee, 0x0a, 0xc1, 0xf5, + 0xfe, 0x2c, 0x52, 0x12, 0x75, 0xe3, 0xaa, 0x9f, 0x21, 0xd3, 0x1b, 0x08, 0x2d, 0xb2, + 0xac, 0x23, 0x0d, 0x9d, + ], + Bitcoin::Or1 => [ + 0xc4, 0x65, 0x96, 0x43, 0x69, 0xfc, 0xa2, 0x09, 0x7f, 0x83, 0x53, 0x0c, 0x87, 0xbc, + 0xbc, 0x90, 0xc3, 0x06, 0x57, 0x9d, 0x9f, 0x3b, 0xfe, 0xdd, 0xf4, 0xa1, 0x72, 0xa4, + 0xea, 0x0b, 0x58, 0xec, + ], + Bitcoin::Or16 => [ + 0x5a, 0x98, 0x5e, 0x04, 0x3b, 0x85, 0x27, 0x3b, 0x90, 0xf9, 0x0e, 0x20, 0xf8, 0x2b, + 0x75, 0x32, 0x33, 0x51, 0xcf, 0x2a, 0x4e, 0x62, 0xa7, 0xf9, 0xcb, 0x2f, 0x05, 0x96, + 0x40, 0x2e, 0x9e, 0x28, + ], + Bitcoin::Or32 => [ + 0x35, 0x52, 0x38, 0x3a, 0x57, 0xff, 0xb4, 0x8d, 0x63, 0xa0, 0x33, 0x7a, 0xf0, 0xdd, + 0x6e, 0xfa, 0xb6, 0xb4, 0x6c, 0x5d, 0xe1, 0x72, 0x0e, 0x42, 0x0b, 0xdd, 0x1c, 0x82, + 0x27, 0x6b, 0xc9, 0xa9, + ], + Bitcoin::Or64 => [ + 0x51, 0xa1, 0x73, 0xda, 0xdc, 0xa0, 0x1a, 0xc6, 0xf6, 0x2e, 0x75, 0xd5, 0xcd, 0x35, + 0x22, 0xf0, 0x9f, 0xde, 0x62, 0xb1, 0x15, 0x13, 0xe0, 0x68, 0x42, 0x28, 0x52, 0xa4, + 0x91, 0x67, 0xb6, 0x06, + ], + Bitcoin::Or8 => [ + 0x79, 0xef, 0xbd, 0xcb, 0x53, 0x7b, 0xeb, 0xcb, 0x18, 0x8d, 0x11, 0x16, 0xb7, 0x8a, + 0x10, 0x9b, 0xff, 0xbc, 0x2a, 0x6c, 0xe3, 0xd1, 0xf8, 0x70, 0x15, 0x4a, 0x79, 0x56, + 0x09, 0x1b, 0x34, 0x2f, + ], + Bitcoin::OutpointHash => [ + 0x3a, 0x1a, 0xe9, 0x0e, 0x16, 0x7f, 0xb4, 0x0d, 0x6e, 0x13, 0xb4, 0x51, 0xad, 0x67, + 0x41, 0x0d, 0x8d, 0xd9, 0x91, 0xc8, 0x7d, 0x6a, 0x4a, 0x59, 0xcc, 0x76, 0xc6, 0x3f, + 0x3b, 0x9e, 0x5e, 0x56, + ], + Bitcoin::OutputHash => [ + 0x91, 0x21, 0x1f, 0xc6, 0x01, 0x1a, 0x64, 0x93, 0x00, 0xc6, 0xbe, 0xe9, 0x4f, 0xdd, + 0x48, 0xa9, 0x7f, 0xa2, 0xa9, 0xb6, 0xf2, 0x84, 0xbe, 0x01, 0x5d, 0x46, 0x2d, 0x17, + 0xde, 0x66, 0x4a, 0xc3, + ], + Bitcoin::OutputScriptHash => [ + 0xbd, 0xfd, 0xb2, 0x31, 0xf4, 0xf1, 0xa6, 0x2c, 0x9d, 0x7b, 0x03, 0x93, 0x1e, 0x7f, + 0x19, 0xa4, 0x54, 0x6a, 0xf2, 0x34, 0x75, 0x4c, 0xbf, 0x70, 0x05, 0x9f, 0xdd, 0x42, + 0xbb, 0xbc, 0x41, 0x26, + ], + Bitcoin::OutputScriptsHash => [ + 0xff, 0x20, 0xbc, 0x43, 0x65, 0xe7, 0x17, 0x07, 0x57, 0x1c, 0x6e, 0x17, 0x38, 0xe1, + 0xed, 0x32, 0x6f, 0x7c, 0x35, 0x1d, 0xe1, 0x30, 0x22, 0xae, 0xa3, 0xd6, 0x40, 0x6b, + 0x8a, 0xee, 0x8e, 0x3b, + ], + Bitcoin::OutputValue => [ + 0x93, 0x36, 0x43, 0xb6, 0xc5, 0xa6, 0x22, 0x0a, 0xbb, 0xca, 0x6f, 0x35, 0x09, 0xfe, + 0xff, 0x6d, 0x13, 0xef, 0xa6, 0xc9, 0xfa, 0xe9, 0x59, 0x24, 0x57, 0x53, 0x64, 0xf2, + 0xb1, 0x64, 0xd2, 0xbc, + ], + Bitcoin::OutputValuesHash => [ + 0x22, 0x89, 0x93, 0x79, 0x00, 0x57, 0x06, 0x6f, 0x20, 0x16, 0x97, 0x1d, 0xf5, 0x5e, + 0x6f, 0x67, 0xd2, 0x52, 0xef, 0xb6, 0xda, 0xab, 0xd0, 0xfc, 0x56, 0x6a, 0x8d, 0x21, + 0x56, 0xef, 0xbb, 0xfc, + ], + Bitcoin::OutputsHash => [ + 0xf2, 0xeb, 0x6d, 0x0f, 0x01, 0x8e, 0x6f, 0x15, 0xe3, 0x5b, 0xaa, 0x82, 0xe5, 0x7e, + 0x14, 0xfe, 0x34, 0x37, 0x96, 0xf2, 0x19, 0x68, 0x26, 0xbe, 0xd7, 0xc7, 0x87, 0x55, + 0x98, 0xd6, 0x64, 0x1d, + ], + Bitcoin::ParseLock => [ + 0x3d, 0xb8, 0x45, 0x35, 0xfa, 0x3d, 0x90, 0xef, 0x0b, 0x58, 0x1e, 0x22, 0xb6, 0x1d, + 0x21, 0x27, 0x84, 0x4b, 0x21, 0x16, 0xe8, 0x4f, 0x81, 0x4a, 0x5c, 0xba, 0xc5, 0x2d, + 0xf5, 0x15, 0xf2, 0xd2, + ], + Bitcoin::ParseSequence => [ + 0x38, 0xb2, 0x53, 0x3f, 0x5f, 0xed, 0xe8, 0x69, 0xba, 0xa1, 0x70, 0x69, 0x83, 0xdf, + 0x4c, 0x89, 0xd6, 0x2d, 0x5f, 0x90, 0x80, 0x0b, 0x47, 0xea, 0xb2, 0x11, 0x13, 0x31, + 0x1a, 0x5a, 0xae, 0xc9, + ], + Bitcoin::PointVerify1 => [ + 0xbe, 0x2a, 0x98, 0x90, 0xf1, 0xd5, 0xb6, 0x15, 0x14, 0x7f, 0x82, 0x41, 0xe0, 0x60, + 0x9b, 0x5c, 0xac, 0x01, 0xec, 0xe0, 0xa3, 0xf9, 0x23, 0x68, 0x67, 0xb2, 0xbf, 0xde, + 0xa1, 0xb8, 0x04, 0x4e, + ], + Bitcoin::RightExtend16_32 => [ + 0xdb, 0xf1, 0x8d, 0x87, 0xa7, 0x89, 0x21, 0x39, 0xa3, 0x88, 0xe9, 0xa9, 0x83, 0xc4, + 0x89, 0x92, 0xac, 0x35, 0xa8, 0x45, 0x56, 0xee, 0x0d, 0xef, 0xc1, 0xda, 0xdf, 0x0c, + 0x5f, 0x47, 0x1a, 0x26, + ], + Bitcoin::RightExtend16_64 => [ + 0xd0, 0x11, 0xac, 0xc7, 0x94, 0xe3, 0xc4, 0x78, 0x9a, 0xcc, 0xd0, 0xd5, 0xfe, 0x49, + 0x97, 0xd3, 0x34, 0xd9, 0x1f, 0x08, 0x31, 0xa1, 0xeb, 0x35, 0x04, 0xb4, 0xcb, 0x2d, + 0xdf, 0x47, 0x97, 0xaf, + ], + Bitcoin::RightExtend32_64 => [ + 0xa5, 0xaa, 0x5d, 0xb1, 0xe5, 0x35, 0xe7, 0x23, 0x2a, 0xd3, 0x6d, 0xaf, 0xba, 0x6d, + 0x5a, 0x20, 0x0d, 0x54, 0xeb, 0x85, 0x3b, 0x75, 0xdc, 0x70, 0xa5, 0x94, 0xed, 0x64, + 0xaa, 0x6b, 0xd9, 0xab, + ], + Bitcoin::RightExtend8_16 => [ + 0x81, 0x06, 0xd5, 0x8a, 0x80, 0x66, 0xee, 0x6e, 0x15, 0xe5, 0x5c, 0xa5, 0x2c, 0xb7, + 0xaf, 0xd8, 0xe3, 0x27, 0x75, 0x87, 0xbf, 0xd7, 0xde, 0xc0, 0xbe, 0x37, 0xd4, 0x06, + 0x74, 0x2a, 0x39, 0x31, + ], + Bitcoin::RightExtend8_32 => [ + 0xdf, 0xa4, 0xba, 0xfa, 0x43, 0x2a, 0x53, 0x38, 0xd3, 0x74, 0xde, 0xb6, 0xb7, 0x24, + 0xb7, 0xf6, 0xea, 0xe5, 0x58, 0x61, 0xfe, 0x73, 0x1d, 0x43, 0x04, 0x8a, 0xa3, 0x04, + 0xd1, 0xf7, 0xf9, 0xa2, + ], + Bitcoin::RightExtend8_64 => [ + 0x62, 0x0a, 0x37, 0x03, 0x8b, 0x6f, 0xa1, 0x27, 0x49, 0x5f, 0x0b, 0x46, 0x49, 0x6f, + 0x64, 0x35, 0xdd, 0x2d, 0xad, 0x7e, 0xf0, 0xc0, 0xfd, 0x2c, 0xd6, 0x5f, 0x54, 0xdc, + 0x18, 0x5e, 0x99, 0x7b, + ], + Bitcoin::RightPadHigh16_32 => [ + 0x2b, 0x6a, 0xbc, 0x38, 0x32, 0x1a, 0x7c, 0x54, 0x2f, 0xb1, 0x69, 0x74, 0x62, 0x1c, + 0xed, 0x80, 0x88, 0x0d, 0xb5, 0x19, 0xbb, 0x48, 0x60, 0x93, 0x42, 0x6e, 0x8c, 0xe1, + 0x8e, 0x01, 0x69, 0xb1, + ], + Bitcoin::RightPadHigh16_64 => [ + 0xad, 0x90, 0xd8, 0xff, 0xa5, 0x74, 0x50, 0xb3, 0xb5, 0xe9, 0x09, 0x62, 0x25, 0x34, + 0x9e, 0xd8, 0xf0, 0x72, 0xe1, 0x01, 0x72, 0x93, 0xf3, 0x92, 0xef, 0x85, 0x4e, 0x03, + 0x19, 0xab, 0xc9, 0x34, + ], + Bitcoin::RightPadHigh1_16 => [ + 0x28, 0x81, 0x58, 0xb1, 0xc9, 0x10, 0x87, 0x7b, 0x7e, 0xea, 0x3d, 0xfc, 0xf2, 0xb2, + 0xb7, 0x88, 0x92, 0x28, 0x08, 0xb6, 0xd6, 0xfa, 0x75, 0xf8, 0x96, 0x77, 0x19, 0x04, + 0x8b, 0x14, 0x12, 0x49, + ], + Bitcoin::RightPadHigh1_32 => [ + 0xee, 0x2a, 0xd7, 0x7f, 0x66, 0x8d, 0x3d, 0x6a, 0x2e, 0x68, 0x50, 0x6e, 0x49, 0x04, + 0xcf, 0x50, 0xa0, 0x84, 0x60, 0xe1, 0xd2, 0xb8, 0x6a, 0x81, 0xe1, 0x4e, 0x41, 0xf8, + 0xda, 0x4c, 0xdd, 0xf2, + ], + Bitcoin::RightPadHigh1_64 => [ + 0x3d, 0x6a, 0x7f, 0xe6, 0x9a, 0x11, 0x64, 0x2a, 0xce, 0xd6, 0x84, 0x2b, 0x89, 0xaa, + 0x1b, 0xb8, 0x41, 0x3e, 0x39, 0x90, 0x63, 0xcc, 0x16, 0x78, 0x6a, 0xf7, 0xc0, 0x33, + 0xda, 0xd5, 0x8b, 0x95, + ], + Bitcoin::RightPadHigh1_8 => [ + 0x28, 0x44, 0xbd, 0xfd, 0x6a, 0xba, 0x29, 0xdf, 0x03, 0xf9, 0x3a, 0xa6, 0xae, 0xb2, + 0x1c, 0x06, 0x40, 0x28, 0xdb, 0x05, 0xff, 0x77, 0xd8, 0xd9, 0x1c, 0xfd, 0xcd, 0xef, + 0xb1, 0x90, 0xc5, 0xbd, + ], + Bitcoin::RightPadHigh32_64 => [ + 0xb4, 0x32, 0xe5, 0x32, 0x1a, 0xe1, 0x71, 0x4c, 0xe1, 0x95, 0x29, 0xd8, 0x5f, 0x24, + 0xff, 0x89, 0x87, 0x91, 0x0e, 0xbc, 0xf0, 0x15, 0xf8, 0x7f, 0x15, 0xbb, 0xed, 0x55, + 0xf0, 0xa0, 0xe8, 0x92, + ], + Bitcoin::RightPadHigh8_16 => [ + 0x6f, 0x2d, 0x96, 0xc9, 0x54, 0x13, 0xca, 0x9a, 0xa8, 0xcc, 0x55, 0x0f, 0x25, 0x73, + 0xe1, 0x66, 0x99, 0x56, 0xd6, 0x07, 0x69, 0x2c, 0xf1, 0xca, 0x6d, 0xc7, 0x6d, 0x2f, + 0x2b, 0x4a, 0x3a, 0xc8, + ], + Bitcoin::RightPadHigh8_32 => [ + 0xdf, 0x2c, 0x7f, 0x92, 0x99, 0x00, 0xa4, 0x49, 0x01, 0xe6, 0xff, 0x65, 0x27, 0x6a, + 0x95, 0x1a, 0xeb, 0x95, 0xdf, 0x25, 0x0b, 0x13, 0x97, 0x14, 0xd4, 0x19, 0x54, 0x04, + 0xd7, 0x78, 0x98, 0xed, + ], + Bitcoin::RightPadHigh8_64 => [ + 0x79, 0xc0, 0x1d, 0xa3, 0xe6, 0x0b, 0x9c, 0x69, 0x35, 0xce, 0x3e, 0x15, 0x98, 0xb1, + 0x78, 0x40, 0xaf, 0x82, 0xdc, 0xb0, 0xdd, 0xc6, 0x3a, 0xef, 0x4a, 0x06, 0xe7, 0xf9, + 0xca, 0x5d, 0x27, 0x41, + ], + Bitcoin::RightPadLow16_32 => [ + 0x6f, 0x20, 0x10, 0x27, 0xcc, 0x75, 0x98, 0x02, 0x30, 0xa0, 0x70, 0x85, 0x9c, 0x3e, + 0x38, 0x02, 0x36, 0xa1, 0xcb, 0x10, 0xe6, 0x1a, 0x01, 0xaa, 0x1f, 0x6d, 0x23, 0x1d, + 0x15, 0x14, 0x2f, 0x25, + ], + Bitcoin::RightPadLow16_64 => [ + 0xb8, 0x6e, 0x1f, 0x0b, 0xfe, 0xc6, 0x55, 0x98, 0xd0, 0xa3, 0xd1, 0xec, 0x96, 0x03, + 0x05, 0xb9, 0x67, 0x45, 0x67, 0x3e, 0x1b, 0x16, 0xbf, 0x32, 0x7a, 0x71, 0x68, 0x05, + 0x83, 0xd7, 0x1d, 0x90, + ], + Bitcoin::RightPadLow1_16 => [ + 0x05, 0x2a, 0x64, 0x99, 0xc9, 0x3e, 0xe6, 0xbc, 0x1a, 0xe6, 0x57, 0xf8, 0x5f, 0xd4, + 0xd4, 0xfe, 0x67, 0x7a, 0xbc, 0xee, 0x54, 0x0d, 0x13, 0x40, 0x33, 0x54, 0x2e, 0x9a, + 0xb6, 0x0a, 0x63, 0xdd, + ], + Bitcoin::RightPadLow1_32 => [ + 0x5b, 0x70, 0xd4, 0x28, 0x96, 0x0e, 0x95, 0xcc, 0x40, 0xd5, 0x18, 0x46, 0xf5, 0x3a, + 0x4d, 0x0a, 0x35, 0xc9, 0x01, 0x5d, 0x15, 0x00, 0xb6, 0xbc, 0x84, 0x9b, 0x72, 0x83, + 0x5e, 0x2b, 0xd4, 0x40, + ], + Bitcoin::RightPadLow1_64 => [ + 0x44, 0xef, 0xeb, 0x87, 0xca, 0x2a, 0xd7, 0xfd, 0x4b, 0x73, 0xf1, 0x63, 0x07, 0xc7, + 0xf0, 0x59, 0x02, 0x65, 0x6f, 0x35, 0x09, 0x0f, 0xb0, 0xa4, 0x32, 0x6c, 0x64, 0x89, + 0x88, 0xae, 0x1d, 0x39, + ], + Bitcoin::RightPadLow1_8 => [ + 0x93, 0x40, 0x39, 0x8b, 0xcc, 0x8e, 0xa8, 0x3e, 0xc8, 0x40, 0xbe, 0x72, 0x9d, 0xbb, + 0x8b, 0x81, 0x20, 0x78, 0x24, 0xee, 0x87, 0x5d, 0x15, 0x82, 0x59, 0xd6, 0xda, 0xd2, + 0x0a, 0x83, 0x93, 0x0c, + ], + Bitcoin::RightPadLow32_64 => [ + 0x69, 0x3e, 0x28, 0x10, 0x1e, 0x04, 0xfd, 0xa4, 0x3b, 0x97, 0xe6, 0x11, 0xf0, 0xfe, + 0x98, 0x00, 0x0e, 0x14, 0x30, 0x2e, 0x5d, 0xcd, 0x6e, 0xd6, 0x5e, 0xee, 0x42, 0xe3, + 0x40, 0x14, 0x24, 0x2f, + ], + Bitcoin::RightPadLow8_16 => [ + 0x09, 0x6b, 0x25, 0xc3, 0xc8, 0x41, 0x5f, 0x04, 0xd8, 0x83, 0x27, 0x43, 0xeb, 0x2f, + 0x84, 0x56, 0xd5, 0xf0, 0xa6, 0x44, 0x91, 0x3d, 0x3e, 0xc5, 0x9d, 0x34, 0xf4, 0x55, + 0x25, 0x01, 0xfa, 0x20, + ], + Bitcoin::RightPadLow8_32 => [ + 0xfc, 0x7f, 0x57, 0x22, 0xa6, 0x2a, 0xa2, 0x20, 0x18, 0xcc, 0x81, 0xcd, 0x00, 0xa9, + 0x32, 0x6c, 0x7f, 0xe9, 0xc6, 0x3a, 0xbc, 0xe2, 0xbd, 0xa4, 0xc0, 0xe6, 0x6a, 0x3f, + 0x47, 0xc6, 0x7c, 0x53, + ], + Bitcoin::RightPadLow8_64 => [ + 0xa5, 0xbb, 0x7d, 0x5e, 0xfc, 0xa0, 0xe4, 0x8d, 0x9d, 0x80, 0xc5, 0x02, 0x71, 0x15, + 0xb4, 0x85, 0x78, 0x10, 0x51, 0xe0, 0xef, 0x46, 0xe4, 0xd6, 0x08, 0x31, 0x7a, 0x1c, + 0x42, 0x61, 0xbc, 0x46, + ], + Bitcoin::RightRotate16 => [ + 0x48, 0x2e, 0xa7, 0xe1, 0x21, 0x45, 0x01, 0xd9, 0x3c, 0x9a, 0xd1, 0x6f, 0xa8, 0xb9, + 0x7b, 0xf5, 0xb3, 0x84, 0xfc, 0x2b, 0x54, 0x78, 0x9b, 0x8c, 0xd9, 0xe7, 0x84, 0xcc, + 0xd0, 0xeb, 0x9d, 0x57, + ], + Bitcoin::RightRotate32 => [ + 0x09, 0x41, 0xb6, 0xee, 0xea, 0x9a, 0xf8, 0x19, 0x5b, 0x02, 0x8a, 0xfc, 0x0b, 0xd2, + 0xa5, 0x34, 0x21, 0x8b, 0xf9, 0x0d, 0x1a, 0x0e, 0x37, 0x3d, 0x74, 0x74, 0x18, 0x54, + 0x0b, 0x72, 0x6d, 0x73, + ], + Bitcoin::RightRotate64 => [ + 0x44, 0x4d, 0xbb, 0xc3, 0xdd, 0x2a, 0x11, 0xa5, 0xc7, 0xb0, 0x43, 0x9f, 0xdb, 0xa9, + 0x9a, 0xc7, 0x4a, 0x11, 0xb8, 0xee, 0xb2, 0xdb, 0x30, 0x1e, 0x24, 0x3e, 0xa8, 0x91, + 0x22, 0x90, 0x71, 0x52, + ], + Bitcoin::RightRotate8 => [ + 0x72, 0x65, 0xa3, 0x0c, 0x2e, 0x83, 0x6e, 0x65, 0x54, 0x4a, 0xba, 0x91, 0x1b, 0x64, + 0xd1, 0x8f, 0xa6, 0x9b, 0x17, 0x65, 0x45, 0x85, 0x6c, 0x77, 0xc4, 0xf0, 0xd7, 0x6f, + 0xc3, 0xf5, 0x83, 0x51, + ], + Bitcoin::RightShift16 => [ + 0xcd, 0x57, 0xa3, 0xd3, 0xab, 0x2d, 0x92, 0xd4, 0xf0, 0x86, 0x55, 0x04, 0x3a, 0x8b, + 0x8b, 0xb6, 0x73, 0x89, 0x81, 0xfa, 0xe6, 0xda, 0x01, 0x34, 0xb4, 0xde, 0xda, 0xce, + 0x5f, 0x00, 0x88, 0x60, + ], + Bitcoin::RightShift32 => [ + 0xd6, 0xb3, 0x26, 0xb1, 0xa3, 0x23, 0x57, 0xa3, 0x32, 0x80, 0x7d, 0x3f, 0xa1, 0xb1, + 0x56, 0xc2, 0x8b, 0x16, 0x22, 0xf7, 0x38, 0xde, 0xf1, 0x26, 0x81, 0x46, 0x7f, 0x34, + 0x9b, 0xd3, 0x49, 0x4b, + ], + Bitcoin::RightShift64 => [ + 0xb2, 0x09, 0x5f, 0x2d, 0x47, 0x33, 0x5d, 0x5f, 0x98, 0xc8, 0x54, 0x34, 0xa2, 0xfa, + 0xf5, 0xb0, 0xf7, 0x5c, 0xf8, 0x99, 0x01, 0x2a, 0x34, 0xbb, 0xcd, 0x0a, 0x14, 0xcb, + 0xed, 0xb6, 0x11, 0x07, + ], + Bitcoin::RightShift8 => [ + 0x4b, 0x2b, 0x1a, 0xa2, 0xef, 0x73, 0x21, 0x73, 0x17, 0x0d, 0x62, 0x1a, 0x38, 0xde, + 0xb2, 0x61, 0xe4, 0x73, 0xc0, 0x7c, 0x55, 0x8b, 0x05, 0x5a, 0x25, 0xa8, 0x6e, 0x4e, + 0x32, 0x1a, 0xfc, 0x04, + ], + Bitcoin::RightShiftWith16 => [ + 0x14, 0xb7, 0x76, 0x85, 0x47, 0xb3, 0xd3, 0xf4, 0x7e, 0xe5, 0xc2, 0xb8, 0x0d, 0x9b, + 0xda, 0xe2, 0xae, 0xc1, 0xf9, 0xc6, 0x59, 0x4e, 0xd3, 0x12, 0x7b, 0x12, 0x64, 0x5a, + 0xdc, 0xf5, 0x97, 0x54, + ], + Bitcoin::RightShiftWith32 => [ + 0x32, 0x7b, 0x6e, 0x98, 0xa6, 0xfd, 0x34, 0x0c, 0x60, 0xcf, 0x83, 0xaa, 0x64, 0x99, + 0x33, 0x11, 0x4c, 0xb8, 0xd8, 0x4f, 0x59, 0x0e, 0x01, 0x21, 0x3a, 0x26, 0x10, 0x01, + 0x2b, 0x46, 0x07, 0xea, + ], + Bitcoin::RightShiftWith64 => [ + 0x06, 0x2f, 0xa7, 0x4a, 0xf3, 0x47, 0x6e, 0x59, 0x38, 0x7b, 0xe0, 0x8e, 0x69, 0x49, + 0xa0, 0x05, 0x43, 0xbc, 0x84, 0xa2, 0xb6, 0x89, 0xea, 0x39, 0xad, 0x6e, 0xed, 0x7f, + 0x75, 0x67, 0x85, 0xd4, + ], + Bitcoin::RightShiftWith8 => [ + 0x14, 0x1b, 0xe4, 0x7e, 0x96, 0x7b, 0x2f, 0xd7, 0xc7, 0x12, 0x6c, 0x5a, 0xdf, 0x2d, + 0xfe, 0x47, 0x31, 0x5b, 0xbc, 0x10, 0x53, 0xbb, 0xe6, 0x05, 0xb3, 0x88, 0x98, 0xdb, + 0xed, 0x49, 0xf2, 0x27, + ], + Bitcoin::Rightmost16_1 => [ + 0x3f, 0x3c, 0x43, 0x46, 0x87, 0x17, 0x42, 0x26, 0x5e, 0x87, 0xf0, 0x01, 0xb4, 0x6d, + 0xe7, 0xd1, 0x98, 0x75, 0x1b, 0x34, 0xfa, 0xa1, 0x80, 0x18, 0xde, 0x60, 0xc8, 0x46, + 0x8d, 0x9b, 0x98, 0xa4, + ], + Bitcoin::Rightmost16_2 => [ + 0xc1, 0x8b, 0x9f, 0xdd, 0x34, 0x0a, 0x26, 0x7a, 0xc1, 0x6d, 0x4f, 0x39, 0xee, 0x75, + 0x43, 0x56, 0x52, 0xaa, 0xca, 0x52, 0x56, 0x50, 0xb5, 0x1a, 0x45, 0x87, 0x98, 0x04, + 0x8e, 0x62, 0x7d, 0x51, + ], + Bitcoin::Rightmost16_4 => [ + 0xc6, 0xc5, 0x3f, 0xa7, 0x1e, 0x23, 0x0c, 0xf0, 0x58, 0x51, 0x58, 0xf4, 0x70, 0x58, + 0x8b, 0xac, 0x5c, 0x51, 0x8f, 0x84, 0xf9, 0xfc, 0x23, 0x86, 0x52, 0xf1, 0x75, 0xfb, + 0x6e, 0xa1, 0x8c, 0x11, + ], + Bitcoin::Rightmost16_8 => [ + 0xee, 0x76, 0x9c, 0x1c, 0xc8, 0xa3, 0xfd, 0xd1, 0x83, 0x8f, 0xc9, 0xf0, 0x49, 0x0c, + 0xe7, 0x03, 0x93, 0xfd, 0x91, 0xba, 0x3c, 0xbd, 0x4a, 0xbd, 0x08, 0x64, 0x9f, 0xb9, + 0xc4, 0x43, 0x11, 0xbd, + ], + Bitcoin::Rightmost32_1 => [ + 0x1c, 0x44, 0x23, 0x69, 0xfb, 0x81, 0xf6, 0x11, 0xd3, 0x28, 0x01, 0x0b, 0x86, 0x4b, + 0xcc, 0xb7, 0xf3, 0x5e, 0xd4, 0x77, 0xdf, 0xa3, 0x85, 0x55, 0x74, 0xc1, 0x35, 0x64, + 0xcd, 0xbd, 0xb8, 0x60, + ], + Bitcoin::Rightmost32_16 => [ + 0xad, 0xd2, 0xc3, 0x39, 0x0d, 0x9a, 0xf7, 0xc2, 0x4a, 0x15, 0x9a, 0x37, 0xd6, 0x9d, + 0x44, 0x84, 0xd2, 0xc2, 0x4a, 0x2c, 0xb5, 0xb0, 0xeb, 0x2d, 0x3c, 0x49, 0x3d, 0x98, + 0x12, 0xac, 0xfd, 0x74, + ], + Bitcoin::Rightmost32_2 => [ + 0x00, 0xb8, 0x81, 0x5a, 0xd7, 0x42, 0x3d, 0xd5, 0x8c, 0xb9, 0x8b, 0xe8, 0x2c, 0xad, + 0x26, 0x67, 0x5c, 0x3b, 0xf5, 0x4a, 0x0b, 0xed, 0xba, 0xde, 0x34, 0x64, 0xb4, 0xfe, + 0x5a, 0x4e, 0x8c, 0xe6, + ], + Bitcoin::Rightmost32_4 => [ + 0x84, 0xfa, 0x5a, 0x54, 0xf7, 0x72, 0x9f, 0x9d, 0x68, 0x99, 0x4b, 0xea, 0xb9, 0x3a, + 0xe7, 0x9b, 0x8c, 0x4a, 0x10, 0xd5, 0xb7, 0xae, 0x97, 0x27, 0xaa, 0x17, 0x16, 0xe5, + 0x7d, 0x03, 0x3b, 0x74, + ], + Bitcoin::Rightmost32_8 => [ + 0x7d, 0x38, 0x05, 0xd3, 0xc7, 0x8c, 0x4e, 0xea, 0x91, 0xe3, 0xd3, 0x5e, 0xfd, 0xd4, + 0x7e, 0xed, 0xd4, 0x21, 0xaf, 0x84, 0xd2, 0x19, 0x10, 0x32, 0x93, 0x32, 0xa0, 0xb5, + 0x48, 0x7f, 0xab, 0x63, + ], + Bitcoin::Rightmost64_1 => [ + 0xd3, 0xb1, 0x64, 0xc5, 0xdc, 0x66, 0xcc, 0x7e, 0xf9, 0x23, 0x4f, 0xed, 0xe4, 0xdc, + 0x7f, 0x0d, 0xa5, 0xcd, 0x71, 0xc1, 0xc1, 0xd4, 0xca, 0xd6, 0x0f, 0xb4, 0xec, 0x57, + 0x3e, 0x2b, 0x8a, 0x75, + ], + Bitcoin::Rightmost64_16 => [ + 0xea, 0xe4, 0x34, 0x78, 0xf9, 0xf2, 0xf4, 0x52, 0xef, 0xac, 0x15, 0xee, 0xe6, 0x0f, + 0x8b, 0x52, 0x53, 0xd8, 0x0a, 0x2d, 0x32, 0x12, 0x9b, 0x4e, 0x5b, 0xa3, 0x83, 0x00, + 0xad, 0x98, 0x52, 0xfd, + ], + Bitcoin::Rightmost64_2 => [ + 0x9c, 0xd4, 0xa9, 0x8b, 0xbd, 0xb8, 0xa3, 0x35, 0x85, 0xc0, 0x0f, 0x47, 0xd6, 0xad, + 0xab, 0x7a, 0xf5, 0x42, 0x86, 0xfb, 0x8a, 0xe6, 0x0f, 0x72, 0x30, 0x11, 0xfb, 0x84, + 0xc0, 0xee, 0x78, 0xf9, + ], + Bitcoin::Rightmost64_32 => [ + 0x7f, 0x24, 0x20, 0xae, 0x5b, 0x0f, 0x5a, 0x3f, 0x6f, 0x2e, 0x60, 0xb6, 0x1f, 0x8a, + 0x41, 0x5c, 0x08, 0x8b, 0x94, 0xb2, 0x1c, 0x1a, 0x62, 0xa3, 0xfd, 0xaa, 0xc7, 0x49, + 0xdb, 0xdf, 0x4c, 0x71, + ], + Bitcoin::Rightmost64_4 => [ + 0xe2, 0x65, 0x55, 0x2a, 0x24, 0xfb, 0xcd, 0xec, 0x05, 0x83, 0xd7, 0x18, 0x3e, 0x48, + 0xeb, 0xc2, 0xff, 0x6d, 0x31, 0x65, 0x57, 0xba, 0xc5, 0x91, 0x5c, 0x03, 0xcb, 0x23, + 0x35, 0xd2, 0x32, 0x95, + ], + Bitcoin::Rightmost64_8 => [ + 0x98, 0xcd, 0x95, 0xf9, 0x5d, 0x46, 0x64, 0x1b, 0x04, 0x9e, 0x77, 0xbf, 0x90, 0xee, + 0xa5, 0x98, 0xad, 0xf2, 0x9e, 0xe5, 0x00, 0xe6, 0x50, 0x72, 0x87, 0x54, 0x8b, 0xb1, + 0xcd, 0xaf, 0x78, 0x4d, + ], + Bitcoin::Rightmost8_1 => [ + 0x08, 0x76, 0xfc, 0xd4, 0x69, 0x85, 0x91, 0xf3, 0x31, 0x91, 0x01, 0x57, 0x4c, 0xe1, + 0x53, 0xfc, 0xdf, 0xe9, 0x4f, 0x58, 0x1a, 0xac, 0x5e, 0x75, 0xf3, 0xcd, 0x74, 0x46, + 0xdf, 0x56, 0xf3, 0xc7, + ], + Bitcoin::Rightmost8_2 => [ + 0xb9, 0xf7, 0xb2, 0x90, 0xaf, 0xe7, 0xf1, 0x89, 0xe3, 0x2a, 0xeb, 0xf2, 0xcc, 0x4d, + 0xdc, 0xa9, 0x6b, 0xb0, 0x07, 0x64, 0xc7, 0xbe, 0x28, 0x87, 0xdc, 0xe0, 0x54, 0xd0, + 0x9e, 0x38, 0xc3, 0x53, + ], + Bitcoin::Rightmost8_4 => [ + 0xf2, 0x8e, 0x9a, 0xf5, 0xaf, 0x4c, 0x9c, 0xca, 0x4b, 0x43, 0xcc, 0x6a, 0xdf, 0x9d, + 0x9d, 0x8d, 0x16, 0x9c, 0x87, 0xc5, 0x55, 0x9f, 0x9f, 0x3c, 0xca, 0xc8, 0xf2, 0x35, + 0x2b, 0x62, 0x9f, 0x18, + ], + Bitcoin::ScalarAdd => [ + 0x11, 0xdd, 0xbe, 0xba, 0xeb, 0xf4, 0x21, 0x80, 0xa0, 0xb7, 0xed, 0xdf, 0xfd, 0xc4, + 0x8e, 0xc7, 0x51, 0x13, 0x30, 0xfb, 0x33, 0x15, 0xfa, 0x65, 0xd5, 0x8a, 0xff, 0x66, + 0xb9, 0xca, 0xf2, 0xd4, + ], + Bitcoin::ScalarInvert => [ + 0xa6, 0x39, 0x27, 0x25, 0xbb, 0x2d, 0xad, 0xbb, 0x1e, 0x76, 0xdf, 0x2d, 0xec, 0x57, + 0xdf, 0x55, 0xc3, 0xfc, 0xc5, 0x77, 0x3b, 0x62, 0x21, 0x8a, 0xec, 0x55, 0xa7, 0x5e, + 0x14, 0xf3, 0xd6, 0x0d, + ], + Bitcoin::ScalarIsZero => [ + 0xf7, 0x5e, 0xda, 0x06, 0xce, 0x6a, 0xf0, 0x9f, 0xae, 0x37, 0xdb, 0x4e, 0x62, 0x25, + 0xe6, 0xa8, 0xac, 0x86, 0xa2, 0x36, 0x37, 0x62, 0x7d, 0x62, 0x64, 0x09, 0x19, 0x0f, + 0xf3, 0xb3, 0x9d, 0x90, + ], + Bitcoin::ScalarMultiply => [ + 0x4a, 0x61, 0x67, 0x2a, 0xce, 0xc4, 0x88, 0x77, 0x56, 0xde, 0x1d, 0xb6, 0x04, 0x21, + 0xa1, 0x2b, 0x90, 0x1a, 0x85, 0x8a, 0x6e, 0xe6, 0x35, 0x2e, 0x55, 0x9d, 0x4c, 0xe5, + 0x97, 0x33, 0x52, 0xbe, + ], + Bitcoin::ScalarMultiplyLambda => [ + 0x49, 0xea, 0x9c, 0x3f, 0xb1, 0xd8, 0xff, 0x52, 0xd2, 0xdb, 0x03, 0x46, 0x9f, 0xdf, + 0xe8, 0x50, 0x50, 0x3f, 0xdd, 0xeb, 0x45, 0xe1, 0x6d, 0x26, 0xe8, 0x92, 0x8a, 0xdd, + 0x25, 0x87, 0x0e, 0x91, + ], + Bitcoin::ScalarNegate => [ + 0x1d, 0xbf, 0x8b, 0x49, 0x1e, 0xc6, 0x65, 0x80, 0x3f, 0x63, 0x33, 0x30, 0xd3, 0xff, + 0xb0, 0xe7, 0x81, 0xe6, 0x7c, 0x18, 0x01, 0xac, 0x9d, 0x49, 0xbb, 0xf4, 0x35, 0x89, + 0xab, 0xf7, 0x82, 0xbf, + ], + Bitcoin::ScalarNormalize => [ + 0x46, 0x33, 0x18, 0x0e, 0xa0, 0x2c, 0x4d, 0xf7, 0x81, 0x9d, 0x3d, 0x54, 0xa4, 0x01, + 0x73, 0x4f, 0x96, 0x5b, 0x31, 0xac, 0xc7, 0x84, 0x05, 0x4e, 0xbf, 0xb7, 0x31, 0x68, + 0x16, 0xb0, 0x29, 0xec, + ], + Bitcoin::ScalarSquare => [ + 0x8a, 0x27, 0x9e, 0x6f, 0x61, 0x3a, 0xa9, 0xe9, 0x34, 0xf2, 0xf2, 0xa3, 0x43, 0xc0, + 0xd3, 0x29, 0x1c, 0x36, 0x70, 0xe2, 0x97, 0xdd, 0xae, 0x20, 0x52, 0x9e, 0x82, 0x50, + 0x69, 0xef, 0xea, 0x0e, + ], + Bitcoin::Scale => [ + 0x12, 0x6e, 0x22, 0x12, 0x5b, 0xac, 0x80, 0xb9, 0x9b, 0x7b, 0x73, 0x43, 0xb4, 0xe5, + 0xe5, 0x86, 0x60, 0x82, 0x16, 0x10, 0x5d, 0x4d, 0xe6, 0xf7, 0x94, 0xad, 0xd3, 0x4e, + 0x23, 0xb1, 0x95, 0xca, + ], + Bitcoin::ScriptCMR => [ + 0xa8, 0xa4, 0xa6, 0x22, 0x10, 0xb5, 0xe4, 0x95, 0x0e, 0x25, 0x34, 0x24, 0x7c, 0x74, + 0x11, 0xd1, 0xc8, 0xff, 0x22, 0x86, 0x5b, 0x54, 0x56, 0xbb, 0xb2, 0x16, 0x38, 0xe9, + 0x14, 0xf5, 0xe5, 0x28, + ], + Bitcoin::Sha256Block => [ + 0x45, 0x35, 0xf3, 0xe1, 0xab, 0x9f, 0x1b, 0x75, 0x7a, 0x06, 0x91, 0x37, 0xe1, 0xd5, + 0xb1, 0xca, 0xad, 0x8e, 0x31, 0xf7, 0x8d, 0xc5, 0xfb, 0xd0, 0x73, 0x46, 0x49, 0xf9, + 0x40, 0xa7, 0xfc, 0x96, + ], + Bitcoin::Sha256Ctx8Add1 => [ + 0x9a, 0x47, 0x11, 0xb8, 0xc5, 0x69, 0x0e, 0x58, 0x7e, 0x5f, 0x79, 0xe6, 0x8d, 0x6e, + 0xca, 0x04, 0x74, 0x58, 0xaa, 0x63, 0xb8, 0xbc, 0x9e, 0xe5, 0x68, 0x08, 0x6a, 0x4a, + 0x1b, 0x56, 0xd8, 0x34, + ], + Bitcoin::Sha256Ctx8Add128 => [ + 0x1c, 0xb1, 0xdb, 0x8a, 0x05, 0x5b, 0x31, 0x97, 0xac, 0xf0, 0xf0, 0x8c, 0xe9, 0xc6, + 0x35, 0xad, 0xd6, 0x95, 0xb6, 0x0f, 0x23, 0x4b, 0x18, 0xe0, 0xb3, 0x23, 0xc9, 0x37, + 0xb0, 0x38, 0x5a, 0xea, + ], + Bitcoin::Sha256Ctx8Add16 => [ + 0xe0, 0x84, 0x54, 0x75, 0xeb, 0xb9, 0x01, 0x40, 0xfa, 0x4e, 0x01, 0xaf, 0x8a, 0x94, + 0x35, 0x99, 0x1a, 0xd8, 0x7a, 0xf9, 0x8c, 0x08, 0xae, 0xce, 0x11, 0x0e, 0x99, 0xcb, + 0xce, 0xcd, 0xee, 0x79, + ], + Bitcoin::Sha256Ctx8Add2 => [ + 0x7d, 0x69, 0x13, 0x8f, 0x1c, 0x94, 0x2b, 0xee, 0x2f, 0xdf, 0x60, 0x0c, 0xe4, 0x4b, + 0x36, 0xff, 0x97, 0x83, 0x9d, 0xc2, 0xbb, 0xda, 0xfb, 0xd5, 0xfa, 0xb4, 0xdf, 0xbc, + 0x3c, 0x97, 0x6f, 0x29, + ], + Bitcoin::Sha256Ctx8Add256 => [ + 0x4f, 0x5c, 0x29, 0xd5, 0x36, 0x86, 0xc0, 0x60, 0x62, 0xb3, 0x83, 0x24, 0xf8, 0xaf, + 0xf1, 0x7e, 0xc5, 0x56, 0xa2, 0x95, 0xff, 0x09, 0x8b, 0x10, 0xe7, 0x05, 0xdd, 0x22, + 0xe1, 0x3b, 0xc3, 0xc9, + ], + Bitcoin::Sha256Ctx8Add32 => [ + 0xd5, 0x7b, 0x67, 0xb1, 0x74, 0xe7, 0x8e, 0x38, 0xf9, 0xbc, 0xa8, 0xe0, 0x7a, 0xdd, + 0x61, 0xc7, 0x53, 0xe2, 0xc1, 0x56, 0xd8, 0xe9, 0x83, 0x2a, 0xa6, 0x62, 0x04, 0x55, + 0x00, 0xf5, 0x1a, 0x80, + ], + Bitcoin::Sha256Ctx8Add4 => [ + 0x95, 0xda, 0x32, 0x99, 0x3f, 0x5c, 0x7d, 0x00, 0x83, 0x06, 0x4c, 0xdf, 0xf1, 0xbe, + 0xc3, 0xb9, 0x36, 0xc6, 0x38, 0x33, 0x7a, 0xde, 0xc5, 0x47, 0x48, 0x7a, 0xf2, 0x32, + 0xd6, 0x9f, 0xdf, 0x65, + ], + Bitcoin::Sha256Ctx8Add512 => [ + 0x4a, 0xcb, 0x16, 0x3a, 0xa4, 0x8f, 0x09, 0xd5, 0xf2, 0x6d, 0x2b, 0x2a, 0xb1, 0x88, + 0xa6, 0xc6, 0xb6, 0xc4, 0xae, 0xdf, 0x23, 0xc9, 0x19, 0x00, 0x1c, 0x02, 0xee, 0x15, + 0xb3, 0x37, 0xa9, 0x6e, + ], + Bitcoin::Sha256Ctx8Add64 => [ + 0x52, 0xe5, 0x3e, 0xc5, 0x77, 0x0f, 0x9b, 0xe4, 0x06, 0x9a, 0xee, 0xfc, 0xb2, 0x13, + 0x22, 0xb1, 0x3a, 0xb6, 0xe3, 0x94, 0x1f, 0xdc, 0x2c, 0x85, 0xf4, 0xb4, 0x1b, 0xe6, + 0x7d, 0x38, 0xea, 0x7e, + ], + Bitcoin::Sha256Ctx8Add8 => [ + 0xc2, 0x6b, 0x28, 0xaf, 0xe5, 0xe8, 0x66, 0xd8, 0x46, 0x16, 0x81, 0x4d, 0x1a, 0x13, + 0xfb, 0x86, 0x30, 0xb9, 0xe8, 0x4e, 0x5d, 0x78, 0x15, 0x56, 0xc6, 0xd8, 0x23, 0x6e, + 0xfb, 0x45, 0xdf, 0xf9, + ], + Bitcoin::Sha256Ctx8AddBuffer511 => [ + 0xad, 0x69, 0x90, 0x46, 0x48, 0xa8, 0x23, 0x8d, 0x00, 0xd8, 0x51, 0x63, 0xfc, 0xe8, + 0x19, 0x63, 0xa0, 0x04, 0x7a, 0xb5, 0x82, 0xbe, 0x97, 0xa4, 0x14, 0x00, 0x65, 0x59, + 0x79, 0xcf, 0xdd, 0x28, + ], + Bitcoin::Sha256Ctx8Finalize => [ + 0x8e, 0x45, 0xbd, 0xc3, 0x87, 0xd4, 0xed, 0xfa, 0x73, 0x35, 0x25, 0xf3, 0xab, 0x19, + 0xe4, 0x2b, 0x58, 0xec, 0xb1, 0xb5, 0xf6, 0xdc, 0xcf, 0x94, 0xed, 0xbf, 0x59, 0x95, + 0x8a, 0xe3, 0xe1, 0x16, + ], + Bitcoin::Sha256Ctx8Init => [ + 0x63, 0x5f, 0x64, 0x05, 0x84, 0x86, 0x85, 0xc0, 0x11, 0xfe, 0xbd, 0x41, 0xfa, 0xac, + 0x87, 0x4b, 0xbb, 0xf5, 0xb2, 0x4d, 0x5f, 0xb1, 0x2f, 0xed, 0xbc, 0xb6, 0xcb, 0xff, + 0x95, 0xa0, 0xf3, 0x66, + ], + Bitcoin::Sha256Iv => [ + 0x12, 0xe4, 0x59, 0x37, 0x51, 0xc9, 0x46, 0x3b, 0x56, 0x25, 0x03, 0xc1, 0x40, 0xd7, + 0x8b, 0x3b, 0x75, 0x7a, 0x1f, 0x4f, 0x16, 0x32, 0x1d, 0x28, 0x62, 0xd3, 0x25, 0x43, + 0x85, 0x38, 0x97, 0x1b, + ], + Bitcoin::SigAllHash => [ + 0x09, 0x78, 0xb9, 0xe5, 0x0b, 0x9e, 0x8e, 0x09, 0x8b, 0x27, 0xf2, 0xb8, 0xb5, 0x9d, + 0xe5, 0x4f, 0x62, 0xba, 0x7c, 0x13, 0x33, 0xdf, 0x3b, 0xed, 0x22, 0x1e, 0x26, 0x62, + 0x68, 0x05, 0xbc, 0x55, + ], + Bitcoin::Some1 => [ + 0x15, 0xca, 0x4e, 0x4b, 0x82, 0xc2, 0xf9, 0x1b, 0x9a, 0x79, 0x29, 0x92, 0xcd, 0xc1, + 0xb2, 0x92, 0xab, 0x86, 0xa2, 0xd2, 0x93, 0x9c, 0x9a, 0x64, 0xb5, 0x0b, 0xe6, 0x0b, + 0xda, 0x6a, 0xb4, 0xca, + ], + Bitcoin::Some16 => [ + 0xa9, 0xdf, 0xbb, 0xea, 0xb5, 0x9d, 0xf7, 0x2a, 0x45, 0xfc, 0x3f, 0xc7, 0xac, 0x58, + 0x1e, 0xc8, 0xda, 0x71, 0x3f, 0x2f, 0x81, 0x03, 0xf7, 0x87, 0xaa, 0x1c, 0xee, 0x4e, + 0x0b, 0xa6, 0x48, 0x66, + ], + Bitcoin::Some32 => [ + 0x46, 0x33, 0xa3, 0x97, 0x74, 0x2e, 0xf4, 0x82, 0xbe, 0x2f, 0xa3, 0xfb, 0x64, 0x10, + 0xec, 0x79, 0xc3, 0x73, 0x83, 0x65, 0x69, 0xfb, 0xbc, 0xb1, 0xf9, 0x48, 0xec, 0x32, + 0x48, 0x73, 0x78, 0xb7, + ], + Bitcoin::Some64 => [ + 0x1d, 0xc2, 0x45, 0xac, 0x6f, 0x5b, 0x42, 0x2b, 0xd1, 0x88, 0x6e, 0xf5, 0x14, 0x4c, + 0x4d, 0xc7, 0x2c, 0x96, 0x73, 0x15, 0x59, 0x66, 0x07, 0x6c, 0xd8, 0x39, 0x68, 0x1d, + 0x9e, 0xc7, 0xf8, 0xf5, + ], + Bitcoin::Some8 => [ + 0x33, 0xaf, 0xb9, 0xc6, 0x45, 0x4e, 0x59, 0x0e, 0xc1, 0x3e, 0xd7, 0x5e, 0x1b, 0x7d, + 0x9c, 0x3a, 0x3d, 0xe6, 0x75, 0x2b, 0xcc, 0x7c, 0x1d, 0x4c, 0xb3, 0x63, 0xfa, 0x51, + 0x82, 0x8b, 0xcb, 0x74, + ], + Bitcoin::Subtract16 => [ + 0x4e, 0x06, 0xec, 0x31, 0x37, 0x62, 0x22, 0xe2, 0x5e, 0x27, 0xd0, 0x15, 0x9d, 0xc1, + 0xc0, 0x71, 0x4a, 0x44, 0xca, 0x6a, 0xac, 0xf9, 0x50, 0x5c, 0xaa, 0xd2, 0x80, 0xe9, + 0x73, 0xfb, 0x5c, 0xab, + ], + Bitcoin::Subtract32 => [ + 0xb9, 0xc0, 0xf3, 0x6e, 0x75, 0x22, 0xa8, 0xd9, 0x49, 0x05, 0x0d, 0x51, 0x6a, 0x05, + 0xce, 0x20, 0x3a, 0x1f, 0x9a, 0x9e, 0x37, 0x2f, 0xd2, 0x63, 0xde, 0x38, 0xb0, 0xe9, + 0x03, 0x13, 0x41, 0x98, + ], + Bitcoin::Subtract64 => [ + 0x1c, 0xdb, 0x5c, 0x74, 0xad, 0xd1, 0x02, 0xf5, 0x0f, 0x93, 0x8e, 0xd8, 0x86, 0xf4, + 0x96, 0xe5, 0xba, 0xb2, 0x75, 0x5c, 0x3c, 0x48, 0x4e, 0x88, 0x87, 0x90, 0x3d, 0x2f, + 0x6a, 0x57, 0xf3, 0xaa, + ], + Bitcoin::Subtract8 => [ + 0x4f, 0x21, 0x17, 0xa0, 0xe8, 0x10, 0x59, 0xff, 0x0c, 0xd6, 0x4d, 0x84, 0x88, 0x65, + 0x42, 0xe5, 0x75, 0xea, 0x8d, 0x6e, 0xc0, 0x31, 0x08, 0xfd, 0x0b, 0x50, 0x8b, 0x39, + 0x20, 0x8c, 0xd0, 0xef, + ], + Bitcoin::Swu => [ + 0x00, 0xf5, 0x1f, 0x4f, 0x4b, 0xec, 0xe7, 0x90, 0x03, 0xec, 0xad, 0x48, 0x1a, 0x12, + 0x5a, 0xf7, 0x17, 0x6e, 0x4d, 0xe9, 0x8c, 0x33, 0x92, 0x42, 0x5c, 0xb9, 0x14, 0x66, + 0x26, 0xc1, 0x3b, 0x3b, + ], + Bitcoin::TapEnvHash => [ + 0x19, 0xd9, 0x94, 0x4c, 0x4d, 0x45, 0x7c, 0x70, 0xba, 0xbc, 0x45, 0xcc, 0xcb, 0xd5, + 0x73, 0xb3, 0x9a, 0x51, 0xd0, 0xc9, 0x91, 0x15, 0xb4, 0x12, 0x78, 0x3b, 0x49, 0x00, + 0x82, 0xfd, 0x0e, 0x58, + ], + Bitcoin::TapdataInit => [ + 0xa4, 0xd0, 0x22, 0xef, 0x5c, 0xf4, 0x67, 0xbc, 0xa0, 0x32, 0x5e, 0x46, 0x3f, 0xca, + 0xce, 0x7c, 0xbd, 0xd6, 0x4f, 0xf8, 0xf7, 0x1c, 0x5c, 0x7f, 0x63, 0xe6, 0x07, 0x84, + 0xaa, 0x0a, 0xc4, 0x86, + ], + Bitcoin::TapleafHash => [ + 0x0c, 0x07, 0x16, 0xfe, 0x5d, 0x97, 0x8e, 0xa8, 0xe0, 0xc7, 0x5a, 0xdc, 0x82, 0x10, + 0xd6, 0x60, 0x06, 0x2e, 0x3d, 0xa0, 0x6f, 0x1a, 0x66, 0x61, 0x31, 0x79, 0x27, 0xd3, + 0xb8, 0x4b, 0x50, 0x73, + ], + Bitcoin::TapleafVersion => [ + 0xe2, 0xec, 0xb1, 0xcb, 0x0e, 0xd4, 0xed, 0x93, 0x48, 0x35, 0x45, 0xfd, 0x8a, 0x62, + 0xf8, 0xaa, 0x10, 0x17, 0x53, 0x49, 0xff, 0xcc, 0x5a, 0xd3, 0xde, 0x7f, 0x34, 0x84, + 0xea, 0x1f, 0x10, 0x3f, + ], + Bitcoin::Tappath => [ + 0x99, 0xe8, 0x21, 0x1e, 0x8c, 0x1b, 0xe6, 0xd9, 0xca, 0x98, 0xd3, 0xd4, 0x3d, 0x91, + 0x42, 0x56, 0x7e, 0x06, 0xa8, 0x40, 0x22, 0x39, 0x33, 0x03, 0xfa, 0xb0, 0xb5, 0x7d, + 0x39, 0x40, 0x74, 0xe8, + ], + Bitcoin::TappathHash => [ + 0x02, 0x11, 0x54, 0x6d, 0x07, 0x78, 0xe7, 0x87, 0x14, 0x1e, 0xce, 0x65, 0xdf, 0x6c, + 0xd1, 0xdb, 0x31, 0x38, 0x8f, 0xc1, 0x42, 0x19, 0x68, 0xc8, 0xcf, 0xd8, 0xd7, 0x59, + 0x26, 0xdb, 0x47, 0xb3, + ], + Bitcoin::TotalInputValue => [ + 0x81, 0x28, 0x7a, 0x15, 0x89, 0xdd, 0xc2, 0x17, 0x99, 0x26, 0xb7, 0x06, 0x5e, 0x9b, + 0x26, 0x77, 0xb7, 0xfb, 0x09, 0x9b, 0x95, 0xf9, 0x47, 0xa7, 0xdd, 0x59, 0x0c, 0xdd, + 0x4c, 0xcf, 0x4a, 0x56, + ], + Bitcoin::TotalOutputValue => [ + 0xba, 0x03, 0x2f, 0x3e, 0x62, 0xf8, 0xfc, 0xb0, 0x4b, 0x04, 0x29, 0xa2, 0x53, 0xb5, + 0xec, 0x57, 0xe4, 0xc8, 0x7a, 0xe2, 0xe9, 0x51, 0xe1, 0x45, 0xd7, 0x65, 0x0e, 0x7f, + 0x0c, 0x63, 0xe5, 0x55, + ], + Bitcoin::TransactionId => [ + 0x5c, 0x49, 0xea, 0x98, 0x6b, 0x32, 0x8b, 0xe2, 0xa4, 0xe0, 0xb3, 0x15, 0xb6, 0xb3, + 0xfe, 0xf2, 0x3c, 0x1f, 0x68, 0x56, 0xbb, 0xc3, 0xb0, 0x56, 0xc9, 0x9c, 0xf5, 0x9f, + 0xbd, 0x54, 0x6e, 0x65, + ], + Bitcoin::TxHash => [ + 0x54, 0xe5, 0x3c, 0x99, 0x93, 0xab, 0xd5, 0x5d, 0x1f, 0x85, 0x23, 0xd2, 0xbb, 0x21, + 0x7b, 0x32, 0xe6, 0xfe, 0x86, 0x1f, 0x84, 0xc9, 0x86, 0xb7, 0xee, 0x8b, 0xdc, 0x68, + 0x81, 0x06, 0x87, 0x4a, + ], + Bitcoin::TxIsFinal => [ + 0x7b, 0x0e, 0x4f, 0x4c, 0xa8, 0xe5, 0xaf, 0x61, 0xa1, 0xd3, 0x45, 0x4e, 0x11, 0xef, + 0x9a, 0xb6, 0x88, 0x70, 0x61, 0x21, 0x1c, 0x00, 0x90, 0xeb, 0xa9, 0x55, 0x3d, 0xa2, + 0xe4, 0x5d, 0x84, 0x73, + ], + Bitcoin::TxLockDistance => [ + 0xb6, 0xfb, 0xaa, 0xc2, 0x10, 0xa3, 0x06, 0xbe, 0x8b, 0x58, 0xd0, 0xd7, 0xb1, 0x56, + 0x3f, 0x62, 0x23, 0x36, 0xd2, 0xae, 0xb5, 0x6c, 0x39, 0x3d, 0x27, 0x64, 0x45, 0xa9, + 0xa2, 0x2c, 0xc4, 0xa7, + ], + Bitcoin::TxLockDuration => [ + 0x53, 0x57, 0x28, 0x18, 0xe7, 0xe5, 0xb9, 0x8f, 0x96, 0x8c, 0x9d, 0xa7, 0xdf, 0x50, + 0x90, 0xd9, 0x82, 0x6f, 0x9b, 0xcf, 0x84, 0xb6, 0x36, 0x39, 0x5e, 0xea, 0x32, 0x1b, + 0x69, 0x09, 0xec, 0xe9, + ], + Bitcoin::TxLockHeight => [ + 0x44, 0x9f, 0x61, 0xdf, 0x1a, 0x7b, 0xad, 0x8d, 0x9e, 0x0a, 0x96, 0x67, 0x14, 0x22, + 0x7e, 0x57, 0x10, 0x07, 0xf9, 0x3c, 0x51, 0x7b, 0x80, 0x5d, 0x61, 0x65, 0x10, 0xe8, + 0xff, 0x62, 0x17, 0x2b, + ], + Bitcoin::TxLockTime => [ + 0x31, 0xdf, 0x36, 0x3f, 0x17, 0xb2, 0xcf, 0xc9, 0x7a, 0x1f, 0x93, 0x72, 0xc1, 0x4a, + 0x32, 0x58, 0x64, 0xd7, 0xcb, 0x13, 0xaa, 0x8d, 0x52, 0x15, 0xfb, 0x25, 0x3d, 0x33, + 0x10, 0x91, 0x77, 0x62, + ], + Bitcoin::Verify => [ + 0xcd, 0xca, 0x2a, 0x05, 0xe5, 0x2c, 0xef, 0xa5, 0x9d, 0xc7, 0xa5, 0xb0, 0xda, 0xe2, + 0x20, 0x98, 0xfb, 0x89, 0x6e, 0x39, 0x13, 0xbf, 0xdd, 0x44, 0x6b, 0x59, 0x4e, 0x1f, + 0x92, 0x50, 0x78, 0x3e, + ], + Bitcoin::Version => [ + 0x83, 0x73, 0x58, 0x64, 0x00, 0xb6, 0x79, 0x0b, 0x46, 0xab, 0x04, 0x10, 0x52, 0x3c, + 0xf0, 0x1e, 0xb7, 0x4d, 0x10, 0xfa, 0xf4, 0x8a, 0x3a, 0xcc, 0x86, 0xc4, 0xc5, 0x1d, + 0x06, 0xa5, 0x2c, 0x49, + ], + Bitcoin::Xor1 => [ + 0x8c, 0x4e, 0x4e, 0x6e, 0xbf, 0x46, 0x30, 0xb2, 0x9b, 0x5a, 0x57, 0xea, 0x79, 0xf0, + 0xc9, 0xaf, 0x6b, 0xff, 0x54, 0xc4, 0xd2, 0xd7, 0x69, 0xbf, 0x51, 0x59, 0x47, 0x74, + 0xa5, 0x2b, 0x99, 0xc9, + ], + Bitcoin::Xor16 => [ + 0xd9, 0xf0, 0xaf, 0x3f, 0xe3, 0xfd, 0x24, 0x7c, 0x1d, 0xf3, 0x4a, 0x25, 0x27, 0x13, + 0xb2, 0xe9, 0x33, 0xa9, 0x45, 0xa5, 0x67, 0x19, 0x48, 0x7f, 0x8e, 0xd7, 0xf5, 0x63, + 0xea, 0x86, 0x1a, 0xb5, + ], + Bitcoin::Xor32 => [ + 0xd5, 0xae, 0x27, 0x12, 0xed, 0xea, 0xf6, 0x76, 0x52, 0x0f, 0xa3, 0xba, 0x0f, 0x40, + 0xbf, 0x4a, 0x16, 0x57, 0x43, 0x7e, 0xff, 0xbd, 0x99, 0x86, 0xd0, 0x6a, 0xe8, 0x1b, + 0x29, 0xa4, 0xf9, 0x8c, + ], + Bitcoin::Xor64 => [ + 0xc4, 0xdf, 0x1c, 0xcf, 0x33, 0x3e, 0xde, 0xbd, 0xd4, 0x0d, 0xea, 0x9a, 0x0e, 0x6c, + 0xbb, 0x83, 0x06, 0x31, 0xe8, 0x3a, 0x94, 0xbb, 0x77, 0x9f, 0xe6, 0x00, 0x7b, 0xc6, + 0xcb, 0x53, 0xa5, 0x44, + ], + Bitcoin::Xor8 => [ + 0x4a, 0xb1, 0x4a, 0x81, 0x4a, 0x39, 0x52, 0x8a, 0x80, 0xfd, 0xb4, 0x30, 0x58, 0x9b, + 0xa4, 0x50, 0x10, 0x4b, 0x9c, 0x72, 0x09, 0xaa, 0x2f, 0xe2, 0x85, 0xcd, 0x60, 0xc0, + 0x90, 0x43, 0x11, 0x4a, + ], + Bitcoin::XorXor1 => [ + 0x18, 0xb9, 0x44, 0x6a, 0x41, 0x66, 0xa3, 0xfe, 0xe2, 0xbc, 0xb2, 0x54, 0x5b, 0xb9, + 0x01, 0x18, 0xdc, 0xf0, 0xe8, 0xf8, 0x86, 0xa1, 0x07, 0x6d, 0x4c, 0x38, 0x60, 0x06, + 0x0c, 0xde, 0x1a, 0x51, + ], + Bitcoin::XorXor16 => [ + 0x94, 0x6c, 0xde, 0x87, 0x2e, 0x30, 0xe6, 0x50, 0x9d, 0xaf, 0xf4, 0x05, 0xf0, 0xe0, + 0xfe, 0xfe, 0x27, 0x55, 0x47, 0xb4, 0x0e, 0xb2, 0x03, 0x84, 0xaf, 0xe9, 0xa8, 0x63, + 0x60, 0xfc, 0x80, 0xef, + ], + Bitcoin::XorXor32 => [ + 0x65, 0x27, 0xdf, 0x67, 0xa5, 0x0d, 0x14, 0x8d, 0xb4, 0xfc, 0x8f, 0xee, 0xc7, 0x84, + 0x55, 0x64, 0x99, 0xa8, 0xc7, 0xf0, 0xfa, 0x7d, 0x28, 0xe6, 0x27, 0x8e, 0x99, 0x7f, + 0x49, 0x59, 0xbe, 0x39, + ], + Bitcoin::XorXor64 => [ + 0xf1, 0x62, 0xf9, 0xe6, 0x56, 0x63, 0xa6, 0x9a, 0xc5, 0xf9, 0x2a, 0x5e, 0xb5, 0x2c, + 0x03, 0x32, 0x39, 0x2e, 0xdd, 0x1e, 0xd1, 0xba, 0x35, 0x5e, 0x6f, 0x19, 0x40, 0x6e, + 0xab, 0xe3, 0xf6, 0xed, + ], + Bitcoin::XorXor8 => [ + 0xe0, 0x6d, 0x69, 0x4c, 0x5b, 0x40, 0x7d, 0xda, 0xd7, 0xaa, 0x1f, 0x88, 0x07, 0x16, + 0xbc, 0xb7, 0x0a, 0xcd, 0xba, 0x75, 0x85, 0xca, 0x40, 0x09, 0x9a, 0x0a, 0x0a, 0x61, + 0xf3, 0xad, 0x2d, 0xb5, + ], + }; + + Cmr::from_byte_array(bytes) } fn source_ty(&self) -> TypeName { @@ -4699,7 +6842,436 @@ impl Jet for Bitcoin { } fn cost(&self) -> Cost { - unimplemented!("Unspecified cost of Bitcoin jets") + match self { + Bitcoin::Add16 => Cost::from_milliweight(80), + Bitcoin::Add32 => Cost::from_milliweight(92), + Bitcoin::Add64 => Cost::from_milliweight(105), + Bitcoin::Add8 => Cost::from_milliweight(97), + Bitcoin::All16 => Cost::from_milliweight(60), + Bitcoin::All32 => Cost::from_milliweight(62), + Bitcoin::All64 => Cost::from_milliweight(63), + Bitcoin::All8 => Cost::from_milliweight(50), + Bitcoin::And1 => Cost::from_milliweight(77), + Bitcoin::And16 => Cost::from_milliweight(83), + Bitcoin::And32 => Cost::from_milliweight(77), + Bitcoin::And64 => Cost::from_milliweight(78), + Bitcoin::And8 => Cost::from_milliweight(98), + Bitcoin::AnnexHash => Cost::from_milliweight(1491), + Bitcoin::Bip0340Verify => Cost::from_milliweight(49421), + Bitcoin::BuildTapbranch => Cost::from_milliweight(2554), + Bitcoin::BuildTapleafSimplicity => Cost::from_milliweight(1927), + Bitcoin::BuildTaptweak => Cost::from_milliweight(77780), + Bitcoin::Ch1 => Cost::from_milliweight(50), + Bitcoin::Ch16 => Cost::from_milliweight(83), + Bitcoin::Ch32 => Cost::from_milliweight(69), + Bitcoin::Ch64 => Cost::from_milliweight(78), + Bitcoin::Ch8 => Cost::from_milliweight(86), + Bitcoin::CheckLockDistance => Cost::from_milliweight(84), + Bitcoin::CheckLockDuration => Cost::from_milliweight(78), + Bitcoin::CheckLockHeight => Cost::from_milliweight(108), + Bitcoin::CheckLockTime => Cost::from_milliweight(123), + Bitcoin::CheckSigVerify => Cost::from_milliweight(50000), + Bitcoin::Complement1 => Cost::from_milliweight(51), + Bitcoin::Complement16 => Cost::from_milliweight(86), + Bitcoin::Complement32 => Cost::from_milliweight(58), + Bitcoin::Complement64 => Cost::from_milliweight(64), + Bitcoin::Complement8 => Cost::from_milliweight(62), + Bitcoin::CurrentAnnexHash => Cost::from_milliweight(74), + Bitcoin::CurrentIndex => Cost::from_milliweight(66), + Bitcoin::CurrentPrevOutpoint => Cost::from_milliweight(130), + Bitcoin::CurrentScriptHash => Cost::from_milliweight(127), + Bitcoin::CurrentScriptSigHash => Cost::from_milliweight(126), + Bitcoin::CurrentSequence => Cost::from_milliweight(66), + Bitcoin::CurrentValue => Cost::from_milliweight(85), + Bitcoin::Decompress => Cost::from_milliweight(10495), + Bitcoin::Decrement16 => Cost::from_milliweight(58), + Bitcoin::Decrement32 => Cost::from_milliweight(57), + Bitcoin::Decrement64 => Cost::from_milliweight(79), + Bitcoin::Decrement8 => Cost::from_milliweight(77), + Bitcoin::DivMod128_64 => Cost::from_milliweight(169), + Bitcoin::DivMod16 => Cost::from_milliweight(92), + Bitcoin::DivMod32 => Cost::from_milliweight(90), + Bitcoin::DivMod64 => Cost::from_milliweight(82), + Bitcoin::DivMod8 => Cost::from_milliweight(91), + Bitcoin::Divide16 => Cost::from_milliweight(85), + Bitcoin::Divide32 => Cost::from_milliweight(82), + Bitcoin::Divide64 => Cost::from_milliweight(81), + Bitcoin::Divide8 => Cost::from_milliweight(85), + Bitcoin::Divides16 => Cost::from_milliweight(84), + Bitcoin::Divides32 => Cost::from_milliweight(80), + Bitcoin::Divides64 => Cost::from_milliweight(67), + Bitcoin::Divides8 => Cost::from_milliweight(73), + Bitcoin::Eq1 => Cost::from_milliweight(63), + Bitcoin::Eq16 => Cost::from_milliweight(68), + Bitcoin::Eq256 => Cost::from_milliweight(188), + Bitcoin::Eq32 => Cost::from_milliweight(74), + Bitcoin::Eq64 => Cost::from_milliweight(82), + Bitcoin::Eq8 => Cost::from_milliweight(76), + Bitcoin::FeAdd => Cost::from_milliweight(777), + Bitcoin::FeInvert => Cost::from_milliweight(3237), + Bitcoin::FeIsOdd => Cost::from_milliweight(313), + Bitcoin::FeIsZero => Cost::from_milliweight(277), + Bitcoin::FeMultiply => Cost::from_milliweight(813), + Bitcoin::FeMultiplyBeta => Cost::from_milliweight(607), + Bitcoin::FeNegate => Cost::from_milliweight(541), + Bitcoin::FeNormalize => Cost::from_milliweight(656), + Bitcoin::FeSquare => Cost::from_milliweight(570), + Bitcoin::FeSquareRoot => Cost::from_milliweight(10162), + Bitcoin::Fee => Cost::from_milliweight(65), + Bitcoin::FullAdd16 => Cost::from_milliweight(106), + Bitcoin::FullAdd32 => Cost::from_milliweight(96), + Bitcoin::FullAdd64 => Cost::from_milliweight(93), + Bitcoin::FullAdd8 => Cost::from_milliweight(131), + Bitcoin::FullDecrement16 => Cost::from_milliweight(60), + Bitcoin::FullDecrement32 => Cost::from_milliweight(71), + Bitcoin::FullDecrement64 => Cost::from_milliweight(71), + Bitcoin::FullDecrement8 => Cost::from_milliweight(68), + Bitcoin::FullIncrement16 => Cost::from_milliweight(70), + Bitcoin::FullIncrement32 => Cost::from_milliweight(57), + Bitcoin::FullIncrement64 => Cost::from_milliweight(68), + Bitcoin::FullIncrement8 => Cost::from_milliweight(73), + Bitcoin::FullLeftShift16_1 => Cost::from_milliweight(76), + Bitcoin::FullLeftShift16_2 => Cost::from_milliweight(59), + Bitcoin::FullLeftShift16_4 => Cost::from_milliweight(68), + Bitcoin::FullLeftShift16_8 => Cost::from_milliweight(68), + Bitcoin::FullLeftShift32_1 => Cost::from_milliweight(58), + Bitcoin::FullLeftShift32_16 => Cost::from_milliweight(52), + Bitcoin::FullLeftShift32_2 => Cost::from_milliweight(73), + Bitcoin::FullLeftShift32_4 => Cost::from_milliweight(59), + Bitcoin::FullLeftShift32_8 => Cost::from_milliweight(60), + Bitcoin::FullLeftShift64_1 => Cost::from_milliweight(74), + Bitcoin::FullLeftShift64_16 => Cost::from_milliweight(69), + Bitcoin::FullLeftShift64_2 => Cost::from_milliweight(70), + Bitcoin::FullLeftShift64_32 => Cost::from_milliweight(73), + Bitcoin::FullLeftShift64_4 => Cost::from_milliweight(66), + Bitcoin::FullLeftShift64_8 => Cost::from_milliweight(68), + Bitcoin::FullLeftShift8_1 => Cost::from_milliweight(60), + Bitcoin::FullLeftShift8_2 => Cost::from_milliweight(64), + Bitcoin::FullLeftShift8_4 => Cost::from_milliweight(72), + Bitcoin::FullMultiply16 => Cost::from_milliweight(99), + Bitcoin::FullMultiply32 => Cost::from_milliweight(87), + Bitcoin::FullMultiply64 => Cost::from_milliweight(103), + Bitcoin::FullMultiply8 => Cost::from_milliweight(95), + Bitcoin::FullRightShift16_1 => Cost::from_milliweight(55), + Bitcoin::FullRightShift16_2 => Cost::from_milliweight(60), + Bitcoin::FullRightShift16_4 => Cost::from_milliweight(64), + Bitcoin::FullRightShift16_8 => Cost::from_milliweight(55), + Bitcoin::FullRightShift32_1 => Cost::from_milliweight(49), + Bitcoin::FullRightShift32_16 => Cost::from_milliweight(48), + Bitcoin::FullRightShift32_2 => Cost::from_milliweight(66), + Bitcoin::FullRightShift32_4 => Cost::from_milliweight(49), + Bitcoin::FullRightShift32_8 => Cost::from_milliweight(66), + Bitcoin::FullRightShift64_1 => Cost::from_milliweight(60), + Bitcoin::FullRightShift64_16 => Cost::from_milliweight(73), + Bitcoin::FullRightShift64_2 => Cost::from_milliweight(76), + Bitcoin::FullRightShift64_32 => Cost::from_milliweight(73), + Bitcoin::FullRightShift64_4 => Cost::from_milliweight(56), + Bitcoin::FullRightShift64_8 => Cost::from_milliweight(68), + Bitcoin::FullRightShift8_1 => Cost::from_milliweight(59), + Bitcoin::FullRightShift8_2 => Cost::from_milliweight(49), + Bitcoin::FullRightShift8_4 => Cost::from_milliweight(51), + Bitcoin::FullSubtract16 => Cost::from_milliweight(99), + Bitcoin::FullSubtract32 => Cost::from_milliweight(92), + Bitcoin::FullSubtract64 => Cost::from_milliweight(109), + Bitcoin::FullSubtract8 => Cost::from_milliweight(106), + Bitcoin::GeIsOnCurve => Cost::from_milliweight(688), + Bitcoin::GeNegate => Cost::from_milliweight(1071), + Bitcoin::GejAdd => Cost::from_milliweight(3000), + Bitcoin::GejDouble => Cost::from_milliweight(1862), + Bitcoin::GejEquiv => Cost::from_milliweight(2376), + Bitcoin::GejGeAdd => Cost::from_milliweight(2609), + Bitcoin::GejGeAddEx => Cost::from_milliweight(2860), + Bitcoin::GejGeEquiv => Cost::from_milliweight(1823), + Bitcoin::GejInfinity => Cost::from_milliweight(765), + Bitcoin::GejIsInfinity => Cost::from_milliweight(701), + Bitcoin::GejIsOnCurve => Cost::from_milliweight(1039), + Bitcoin::GejNegate => Cost::from_milliweight(1549), + Bitcoin::GejNormalize => Cost::from_milliweight(4184), + Bitcoin::GejRescale => Cost::from_milliweight(2011), + Bitcoin::GejXEquiv => Cost::from_milliweight(1103), + Bitcoin::GejYIsOdd => Cost::from_milliweight(3702), + Bitcoin::Generate => Cost::from_milliweight(49851), + Bitcoin::HashToCurve => Cost::from_milliweight(69844), + Bitcoin::High1 => Cost::from_milliweight(42), + Bitcoin::High16 => Cost::from_milliweight(50), + Bitcoin::High32 => Cost::from_milliweight(64), + Bitcoin::High64 => Cost::from_milliweight(52), + Bitcoin::High8 => Cost::from_milliweight(59), + Bitcoin::Increment16 => Cost::from_milliweight(56), + Bitcoin::Increment32 => Cost::from_milliweight(73), + Bitcoin::Increment64 => Cost::from_milliweight(64), + Bitcoin::Increment8 => Cost::from_milliweight(69), + Bitcoin::InputAnnexHash => Cost::from_milliweight(77), + Bitcoin::InputAnnexesHash => Cost::from_milliweight(124), + Bitcoin::InputHash => Cost::from_milliweight(832), + Bitcoin::InputOutpointsHash => Cost::from_milliweight(126), + Bitcoin::InputPrevOutpoint => Cost::from_milliweight(140), + Bitcoin::InputScriptHash => Cost::from_milliweight(143), + Bitcoin::InputScriptSigHash => Cost::from_milliweight(137), + Bitcoin::InputScriptSigsHash => Cost::from_milliweight(127), + Bitcoin::InputScriptsHash => Cost::from_milliweight(129), + Bitcoin::InputSequence => Cost::from_milliweight(78), + Bitcoin::InputSequencesHash => Cost::from_milliweight(125), + Bitcoin::InputUtxoHash => Cost::from_milliweight(824), + Bitcoin::InputUtxosHash => Cost::from_milliweight(122), + Bitcoin::InputValue => Cost::from_milliweight(81), + Bitcoin::InputValuesHash => Cost::from_milliweight(126), + Bitcoin::InputsHash => Cost::from_milliweight(122), + Bitcoin::InternalKey => Cost::from_milliweight(124), + Bitcoin::IsOne16 => Cost::from_milliweight(64), + Bitcoin::IsOne32 => Cost::from_milliweight(64), + Bitcoin::IsOne64 => Cost::from_milliweight(66), + Bitcoin::IsOne8 => Cost::from_milliweight(47), + Bitcoin::IsZero16 => Cost::from_milliweight(52), + Bitcoin::IsZero32 => Cost::from_milliweight(58), + Bitcoin::IsZero64 => Cost::from_milliweight(68), + Bitcoin::IsZero8 => Cost::from_milliweight(59), + Bitcoin::Le16 => Cost::from_milliweight(83), + Bitcoin::Le32 => Cost::from_milliweight(99), + Bitcoin::Le64 => Cost::from_milliweight(79), + Bitcoin::Le8 => Cost::from_milliweight(93), + Bitcoin::LeftExtend16_32 => Cost::from_milliweight(72), + Bitcoin::LeftExtend16_64 => Cost::from_milliweight(69), + Bitcoin::LeftExtend1_16 => Cost::from_milliweight(50), + Bitcoin::LeftExtend1_32 => Cost::from_milliweight(48), + Bitcoin::LeftExtend1_64 => Cost::from_milliweight(49), + Bitcoin::LeftExtend1_8 => Cost::from_milliweight(46), + Bitcoin::LeftExtend32_64 => Cost::from_milliweight(69), + Bitcoin::LeftExtend8_16 => Cost::from_milliweight(58), + Bitcoin::LeftExtend8_32 => Cost::from_milliweight(86), + Bitcoin::LeftExtend8_64 => Cost::from_milliweight(98), + Bitcoin::LeftPadHigh16_32 => Cost::from_milliweight(71), + Bitcoin::LeftPadHigh16_64 => Cost::from_milliweight(82), + Bitcoin::LeftPadHigh1_16 => Cost::from_milliweight(106), + Bitcoin::LeftPadHigh1_32 => Cost::from_milliweight(220), + Bitcoin::LeftPadHigh1_64 => Cost::from_milliweight(302), + Bitcoin::LeftPadHigh1_8 => Cost::from_milliweight(73), + Bitcoin::LeftPadHigh32_64 => Cost::from_milliweight(69), + Bitcoin::LeftPadHigh8_16 => Cost::from_milliweight(65), + Bitcoin::LeftPadHigh8_32 => Cost::from_milliweight(105), + Bitcoin::LeftPadHigh8_64 => Cost::from_milliweight(113), + Bitcoin::LeftPadLow16_32 => Cost::from_milliweight(65), + Bitcoin::LeftPadLow16_64 => Cost::from_milliweight(68), + Bitcoin::LeftPadLow1_16 => Cost::from_milliweight(59), + Bitcoin::LeftPadLow1_32 => Cost::from_milliweight(47), + Bitcoin::LeftPadLow1_64 => Cost::from_milliweight(46), + Bitcoin::LeftPadLow1_8 => Cost::from_milliweight(48), + Bitcoin::LeftPadLow32_64 => Cost::from_milliweight(62), + Bitcoin::LeftPadLow8_16 => Cost::from_milliweight(56), + Bitcoin::LeftPadLow8_32 => Cost::from_milliweight(75), + Bitcoin::LeftPadLow8_64 => Cost::from_milliweight(116), + Bitcoin::LeftRotate16 => Cost::from_milliweight(88), + Bitcoin::LeftRotate32 => Cost::from_milliweight(62), + Bitcoin::LeftRotate64 => Cost::from_milliweight(68), + Bitcoin::LeftRotate8 => Cost::from_milliweight(66), + Bitcoin::LeftShift16 => Cost::from_milliweight(109), + Bitcoin::LeftShift32 => Cost::from_milliweight(79), + Bitcoin::LeftShift64 => Cost::from_milliweight(70), + Bitcoin::LeftShift8 => Cost::from_milliweight(72), + Bitcoin::LeftShiftWith16 => Cost::from_milliweight(72), + Bitcoin::LeftShiftWith32 => Cost::from_milliweight(87), + Bitcoin::LeftShiftWith64 => Cost::from_milliweight(97), + Bitcoin::LeftShiftWith8 => Cost::from_milliweight(104), + Bitcoin::Leftmost16_1 => Cost::from_milliweight(68), + Bitcoin::Leftmost16_2 => Cost::from_milliweight(58), + Bitcoin::Leftmost16_4 => Cost::from_milliweight(51), + Bitcoin::Leftmost16_8 => Cost::from_milliweight(62), + Bitcoin::Leftmost32_1 => Cost::from_milliweight(53), + Bitcoin::Leftmost32_16 => Cost::from_milliweight(63), + Bitcoin::Leftmost32_2 => Cost::from_milliweight(62), + Bitcoin::Leftmost32_4 => Cost::from_milliweight(61), + Bitcoin::Leftmost32_8 => Cost::from_milliweight(60), + Bitcoin::Leftmost64_1 => Cost::from_milliweight(65), + Bitcoin::Leftmost64_16 => Cost::from_milliweight(62), + Bitcoin::Leftmost64_2 => Cost::from_milliweight(61), + Bitcoin::Leftmost64_32 => Cost::from_milliweight(77), + Bitcoin::Leftmost64_4 => Cost::from_milliweight(80), + Bitcoin::Leftmost64_8 => Cost::from_milliweight(54), + Bitcoin::Leftmost8_1 => Cost::from_milliweight(54), + Bitcoin::Leftmost8_2 => Cost::from_milliweight(71), + Bitcoin::Leftmost8_4 => Cost::from_milliweight(65), + Bitcoin::LinearCombination1 => Cost::from_milliweight(85743), + Bitcoin::LinearVerify1 => Cost::from_milliweight(43579), + Bitcoin::LockTime => Cost::from_milliweight(66), + Bitcoin::Low1 => Cost::from_milliweight(40), + Bitcoin::Low16 => Cost::from_milliweight(60), + Bitcoin::Low32 => Cost::from_milliweight(52), + Bitcoin::Low64 => Cost::from_milliweight(50), + Bitcoin::Low8 => Cost::from_milliweight(45), + Bitcoin::Lt16 => Cost::from_milliweight(83), + Bitcoin::Lt32 => Cost::from_milliweight(89), + Bitcoin::Lt64 => Cost::from_milliweight(71), + Bitcoin::Lt8 => Cost::from_milliweight(86), + Bitcoin::Maj1 => Cost::from_milliweight(54), + Bitcoin::Maj16 => Cost::from_milliweight(85), + Bitcoin::Maj32 => Cost::from_milliweight(73), + Bitcoin::Maj64 => Cost::from_milliweight(79), + Bitcoin::Maj8 => Cost::from_milliweight(64), + Bitcoin::Max16 => Cost::from_milliweight(80), + Bitcoin::Max32 => Cost::from_milliweight(70), + Bitcoin::Max64 => Cost::from_milliweight(75), + Bitcoin::Max8 => Cost::from_milliweight(79), + Bitcoin::Median16 => Cost::from_milliweight(80), + Bitcoin::Median32 => Cost::from_milliweight(77), + Bitcoin::Median64 => Cost::from_milliweight(89), + Bitcoin::Median8 => Cost::from_milliweight(77), + Bitcoin::Min16 => Cost::from_milliweight(83), + Bitcoin::Min32 => Cost::from_milliweight(96), + Bitcoin::Min64 => Cost::from_milliweight(82), + Bitcoin::Min8 => Cost::from_milliweight(78), + Bitcoin::Modulo16 => Cost::from_milliweight(85), + Bitcoin::Modulo32 => Cost::from_milliweight(81), + Bitcoin::Modulo64 => Cost::from_milliweight(71), + Bitcoin::Modulo8 => Cost::from_milliweight(85), + Bitcoin::Multiply16 => Cost::from_milliweight(79), + Bitcoin::Multiply32 => Cost::from_milliweight(78), + Bitcoin::Multiply64 => Cost::from_milliweight(72), + Bitcoin::Multiply8 => Cost::from_milliweight(79), + Bitcoin::Negate16 => Cost::from_milliweight(69), + Bitcoin::Negate32 => Cost::from_milliweight(56), + Bitcoin::Negate64 => Cost::from_milliweight(56), + Bitcoin::Negate8 => Cost::from_milliweight(69), + Bitcoin::NumInputs => Cost::from_milliweight(74), + Bitcoin::NumOutputs => Cost::from_milliweight(68), + Bitcoin::One16 => Cost::from_milliweight(45), + Bitcoin::One32 => Cost::from_milliweight(45), + Bitcoin::One64 => Cost::from_milliweight(45), + Bitcoin::One8 => Cost::from_milliweight(46), + Bitcoin::Or1 => Cost::from_milliweight(56), + Bitcoin::Or16 => Cost::from_milliweight(78), + Bitcoin::Or32 => Cost::from_milliweight(80), + Bitcoin::Or64 => Cost::from_milliweight(71), + Bitcoin::Or8 => Cost::from_milliweight(81), + Bitcoin::OutpointHash => Cost::from_milliweight(1788), + Bitcoin::OutputHash => Cost::from_milliweight(822), + Bitcoin::OutputScriptHash => Cost::from_milliweight(135), + Bitcoin::OutputScriptsHash => Cost::from_milliweight(123), + Bitcoin::OutputValue => Cost::from_milliweight(82), + Bitcoin::OutputValuesHash => Cost::from_milliweight(119), + Bitcoin::OutputsHash => Cost::from_milliweight(117), + Bitcoin::ParseLock => Cost::from_milliweight(82), + Bitcoin::ParseSequence => Cost::from_milliweight(93), + Bitcoin::PointVerify1 => Cost::from_milliweight(41394), + Bitcoin::RightExtend16_32 => Cost::from_milliweight(73), + Bitcoin::RightExtend16_64 => Cost::from_milliweight(70), + Bitcoin::RightExtend32_64 => Cost::from_milliweight(62), + Bitcoin::RightExtend8_16 => Cost::from_milliweight(63), + Bitcoin::RightExtend8_32 => Cost::from_milliweight(69), + Bitcoin::RightExtend8_64 => Cost::from_milliweight(141), + Bitcoin::RightPadHigh16_32 => Cost::from_milliweight(66), + Bitcoin::RightPadHigh16_64 => Cost::from_milliweight(81), + Bitcoin::RightPadHigh1_16 => Cost::from_milliweight(114), + Bitcoin::RightPadHigh1_32 => Cost::from_milliweight(220), + Bitcoin::RightPadHigh1_64 => Cost::from_milliweight(313), + Bitcoin::RightPadHigh1_8 => Cost::from_milliweight(73), + Bitcoin::RightPadHigh32_64 => Cost::from_milliweight(62), + Bitcoin::RightPadHigh8_16 => Cost::from_milliweight(75), + Bitcoin::RightPadHigh8_32 => Cost::from_milliweight(81), + Bitcoin::RightPadHigh8_64 => Cost::from_milliweight(118), + Bitcoin::RightPadLow16_32 => Cost::from_milliweight(62), + Bitcoin::RightPadLow16_64 => Cost::from_milliweight(98), + Bitcoin::RightPadLow1_16 => Cost::from_milliweight(60), + Bitcoin::RightPadLow1_32 => Cost::from_milliweight(47), + Bitcoin::RightPadLow1_64 => Cost::from_milliweight(57), + Bitcoin::RightPadLow1_8 => Cost::from_milliweight(48), + Bitcoin::RightPadLow32_64 => Cost::from_milliweight(74), + Bitcoin::RightPadLow8_16 => Cost::from_milliweight(62), + Bitcoin::RightPadLow8_32 => Cost::from_milliweight(69), + Bitcoin::RightPadLow8_64 => Cost::from_milliweight(98), + Bitcoin::RightRotate16 => Cost::from_milliweight(67), + Bitcoin::RightRotate32 => Cost::from_milliweight(77), + Bitcoin::RightRotate64 => Cost::from_milliweight(64), + Bitcoin::RightRotate8 => Cost::from_milliweight(72), + Bitcoin::RightShift16 => Cost::from_milliweight(60), + Bitcoin::RightShift32 => Cost::from_milliweight(69), + Bitcoin::RightShift64 => Cost::from_milliweight(68), + Bitcoin::RightShift8 => Cost::from_milliweight(63), + Bitcoin::RightShiftWith16 => Cost::from_milliweight(83), + Bitcoin::RightShiftWith32 => Cost::from_milliweight(78), + Bitcoin::RightShiftWith64 => Cost::from_milliweight(72), + Bitcoin::RightShiftWith8 => Cost::from_milliweight(71), + Bitcoin::Rightmost16_1 => Cost::from_milliweight(70), + Bitcoin::Rightmost16_2 => Cost::from_milliweight(65), + Bitcoin::Rightmost16_4 => Cost::from_milliweight(72), + Bitcoin::Rightmost16_8 => Cost::from_milliweight(69), + Bitcoin::Rightmost32_1 => Cost::from_milliweight(70), + Bitcoin::Rightmost32_16 => Cost::from_milliweight(56), + Bitcoin::Rightmost32_2 => Cost::from_milliweight(74), + Bitcoin::Rightmost32_4 => Cost::from_milliweight(57), + Bitcoin::Rightmost32_8 => Cost::from_milliweight(55), + Bitcoin::Rightmost64_1 => Cost::from_milliweight(61), + Bitcoin::Rightmost64_16 => Cost::from_milliweight(63), + Bitcoin::Rightmost64_2 => Cost::from_milliweight(65), + Bitcoin::Rightmost64_32 => Cost::from_milliweight(64), + Bitcoin::Rightmost64_4 => Cost::from_milliweight(57), + Bitcoin::Rightmost64_8 => Cost::from_milliweight(49), + Bitcoin::Rightmost8_1 => Cost::from_milliweight(65), + Bitcoin::Rightmost8_2 => Cost::from_milliweight(63), + Bitcoin::Rightmost8_4 => Cost::from_milliweight(56), + Bitcoin::ScalarAdd => Cost::from_milliweight(778), + Bitcoin::ScalarInvert => Cost::from_milliweight(3178), + Bitcoin::ScalarIsZero => Cost::from_milliweight(271), + Bitcoin::ScalarMultiply => Cost::from_milliweight(793), + Bitcoin::ScalarMultiplyLambda => Cost::from_milliweight(567), + Bitcoin::ScalarNegate => Cost::from_milliweight(516), + Bitcoin::ScalarNormalize => Cost::from_milliweight(500), + Bitcoin::ScalarSquare => Cost::from_milliweight(571), + Bitcoin::Scale => Cost::from_milliweight(73548), + Bitcoin::ScriptCMR => Cost::from_milliweight(122), + Bitcoin::Sha256Block => Cost::from_milliweight(765), + Bitcoin::Sha256Ctx8Add1 => Cost::from_milliweight(664), + Bitcoin::Sha256Ctx8Add128 => Cost::from_milliweight(1778), + Bitcoin::Sha256Ctx8Add16 => Cost::from_milliweight(781), + Bitcoin::Sha256Ctx8Add2 => Cost::from_milliweight(674), + Bitcoin::Sha256Ctx8Add256 => Cost::from_milliweight(2894), + Bitcoin::Sha256Ctx8Add32 => Cost::from_milliweight(928), + Bitcoin::Sha256Ctx8Add4 => Cost::from_milliweight(656), + Bitcoin::Sha256Ctx8Add512 => Cost::from_milliweight(5161), + Bitcoin::Sha256Ctx8Add64 => Cost::from_milliweight(1220), + Bitcoin::Sha256Ctx8Add8 => Cost::from_milliweight(694), + Bitcoin::Sha256Ctx8AddBuffer511 => Cost::from_milliweight(5137), + Bitcoin::Sha256Ctx8Finalize => Cost::from_milliweight(833), + Bitcoin::Sha256Ctx8Init => Cost::from_milliweight(123), + Bitcoin::Sha256Iv => Cost::from_milliweight(92), + Bitcoin::SigAllHash => Cost::from_milliweight(120), + Bitcoin::Some1 => Cost::from_milliweight(60), + Bitcoin::Some16 => Cost::from_milliweight(52), + Bitcoin::Some32 => Cost::from_milliweight(49), + Bitcoin::Some64 => Cost::from_milliweight(62), + Bitcoin::Some8 => Cost::from_milliweight(57), + Bitcoin::Subtract16 => Cost::from_milliweight(93), + Bitcoin::Subtract32 => Cost::from_milliweight(87), + Bitcoin::Subtract64 => Cost::from_milliweight(125), + Bitcoin::Subtract8 => Cost::from_milliweight(96), + Bitcoin::Swu => Cost::from_milliweight(32780), + Bitcoin::TapEnvHash => Cost::from_milliweight(120), + Bitcoin::TapdataInit => Cost::from_milliweight(1233), + Bitcoin::TapleafHash => Cost::from_milliweight(116), + Bitcoin::TapleafVersion => Cost::from_milliweight(66), + Bitcoin::Tappath => Cost::from_milliweight(76), + Bitcoin::TappathHash => Cost::from_milliweight(123), + Bitcoin::TotalInputValue => Cost::from_milliweight(69), + Bitcoin::TotalOutputValue => Cost::from_milliweight(71), + Bitcoin::TransactionId => Cost::from_milliweight(122), + Bitcoin::TxHash => Cost::from_milliweight(119), + Bitcoin::TxIsFinal => Cost::from_milliweight(62), + Bitcoin::TxLockDistance => Cost::from_milliweight(72), + Bitcoin::TxLockDuration => Cost::from_milliweight(66), + Bitcoin::TxLockHeight => Cost::from_milliweight(72), + Bitcoin::TxLockTime => Cost::from_milliweight(72), + Bitcoin::Verify => Cost::from_milliweight(44), + Bitcoin::Version => Cost::from_milliweight(78), + Bitcoin::Xor1 => Cost::from_milliweight(60), + Bitcoin::Xor16 => Cost::from_milliweight(73), + Bitcoin::Xor32 => Cost::from_milliweight(77), + Bitcoin::Xor64 => Cost::from_milliweight(68), + Bitcoin::Xor8 => Cost::from_milliweight(80), + Bitcoin::XorXor1 => Cost::from_milliweight(50), + Bitcoin::XorXor16 => Cost::from_milliweight(82), + Bitcoin::XorXor32 => Cost::from_milliweight(82), + Bitcoin::XorXor64 => Cost::from_milliweight(80), + Bitcoin::XorXor8 => Cost::from_milliweight(86), + } } fn parse(s: &str) -> Result where Self: Sized { diff --git a/update_jets.lock b/update_jets.lock index f00d8690..b2e0953a 100644 --- a/update_jets.lock +++ b/update_jets.lock @@ -6,10 +6,10 @@ # # "update_jets.sh --check" (run in CI) fails unless the revision matches # simplicity-sys/depend/simplicity-HEAD-revision.txt and every hash still matches. -libsimplicity 3f0bb69c4547bcf3483ca5ccbd06699464166650 +libsimplicity 4e0beb5947b7e75ee7974d82a1447e89a0b4b5d6 1ce6a0f903060ade42c4e30bd254fb9f3ff3ddd9cf0e6f0d46c3386d7c9dc8a3 simplicity-sys/src/c_jets/jets_ffi.rs f19ccd980ef3b34a2677ddedf0eba3a2b57620b27c6d04f0da2b3af71a6f120a simplicity-sys/src/c_jets/jets_wrapper.rs de53fabadd15684b5cbfd9af50519a88dd2b15d8d990f1b0ec4a41f98c857587 simplicity-sys/depend/jets_wrapper.c 6f1d6fb026b37b362b7f072c2cce39588f323a400afe65e20e52c786b2b166b3 src/jet/init/core.rs -2e142cbe51830ccd9d0a598830c8eeb6d8dfa6f9d592ee6e3756ebe0dc8d61d2 src/jet/init/bitcoin.rs +fb6e2a45104c57ab17c3e7c1240d0d61fb6c1e35240443e444002619029ce1dc src/jet/init/bitcoin.rs 44a294d0e9b48aedd7a8e726bd7f24470d4bf29263eaee94a8914125626affea src/jet/init/elements.rs