Documentation
¶
Overview ¶
Package ledger implements the `fxadmin ledger` command family: querying the assembler ledger for its height, a block, or the last config block.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler executes the ledger subcommands. It carries the BCCSP used to build the channel config bundle when reading connection information from the config block.
func (*Handler) Block ¶
Block implements `fxadmin ledger block <reference>`, fetching the block named by reference ("latest" or a block number) and writing it to outputPath.
Click to show internal directories.
Click to hide internal directories.