pd

Module migrate

Source
Expand description

Logic for handling chain upgrades.

When consensus-breaking changes are made to the Penumbra software, node operators must coordinate to perform a chain upgrade. This module declares how local pd state should be altered, if at all, in order to be compatible with the network post-chain-upgrade.

Enums§

Migration
The kind of migration that should be performed.

Functions§

archive_directory
Compress single directory to gzipped tar archive. Accepts an Option for naming the subdir within the tar archive, which defaults to “.”, meaning no nesting.
last_block_timestamp
Read the last block timestamp from the pd state.
migrate_comet_data