Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainExporter ¶
type ChainExporter struct {
// the Head of the chain being exported
Head block.TipSet
// contains filtered or unexported fields
}
ChainExporter exports the blockchain contained in bstore to the out writer.
func NewChainExporter ¶
func NewChainExporter(repoPath string, out io.Writer) (*ChainExporter, error)
NewChainExporter returns a ChainExporter.
func (*ChainExporter) ChainStateTree ¶
ChainStateTree returns the state tree as a slice of IPLD nodes at the passed stateroot cid `c`.
Click to show internal directories.
Click to hide internal directories.