Documentation
¶
Index ¶
- type Block
- type ExportTx
- type ImportTx
- func (itx *ImportTx) CheckSanity() error
- func (itx *ImportTx) GetPKAddress() (*address.SecpPubKeyAddress, error)
- func (itx *ImportTx) GetPKScript() ([]byte, error)
- func (itx *ImportTx) GetTransactionForEngine() (*types.Transaction, error)
- func (itx *ImportTx) SetCoinbaseTx(tx *types.Transaction) error
- func (itx *ImportTx) Sign(privateKey ecc.PrivateKey) error
- type Tx
- type VMTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
func (*Block) Transactions ¶
type ExportTx ¶
type ExportTx struct {
*Tx
}
func NewExportTx ¶
func NewExportTx(tx *types.Transaction) (*ExportTx, error)
type ImportTx ¶
type ImportTx struct { *Tx *types.Transaction }
func NewImportTx ¶
func NewImportTx(tx *types.Transaction) (*ImportTx, error)
func (*ImportTx) CheckSanity ¶
func (*ImportTx) GetPKAddress ¶
func (itx *ImportTx) GetPKAddress() (*address.SecpPubKeyAddress, error)
func (*ImportTx) GetPKScript ¶
func (*ImportTx) GetTransactionForEngine ¶
func (itx *ImportTx) GetTransactionForEngine() (*types.Transaction, error)
func (*ImportTx) SetCoinbaseTx ¶
func (itx *ImportTx) SetCoinbaseTx(tx *types.Transaction) error
type VMTx ¶
type VMTx struct { *Tx Coinbase hash.Hash ETx *etypes.Transaction }
func NewVMTx ¶
func NewVMTx(tx *types.Transaction, coinbase *types.Transaction) (*VMTx, error)
Click to show internal directories.
Click to hide internal directories.