Documentation
¶
Index ¶
- type AdditionalData
- func (ad *AdditionalData) GetScheduledAccumulatedFees() *big.Int
- func (ad *AdditionalData) GetScheduledDeveloperFees() *big.Int
- func (ad *AdditionalData) GetScheduledGasPenalized() uint64
- func (ad *AdditionalData) GetScheduledGasProvided() uint64
- func (ad *AdditionalData) GetScheduledGasRefunded() uint64
- func (ad *AdditionalData) GetScheduledRootHash() []byte
- func (ad *AdditionalData) IsInterfaceNil() bool
- type HeaderAdditionalData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalData ¶
type AdditionalData struct {
ScheduledRootHash []byte
ScheduledAccumulatedFees *big.Int
ScheduledDeveloperFees *big.Int
ScheduledGasProvided uint64
ScheduledGasPenalized uint64
ScheduledGasRefunded uint64
}
AdditionalData holds the additional version related header data for future header versions this structure can grow
func (*AdditionalData) GetScheduledAccumulatedFees ¶
func (ad *AdditionalData) GetScheduledAccumulatedFees() *big.Int
GetScheduledAccumulatedFees returns the accumulated fees on scheduled SC calls
func (*AdditionalData) GetScheduledDeveloperFees ¶
func (ad *AdditionalData) GetScheduledDeveloperFees() *big.Int
GetScheduledDeveloperFees returns the developer fees on scheduled SC calls
func (*AdditionalData) GetScheduledGasPenalized ¶
func (ad *AdditionalData) GetScheduledGasPenalized() uint64
GetScheduledGasPenalized returns the gas penalized on scheduled SC calls for previous block
func (*AdditionalData) GetScheduledGasProvided ¶
func (ad *AdditionalData) GetScheduledGasProvided() uint64
GetScheduledGasProvided returns the gas provided on scheduled SC calls for previous block
func (*AdditionalData) GetScheduledGasRefunded ¶
func (ad *AdditionalData) GetScheduledGasRefunded() uint64
GetScheduledGasRefunded returns the gas refunded on scheduled SC calls for previous block
func (*AdditionalData) GetScheduledRootHash ¶
func (ad *AdditionalData) GetScheduledRootHash() []byte
GetScheduledRootHash returns the scheduled RootHash
func (*AdditionalData) IsInterfaceNil ¶
func (ad *AdditionalData) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
type HeaderAdditionalData ¶
type HeaderAdditionalData interface {
GetScheduledRootHash() []byte
GetScheduledAccumulatedFees() *big.Int
GetScheduledDeveloperFees() *big.Int
GetScheduledGasProvided() uint64
GetScheduledGasPenalized() uint64
GetScheduledGasRefunded() uint64
IsInterfaceNil() bool
}
HeaderAdditionalData holds getters for the additional version related header data for new versions for future versions this interface can grow