Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportChain ¶
func ExportChain(bc *blockchain.Blockchain, fn string, last uint64) error
ExportChain exports a blockchain into the specified file, truncating any data already present in the file.
func ImportChain ¶
func ImportChain(bc *blockchain.Blockchain, fn string, noExpensiveValidation bool) error
func MakeChain ¶
func MakeChain(chainstoreDir string, readonly bool, chainParams *config.Params) (*blockchain.Blockchain, func(), error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.