[][src]Crate zebra_checkpoints

Prints Zebra checkpoints as "height hash" output lines.

Get all the blocks up to network current tip and print the ones that are checkpoints according to rules.

For usage please refer to the program help: zebra-checkpoints --help

zebra-consensus accepts an ordered list of checkpoints, starting with the genesis block. Checkpoint heights can be chosen arbitrarily.

Modules

args

zebra-checkpoints arguments

Constants

MAX_CHECKPOINT_BYTE_COUNT

We limit the memory usage for each checkpoint, based on the cumulative size of the serialized blocks in the chain. Deserialized blocks are slightly larger than serialized blocks, but they should be within a constant factor of the serialized size.

Functions

cmd_output

Run cmd and return its output as a string.

init_tracing

Initialise tracing using its defaults.

main
passthrough_cmd

Return a new zcash-cli command, including the zebra-checkpoints passthrough arguments.