Sync your Nockchain nodes, in a flash!
07/09/2025: Syncflash code is currently being streamlined and upgraded. App will still serve .jams, but less frequently for a shortwhile.
Syncflash generates a fresh state.jam file every 8 hours, for others to download. This app was built because users in the Nockchain group regularly ask for state.jam files.
Nobody should have to beg for a fresh state.jam file. The Devs have better things to do than make state.jams for others.
This app runs two non-mining Nockchain nodes , keeping them synced with the current blockchain tip. The app periodically uses one node to generate a state.jam file. To do this, a Python Flask server serves a webpages, allows for downloads, and effectively controls the two nodes.
Once a Nockchain node is initialized and connected to the swarm, it takes as little as ~0.5s to get one additional block. A new block is mined by the network swarm every 5-10 minutes, similar to Bitcoin. For a node that is a few hours out of sync, it can quickly catch up. But for nodes that are just starting out, using a state.jam file makes synchronization a lot faster.
The state.jam file represents a binary digest of the entire blockchain history for Nockchain. Your miner node needs this to participate in mining the next block. You also need to be synced to the blockchain tip to perform nockchain-wallet transactions.
Once downloaded, run your nockchain instance with the `--state-jam` option, and provide the nockchain runtime with a path to your file. Run `nockchain --help`, or see the nockchain README.md for more details.
Syncflash is in its testing phase - so currently downloads are free. You can optionally donate using the crypto QR codes below, if you find this app particularly useful.