Skip to content

Commit

Permalink
halving blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
TAdev0 committed Aug 10, 2024
1 parent 52b51fe commit 294761f
Show file tree
Hide file tree
Showing 8 changed files with 364,835 additions and 137 deletions.
4 changes: 2 additions & 2 deletions scripts/data/block_filter.jq
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def txin_coinbase:
previous_output: OutPoint {
txid: 0_u256,
vout: 0xffffffff_u32,
txo_index: 0, // TODO: implement
txo_index: 0,
},
}"
;
Expand All @@ -17,7 +17,7 @@ def txin_regular:
previous_output: OutPoint {
txid: 0x\(.txid),
vout: \(.vout),
txo_index: 0, // TODO: implement
txo_index: 0,
},
}"
;
Expand Down
2 changes: 1 addition & 1 deletion tests/blocks/block_0.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn block_0() -> Block {
),
sequence: 4294967295,
previous_output: OutPoint {
txid: 0_u256, vout: 0xffffffff_u32, txo_index: 0, // TODO: implement
txid: 0_u256, vout: 0xffffffff_u32, txo_index: 0,
},
}
]
Expand Down
4 changes: 2 additions & 2 deletions tests/blocks/block_170.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn block_170() -> Block {
script: from_base16("04ffff001d0102"),
sequence: 4294967295,
previous_output: OutPoint {
txid: 0_u256, vout: 0xffffffff_u32, txo_index: 0, // TODO: implement
txid: 0_u256, vout: 0xffffffff_u32, txo_index: 0,
},
}
]
Expand Down Expand Up @@ -41,7 +41,7 @@ pub fn block_170() -> Block {
previous_output: OutPoint {
txid: 0x0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9,
vout: 0,
txo_index: 0, // TODO: implement
txo_index: 0,
},
}
]
Expand Down
21,376 changes: 21,376 additions & 0 deletions tests/blocks/block_210000.cairo

Large diffs are not rendered by default.

Loading

0 comments on commit 294761f

Please sign in to comment.