Documentation ¶
Index ¶
- func EnableBTC(r action.Router) error
- func EnableBTCInternalTx(r action.Router) error
- func ValidateExtLockStructure(tracker *bitcoin.Tracker, tx *wire.MsgTx, params *chaincfg.Params) bool
- type AddSignature
- type BroadcastSuccess
- type FailedBroadcastReset
- func (fbr *FailedBroadcastReset) Marshal() ([]byte, error)
- func (fbr *FailedBroadcastReset) Signers() []action.Address
- func (fbr *FailedBroadcastReset) Tags() kv.Pairs
- func (fbr *FailedBroadcastReset) TagsFailed() kv.Pairs
- func (fbr *FailedBroadcastReset) Type() action.Type
- func (fbr *FailedBroadcastReset) Unmarshal(data []byte) error
- type Lock
- type Redeem
- type ReportFinalityMint
- func (m *ReportFinalityMint) Marshal() ([]byte, error)
- func (m *ReportFinalityMint) Signers() []action.Address
- func (m *ReportFinalityMint) Tags() kv.Pairs
- func (m *ReportFinalityMint) TagsMinted(processType string) kv.Pairs
- func (m *ReportFinalityMint) Type() action.Type
- func (m *ReportFinalityMint) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableBTCInternalTx ¶
Types ¶
type AddSignature ¶
type AddSignature struct { TrackerName string ValidatorPubKey []byte BTCSignature []byte ValidatorAddress action.Address Memo string }
AddSignature is an internal transaction on the OneLedger Network. This transaction is used to add validator/witness signatures to the bitcoin lock or redeem transaction.
func (*AddSignature) Marshal ¶
func (as *AddSignature) Marshal() ([]byte, error)
func (*AddSignature) Signers ¶
func (as *AddSignature) Signers() []action.Address
func (*AddSignature) Tags ¶
func (as *AddSignature) Tags() kv.Pairs
func (AddSignature) Type ¶
func (AddSignature) Type() action.Type
func (*AddSignature) Unmarshal ¶
func (as *AddSignature) Unmarshal(data []byte) error
type BroadcastSuccess ¶
type BroadcastSuccess struct { TrackerName string ValidatorAddress action.Address BTCTxID chainhash.Hash }
func (*BroadcastSuccess) Marshal ¶
func (b *BroadcastSuccess) Marshal() ([]byte, error)
func (*BroadcastSuccess) Signers ¶
func (b *BroadcastSuccess) Signers() []action.Address
func (*BroadcastSuccess) Tags ¶
func (b *BroadcastSuccess) Tags() kv.Pairs
func (*BroadcastSuccess) Type ¶
func (b *BroadcastSuccess) Type() action.Type
func (*BroadcastSuccess) Unmarshal ¶
func (b *BroadcastSuccess) Unmarshal(data []byte) error
type FailedBroadcastReset ¶
func (*FailedBroadcastReset) Marshal ¶
func (fbr *FailedBroadcastReset) Marshal() ([]byte, error)
func (*FailedBroadcastReset) Signers ¶
func (fbr *FailedBroadcastReset) Signers() []action.Address
func (*FailedBroadcastReset) Tags ¶
func (fbr *FailedBroadcastReset) Tags() kv.Pairs
func (*FailedBroadcastReset) TagsFailed ¶ added in v0.14.0
func (fbr *FailedBroadcastReset) TagsFailed() kv.Pairs
func (*FailedBroadcastReset) Type ¶
func (fbr *FailedBroadcastReset) Type() action.Type
func (*FailedBroadcastReset) Unmarshal ¶
func (fbr *FailedBroadcastReset) Unmarshal(data []byte) error
type Lock ¶
type ReportFinalityMint ¶
type ReportFinalityMint struct { TrackerName string OwnerAddress action.Address ValidatorAddress action.Address RandomBytes []byte }
func (*ReportFinalityMint) Marshal ¶
func (m *ReportFinalityMint) Marshal() ([]byte, error)
func (*ReportFinalityMint) Signers ¶
func (m *ReportFinalityMint) Signers() []action.Address
func (*ReportFinalityMint) Tags ¶
func (m *ReportFinalityMint) Tags() kv.Pairs
func (*ReportFinalityMint) TagsMinted ¶ added in v0.14.0
func (m *ReportFinalityMint) TagsMinted(processType string) kv.Pairs
func (*ReportFinalityMint) Type ¶
func (m *ReportFinalityMint) Type() action.Type
func (*ReportFinalityMint) Unmarshal ¶
func (m *ReportFinalityMint) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.