Versions in this module Expand all Collapse all v0 v0.3.0 Sep 4, 2018 Changes in this version + func GetPrivPublKeys() string + type CommitHandler interface + OnCommit func([]byte) []byte + type ExceptionHandler interface + OnException func(string) + type MobileConfig struct + CacheSize int + Heartbeat int + MaxPool int + StorePath string + StoreType string + SyncLimit int + TCPTimeout int + func DefaultMobileConfig() *MobileConfig + func NewMobileConfig(heartbeat int, tcpTimeout int, maxPool int, cacheSize int, syncLimit int, ...) *MobileConfig + type Node struct + func New(privKey string, nodeAddr string, peers string, commitHandler CommitHandler, ...) *Node + func (n *Node) Run(async bool) + func (n *Node) Shutdown() + func (n *Node) SubmitTx(tx []byte)