scheduled

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthScheduled        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowScheduled          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupScheduled = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type GasAndFees

type GasAndFees struct {
	AccumulatedFees *math_big.Int `` /* 168-byte string literal not displayed */
	DeveloperFees   *math_big.Int `` /* 164-byte string literal not displayed */
	GasProvided     uint64        `protobuf:"varint,3,opt,name=GasProvided,proto3" json:"GasProvided,omitempty"`
	GasPenalized    uint64        `protobuf:"varint,4,opt,name=GasPenalized,proto3" json:"GasPenalized,omitempty"`
	GasRefunded     uint64        `protobuf:"varint,5,opt,name=GasRefunded,proto3" json:"GasRefunded,omitempty"`
}

func (*GasAndFees) Descriptor

func (*GasAndFees) Descriptor() ([]byte, []int)

func (*GasAndFees) Equal

func (this *GasAndFees) Equal(that interface{}) bool

func (*GasAndFees) GetAccumulatedFees

func (m *GasAndFees) GetAccumulatedFees() *math_big.Int

func (*GasAndFees) GetDeveloperFees

func (m *GasAndFees) GetDeveloperFees() *math_big.Int

func (*GasAndFees) GetGasPenalized

func (m *GasAndFees) GetGasPenalized() uint64

func (*GasAndFees) GetGasProvided

func (m *GasAndFees) GetGasProvided() uint64

func (*GasAndFees) GetGasRefunded

func (m *GasAndFees) GetGasRefunded() uint64

func (*GasAndFees) GoString

func (this *GasAndFees) GoString() string

func (*GasAndFees) Marshal

func (m *GasAndFees) Marshal() (dAtA []byte, err error)

func (*GasAndFees) MarshalTo

func (m *GasAndFees) MarshalTo(dAtA []byte) (int, error)

func (*GasAndFees) MarshalToSizedBuffer

func (m *GasAndFees) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GasAndFees) ProtoMessage

func (*GasAndFees) ProtoMessage()

func (*GasAndFees) Reset

func (m *GasAndFees) Reset()

func (*GasAndFees) Size

func (m *GasAndFees) Size() (n int)

func (*GasAndFees) String

func (this *GasAndFees) String() string

func (*GasAndFees) Unmarshal

func (m *GasAndFees) Unmarshal(dAtA []byte) error

func (*GasAndFees) XXX_DiscardUnknown

func (m *GasAndFees) XXX_DiscardUnknown()

func (*GasAndFees) XXX_Marshal

func (m *GasAndFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GasAndFees) XXX_Merge

func (m *GasAndFees) XXX_Merge(src proto.Message)

func (*GasAndFees) XXX_Size

func (m *GasAndFees) XXX_Size() int

func (*GasAndFees) XXX_Unmarshal

func (m *GasAndFees) XXX_Unmarshal(b []byte) error

type ScheduledSCRs

type ScheduledSCRs struct {
	RootHash            []byte                                     `protobuf:"bytes,1,opt,name=rootHash,proto3" json:"rootHash,omitempty"`
	Scrs                []*smartContractResult.SmartContractResult `protobuf:"bytes,2,rep,name=scrs,proto3" json:"scrs,omitempty"`
	InvalidTransactions []*transaction.Transaction                 `protobuf:"bytes,3,rep,name=invalidTransactions,proto3" json:"invalidTransactions,omitempty"`
	ScheduledMiniBlocks []*block.MiniBlock                         `protobuf:"bytes,4,rep,name=scheduledMiniBlocks,proto3" json:"scheduledMiniBlocks,omitempty"`
	GasAndFees          *GasAndFees                                `protobuf:"bytes,5,opt,name=gasAndFees,proto3" json:"gasAndFees,omitempty"`
}

func (*ScheduledSCRs) Descriptor

func (*ScheduledSCRs) Descriptor() ([]byte, []int)

func (*ScheduledSCRs) Equal

func (this *ScheduledSCRs) Equal(that interface{}) bool

func (*ScheduledSCRs) GetGasAndFees

func (m *ScheduledSCRs) GetGasAndFees() *GasAndFees

func (*ScheduledSCRs) GetInvalidTransactions

func (m *ScheduledSCRs) GetInvalidTransactions() []*transaction.Transaction

func (*ScheduledSCRs) GetRootHash

func (m *ScheduledSCRs) GetRootHash() []byte

func (*ScheduledSCRs) GetScheduledMiniBlocks

func (m *ScheduledSCRs) GetScheduledMiniBlocks() []*block.MiniBlock

func (*ScheduledSCRs) GetScrs

func (*ScheduledSCRs) GetTransactionHandlersMap

func (sscr *ScheduledSCRs) GetTransactionHandlersMap() map[block.Type][]data.TransactionHandler

GetTransactionHandlersMap returns the smart contract results as a map of transaction handlers

func (*ScheduledSCRs) GoString

func (this *ScheduledSCRs) GoString() string

func (*ScheduledSCRs) Marshal

func (m *ScheduledSCRs) Marshal() (dAtA []byte, err error)

func (*ScheduledSCRs) MarshalTo

func (m *ScheduledSCRs) MarshalTo(dAtA []byte) (int, error)

func (*ScheduledSCRs) MarshalToSizedBuffer

func (m *ScheduledSCRs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScheduledSCRs) ProtoMessage

func (*ScheduledSCRs) ProtoMessage()

func (*ScheduledSCRs) Reset

func (m *ScheduledSCRs) Reset()

func (*ScheduledSCRs) SetTransactionHandlersMap

func (sscr *ScheduledSCRs) SetTransactionHandlersMap(txHandlersMap map[block.Type][]data.TransactionHandler) error

SetTransactionHandlersMap fills the smart contract results map from the given transaction handlers map

func (*ScheduledSCRs) Size

func (m *ScheduledSCRs) Size() (n int)

func (*ScheduledSCRs) String

func (this *ScheduledSCRs) String() string

func (*ScheduledSCRs) Unmarshal

func (m *ScheduledSCRs) Unmarshal(dAtA []byte) error

func (*ScheduledSCRs) XXX_DiscardUnknown

func (m *ScheduledSCRs) XXX_DiscardUnknown()

func (*ScheduledSCRs) XXX_Marshal

func (m *ScheduledSCRs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduledSCRs) XXX_Merge

func (m *ScheduledSCRs) XXX_Merge(src proto.Message)

func (*ScheduledSCRs) XXX_Size

func (m *ScheduledSCRs) XXX_Size() int

func (*ScheduledSCRs) XXX_Unmarshal

func (m *ScheduledSCRs) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL