Versions in this module Expand all Collapse all v1 v1.0.0 Apr 12, 2019 Changes in this version + const VerifiedStatusCanceled + const VerifiedStatusUnstaked + const VerifierStatusNoRegistered + const VerifierStatusRegistered + var CheckSyncStatusDuration = time.Second * 3 + var CliCommands = []cli.Command + var InnerRpcForbid = false + var SyncStatus atomic.Value + func AsyncLogElectionTx() *time.Ticker + func CSCoinToMoneyValue(csCoinValue *hexutil.Big) (string, error) + func CheckAndChangeHexToAddress(address string) (common.Address, error) + func CheckDownloaderSyncStatus() + func CheckRegistration() bool + func DecimalToInter(src string, unitBit int) (*big.Int, error) + func InitAccountInfo(nodeType int, path, password, passPharse string) + func InitRpcClient(port int) + func InterToDecimal(csCoinValue *hexutil.Big, unitBit int) (string, error) + func MoneyValueToCSCoin(moneyValue string) (*big.Int, error) + func ParseWalletPathAndName(inputPath string) (path, name string) + func PrintDefaultAccountStake() + func RecordRegistration(txHash string) + func RemoveRegistration() + func RpcCall(c *cli.Context) + type RpcClient interface + Call func(result interface{}, method string, args ...interface{}) error + Subscribe func(ctx context.Context, namespace string, channel interface{}, ...) (*rpc.ClientSubscription, error)