Documentation ¶
Index ¶
- Variables
- func Balance(cx *cli.Context) error
- func GetByMetaKey(cx *cli.Context) error
- func GetHistory(cx *cli.Context) error
- func GetLastSettings(cx *cli.Context) error
- func Keygen(cx *cli.Context) error
- func LoadPrivateKey(account uint64) (*btcec.PrivateKey, error)
- func MetaKeyDecode(s string) ([]byte, error)
- func PrevHash(cx *cli.Context) error
- func SavePrivateKey(account uint64, priv *btcec.PrivateKey) error
- func SettingsRequestHash(s *apipb.SettingsRequest) pt.Hash
- func SignTransfer(req *apipb.TransferRequest) error
- func Transfer(cx *cli.Context) error
- func TransferRequestHash(t *apipb.TransferRequest) pt.Hash
- func UpdateDataHash(cx *cli.Context) error
- func UpdateVerifyTransferSign(cx *cli.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VerboseFlag bool HexFlag bool RepeatFlag int = 1 )
View Source
var ( ErrArguments = errors.New("arguments error") ErrNotImplemented = errors.New("not implemented yet") )
View Source
var (
AddrFlag string
)
View Source
var (
KeysDBFlag string
)
View Source
var (
MetaEncodingFlag string
)
View Source
var (
MetaKey string
)
Functions ¶
func GetByMetaKey ¶
func GetHistory ¶
func GetLastSettings ¶
func LoadPrivateKey ¶
func LoadPrivateKey(account uint64) (*btcec.PrivateKey, error)
func MetaKeyDecode ¶
func SavePrivateKey ¶
func SavePrivateKey(account uint64, priv *btcec.PrivateKey) error
func SettingsRequestHash ¶
func SettingsRequestHash(s *apipb.SettingsRequest) pt.Hash
func SignTransfer ¶
func SignTransfer(req *apipb.TransferRequest) error
func TransferRequestHash ¶
func TransferRequestHash(t *apipb.TransferRequest) pt.Hash
func UpdateDataHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.