Documentation
¶
Index ¶
- type TxVersionV0
- func (v *TxVersionV0) CheckCoinbaseArbitratorsReward(coinbase *types.Transaction, rewardInCoinbase Fixed64) error
- func (v *TxVersionV0) CheckCoinbaseMinerReward(tx *types.Transaction, totalReward Fixed64) error
- func (v *TxVersionV0) CheckOutputPayload(txType types.TransactionType, output *types.Output) error
- func (v *TxVersionV0) CheckOutputProgramHash(programHash Uint168) error
- func (v *TxVersionV0) CheckTxHasNoPrograms(tx *types.Transaction) error
- func (v *TxVersionV0) GetVersion() byte
- type TxVersionV1
- func (v *TxVersionV1) CheckCoinbaseArbitratorsReward(coinbase *types.Transaction, rewardInCoinbase Fixed64) error
- func (v *TxVersionV1) CheckCoinbaseMinerReward(tx *types.Transaction, totalReward Fixed64) error
- func (v *TxVersionV1) CheckOutputPayload(txType types.TransactionType, output *types.Output) error
- func (v *TxVersionV1) CheckTxHasNoPrograms(tx *types.Transaction) error
- func (v *TxVersionV1) GetVersion() byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxVersionV0 ¶
type TxVersionV0 struct {
version.TxVersionMain
}
func (*TxVersionV0) CheckCoinbaseArbitratorsReward ¶
func (v *TxVersionV0) CheckCoinbaseArbitratorsReward(coinbase *types.Transaction, rewardInCoinbase Fixed64) error
func (*TxVersionV0) CheckCoinbaseMinerReward ¶
func (v *TxVersionV0) CheckCoinbaseMinerReward(tx *types.Transaction, totalReward Fixed64) error
func (*TxVersionV0) CheckOutputPayload ¶
func (v *TxVersionV0) CheckOutputPayload(txType types.TransactionType, output *types.Output) error
func (*TxVersionV0) CheckOutputProgramHash ¶
func (v *TxVersionV0) CheckOutputProgramHash(programHash Uint168) error
func (*TxVersionV0) CheckTxHasNoPrograms ¶
func (v *TxVersionV0) CheckTxHasNoPrograms(tx *types.Transaction) error
func (*TxVersionV0) GetVersion ¶
func (v *TxVersionV0) GetVersion() byte
type TxVersionV1 ¶
type TxVersionV1 struct {
version.TxVersionMain
}
func (*TxVersionV1) CheckCoinbaseArbitratorsReward ¶
func (v *TxVersionV1) CheckCoinbaseArbitratorsReward(coinbase *types.Transaction, rewardInCoinbase Fixed64) error
func (*TxVersionV1) CheckCoinbaseMinerReward ¶
func (v *TxVersionV1) CheckCoinbaseMinerReward(tx *types.Transaction, totalReward Fixed64) error
func (*TxVersionV1) CheckOutputPayload ¶
func (v *TxVersionV1) CheckOutputPayload(txType types.TransactionType, output *types.Output) error
func (*TxVersionV1) CheckTxHasNoPrograms ¶
func (v *TxVersionV1) CheckTxHasNoPrograms(tx *types.Transaction) error
func (*TxVersionV1) GetVersion ¶
func (v *TxVersionV1) GetVersion() byte
Click to show internal directories.
Click to hide internal directories.