I tested fast catchup on mainnet and ran into memory problems - mem utilisation appears to be proportional to the number of accounts (but I’ll come back to that in a different thread). So I thought I would try out fast catchup on the testnet.
The version is Debian 2.1.3.stable. I created a new /var/lib/algorand_testnet directory with the genesis.json and system.json files correctly permissioned and started the testnet node.
Status showed it sprang quickly into life (for some reason status -w scrolls the page on testnet but not on mainnet):
$ goal node status -d /var/lib/algorand_testnet -w 10000
Last committed block: 3924
Time since last block: 0.1s
Last committed block: 4175
Time since last block: 0.0s
Last committed block: 4501
Time since last block: 0.0s
Sync Time: 152.9s
Last consensus protocol: https://github.com/algorand/spec/tree/a26ed78ed8f834e2b9ccb6eb7d3ee9f629a6e622
Next consensus protocol: https://github.com/algorand/spec/tree/a26ed78ed8f834e2b9ccb6eb7d3ee9f629a6e622
Round for next consensus protocol: 4502
Next consensus protocol supported: true
Last Catchpoint:
Genesis ID: devnet-v1.0
Genesis hash: sC3P7e2SdbqKJK0tbiCdK9tdSpbe6XeCGKdoNzmlj0E=
I then set it for fast catchup:
$ goal node catchup 8750000#TPIUII4VX4B2OCYODFEUC6UTLLUHFV3K4RCRTUZCBPJ275KVMIWQ -d /var/lib/algorand_testnet
For a while status showed the catchpoint:
Last committed block: 5100
Time since last block: 0.0s
Last committed block: 5153
Time since last block: 0.0s
Last committed block: 5204
Time since last block: 0.3s
Last committed block: 5217
Sync Time: 7.2s
Catchpoint: 8750000#TPIUII4VX4B2OCYODFEUC6UTLLUHFV3K4RCRTUZCBPJ275KVMIWQ
Genesis ID: devnet-v1.0
Genesis hash: sC3P7e2SdbqKJK0tbiCdK9tdSpbe6XeCGKdoNzmlj0E=
But then the status changed back to:
Last committed block: 5234
Time since last block: 0.1s
Last committed block: 5282
Time since last block: 0.1s
Sync Time: 14.7s
Last consensus protocol: https://github.com/algorand/spec/tree/a26ed78ed8f834e2b9ccb6eb7d3ee9f629a6e622
Next consensus protocol: https://github.com/algorand/spec/tree/a26ed78ed8f834e2b9ccb6eb7d3ee9f629a6e622
Round for next consensus protocol: 5283
Next consensus protocol supported: true
Last Catchpoint:
Genesis ID: devnet-v1.0
Genesis hash: sC3P7e2SdbqKJK0tbiCdK9tdSpbe6XeCGKdoNzmlj0E=
A short while later, status was reporting the next block being around 7352000 range and it’s now catching up from there.
Have I misunderstood something about fast catchup? Given the catchup string was ‘8750000#TPIUII4VX4B2OCYODFEUC6UTLLUHFV3K4RCRTUZCBPJ275KVMIWQ’ I was expecting it to jump to block 8750000 and yet it is currently well over a million blocks short.