Documentation
¶
Index ¶
Constants ¶
View Source
const ( //币种 Symbol = "UFO" CurveType = owcrypt.ECC_CURVE_SECP256K1 //交易单发送超时时限 DefaultTxSendingTimeout = 5 * time.Minute )
View Source
const ( TxStatusPending = 0 TxStatusInProgress = 1 TxStatusCanceled = 2 TxStatusCompleted = 3 TxStatusFailed = 4 TxStatusRegistering = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WalletConfig ¶
type WalletConfig struct {
//币种
Symbol string
//区块链数据文件
BlockchainFile string
//默认配置内容
DefaultConfig string
//曲线类型
CurveType uint32
// contains filtered or unexported fields
}
func NewConfig ¶
func NewConfig(symbol string) *WalletConfig
type WalletManager ¶
type WalletManager struct {
*beam.WalletManager
}
func NewWalletManager ¶
func NewWalletManager() *WalletManager
func (*WalletManager) BalanceModelType ¶
func (wm *WalletManager) BalanceModelType() openwallet.BalanceModelType
BalanceModelType 余额模型类别
Click to show internal directories.
Click to hide internal directories.