Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include fast sync hashes instructions in README.md #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,22 @@ You will need to store the blockchain in another place to avoid clashes with you

If you open the node's p2p port (`28080` by default) on your firewall and network, other nodes can make incoming connections to your nodes. This is helpful, but not necessary to participate in stressnet.

# Creating checkpoints for fast sync

For future stressnet maintainers: To create the checkpoint file, input
```bash
./monero-blockchain-export --testnet --output-file testnet_blocks.dat --block-stop 2851000 --blocksdat
```
Change 2851000 to the current height. Then put the file in `src/blocks/testnet_blocks.dat`.

Then input the result of
```bash
sha256sum testnet_blocks.data
```
in the `expected_block_hashes_hash_testnet` line of `src/cryptonote_core/blockchain.cpp`.
See https://github.com/spackle-xmr/monero/pull/35 for the example.


## Original Monero README:

# Monero
Expand Down