Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBlockChainExist is returned when create an existed block chain ErrBlockChainExist = errors.New("blockchain exist") // ErrCreateBlockChain is returned when create block chain error ErrCreateBlockChain = errors.New("create blockchain error") )
Functions ¶
func CreateLedger ¶
通过创世块配置创建全新账本
func CreateLedgerWithData ¶
通过创世块全字段创建全新账本
func GetCryptoType ¶
GetCryptoType get crypto type from xuper.json
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.