Skip to content

Ergo Protocol Reference Client 5.0.12

Compare
Choose a tag to compare
@kushti kushti released this 14 Jun 10:07
· 449 commits to master since this release
2f8ef5c

5.0.12 release. It contains following PRs:

  • #1985 & #1444 & #1999 - support for bootstrapping with UTXO set snapshots

creating and using UTXO set snapshots is configured via new ergo.node.utxo section:

ergo {
  ...
 node {
  ...
    utxo {
        # Download and apply UTXO set snapshot and full-blocks after that
        utxoBootstrap = false

        # how many utxo set snapshots to store, 0 means that they are not stored at all
        storingUtxoSnapshots = 2

        # how many utxo set snapshots for a height with same id we need to find in p2p network
        # in order to start downloading it
        p2pUtxoSnapshots = 2
    }
  }
}

If ergo.node.utxo.utxoBootstrap is set to true, the new node will download headers in the first place, then ask its peers for UTXO set snapshots and when p2pUtxoSnapshots same snapshots found around, download their chunks, restore UTXO set and apply full blocks after the UTXO set. As UTXO set snapshots stored every 52224 blocks, please do not try to bootstrap with UTXO set snapshot before height 1,044,480 (there are only two nodes having some snapshots before that height, so little chance to get snapshots from them)

There's also new API method /utxo/getSnapshotsInfo which returns information (height and id) about stored UTXO set snapshots.

  • #2003 - sigma interpreter update to 5.0.8

There is no need to update nodes to this version for miners and exchanges!

Contributors: @aslesarenko , @kushti