Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 915 Bytes

File metadata and controls

36 lines (24 loc) · 915 Bytes

Blockzilla

⚠️🚧 EXPERIMENTAL / R&D CODE – NOT PRODUCTION READY 🚧⚠️

This repo contains the tooling used to build and maintain blockzilla the ferno Solana archive node.

Downlaod and setup cache of epochs

# download and compress epoch 0 to 900
./build_cache.sh 0 900
# you can also just dl one epoch for test (you will need previous epoch to)
./build_cache.sh 799 800 

Compress archive

cargo run --release --bin optimize-car-archive build-all
cargo run --release --bin optimize-car-archive build 800

Run analyze

cargo run --release --bin blockzilla analyze --input blockzilla-v1/epoch-800/compact.bin

test and benchmark

cargo flamegraph --profile release-debug --bin reader --features reader -- --decode-tx epochs/bench-0-900.car
cargo flamegraph --bench big_block --profile release-debug -- --bench