package
Version:
v0.0.0-...-b606183
Opens a new window with list of versions in this module.
Published: Feb 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 26
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Start(serverName, listenAddr, nodesGovAddr, signerKeyWIF string,
bootstrapRpcURLs []string, privateUrls []string, _withChaos bool)
type OpInfo struct {
Status string `json:"status"`
CurrNodes []sbch.NodeInfo `json:"currNodes,omitempty"`
NewNodes []sbch.NodeInfo `json:"newNodes,omitempty"`
NodesChangedTime int64 `json:"nodesChangedTime,omitempty"`
Monitors []gethcmn.Address `json:"monitors,omitempty"`
}
type Resp struct {
Success bool `json:"success"`
Error string `json:"error,omitempty"`
Result any `json:"result,omitempty"`
}
func UnmarshalResp(jsonBytes []byte) (resp Resp)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.