Documentation ¶
Index ¶
- Constants
- type Address
- func (a *Address) CreateAndSignTx(floData []byte) (*wire.MsgTx, error)
- func (a *Address) Publish(o5 ...*pb_oip5.OipFive) (*PublishResult, error)
- func (a *Address) PushTx(tx *wire.MsgTx) (*SendToBlockchainResult, error)
- func (a *Address) SendToBlockchain(floData []byte) (*SendToBlockchainResult, error)
- func (a *Address) SendToBlockchainMultipart(floData []byte) (*SendToBlockchainResult, error)
- func (a *Address) SetTxFee(fee floutil.Amount)
- func (a *Address) UpdateUtxoSet() error
- type MultiPart
- type PublishResult
- type Publisher
- type SendToBlockchainResult
- type Utxo
Constants ¶
View Source
const AncestorLimit = 1200
View Source
const MaxFloDataLen = 1040
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { WaitForAncestorConfirmations bool // contains filtered or unexported fields }
func (*Address) CreateAndSignTx ¶
Requires lock
func (*Address) PushTx ¶
func (a *Address) PushTx(tx *wire.MsgTx) (*SendToBlockchainResult, error)
Requires lock
func (*Address) SendToBlockchain ¶
func (a *Address) SendToBlockchain(floData []byte) (*SendToBlockchainResult, error)
func (*Address) SendToBlockchainMultipart ¶
func (a *Address) SendToBlockchainMultipart(floData []byte) (*SendToBlockchainResult, error)
func (*Address) UpdateUtxoSet ¶
type MultiPart ¶
type MultiPart struct {
// contains filtered or unexported fields
}
func NewMultiPart ¶
func (*MultiPart) SetFloData ¶
type PublishResult ¶
type PublishResult struct {
Sbr []*SendToBlockchainResult
}
type Publisher ¶
type Publisher interface { UpdateUtxoSet() error Publish(o5 ...*pb_oip5.OipFive) (*PublishResult, error) CreateAndSignTx(floData []byte) (*wire.MsgTx, error) SendToBlockchain(floData []byte) (*SendToBlockchainResult, error) SendToBlockchainMultipart(floData []byte) (*SendToBlockchainResult, error) SetTxFee(fee floutil.Amount) }
type SendToBlockchainResult ¶
Click to show internal directories.
Click to hide internal directories.