Skip to content

PSYROB node 11.3.0

Latest

Choose a tag to compare

@psycho-v1 psycho-v1 released this 03 Dec 23:11
· 1 commit to main since this release

PSYROB node 11.3.0 (protocol 10.1.0) for testnet v11 (chain ID 87870).

No consensus change: same rules as 11.2.0 to 11.2.2. Updating is optional for other node operators, and recommended:
restarts become about a minute instead of more than an hour and a half.

Changes:

  • Start-up snapshots (audit F-08). Until now every start re-executed every stored block (270,000 blocks took about 110
    minutes on the public node). The node now keeps snapshot.dat (the state at the tip and the recent block entries,
    written every 100 chain blocks and on a clean stop) and archive.dat (blocks old enough to be pruned, written once),
    and keeps cold.dat between starts. A start checks these files against their SHA-256 and the state root against the
    tip block, then replays only the blocks stored after the snapshot. On the public chain: 48 seconds instead of 110
    minutes, with the same result as a full replay (every block, the state and the indexes compared).
  • If anything does not match, the node replays every stored block as before and writes a new snapshot.
    --full-replay forces this.
  • The first start of 11.3.0 still replays every block, once, and writes the first snapshot at the end. The data
    folder grows by about 3 GB on the public chain (cold.dat 2.6 GB, archive.dat 0.3 GB, snapshot.dat 23 MB).
  • Includes 11.2.2: the node update pages check a plan's release hash against the GitHub release.

Check the download: node scripts/verify-release.mjs <folder> verifies SHA256SUMS.txt.sig with docs/RELEASE-KEY.pem
and every checksum. SHA-256 of SHA256SUMS.txt =
0x6aacd5d3939f0acefa4dd8c71c764262976d04da39335a6434107823ca9c522c, commit c24dcc2.