Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultChainInterval time.Duration = 30 * time.Second DefaultOperationsInterval time.Duration = 5 * time.Second DefaultAssetInfoInterval time.Duration = 1 * time.Hour ConfirmedBlockCount = 3 // number of confirmation to consider transaction complete UnconfirmedBlockCount = 6 // number of confirmation to continue fetching addressInfos AddressInfoMinConfirmation = 0 AddressInfoMaxConfirmation = 9999 )
Variables ¶
This section is empty.
Functions ¶
func OptionArgs ¶
func OptionArgs(args *WalletOptions)
Types ¶
type ChainOption ¶
type ChainsOptions ¶
type ChainsOptions struct {
Chains []ChainOption `json:"chains"`
}
func (*ChainsOptions) Names ¶
func (p *ChainsOptions) Names() []string
type Wallet ¶
type Wallet int
func (*Wallet) GetAddressInfo ¶
func (*Wallet) GetNewAddress ¶
common.Chain interface
type WalletOptions ¶
type WalletOptions struct {
FileName string
}
Click to show internal directories.
Click to hide internal directories.