Documentation
¶
Index ¶
- func GenerateCoinbase(version, lockTime uint32, address string, amount, blockHeight, nTime uint64, ...) ([]byte, []byte, error)
- func ValidateAddress(address string) bool
- type Node
- func (node Node) Address() string
- func (node Node) BroadcastTx(tx string) (string, error)
- func (node Node) Chain() string
- func (node Node) CreateTx(inputs []*types.TxInput, outputs []*types.TxOutput) (string, string, error)
- func (node Node) GetAccountingType() types.AccountingType
- func (node Node) GetAddressExplorerURL(address string) string
- func (node Node) GetAddressPrefix() string
- func (node Node) GetBalance() (*big.Int, error)
- func (node Node) GetTx(txid string) (*types.TxResponse, error)
- func (node Node) GetTxExplorerURL(txid string) string
- func (node Node) GetUnits() *types.Number
- func (node Node) Name() string
- func (node Node) ShouldMergeUTXOs() bool
- func (node Node) ValidateAddress(address string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCoinbase ¶
func ValidateAddress ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) GetAccountingType ¶
func (node Node) GetAccountingType() types.AccountingType
func (Node) GetAddressExplorerURL ¶
func (Node) GetAddressPrefix ¶
func (Node) GetTxExplorerURL ¶
func (Node) ShouldMergeUTXOs ¶
func (Node) ValidateAddress ¶
Click to show internal directories.
Click to hide internal directories.