mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 23:29:58 -07:00
global: snapshot
This commit is contained in:
@@ -29,7 +29,7 @@ use super::{
|
||||
pub mod cohort;
|
||||
mod outputs;
|
||||
|
||||
const VERSION: Version = Version::new(5);
|
||||
const VERSION: Version = Version::new(4);
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Vecs {
|
||||
@@ -809,7 +809,7 @@ impl Vecs {
|
||||
Some("0sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -820,7 +820,7 @@ impl Vecs {
|
||||
Some("from_1sat_to_10sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -831,7 +831,7 @@ impl Vecs {
|
||||
Some("from_10sats_to_100sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -842,7 +842,7 @@ impl Vecs {
|
||||
Some("from_100sats_to_1_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -853,7 +853,7 @@ impl Vecs {
|
||||
Some("from_1_000sats_to_10_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -864,7 +864,7 @@ impl Vecs {
|
||||
Some("from_10_000sats_to_100_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -875,7 +875,7 @@ impl Vecs {
|
||||
Some("from_100_000sats_to_1_000_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -886,7 +886,7 @@ impl Vecs {
|
||||
Some("from_1_000_000sats_to_10_000_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -897,7 +897,7 @@ impl Vecs {
|
||||
Some("from_10_000_000sats_to_1btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -908,7 +908,7 @@ impl Vecs {
|
||||
Some("from_1btc_to_10btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -919,7 +919,7 @@ impl Vecs {
|
||||
Some("from_10btc_to_100btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -930,7 +930,7 @@ impl Vecs {
|
||||
Some("from_100btc_to_1_000btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -941,7 +941,7 @@ impl Vecs {
|
||||
Some("from_1_000btc_to_10_000btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -952,7 +952,7 @@ impl Vecs {
|
||||
Some("from_10_000btc_to_100_000btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -963,7 +963,7 @@ impl Vecs {
|
||||
Some("from_100_000btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -976,7 +976,7 @@ impl Vecs {
|
||||
Some("up_to_1_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -987,7 +987,7 @@ impl Vecs {
|
||||
Some("up_to_10_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -998,7 +998,7 @@ impl Vecs {
|
||||
Some("up_to_1btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -1009,7 +1009,7 @@ impl Vecs {
|
||||
Some("up_to_10btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -1020,7 +1020,7 @@ impl Vecs {
|
||||
Some("up_to_100btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -1033,7 +1033,7 @@ impl Vecs {
|
||||
Some("from_1_000sats"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -1044,7 +1044,7 @@ impl Vecs {
|
||||
Some("from_1btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -1055,7 +1055,7 @@ impl Vecs {
|
||||
Some("from_10btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -1066,7 +1066,7 @@ impl Vecs {
|
||||
Some("from_100btc"),
|
||||
_computation,
|
||||
format,
|
||||
version + Version::ZERO,
|
||||
version + VERSION + Version::ZERO,
|
||||
fetched,
|
||||
keyspace,
|
||||
&stores_path,
|
||||
@@ -1222,15 +1222,6 @@ impl Vecs {
|
||||
&stores_path,
|
||||
true,
|
||||
)?,
|
||||
// opreturn: cohort::Vecs::forced_import(
|
||||
// path,
|
||||
// Some("opreturn"),
|
||||
// _computation,
|
||||
// format,
|
||||
// VERSION + Version::ZERO,
|
||||
// fetched,
|
||||
// keyspace
|
||||
// )?,
|
||||
p2wpkh: cohort::Vecs::forced_import(
|
||||
path,
|
||||
Some("p2wpkh"),
|
||||
@@ -1538,6 +1529,8 @@ impl Vecs {
|
||||
.unwrap()
|
||||
.into_inner();
|
||||
|
||||
// dbg!(input_type);
|
||||
|
||||
if input_type.is_unspendable() {
|
||||
unreachable!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user