Files
cuprate-for-explorer/misc/FAST_SYNC_HASHES.md
hinto-janai fcbf260747 workspace: initial release cycle files (#370)
* initial files

* hashes

* ci: more targets

* release.yml

* moves

* remove commit list

* typo

* add linux arm to `monerod-download`

* update

* fast sync

* remove `cuprated.service`

* update

* changes

* move contributing
2025-03-11 23:15:53 +00:00

744 B

Fast sync hashes

Cuprate has a binary that generate fast-sync hashes and puts them into a binary blob file.

The code that does so is located at consensus/fast-sync.

To create the hashes, you need a fully synced database generated from cuprated.

After that, build the binary that generates fast-sync hashes:

cargo build --release --package cuprate-fast-sync

Run the binary:

./target/release/create-fs-file --height $HEIGHT

where $HEIGHT is the top blockchain height.

The generated fast_sync_hashes.bin file should be in the current directory.

This should be moved to binaries/cuprated/src/blockchain/fast_sync/fast_sync_hashes.bin.