Documentation ¶
Index ¶
- Variables
- type AccessPath
- func (*AccessPath) Descriptor() ([]byte, []int)
- func (this *AccessPath) Equal(that interface{}) bool
- func (m *AccessPath) GetAddress() []byte
- func (m *AccessPath) GetPath() []byte
- func (this *AccessPath) GoString() string
- func (m *AccessPath) Marshal() (dAtA []byte, err error)
- func (m *AccessPath) MarshalTo(dAtA []byte) (int, error)
- func (*AccessPath) ProtoMessage()
- func (m *AccessPath) Reset()
- func (m *AccessPath) Size() (n int)
- func (this *AccessPath) String() string
- func (m *AccessPath) Unmarshal(dAtA []byte) error
- func (m *AccessPath) XXX_DiscardUnknown()
- func (m *AccessPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessPath) XXX_Merge(src proto.Message)
- func (m *AccessPath) XXX_Size() int
- func (m *AccessPath) XXX_Unmarshal(b []byte) error
- type AccountState
- func (*AccountState) Descriptor() ([]byte, []int)
- func (this *AccountState) Equal(that interface{}) bool
- func (m *AccountState) GetAddress() []byte
- func (m *AccountState) GetBlob() []byte
- func (this *AccountState) GoString() string
- func (m *AccountState) Marshal() (dAtA []byte, err error)
- func (m *AccountState) MarshalTo(dAtA []byte) (int, error)
- func (*AccountState) ProtoMessage()
- func (m *AccountState) Reset()
- func (m *AccountState) Size() (n int)
- func (this *AccountState) String() string
- func (m *AccountState) Unmarshal(dAtA []byte) error
- func (m *AccountState) XXX_DiscardUnknown()
- func (m *AccountState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountState) XXX_Merge(src proto.Message)
- func (m *AccountState) XXX_Size() int
- func (m *AccountState) XXX_Unmarshal(b []byte) error
- type AccountStateBlob
- func (*AccountStateBlob) Descriptor() ([]byte, []int)
- func (this *AccountStateBlob) Equal(that interface{}) bool
- func (m *AccountStateBlob) GetBlob() []byte
- func (this *AccountStateBlob) GoString() string
- func (m *AccountStateBlob) Marshal() (dAtA []byte, err error)
- func (m *AccountStateBlob) MarshalTo(dAtA []byte) (int, error)
- func (*AccountStateBlob) ProtoMessage()
- func (m *AccountStateBlob) Reset()
- func (m *AccountStateBlob) Size() (n int)
- func (this *AccountStateBlob) String() string
- func (m *AccountStateBlob) Unmarshal(dAtA []byte) error
- func (m *AccountStateBlob) XXX_DiscardUnknown()
- func (m *AccountStateBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountStateBlob) XXX_Merge(src proto.Message)
- func (m *AccountStateBlob) XXX_Size() int
- func (m *AccountStateBlob) XXX_Unmarshal(b []byte) error
- type AccountStateProof
- func (*AccountStateProof) Descriptor() ([]byte, []int)
- func (this *AccountStateProof) Equal(that interface{}) bool
- func (m *AccountStateProof) GetLedgerInfoToTransactionInfoProof() *AccumulatorProof
- func (m *AccountStateProof) GetTransactionInfo() *TransactionInfo
- func (m *AccountStateProof) GetTransactionInfoToAccountProof() *SparseMerkleProof
- func (this *AccountStateProof) GoString() string
- func (m *AccountStateProof) Marshal() (dAtA []byte, err error)
- func (m *AccountStateProof) MarshalTo(dAtA []byte) (int, error)
- func (*AccountStateProof) ProtoMessage()
- func (m *AccountStateProof) Reset()
- func (m *AccountStateProof) Size() (n int)
- func (this *AccountStateProof) String() string
- func (m *AccountStateProof) Unmarshal(dAtA []byte) error
- func (m *AccountStateProof) XXX_DiscardUnknown()
- func (m *AccountStateProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountStateProof) XXX_Merge(src proto.Message)
- func (m *AccountStateProof) XXX_Size() int
- func (m *AccountStateProof) XXX_Unmarshal(b []byte) error
- type AccountStateWithProof
- func (*AccountStateWithProof) Descriptor() ([]byte, []int)
- func (this *AccountStateWithProof) Equal(that interface{}) bool
- func (m *AccountStateWithProof) GetBlob() *AccountStateBlob
- func (m *AccountStateWithProof) GetProof() *AccountStateProof
- func (m *AccountStateWithProof) GetVersion() uint64
- func (this *AccountStateWithProof) GoString() string
- func (m *AccountStateWithProof) Marshal() (dAtA []byte, err error)
- func (m *AccountStateWithProof) MarshalTo(dAtA []byte) (int, error)
- func (*AccountStateWithProof) ProtoMessage()
- func (m *AccountStateWithProof) Reset()
- func (m *AccountStateWithProof) Size() (n int)
- func (this *AccountStateWithProof) String() string
- func (m *AccountStateWithProof) Unmarshal(dAtA []byte) error
- func (m *AccountStateWithProof) XXX_DiscardUnknown()
- func (m *AccountStateWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountStateWithProof) XXX_Merge(src proto.Message)
- func (m *AccountStateWithProof) XXX_Size() int
- func (m *AccountStateWithProof) XXX_Unmarshal(b []byte) error
- type AccumulatorProof
- func (*AccumulatorProof) Descriptor() ([]byte, []int)
- func (this *AccumulatorProof) Equal(that interface{}) bool
- func (m *AccumulatorProof) GetBitmap() uint64
- func (m *AccumulatorProof) GetNonDefaultSiblings() [][]byte
- func (this *AccumulatorProof) GoString() string
- func (m *AccumulatorProof) Marshal() (dAtA []byte, err error)
- func (m *AccumulatorProof) MarshalTo(dAtA []byte) (int, error)
- func (*AccumulatorProof) ProtoMessage()
- func (m *AccumulatorProof) Reset()
- func (m *AccumulatorProof) Size() (n int)
- func (this *AccumulatorProof) String() string
- func (m *AccumulatorProof) Unmarshal(dAtA []byte) error
- func (m *AccumulatorProof) XXX_DiscardUnknown()
- func (m *AccumulatorProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccumulatorProof) XXX_Merge(src proto.Message)
- func (m *AccumulatorProof) XXX_Size() int
- func (m *AccumulatorProof) XXX_Unmarshal(b []byte) error
- type ArithmeticError
- func (*ArithmeticError) Descriptor() ([]byte, []int)
- func (this *ArithmeticError) Equal(that interface{}) bool
- func (m *ArithmeticError) GetErrorCode() ArithmeticError_ArithmeticErrorType
- func (this *ArithmeticError) GoString() string
- func (m *ArithmeticError) Marshal() (dAtA []byte, err error)
- func (m *ArithmeticError) MarshalTo(dAtA []byte) (int, error)
- func (*ArithmeticError) ProtoMessage()
- func (m *ArithmeticError) Reset()
- func (m *ArithmeticError) Size() (n int)
- func (this *ArithmeticError) String() string
- func (m *ArithmeticError) Unmarshal(dAtA []byte) error
- func (m *ArithmeticError) XXX_DiscardUnknown()
- func (m *ArithmeticError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArithmeticError) XXX_Merge(src proto.Message)
- func (m *ArithmeticError) XXX_Size() int
- func (m *ArithmeticError) XXX_Unmarshal(b []byte) error
- type ArithmeticError_ArithmeticErrorType
- type AssertionFailure
- func (*AssertionFailure) Descriptor() ([]byte, []int)
- func (this *AssertionFailure) Equal(that interface{}) bool
- func (m *AssertionFailure) GetAssertionErrorCode() uint64
- func (this *AssertionFailure) GoString() string
- func (m *AssertionFailure) Marshal() (dAtA []byte, err error)
- func (m *AssertionFailure) MarshalTo(dAtA []byte) (int, error)
- func (*AssertionFailure) ProtoMessage()
- func (m *AssertionFailure) Reset()
- func (m *AssertionFailure) Size() (n int)
- func (this *AssertionFailure) String() string
- func (m *AssertionFailure) Unmarshal(dAtA []byte) error
- func (m *AssertionFailure) XXX_DiscardUnknown()
- func (m *AssertionFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssertionFailure) XXX_Merge(src proto.Message)
- func (m *AssertionFailure) XXX_Size() int
- func (m *AssertionFailure) XXX_Unmarshal(b []byte) error
- type BinaryError
- type DynamicReferenceError
- func (*DynamicReferenceError) Descriptor() ([]byte, []int)
- func (this *DynamicReferenceError) Equal(that interface{}) bool
- func (m *DynamicReferenceError) GetErrorCode() DynamicReferenceError_DynamicReferenceErrorType
- func (this *DynamicReferenceError) GoString() string
- func (m *DynamicReferenceError) Marshal() (dAtA []byte, err error)
- func (m *DynamicReferenceError) MarshalTo(dAtA []byte) (int, error)
- func (*DynamicReferenceError) ProtoMessage()
- func (m *DynamicReferenceError) Reset()
- func (m *DynamicReferenceError) Size() (n int)
- func (this *DynamicReferenceError) String() string
- func (m *DynamicReferenceError) Unmarshal(dAtA []byte) error
- func (m *DynamicReferenceError) XXX_DiscardUnknown()
- func (m *DynamicReferenceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DynamicReferenceError) XXX_Merge(src proto.Message)
- func (m *DynamicReferenceError) XXX_Size() int
- func (m *DynamicReferenceError) XXX_Unmarshal(b []byte) error
- type DynamicReferenceError_DynamicReferenceErrorType
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (this *Event) Equal(that interface{}) bool
- func (m *Event) GetAccessPath() *AccessPath
- func (m *Event) GetEventData() []byte
- func (m *Event) GetSequenceNumber() uint64
- func (this *Event) GoString() string
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (this *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EventProof
- func (*EventProof) Descriptor() ([]byte, []int)
- func (this *EventProof) Equal(that interface{}) bool
- func (m *EventProof) GetLedgerInfoToTransactionInfoProof() *AccumulatorProof
- func (m *EventProof) GetTransactionInfo() *TransactionInfo
- func (m *EventProof) GetTransactionInfoToEventProof() *AccumulatorProof
- func (this *EventProof) GoString() string
- func (m *EventProof) Marshal() (dAtA []byte, err error)
- func (m *EventProof) MarshalTo(dAtA []byte) (int, error)
- func (*EventProof) ProtoMessage()
- func (m *EventProof) Reset()
- func (m *EventProof) Size() (n int)
- func (this *EventProof) String() string
- func (m *EventProof) Unmarshal(dAtA []byte) error
- func (m *EventProof) XXX_DiscardUnknown()
- func (m *EventProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventProof) XXX_Merge(src proto.Message)
- func (m *EventProof) XXX_Size() int
- func (m *EventProof) XXX_Unmarshal(b []byte) error
- type EventWithProof
- func (*EventWithProof) Descriptor() ([]byte, []int)
- func (this *EventWithProof) Equal(that interface{}) bool
- func (m *EventWithProof) GetEvent() *Event
- func (m *EventWithProof) GetEventIndex() uint64
- func (m *EventWithProof) GetProof() *EventProof
- func (m *EventWithProof) GetTransactionVersion() uint64
- func (this *EventWithProof) GoString() string
- func (m *EventWithProof) Marshal() (dAtA []byte, err error)
- func (m *EventWithProof) MarshalTo(dAtA []byte) (int, error)
- func (*EventWithProof) ProtoMessage()
- func (m *EventWithProof) Reset()
- func (m *EventWithProof) Size() (n int)
- func (this *EventWithProof) String() string
- func (m *EventWithProof) Unmarshal(dAtA []byte) error
- func (m *EventWithProof) XXX_DiscardUnknown()
- func (m *EventWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventWithProof) XXX_Merge(src proto.Message)
- func (m *EventWithProof) XXX_Size() int
- func (m *EventWithProof) XXX_Unmarshal(b []byte) error
- type EventsForVersions
- func (*EventsForVersions) Descriptor() ([]byte, []int)
- func (this *EventsForVersions) Equal(that interface{}) bool
- func (m *EventsForVersions) GetEventsForVersion() []*EventsList
- func (this *EventsForVersions) GoString() string
- func (m *EventsForVersions) Marshal() (dAtA []byte, err error)
- func (m *EventsForVersions) MarshalTo(dAtA []byte) (int, error)
- func (*EventsForVersions) ProtoMessage()
- func (m *EventsForVersions) Reset()
- func (m *EventsForVersions) Size() (n int)
- func (this *EventsForVersions) String() string
- func (m *EventsForVersions) Unmarshal(dAtA []byte) error
- func (m *EventsForVersions) XXX_DiscardUnknown()
- func (m *EventsForVersions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventsForVersions) XXX_Merge(src proto.Message)
- func (m *EventsForVersions) XXX_Size() int
- func (m *EventsForVersions) XXX_Unmarshal(b []byte) error
- type EventsList
- func (*EventsList) Descriptor() ([]byte, []int)
- func (this *EventsList) Equal(that interface{}) bool
- func (m *EventsList) GetEvents() []*Event
- func (this *EventsList) GoString() string
- func (m *EventsList) Marshal() (dAtA []byte, err error)
- func (m *EventsList) MarshalTo(dAtA []byte) (int, error)
- func (*EventsList) ProtoMessage()
- func (m *EventsList) Reset()
- func (m *EventsList) Size() (n int)
- func (this *EventsList) String() string
- func (m *EventsList) Unmarshal(dAtA []byte) error
- func (m *EventsList) XXX_DiscardUnknown()
- func (m *EventsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventsList) XXX_Merge(src proto.Message)
- func (m *EventsList) XXX_Size() int
- func (m *EventsList) XXX_Unmarshal(b []byte) error
- type ExecutionStatus
- func (*ExecutionStatus) Descriptor() ([]byte, []int)
- func (this *ExecutionStatus) Equal(that interface{}) bool
- func (m *ExecutionStatus) GetArithmeticError() *ArithmeticError
- func (m *ExecutionStatus) GetAssertionFailure() *AssertionFailure
- func (m *ExecutionStatus) GetExecutionStatus() isExecutionStatus_ExecutionStatus
- func (m *ExecutionStatus) GetReferenceError() *DynamicReferenceError
- func (m *ExecutionStatus) GetRuntimeStatus() RuntimeStatus
- func (this *ExecutionStatus) GoString() string
- func (m *ExecutionStatus) Marshal() (dAtA []byte, err error)
- func (m *ExecutionStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ExecutionStatus) ProtoMessage()
- func (m *ExecutionStatus) Reset()
- func (m *ExecutionStatus) Size() (n int)
- func (this *ExecutionStatus) String() string
- func (m *ExecutionStatus) Unmarshal(dAtA []byte) error
- func (m *ExecutionStatus) XXX_DiscardUnknown()
- func (m *ExecutionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionStatus) XXX_Merge(src proto.Message)
- func (*ExecutionStatus) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ExecutionStatus) XXX_Size() int
- func (m *ExecutionStatus) XXX_Unmarshal(b []byte) error
- type ExecutionStatus_ArithmeticError
- func (this *ExecutionStatus_ArithmeticError) Equal(that interface{}) bool
- func (this *ExecutionStatus_ArithmeticError) GoString() string
- func (m *ExecutionStatus_ArithmeticError) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecutionStatus_ArithmeticError) Size() (n int)
- func (this *ExecutionStatus_ArithmeticError) String() string
- type ExecutionStatus_AssertionFailure
- func (this *ExecutionStatus_AssertionFailure) Equal(that interface{}) bool
- func (this *ExecutionStatus_AssertionFailure) GoString() string
- func (m *ExecutionStatus_AssertionFailure) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecutionStatus_AssertionFailure) Size() (n int)
- func (this *ExecutionStatus_AssertionFailure) String() string
- type ExecutionStatus_ReferenceError
- func (this *ExecutionStatus_ReferenceError) Equal(that interface{}) bool
- func (this *ExecutionStatus_ReferenceError) GoString() string
- func (m *ExecutionStatus_ReferenceError) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecutionStatus_ReferenceError) Size() (n int)
- func (this *ExecutionStatus_ReferenceError) String() string
- type ExecutionStatus_RuntimeStatus
- func (this *ExecutionStatus_RuntimeStatus) Equal(that interface{}) bool
- func (this *ExecutionStatus_RuntimeStatus) GoString() string
- func (m *ExecutionStatus_RuntimeStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecutionStatus_RuntimeStatus) Size() (n int)
- func (this *ExecutionStatus_RuntimeStatus) String() string
- type GetAccountStateRequest
- func (*GetAccountStateRequest) Descriptor() ([]byte, []int)
- func (this *GetAccountStateRequest) Equal(that interface{}) bool
- func (m *GetAccountStateRequest) GetAddress() []byte
- func (this *GetAccountStateRequest) GoString() string
- func (m *GetAccountStateRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAccountStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetAccountStateRequest) ProtoMessage()
- func (m *GetAccountStateRequest) Reset()
- func (m *GetAccountStateRequest) Size() (n int)
- func (this *GetAccountStateRequest) String() string
- func (m *GetAccountStateRequest) Unmarshal(dAtA []byte) error
- func (m *GetAccountStateRequest) XXX_DiscardUnknown()
- func (m *GetAccountStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountStateRequest) XXX_Merge(src proto.Message)
- func (m *GetAccountStateRequest) XXX_Size() int
- func (m *GetAccountStateRequest) XXX_Unmarshal(b []byte) error
- type GetAccountStateResponse
- func (*GetAccountStateResponse) Descriptor() ([]byte, []int)
- func (this *GetAccountStateResponse) Equal(that interface{}) bool
- func (m *GetAccountStateResponse) GetAccountStateWithProof() *AccountStateWithProof
- func (this *GetAccountStateResponse) GoString() string
- func (m *GetAccountStateResponse) Marshal() (dAtA []byte, err error)
- func (m *GetAccountStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetAccountStateResponse) ProtoMessage()
- func (m *GetAccountStateResponse) Reset()
- func (m *GetAccountStateResponse) Size() (n int)
- func (this *GetAccountStateResponse) String() string
- func (m *GetAccountStateResponse) Unmarshal(dAtA []byte) error
- func (m *GetAccountStateResponse) XXX_DiscardUnknown()
- func (m *GetAccountStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountStateResponse) XXX_Merge(src proto.Message)
- func (m *GetAccountStateResponse) XXX_Size() int
- func (m *GetAccountStateResponse) XXX_Unmarshal(b []byte) error
- type GetAccountTransactionBySequenceNumberRequest
- func (*GetAccountTransactionBySequenceNumberRequest) Descriptor() ([]byte, []int)
- func (this *GetAccountTransactionBySequenceNumberRequest) Equal(that interface{}) bool
- func (m *GetAccountTransactionBySequenceNumberRequest) GetAccount() []byte
- func (m *GetAccountTransactionBySequenceNumberRequest) GetFetchEvents() bool
- func (m *GetAccountTransactionBySequenceNumberRequest) GetSequenceNumber() uint64
- func (this *GetAccountTransactionBySequenceNumberRequest) GoString() string
- func (m *GetAccountTransactionBySequenceNumberRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAccountTransactionBySequenceNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetAccountTransactionBySequenceNumberRequest) ProtoMessage()
- func (m *GetAccountTransactionBySequenceNumberRequest) Reset()
- func (m *GetAccountTransactionBySequenceNumberRequest) Size() (n int)
- func (this *GetAccountTransactionBySequenceNumberRequest) String() string
- func (m *GetAccountTransactionBySequenceNumberRequest) Unmarshal(dAtA []byte) error
- func (m *GetAccountTransactionBySequenceNumberRequest) XXX_DiscardUnknown()
- func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Merge(src proto.Message)
- func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Size() int
- func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Unmarshal(b []byte) error
- type GetAccountTransactionBySequenceNumberResponse
- func (*GetAccountTransactionBySequenceNumberResponse) Descriptor() ([]byte, []int)
- func (this *GetAccountTransactionBySequenceNumberResponse) Equal(that interface{}) bool
- func (m *GetAccountTransactionBySequenceNumberResponse) GetProofOfCurrentSequenceNumber() *AccountStateWithProof
- func (m *GetAccountTransactionBySequenceNumberResponse) GetSignedTransactionWithProof() *SignedTransactionWithProof
- func (this *GetAccountTransactionBySequenceNumberResponse) GoString() string
- func (m *GetAccountTransactionBySequenceNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *GetAccountTransactionBySequenceNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetAccountTransactionBySequenceNumberResponse) ProtoMessage()
- func (m *GetAccountTransactionBySequenceNumberResponse) Reset()
- func (m *GetAccountTransactionBySequenceNumberResponse) Size() (n int)
- func (this *GetAccountTransactionBySequenceNumberResponse) String() string
- func (m *GetAccountTransactionBySequenceNumberResponse) Unmarshal(dAtA []byte) error
- func (m *GetAccountTransactionBySequenceNumberResponse) XXX_DiscardUnknown()
- func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Merge(src proto.Message)
- func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Size() int
- func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Unmarshal(b []byte) error
- type GetEventsByEventAccessPathRequest
- func (*GetEventsByEventAccessPathRequest) Descriptor() ([]byte, []int)
- func (this *GetEventsByEventAccessPathRequest) Equal(that interface{}) bool
- func (m *GetEventsByEventAccessPathRequest) GetAccessPath() *AccessPath
- func (m *GetEventsByEventAccessPathRequest) GetAscending() bool
- func (m *GetEventsByEventAccessPathRequest) GetLimit() uint64
- func (m *GetEventsByEventAccessPathRequest) GetStartEventSeqNum() uint64
- func (this *GetEventsByEventAccessPathRequest) GoString() string
- func (m *GetEventsByEventAccessPathRequest) Marshal() (dAtA []byte, err error)
- func (m *GetEventsByEventAccessPathRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetEventsByEventAccessPathRequest) ProtoMessage()
- func (m *GetEventsByEventAccessPathRequest) Reset()
- func (m *GetEventsByEventAccessPathRequest) Size() (n int)
- func (this *GetEventsByEventAccessPathRequest) String() string
- func (m *GetEventsByEventAccessPathRequest) Unmarshal(dAtA []byte) error
- func (m *GetEventsByEventAccessPathRequest) XXX_DiscardUnknown()
- func (m *GetEventsByEventAccessPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventsByEventAccessPathRequest) XXX_Merge(src proto.Message)
- func (m *GetEventsByEventAccessPathRequest) XXX_Size() int
- func (m *GetEventsByEventAccessPathRequest) XXX_Unmarshal(b []byte) error
- type GetEventsByEventAccessPathResponse
- func (*GetEventsByEventAccessPathResponse) Descriptor() ([]byte, []int)
- func (this *GetEventsByEventAccessPathResponse) Equal(that interface{}) bool
- func (m *GetEventsByEventAccessPathResponse) GetEventsWithProof() []*EventWithProof
- func (m *GetEventsByEventAccessPathResponse) GetProofOfLatestEvent() *AccountStateWithProof
- func (this *GetEventsByEventAccessPathResponse) GoString() string
- func (m *GetEventsByEventAccessPathResponse) Marshal() (dAtA []byte, err error)
- func (m *GetEventsByEventAccessPathResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetEventsByEventAccessPathResponse) ProtoMessage()
- func (m *GetEventsByEventAccessPathResponse) Reset()
- func (m *GetEventsByEventAccessPathResponse) Size() (n int)
- func (this *GetEventsByEventAccessPathResponse) String() string
- func (m *GetEventsByEventAccessPathResponse) Unmarshal(dAtA []byte) error
- func (m *GetEventsByEventAccessPathResponse) XXX_DiscardUnknown()
- func (m *GetEventsByEventAccessPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventsByEventAccessPathResponse) XXX_Merge(src proto.Message)
- func (m *GetEventsByEventAccessPathResponse) XXX_Size() int
- func (m *GetEventsByEventAccessPathResponse) XXX_Unmarshal(b []byte) error
- type GetTransactionsRequest
- func (*GetTransactionsRequest) Descriptor() ([]byte, []int)
- func (this *GetTransactionsRequest) Equal(that interface{}) bool
- func (m *GetTransactionsRequest) GetFetchEvents() bool
- func (m *GetTransactionsRequest) GetLimit() uint64
- func (m *GetTransactionsRequest) GetStartVersion() uint64
- func (this *GetTransactionsRequest) GoString() string
- func (m *GetTransactionsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetTransactionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetTransactionsRequest) ProtoMessage()
- func (m *GetTransactionsRequest) Reset()
- func (m *GetTransactionsRequest) Size() (n int)
- func (this *GetTransactionsRequest) String() string
- func (m *GetTransactionsRequest) Unmarshal(dAtA []byte) error
- func (m *GetTransactionsRequest) XXX_DiscardUnknown()
- func (m *GetTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTransactionsRequest) XXX_Merge(src proto.Message)
- func (m *GetTransactionsRequest) XXX_Size() int
- func (m *GetTransactionsRequest) XXX_Unmarshal(b []byte) error
- type GetTransactionsResponse
- func (*GetTransactionsResponse) Descriptor() ([]byte, []int)
- func (this *GetTransactionsResponse) Equal(that interface{}) bool
- func (m *GetTransactionsResponse) GetTxnListWithProof() *TransactionListWithProof
- func (this *GetTransactionsResponse) GoString() string
- func (m *GetTransactionsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetTransactionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetTransactionsResponse) ProtoMessage()
- func (m *GetTransactionsResponse) Reset()
- func (m *GetTransactionsResponse) Size() (n int)
- func (this *GetTransactionsResponse) String() string
- func (m *GetTransactionsResponse) Unmarshal(dAtA []byte) error
- func (m *GetTransactionsResponse) XXX_DiscardUnknown()
- func (m *GetTransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTransactionsResponse) XXX_Merge(src proto.Message)
- func (m *GetTransactionsResponse) XXX_Size() int
- func (m *GetTransactionsResponse) XXX_Unmarshal(b []byte) error
- type LedgerInfo
- func (*LedgerInfo) Descriptor() ([]byte, []int)
- func (this *LedgerInfo) Equal(that interface{}) bool
- func (m *LedgerInfo) GetConsensusBlockId() []byte
- func (m *LedgerInfo) GetConsensusDataHash() []byte
- func (m *LedgerInfo) GetEpochNum() uint64
- func (m *LedgerInfo) GetTimestampUsecs() uint64
- func (m *LedgerInfo) GetTransactionAccumulatorHash() []byte
- func (m *LedgerInfo) GetVersion() uint64
- func (this *LedgerInfo) GoString() string
- func (m *LedgerInfo) Marshal() (dAtA []byte, err error)
- func (m *LedgerInfo) MarshalTo(dAtA []byte) (int, error)
- func (*LedgerInfo) ProtoMessage()
- func (m *LedgerInfo) Reset()
- func (m *LedgerInfo) Size() (n int)
- func (this *LedgerInfo) String() string
- func (m *LedgerInfo) Unmarshal(dAtA []byte) error
- func (m *LedgerInfo) XXX_DiscardUnknown()
- func (m *LedgerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerInfo) XXX_Merge(src proto.Message)
- func (m *LedgerInfo) XXX_Size() int
- func (m *LedgerInfo) XXX_Unmarshal(b []byte) error
- type LedgerInfoWithSignatures
- func (*LedgerInfoWithSignatures) Descriptor() ([]byte, []int)
- func (this *LedgerInfoWithSignatures) Equal(that interface{}) bool
- func (m *LedgerInfoWithSignatures) GetLedgerInfo() *LedgerInfo
- func (m *LedgerInfoWithSignatures) GetSignatures() []*ValidatorSignature
- func (this *LedgerInfoWithSignatures) GoString() string
- func (m *LedgerInfoWithSignatures) Marshal() (dAtA []byte, err error)
- func (m *LedgerInfoWithSignatures) MarshalTo(dAtA []byte) (int, error)
- func (*LedgerInfoWithSignatures) ProtoMessage()
- func (m *LedgerInfoWithSignatures) Reset()
- func (m *LedgerInfoWithSignatures) Size() (n int)
- func (this *LedgerInfoWithSignatures) String() string
- func (m *LedgerInfoWithSignatures) Unmarshal(dAtA []byte) error
- func (m *LedgerInfoWithSignatures) XXX_DiscardUnknown()
- func (m *LedgerInfoWithSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerInfoWithSignatures) XXX_Merge(src proto.Message)
- func (m *LedgerInfoWithSignatures) XXX_Size() int
- func (m *LedgerInfoWithSignatures) XXX_Unmarshal(b []byte) error
- type ModuleId
- func (*ModuleId) Descriptor() ([]byte, []int)
- func (this *ModuleId) Equal(that interface{}) bool
- func (m *ModuleId) GetAddress() []byte
- func (m *ModuleId) GetName() string
- func (this *ModuleId) GoString() string
- func (m *ModuleId) Marshal() (dAtA []byte, err error)
- func (m *ModuleId) MarshalTo(dAtA []byte) (int, error)
- func (*ModuleId) ProtoMessage()
- func (m *ModuleId) Reset()
- func (m *ModuleId) Size() (n int)
- func (this *ModuleId) String() string
- func (m *ModuleId) Unmarshal(dAtA []byte) error
- func (m *ModuleId) XXX_DiscardUnknown()
- func (m *ModuleId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModuleId) XXX_Merge(src proto.Message)
- func (m *ModuleId) XXX_Size() int
- func (m *ModuleId) XXX_Unmarshal(b []byte) error
- type Program
- func (*Program) Descriptor() ([]byte, []int)
- func (this *Program) Equal(that interface{}) bool
- func (m *Program) GetArguments() []*TransactionArgument
- func (m *Program) GetCode() []byte
- func (m *Program) GetModules() [][]byte
- func (this *Program) GoString() string
- func (m *Program) Marshal() (dAtA []byte, err error)
- func (m *Program) MarshalTo(dAtA []byte) (int, error)
- func (*Program) ProtoMessage()
- func (m *Program) Reset()
- func (m *Program) Size() (n int)
- func (this *Program) String() string
- func (m *Program) Unmarshal(dAtA []byte) error
- func (m *Program) XXX_DiscardUnknown()
- func (m *Program) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Program) XXX_Merge(src proto.Message)
- func (m *Program) XXX_Size() int
- func (m *Program) XXX_Unmarshal(b []byte) error
- type RawTransaction
- func (*RawTransaction) Descriptor() ([]byte, []int)
- func (this *RawTransaction) Equal(that interface{}) bool
- func (m *RawTransaction) GetExpirationTime() uint64
- func (m *RawTransaction) GetGasUnitPrice() uint64
- func (m *RawTransaction) GetMaxGasAmount() uint64
- func (m *RawTransaction) GetPayload() isRawTransaction_Payload
- func (m *RawTransaction) GetProgram() *Program
- func (m *RawTransaction) GetSenderAccount() []byte
- func (m *RawTransaction) GetSequenceNumber() uint64
- func (m *RawTransaction) GetWriteSet() *WriteSet
- func (this *RawTransaction) GoString() string
- func (m *RawTransaction) Marshal() (dAtA []byte, err error)
- func (m *RawTransaction) MarshalTo(dAtA []byte) (int, error)
- func (*RawTransaction) ProtoMessage()
- func (m *RawTransaction) Reset()
- func (m *RawTransaction) Size() (n int)
- func (this *RawTransaction) String() string
- func (m *RawTransaction) Unmarshal(dAtA []byte) error
- func (m *RawTransaction) XXX_DiscardUnknown()
- func (m *RawTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawTransaction) XXX_Merge(src proto.Message)
- func (*RawTransaction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *RawTransaction) XXX_Size() int
- func (m *RawTransaction) XXX_Unmarshal(b []byte) error
- type RawTransaction_Program
- type RawTransaction_WriteSet
- type RequestItem
- func (*RequestItem) Descriptor() ([]byte, []int)
- func (this *RequestItem) Equal(that interface{}) bool
- func (m *RequestItem) GetGetAccountStateRequest() *GetAccountStateRequest
- func (m *RequestItem) GetGetAccountTransactionBySequenceNumberRequest() *GetAccountTransactionBySequenceNumberRequest
- func (m *RequestItem) GetGetEventsByEventAccessPathRequest() *GetEventsByEventAccessPathRequest
- func (m *RequestItem) GetGetTransactionsRequest() *GetTransactionsRequest
- func (m *RequestItem) GetRequestedItems() isRequestItem_RequestedItems
- func (this *RequestItem) GoString() string
- func (m *RequestItem) Marshal() (dAtA []byte, err error)
- func (m *RequestItem) MarshalTo(dAtA []byte) (int, error)
- func (*RequestItem) ProtoMessage()
- func (m *RequestItem) Reset()
- func (m *RequestItem) Size() (n int)
- func (this *RequestItem) String() string
- func (m *RequestItem) Unmarshal(dAtA []byte) error
- func (m *RequestItem) XXX_DiscardUnknown()
- func (m *RequestItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestItem) XXX_Merge(src proto.Message)
- func (*RequestItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *RequestItem) XXX_Size() int
- func (m *RequestItem) XXX_Unmarshal(b []byte) error
- type RequestItem_GetAccountStateRequest
- func (this *RequestItem_GetAccountStateRequest) Equal(that interface{}) bool
- func (this *RequestItem_GetAccountStateRequest) GoString() string
- func (m *RequestItem_GetAccountStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestItem_GetAccountStateRequest) Size() (n int)
- func (this *RequestItem_GetAccountStateRequest) String() string
- type RequestItem_GetAccountTransactionBySequenceNumberRequest
- func (this *RequestItem_GetAccountTransactionBySequenceNumberRequest) Equal(that interface{}) bool
- func (this *RequestItem_GetAccountTransactionBySequenceNumberRequest) GoString() string
- func (m *RequestItem_GetAccountTransactionBySequenceNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestItem_GetAccountTransactionBySequenceNumberRequest) Size() (n int)
- func (this *RequestItem_GetAccountTransactionBySequenceNumberRequest) String() string
- type RequestItem_GetEventsByEventAccessPathRequest
- func (this *RequestItem_GetEventsByEventAccessPathRequest) Equal(that interface{}) bool
- func (this *RequestItem_GetEventsByEventAccessPathRequest) GoString() string
- func (m *RequestItem_GetEventsByEventAccessPathRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestItem_GetEventsByEventAccessPathRequest) Size() (n int)
- func (this *RequestItem_GetEventsByEventAccessPathRequest) String() string
- type RequestItem_GetTransactionsRequest
- func (this *RequestItem_GetTransactionsRequest) Equal(that interface{}) bool
- func (this *RequestItem_GetTransactionsRequest) GoString() string
- func (m *RequestItem_GetTransactionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestItem_GetTransactionsRequest) Size() (n int)
- func (this *RequestItem_GetTransactionsRequest) String() string
- type ResponseItem
- func (*ResponseItem) Descriptor() ([]byte, []int)
- func (this *ResponseItem) Equal(that interface{}) bool
- func (m *ResponseItem) GetGetAccountStateResponse() *GetAccountStateResponse
- func (m *ResponseItem) GetGetAccountTransactionBySequenceNumberResponse() *GetAccountTransactionBySequenceNumberResponse
- func (m *ResponseItem) GetGetEventsByEventAccessPathResponse() *GetEventsByEventAccessPathResponse
- func (m *ResponseItem) GetGetTransactionsResponse() *GetTransactionsResponse
- func (m *ResponseItem) GetResponseItems() isResponseItem_ResponseItems
- func (this *ResponseItem) GoString() string
- func (m *ResponseItem) Marshal() (dAtA []byte, err error)
- func (m *ResponseItem) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseItem) ProtoMessage()
- func (m *ResponseItem) Reset()
- func (m *ResponseItem) Size() (n int)
- func (this *ResponseItem) String() string
- func (m *ResponseItem) Unmarshal(dAtA []byte) error
- func (m *ResponseItem) XXX_DiscardUnknown()
- func (m *ResponseItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseItem) XXX_Merge(src proto.Message)
- func (*ResponseItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ResponseItem) XXX_Size() int
- func (m *ResponseItem) XXX_Unmarshal(b []byte) error
- type ResponseItem_GetAccountStateResponse
- func (this *ResponseItem_GetAccountStateResponse) Equal(that interface{}) bool
- func (this *ResponseItem_GetAccountStateResponse) GoString() string
- func (m *ResponseItem_GetAccountStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseItem_GetAccountStateResponse) Size() (n int)
- func (this *ResponseItem_GetAccountStateResponse) String() string
- type ResponseItem_GetAccountTransactionBySequenceNumberResponse
- func (this *ResponseItem_GetAccountTransactionBySequenceNumberResponse) Equal(that interface{}) bool
- func (this *ResponseItem_GetAccountTransactionBySequenceNumberResponse) GoString() string
- func (m *ResponseItem_GetAccountTransactionBySequenceNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseItem_GetAccountTransactionBySequenceNumberResponse) Size() (n int)
- func (this *ResponseItem_GetAccountTransactionBySequenceNumberResponse) String() string
- type ResponseItem_GetEventsByEventAccessPathResponse
- func (this *ResponseItem_GetEventsByEventAccessPathResponse) Equal(that interface{}) bool
- func (this *ResponseItem_GetEventsByEventAccessPathResponse) GoString() string
- func (m *ResponseItem_GetEventsByEventAccessPathResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseItem_GetEventsByEventAccessPathResponse) Size() (n int)
- func (this *ResponseItem_GetEventsByEventAccessPathResponse) String() string
- type ResponseItem_GetTransactionsResponse
- func (this *ResponseItem_GetTransactionsResponse) Equal(that interface{}) bool
- func (this *ResponseItem_GetTransactionsResponse) GoString() string
- func (m *ResponseItem_GetTransactionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseItem_GetTransactionsResponse) Size() (n int)
- func (this *ResponseItem_GetTransactionsResponse) String() string
- type RuntimeStatus
- type SignedTransaction
- func (*SignedTransaction) Descriptor() ([]byte, []int)
- func (this *SignedTransaction) Equal(that interface{}) bool
- func (m *SignedTransaction) GetRawTxnBytes() []byte
- func (m *SignedTransaction) GetSenderPublicKey() []byte
- func (m *SignedTransaction) GetSenderSignature() []byte
- func (this *SignedTransaction) GoString() string
- func (m *SignedTransaction) Marshal() (dAtA []byte, err error)
- func (m *SignedTransaction) MarshalTo(dAtA []byte) (int, error)
- func (*SignedTransaction) ProtoMessage()
- func (m *SignedTransaction) Reset()
- func (m *SignedTransaction) Size() (n int)
- func (this *SignedTransaction) String() string
- func (m *SignedTransaction) Unmarshal(dAtA []byte) error
- func (m *SignedTransaction) XXX_DiscardUnknown()
- func (m *SignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedTransaction) XXX_Merge(src proto.Message)
- func (m *SignedTransaction) XXX_Size() int
- func (m *SignedTransaction) XXX_Unmarshal(b []byte) error
- type SignedTransactionProof
- func (*SignedTransactionProof) Descriptor() ([]byte, []int)
- func (this *SignedTransactionProof) Equal(that interface{}) bool
- func (m *SignedTransactionProof) GetLedgerInfoToTransactionInfoProof() *AccumulatorProof
- func (m *SignedTransactionProof) GetTransactionInfo() *TransactionInfo
- func (this *SignedTransactionProof) GoString() string
- func (m *SignedTransactionProof) Marshal() (dAtA []byte, err error)
- func (m *SignedTransactionProof) MarshalTo(dAtA []byte) (int, error)
- func (*SignedTransactionProof) ProtoMessage()
- func (m *SignedTransactionProof) Reset()
- func (m *SignedTransactionProof) Size() (n int)
- func (this *SignedTransactionProof) String() string
- func (m *SignedTransactionProof) Unmarshal(dAtA []byte) error
- func (m *SignedTransactionProof) XXX_DiscardUnknown()
- func (m *SignedTransactionProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedTransactionProof) XXX_Merge(src proto.Message)
- func (m *SignedTransactionProof) XXX_Size() int
- func (m *SignedTransactionProof) XXX_Unmarshal(b []byte) error
- type SignedTransactionWithProof
- func (*SignedTransactionWithProof) Descriptor() ([]byte, []int)
- func (this *SignedTransactionWithProof) Equal(that interface{}) bool
- func (m *SignedTransactionWithProof) GetEvents() *EventsList
- func (m *SignedTransactionWithProof) GetProof() *SignedTransactionProof
- func (m *SignedTransactionWithProof) GetSignedTransaction() *SignedTransaction
- func (m *SignedTransactionWithProof) GetVersion() uint64
- func (this *SignedTransactionWithProof) GoString() string
- func (m *SignedTransactionWithProof) Marshal() (dAtA []byte, err error)
- func (m *SignedTransactionWithProof) MarshalTo(dAtA []byte) (int, error)
- func (*SignedTransactionWithProof) ProtoMessage()
- func (m *SignedTransactionWithProof) Reset()
- func (m *SignedTransactionWithProof) Size() (n int)
- func (this *SignedTransactionWithProof) String() string
- func (m *SignedTransactionWithProof) Unmarshal(dAtA []byte) error
- func (m *SignedTransactionWithProof) XXX_DiscardUnknown()
- func (m *SignedTransactionWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedTransactionWithProof) XXX_Merge(src proto.Message)
- func (m *SignedTransactionWithProof) XXX_Size() int
- func (m *SignedTransactionWithProof) XXX_Unmarshal(b []byte) error
- type SignedTransactionsBlock
- func (*SignedTransactionsBlock) Descriptor() ([]byte, []int)
- func (this *SignedTransactionsBlock) Equal(that interface{}) bool
- func (m *SignedTransactionsBlock) GetTransactions() []*SignedTransaction
- func (m *SignedTransactionsBlock) GetValidatorPublicKey() []byte
- func (m *SignedTransactionsBlock) GetValidatorSignature() []byte
- func (this *SignedTransactionsBlock) GoString() string
- func (m *SignedTransactionsBlock) Marshal() (dAtA []byte, err error)
- func (m *SignedTransactionsBlock) MarshalTo(dAtA []byte) (int, error)
- func (*SignedTransactionsBlock) ProtoMessage()
- func (m *SignedTransactionsBlock) Reset()
- func (m *SignedTransactionsBlock) Size() (n int)
- func (this *SignedTransactionsBlock) String() string
- func (m *SignedTransactionsBlock) Unmarshal(dAtA []byte) error
- func (m *SignedTransactionsBlock) XXX_DiscardUnknown()
- func (m *SignedTransactionsBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedTransactionsBlock) XXX_Merge(src proto.Message)
- func (m *SignedTransactionsBlock) XXX_Size() int
- func (m *SignedTransactionsBlock) XXX_Unmarshal(b []byte) error
- type SparseMerkleProof
- func (*SparseMerkleProof) Descriptor() ([]byte, []int)
- func (this *SparseMerkleProof) Equal(that interface{}) bool
- func (m *SparseMerkleProof) GetBitmap() []byte
- func (m *SparseMerkleProof) GetLeaf() []byte
- func (m *SparseMerkleProof) GetNonDefaultSiblings() [][]byte
- func (this *SparseMerkleProof) GoString() string
- func (m *SparseMerkleProof) Marshal() (dAtA []byte, err error)
- func (m *SparseMerkleProof) MarshalTo(dAtA []byte) (int, error)
- func (*SparseMerkleProof) ProtoMessage()
- func (m *SparseMerkleProof) Reset()
- func (m *SparseMerkleProof) Size() (n int)
- func (this *SparseMerkleProof) String() string
- func (m *SparseMerkleProof) Unmarshal(dAtA []byte) error
- func (m *SparseMerkleProof) XXX_DiscardUnknown()
- func (m *SparseMerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SparseMerkleProof) XXX_Merge(src proto.Message)
- func (m *SparseMerkleProof) XXX_Size() int
- func (m *SparseMerkleProof) XXX_Unmarshal(b []byte) error
- type TransactionArgument
- func (*TransactionArgument) Descriptor() ([]byte, []int)
- func (this *TransactionArgument) Equal(that interface{}) bool
- func (m *TransactionArgument) GetData() []byte
- func (m *TransactionArgument) GetType() TransactionArgument_ArgType
- func (this *TransactionArgument) GoString() string
- func (m *TransactionArgument) Marshal() (dAtA []byte, err error)
- func (m *TransactionArgument) MarshalTo(dAtA []byte) (int, error)
- func (*TransactionArgument) ProtoMessage()
- func (m *TransactionArgument) Reset()
- func (m *TransactionArgument) Size() (n int)
- func (this *TransactionArgument) String() string
- func (m *TransactionArgument) Unmarshal(dAtA []byte) error
- func (m *TransactionArgument) XXX_DiscardUnknown()
- func (m *TransactionArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionArgument) XXX_Merge(src proto.Message)
- func (m *TransactionArgument) XXX_Size() int
- func (m *TransactionArgument) XXX_Unmarshal(b []byte) error
- type TransactionArgument_ArgType
- type TransactionInfo
- func (*TransactionInfo) Descriptor() ([]byte, []int)
- func (this *TransactionInfo) Equal(that interface{}) bool
- func (m *TransactionInfo) GetEventRootHash() []byte
- func (m *TransactionInfo) GetGasUsed() uint64
- func (m *TransactionInfo) GetSignedTransactionHash() []byte
- func (m *TransactionInfo) GetStateRootHash() []byte
- func (this *TransactionInfo) GoString() string
- func (m *TransactionInfo) Marshal() (dAtA []byte, err error)
- func (m *TransactionInfo) MarshalTo(dAtA []byte) (int, error)
- func (*TransactionInfo) ProtoMessage()
- func (m *TransactionInfo) Reset()
- func (m *TransactionInfo) Size() (n int)
- func (this *TransactionInfo) String() string
- func (m *TransactionInfo) Unmarshal(dAtA []byte) error
- func (m *TransactionInfo) XXX_DiscardUnknown()
- func (m *TransactionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionInfo) XXX_Merge(src proto.Message)
- func (m *TransactionInfo) XXX_Size() int
- func (m *TransactionInfo) XXX_Unmarshal(b []byte) error
- type TransactionListWithProof
- func (*TransactionListWithProof) Descriptor() ([]byte, []int)
- func (this *TransactionListWithProof) Equal(that interface{}) bool
- func (m *TransactionListWithProof) GetEventsForVersions() *EventsForVersions
- func (m *TransactionListWithProof) GetFirstTransactionVersion() *types.UInt64Value
- func (m *TransactionListWithProof) GetInfos() []*TransactionInfo
- func (m *TransactionListWithProof) GetProofOfFirstTransaction() *AccumulatorProof
- func (m *TransactionListWithProof) GetProofOfLastTransaction() *AccumulatorProof
- func (m *TransactionListWithProof) GetTransactions() []*SignedTransaction
- func (this *TransactionListWithProof) GoString() string
- func (m *TransactionListWithProof) Marshal() (dAtA []byte, err error)
- func (m *TransactionListWithProof) MarshalTo(dAtA []byte) (int, error)
- func (*TransactionListWithProof) ProtoMessage()
- func (m *TransactionListWithProof) Reset()
- func (m *TransactionListWithProof) Size() (n int)
- func (this *TransactionListWithProof) String() string
- func (m *TransactionListWithProof) Unmarshal(dAtA []byte) error
- func (m *TransactionListWithProof) XXX_DiscardUnknown()
- func (m *TransactionListWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionListWithProof) XXX_Merge(src proto.Message)
- func (m *TransactionListWithProof) XXX_Size() int
- func (m *TransactionListWithProof) XXX_Unmarshal(b []byte) error
- type TransactionToCommit
- func (*TransactionToCommit) Descriptor() ([]byte, []int)
- func (this *TransactionToCommit) Equal(that interface{}) bool
- func (m *TransactionToCommit) GetAccountStates() []*AccountState
- func (m *TransactionToCommit) GetEvents() []*Event
- func (m *TransactionToCommit) GetGasUsed() uint64
- func (m *TransactionToCommit) GetSignedTxn() *SignedTransaction
- func (this *TransactionToCommit) GoString() string
- func (m *TransactionToCommit) Marshal() (dAtA []byte, err error)
- func (m *TransactionToCommit) MarshalTo(dAtA []byte) (int, error)
- func (*TransactionToCommit) ProtoMessage()
- func (m *TransactionToCommit) Reset()
- func (m *TransactionToCommit) Size() (n int)
- func (this *TransactionToCommit) String() string
- func (m *TransactionToCommit) Unmarshal(dAtA []byte) error
- func (m *TransactionToCommit) XXX_DiscardUnknown()
- func (m *TransactionToCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionToCommit) XXX_Merge(src proto.Message)
- func (m *TransactionToCommit) XXX_Size() int
- func (m *TransactionToCommit) XXX_Unmarshal(b []byte) error
- type UpdateToLatestLedgerRequest
- func (*UpdateToLatestLedgerRequest) Descriptor() ([]byte, []int)
- func (this *UpdateToLatestLedgerRequest) Equal(that interface{}) bool
- func (m *UpdateToLatestLedgerRequest) GetClientKnownVersion() uint64
- func (m *UpdateToLatestLedgerRequest) GetRequestedItems() []*RequestItem
- func (this *UpdateToLatestLedgerRequest) GoString() string
- func (m *UpdateToLatestLedgerRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateToLatestLedgerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateToLatestLedgerRequest) ProtoMessage()
- func (m *UpdateToLatestLedgerRequest) Reset()
- func (m *UpdateToLatestLedgerRequest) Size() (n int)
- func (this *UpdateToLatestLedgerRequest) String() string
- func (m *UpdateToLatestLedgerRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateToLatestLedgerRequest) XXX_DiscardUnknown()
- func (m *UpdateToLatestLedgerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateToLatestLedgerRequest) XXX_Merge(src proto.Message)
- func (m *UpdateToLatestLedgerRequest) XXX_Size() int
- func (m *UpdateToLatestLedgerRequest) XXX_Unmarshal(b []byte) error
- type UpdateToLatestLedgerResponse
- func (*UpdateToLatestLedgerResponse) Descriptor() ([]byte, []int)
- func (this *UpdateToLatestLedgerResponse) Equal(that interface{}) bool
- func (m *UpdateToLatestLedgerResponse) GetLedgerInfoWithSigs() *LedgerInfoWithSignatures
- func (m *UpdateToLatestLedgerResponse) GetResponseItems() []*ResponseItem
- func (m *UpdateToLatestLedgerResponse) GetValidatorChangeEvents() []*ValidatorChangeEventWithProof
- func (this *UpdateToLatestLedgerResponse) GoString() string
- func (m *UpdateToLatestLedgerResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateToLatestLedgerResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateToLatestLedgerResponse) ProtoMessage()
- func (m *UpdateToLatestLedgerResponse) Reset()
- func (m *UpdateToLatestLedgerResponse) Size() (n int)
- func (this *UpdateToLatestLedgerResponse) String() string
- func (m *UpdateToLatestLedgerResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateToLatestLedgerResponse) XXX_DiscardUnknown()
- func (m *UpdateToLatestLedgerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateToLatestLedgerResponse) XXX_Merge(src proto.Message)
- func (m *UpdateToLatestLedgerResponse) XXX_Size() int
- func (m *UpdateToLatestLedgerResponse) XXX_Unmarshal(b []byte) error
- type VMInvariantViolationError
- type VMStatus
- func (*VMStatus) Descriptor() ([]byte, []int)
- func (this *VMStatus) Equal(that interface{}) bool
- func (m *VMStatus) GetDeserialization() BinaryError
- func (m *VMStatus) GetErrorType() isVMStatus_ErrorType
- func (m *VMStatus) GetExecution() *ExecutionStatus
- func (m *VMStatus) GetInvariantViolation() VMInvariantViolationError
- func (m *VMStatus) GetValidation() *VMValidationStatus
- func (m *VMStatus) GetVerification() *VMVerificationStatusList
- func (this *VMStatus) GoString() string
- func (m *VMStatus) Marshal() (dAtA []byte, err error)
- func (m *VMStatus) MarshalTo(dAtA []byte) (int, error)
- func (*VMStatus) ProtoMessage()
- func (m *VMStatus) Reset()
- func (m *VMStatus) Size() (n int)
- func (this *VMStatus) String() string
- func (m *VMStatus) Unmarshal(dAtA []byte) error
- func (m *VMStatus) XXX_DiscardUnknown()
- func (m *VMStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VMStatus) XXX_Merge(src proto.Message)
- func (*VMStatus) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *VMStatus) XXX_Size() int
- func (m *VMStatus) XXX_Unmarshal(b []byte) error
- type VMStatus_Deserialization
- type VMStatus_Execution
- type VMStatus_InvariantViolation
- func (this *VMStatus_InvariantViolation) Equal(that interface{}) bool
- func (this *VMStatus_InvariantViolation) GoString() string
- func (m *VMStatus_InvariantViolation) MarshalTo(dAtA []byte) (int, error)
- func (m *VMStatus_InvariantViolation) Size() (n int)
- func (this *VMStatus_InvariantViolation) String() string
- type VMStatus_Validation
- type VMStatus_Verification
- type VMValidationStatus
- func (*VMValidationStatus) Descriptor() ([]byte, []int)
- func (this *VMValidationStatus) Equal(that interface{}) bool
- func (m *VMValidationStatus) GetCode() VMValidationStatusCode
- func (m *VMValidationStatus) GetMessage() string
- func (this *VMValidationStatus) GoString() string
- func (m *VMValidationStatus) Marshal() (dAtA []byte, err error)
- func (m *VMValidationStatus) MarshalTo(dAtA []byte) (int, error)
- func (*VMValidationStatus) ProtoMessage()
- func (m *VMValidationStatus) Reset()
- func (m *VMValidationStatus) Size() (n int)
- func (this *VMValidationStatus) String() string
- func (m *VMValidationStatus) Unmarshal(dAtA []byte) error
- func (m *VMValidationStatus) XXX_DiscardUnknown()
- func (m *VMValidationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VMValidationStatus) XXX_Merge(src proto.Message)
- func (m *VMValidationStatus) XXX_Size() int
- func (m *VMValidationStatus) XXX_Unmarshal(b []byte) error
- type VMValidationStatusCode
- type VMVerificationErrorKind
- type VMVerificationStatus
- func (*VMVerificationStatus) Descriptor() ([]byte, []int)
- func (this *VMVerificationStatus) Equal(that interface{}) bool
- func (m *VMVerificationStatus) GetDependencyId() *ModuleId
- func (m *VMVerificationStatus) GetErrorKind() VMVerificationErrorKind
- func (m *VMVerificationStatus) GetMessage() string
- func (m *VMVerificationStatus) GetModuleIdx() uint32
- func (m *VMVerificationStatus) GetStatusKind() VMVerificationStatus_StatusKind
- func (this *VMVerificationStatus) GoString() string
- func (m *VMVerificationStatus) Marshal() (dAtA []byte, err error)
- func (m *VMVerificationStatus) MarshalTo(dAtA []byte) (int, error)
- func (*VMVerificationStatus) ProtoMessage()
- func (m *VMVerificationStatus) Reset()
- func (m *VMVerificationStatus) Size() (n int)
- func (this *VMVerificationStatus) String() string
- func (m *VMVerificationStatus) Unmarshal(dAtA []byte) error
- func (m *VMVerificationStatus) XXX_DiscardUnknown()
- func (m *VMVerificationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VMVerificationStatus) XXX_Merge(src proto.Message)
- func (m *VMVerificationStatus) XXX_Size() int
- func (m *VMVerificationStatus) XXX_Unmarshal(b []byte) error
- type VMVerificationStatusList
- func (*VMVerificationStatusList) Descriptor() ([]byte, []int)
- func (this *VMVerificationStatusList) Equal(that interface{}) bool
- func (m *VMVerificationStatusList) GetStatusList() []*VMVerificationStatus
- func (this *VMVerificationStatusList) GoString() string
- func (m *VMVerificationStatusList) Marshal() (dAtA []byte, err error)
- func (m *VMVerificationStatusList) MarshalTo(dAtA []byte) (int, error)
- func (*VMVerificationStatusList) ProtoMessage()
- func (m *VMVerificationStatusList) Reset()
- func (m *VMVerificationStatusList) Size() (n int)
- func (this *VMVerificationStatusList) String() string
- func (m *VMVerificationStatusList) Unmarshal(dAtA []byte) error
- func (m *VMVerificationStatusList) XXX_DiscardUnknown()
- func (m *VMVerificationStatusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VMVerificationStatusList) XXX_Merge(src proto.Message)
- func (m *VMVerificationStatusList) XXX_Size() int
- func (m *VMVerificationStatusList) XXX_Unmarshal(b []byte) error
- type VMVerificationStatus_StatusKind
- type ValidatorChangeEventWithProof
- func (*ValidatorChangeEventWithProof) Descriptor() ([]byte, []int)
- func (this *ValidatorChangeEventWithProof) Equal(that interface{}) bool
- func (m *ValidatorChangeEventWithProof) GetEventWithProof() *EventWithProof
- func (m *ValidatorChangeEventWithProof) GetLedgerInfoWithSigs() *LedgerInfoWithSignatures
- func (this *ValidatorChangeEventWithProof) GoString() string
- func (m *ValidatorChangeEventWithProof) Marshal() (dAtA []byte, err error)
- func (m *ValidatorChangeEventWithProof) MarshalTo(dAtA []byte) (int, error)
- func (*ValidatorChangeEventWithProof) ProtoMessage()
- func (m *ValidatorChangeEventWithProof) Reset()
- func (m *ValidatorChangeEventWithProof) Size() (n int)
- func (this *ValidatorChangeEventWithProof) String() string
- func (m *ValidatorChangeEventWithProof) Unmarshal(dAtA []byte) error
- func (m *ValidatorChangeEventWithProof) XXX_DiscardUnknown()
- func (m *ValidatorChangeEventWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorChangeEventWithProof) XXX_Merge(src proto.Message)
- func (m *ValidatorChangeEventWithProof) XXX_Size() int
- func (m *ValidatorChangeEventWithProof) XXX_Unmarshal(b []byte) error
- type ValidatorSignature
- func (*ValidatorSignature) Descriptor() ([]byte, []int)
- func (this *ValidatorSignature) Equal(that interface{}) bool
- func (m *ValidatorSignature) GetSignature() []byte
- func (m *ValidatorSignature) GetValidatorId() []byte
- func (this *ValidatorSignature) GoString() string
- func (m *ValidatorSignature) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSignature) MarshalTo(dAtA []byte) (int, error)
- func (*ValidatorSignature) ProtoMessage()
- func (m *ValidatorSignature) Reset()
- func (m *ValidatorSignature) Size() (n int)
- func (this *ValidatorSignature) String() string
- func (m *ValidatorSignature) Unmarshal(dAtA []byte) error
- func (m *ValidatorSignature) XXX_DiscardUnknown()
- func (m *ValidatorSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSignature) XXX_Merge(src proto.Message)
- func (m *ValidatorSignature) XXX_Size() int
- func (m *ValidatorSignature) XXX_Unmarshal(b []byte) error
- type WriteOp
- func (*WriteOp) Descriptor() ([]byte, []int)
- func (this *WriteOp) Equal(that interface{}) bool
- func (m *WriteOp) GetAccessPath() *AccessPath
- func (m *WriteOp) GetType() WriteOpType
- func (m *WriteOp) GetValue() []byte
- func (this *WriteOp) GoString() string
- func (m *WriteOp) Marshal() (dAtA []byte, err error)
- func (m *WriteOp) MarshalTo(dAtA []byte) (int, error)
- func (*WriteOp) ProtoMessage()
- func (m *WriteOp) Reset()
- func (m *WriteOp) Size() (n int)
- func (this *WriteOp) String() string
- func (m *WriteOp) Unmarshal(dAtA []byte) error
- func (m *WriteOp) XXX_DiscardUnknown()
- func (m *WriteOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteOp) XXX_Merge(src proto.Message)
- func (m *WriteOp) XXX_Size() int
- func (m *WriteOp) XXX_Unmarshal(b []byte) error
- type WriteOpType
- type WriteSet
- func (*WriteSet) Descriptor() ([]byte, []int)
- func (this *WriteSet) Equal(that interface{}) bool
- func (m *WriteSet) GetWriteSet() []*WriteOp
- func (this *WriteSet) GoString() string
- func (m *WriteSet) Marshal() (dAtA []byte, err error)
- func (m *WriteSet) MarshalTo(dAtA []byte) (int, error)
- func (*WriteSet) ProtoMessage()
- func (m *WriteSet) Reset()
- func (m *WriteSet) Size() (n int)
- func (this *WriteSet) String() string
- func (m *WriteSet) Unmarshal(dAtA []byte) error
- func (m *WriteSet) XXX_DiscardUnknown()
- func (m *WriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteSet) XXX_Merge(src proto.Message)
- func (m *WriteSet) XXX_Size() int
- func (m *WriteSet) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthAccessPath = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccessPath = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthAccountStateBlob = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccountStateBlob = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthGetWithProof = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGetWithProof = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthLanguageStorage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLanguageStorage = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthLedgerInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLedgerInfo = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthProof = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProof = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTransaction = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTransaction = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTransactionInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTransactionInfo = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthValidatorChange = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowValidatorChange = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthVmErrors = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVmErrors = fmt.Errorf("proto: integer overflow") )
var ArithmeticError_ArithmeticErrorType_name = map[int32]string{
0: "UnknownArithmeticError",
1: "Underflow",
2: "Overflow",
3: "DivisionByZero",
}
var ArithmeticError_ArithmeticErrorType_value = map[string]int32{
"UnknownArithmeticError": 0,
"Underflow": 1,
"Overflow": 2,
"DivisionByZero": 3,
}
var BinaryError_name = map[int32]string{
0: "UnknownBinaryError",
1: "Malformed",
2: "BadMagic",
3: "UnknownVersion",
4: "UnknownTableType",
5: "UnknownSignatureType",
6: "UnknownSerializedType",
7: "UnknownOpcode",
8: "BadHeaderTable",
9: "UnexpectedSignatureType",
10: "DuplicateTable",
}
var BinaryError_value = map[string]int32{
"UnknownBinaryError": 0,
"Malformed": 1,
"BadMagic": 2,
"UnknownVersion": 3,
"UnknownTableType": 4,
"UnknownSignatureType": 5,
"UnknownSerializedType": 6,
"UnknownOpcode": 7,
"BadHeaderTable": 8,
"UnexpectedSignatureType": 9,
"DuplicateTable": 10,
}
var DynamicReferenceError_DynamicReferenceErrorType_name = map[int32]string{
0: "UnknownDynamicReferenceError",
1: "MoveOfBorrowedResource",
2: "GlobalRefAlreadyReleased",
3: "MissingReleaseRef",
4: "GlobalAlreadyBorrowed",
}
var DynamicReferenceError_DynamicReferenceErrorType_value = map[string]int32{
"UnknownDynamicReferenceError": 0,
"MoveOfBorrowedResource": 1,
"GlobalRefAlreadyReleased": 2,
"MissingReleaseRef": 3,
"GlobalAlreadyBorrowed": 4,
}
var RuntimeStatus_name = map[int32]string{
0: "UnknownRuntimeStatus",
1: "Executed",
2: "OutOfGas",
3: "ResourceDoesNotExist",
4: "ResourceAlreadyExists",
5: "EvictedAccountAccess",
6: "AccountAddressAlreadyExists",
7: "TypeError",
8: "MissingData",
9: "DataFormatError",
10: "InvalidData",
11: "RemoteDataError",
12: "CannotWriteExistingResource",
13: "ValueSerializationError",
14: "ValueDeserializationError",
15: "DuplicateModuleName",
}
var RuntimeStatus_value = map[string]int32{
"UnknownRuntimeStatus": 0,
"Executed": 1,
"OutOfGas": 2,
"ResourceDoesNotExist": 3,
"ResourceAlreadyExists": 4,
"EvictedAccountAccess": 5,
"AccountAddressAlreadyExists": 6,
"TypeError": 7,
"MissingData": 8,
"DataFormatError": 9,
"InvalidData": 10,
"RemoteDataError": 11,
"CannotWriteExistingResource": 12,
"ValueSerializationError": 13,
"ValueDeserializationError": 14,
"DuplicateModuleName": 15,
}
var TransactionArgument_ArgType_name = map[int32]string{
0: "U64",
1: "ADDRESS",
2: "STRING",
3: "BYTEARRAY",
}
var TransactionArgument_ArgType_value = map[string]int32{
"U64": 0,
"ADDRESS": 1,
"STRING": 2,
"BYTEARRAY": 3,
}
var VMInvariantViolationError_name = map[int32]string{
0: "UnknownInvariantViolationError",
1: "OutOfBoundsIndex",
2: "OutOfBoundsRange",
3: "EmptyValueStack",
4: "EmptyCallStack",
5: "PCOverflow",
6: "LinkerError",
7: "LocalReferenceError",
8: "StorageError",
}
var VMInvariantViolationError_value = map[string]int32{
"UnknownInvariantViolationError": 0,
"OutOfBoundsIndex": 1,
"OutOfBoundsRange": 2,
"EmptyValueStack": 3,
"EmptyCallStack": 4,
"PCOverflow": 5,
"LinkerError": 6,
"LocalReferenceError": 7,
"StorageError": 8,
}
var VMValidationStatusCode_name = map[int32]string{
0: "UnknownValidationStatus",
1: "InvalidSignature",
2: "InvalidAuthKey",
3: "SequenceNumberTooOld",
4: "SequenceNumberTooNew",
5: "InsufficientBalanceForTransactionFee",
6: "TransactionExpired",
7: "SendingAccountDoesNotExist",
8: "RejectedWriteSet",
9: "InvalidWriteSet",
10: "ExceededMaxTransactionSize",
11: "UnknownScript",
12: "UnknownModule",
13: "MaxGasUnitsExceedsMaxGasUnitsBound",
14: "MaxGasUnitsBelowMinTransactionGasUnits",
15: "GasUnitPriceBelowMinBound",
16: "GasUnitPriceAboveMaxBound",
}
var VMValidationStatusCode_value = map[string]int32{
"UnknownValidationStatus": 0,
"InvalidSignature": 1,
"InvalidAuthKey": 2,
"SequenceNumberTooOld": 3,
"SequenceNumberTooNew": 4,
"InsufficientBalanceForTransactionFee": 5,
"TransactionExpired": 6,
"SendingAccountDoesNotExist": 7,
"RejectedWriteSet": 8,
"InvalidWriteSet": 9,
"ExceededMaxTransactionSize": 10,
"UnknownScript": 11,
"UnknownModule": 12,
"MaxGasUnitsExceedsMaxGasUnitsBound": 13,
"MaxGasUnitsBelowMinTransactionGasUnits": 14,
"GasUnitPriceBelowMinBound": 15,
"GasUnitPriceAboveMaxBound": 16,
}
var VMVerificationErrorKind_name = map[int32]string{
0: "UnknownVerificationError",
1: "IndexOutOfBounds",
2: "RangeOutOfBounds",
3: "InvalidSignatureToken",
4: "InvalidFieldDefReference",
5: "RecursiveStructDefinition",
6: "InvalidResourceField",
7: "InvalidFallThrough",
8: "JoinFailure",
9: "NegativeStackSizeWithinBlock",
10: "UnbalancedStack",
11: "InvalidMainFunctionSignature",
12: "DuplicateElement",
13: "InvalidModuleHandle",
14: "UnimplementedHandle",
15: "InconsistentFields",
16: "UnusedFields",
17: "LookupFailed",
18: "VisibilityMismatch",
19: "TypeResolutionFailure",
20: "TypeMismatch",
21: "MissingDependency",
22: "PopReferenceError",
23: "PopResourceError",
24: "ReleaseRefTypeMismatchError",
25: "BrTypeMismatchError",
26: "AssertTypeMismatchError",
27: "StLocTypeMismatchError",
28: "StLocUnsafeToDestroyError",
29: "RetUnsafeToDestroyError",
30: "RetTypeMismatchError",
31: "FreezeRefTypeMismatchError",
32: "FreezeRefExistsMutableBorrowError",
33: "BorrowFieldTypeMismatchError",
34: "BorrowFieldBadFieldError",
35: "BorrowFieldExistsMutableBorrowError",
36: "CopyLocUnavailableError",
37: "CopyLocResourceError",
38: "CopyLocExistsBorrowError",
39: "MoveLocUnavailableError",
40: "MoveLocExistsBorrowError",
41: "BorrowLocReferenceError",
42: "BorrowLocUnavailableError",
43: "BorrowLocExistsBorrowError",
44: "CallTypeMismatchError",
45: "CallBorrowedMutableReferenceError",
46: "PackTypeMismatchError",
47: "UnpackTypeMismatchError",
48: "ReadRefTypeMismatchError",
49: "ReadRefResourceError",
50: "ReadRefExistsMutableBorrowError",
51: "WriteRefTypeMismatchError",
52: "WriteRefResourceError",
53: "WriteRefExistsBorrowError",
54: "WriteRefNoMutableReferenceError",
55: "IntegerOpTypeMismatchError",
56: "BooleanOpTypeMismatchError",
57: "EqualityOpTypeMismatchError",
58: "ExistsResourceTypeMismatchError",
59: "BorrowGlobalTypeMismatchError",
60: "BorrowGlobalNoResourceError",
61: "MoveFromTypeMismatchError",
62: "MoveFromNoResourceError",
63: "MoveToSenderTypeMismatchError",
64: "MoveToSenderNoResourceError",
65: "CreateAccountTypeMismatchError",
66: "ModuleAddressDoesNotMatchSender",
67: "NoModuleHandles",
}
var VMVerificationErrorKind_value = map[string]int32{
"UnknownVerificationError": 0,
"IndexOutOfBounds": 1,
"RangeOutOfBounds": 2,
"InvalidSignatureToken": 3,
"InvalidFieldDefReference": 4,
"RecursiveStructDefinition": 5,
"InvalidResourceField": 6,
"InvalidFallThrough": 7,
"JoinFailure": 8,
"NegativeStackSizeWithinBlock": 9,
"UnbalancedStack": 10,
"InvalidMainFunctionSignature": 11,
"DuplicateElement": 12,
"InvalidModuleHandle": 13,
"UnimplementedHandle": 14,
"InconsistentFields": 15,
"UnusedFields": 16,
"LookupFailed": 17,
"VisibilityMismatch": 18,
"TypeResolutionFailure": 19,
"TypeMismatch": 20,
"MissingDependency": 21,
"PopReferenceError": 22,
"PopResourceError": 23,
"ReleaseRefTypeMismatchError": 24,
"BrTypeMismatchError": 25,
"AssertTypeMismatchError": 26,
"StLocTypeMismatchError": 27,
"StLocUnsafeToDestroyError": 28,
"RetUnsafeToDestroyError": 29,
"RetTypeMismatchError": 30,
"FreezeRefTypeMismatchError": 31,
"FreezeRefExistsMutableBorrowError": 32,
"BorrowFieldTypeMismatchError": 33,
"BorrowFieldBadFieldError": 34,
"BorrowFieldExistsMutableBorrowError": 35,
"CopyLocUnavailableError": 36,
"CopyLocResourceError": 37,
"CopyLocExistsBorrowError": 38,
"MoveLocUnavailableError": 39,
"MoveLocExistsBorrowError": 40,
"BorrowLocReferenceError": 41,
"BorrowLocUnavailableError": 42,
"BorrowLocExistsBorrowError": 43,
"CallTypeMismatchError": 44,
"CallBorrowedMutableReferenceError": 45,
"PackTypeMismatchError": 46,
"UnpackTypeMismatchError": 47,
"ReadRefTypeMismatchError": 48,
"ReadRefResourceError": 49,
"ReadRefExistsMutableBorrowError": 50,
"WriteRefTypeMismatchError": 51,
"WriteRefResourceError": 52,
"WriteRefExistsBorrowError": 53,
"WriteRefNoMutableReferenceError": 54,
"IntegerOpTypeMismatchError": 55,
"BooleanOpTypeMismatchError": 56,
"EqualityOpTypeMismatchError": 57,
"ExistsResourceTypeMismatchError": 58,
"BorrowGlobalTypeMismatchError": 59,
"BorrowGlobalNoResourceError": 60,
"MoveFromTypeMismatchError": 61,
"MoveFromNoResourceError": 62,
"MoveToSenderTypeMismatchError": 63,
"MoveToSenderNoResourceError": 64,
"CreateAccountTypeMismatchError": 65,
"ModuleAddressDoesNotMatchSender": 66,
"NoModuleHandles": 67,
}
var VMVerificationStatus_StatusKind_name = map[int32]string{
0: "SCRIPT",
1: "MODULE",
2: "DEPENDENCY",
}
var VMVerificationStatus_StatusKind_value = map[string]int32{
"SCRIPT": 0,
"MODULE": 1,
"DEPENDENCY": 2,
}
var WriteOpType_name = map[int32]string{
0: "Write",
1: "Delete",
}
var WriteOpType_value = map[string]int32{
"Write": 0,
"Delete": 1,
}
Functions ¶
This section is empty.
Types ¶
type AccessPath ¶
type AccessPath struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` }
func (*AccessPath) Descriptor ¶
func (*AccessPath) Descriptor() ([]byte, []int)
func (*AccessPath) Equal ¶
func (this *AccessPath) Equal(that interface{}) bool
func (*AccessPath) GetAddress ¶
func (m *AccessPath) GetAddress() []byte
func (*AccessPath) GetPath ¶
func (m *AccessPath) GetPath() []byte
func (*AccessPath) GoString ¶
func (this *AccessPath) GoString() string
func (*AccessPath) Marshal ¶
func (m *AccessPath) Marshal() (dAtA []byte, err error)
func (*AccessPath) ProtoMessage ¶
func (*AccessPath) ProtoMessage()
func (*AccessPath) Reset ¶
func (m *AccessPath) Reset()
func (*AccessPath) Size ¶
func (m *AccessPath) Size() (n int)
func (*AccessPath) String ¶
func (this *AccessPath) String() string
func (*AccessPath) Unmarshal ¶
func (m *AccessPath) Unmarshal(dAtA []byte) error
func (*AccessPath) XXX_DiscardUnknown ¶
func (m *AccessPath) XXX_DiscardUnknown()
func (*AccessPath) XXX_Marshal ¶
func (m *AccessPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessPath) XXX_Merge ¶
func (m *AccessPath) XXX_Merge(src proto.Message)
func (*AccessPath) XXX_Size ¶
func (m *AccessPath) XXX_Size() int
func (*AccessPath) XXX_Unmarshal ¶
func (m *AccessPath) XXX_Unmarshal(b []byte) error
type AccountState ¶
type AccountState struct { // Account address Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Account state blob Blob []byte `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"` }
Account state as a whole. After execution, updates to accounts are passed in this form to storage for persistence.
func (*AccountState) Descriptor ¶
func (*AccountState) Descriptor() ([]byte, []int)
func (*AccountState) Equal ¶
func (this *AccountState) Equal(that interface{}) bool
func (*AccountState) GetAddress ¶
func (m *AccountState) GetAddress() []byte
func (*AccountState) GetBlob ¶
func (m *AccountState) GetBlob() []byte
func (*AccountState) GoString ¶
func (this *AccountState) GoString() string
func (*AccountState) Marshal ¶
func (m *AccountState) Marshal() (dAtA []byte, err error)
func (*AccountState) ProtoMessage ¶
func (*AccountState) ProtoMessage()
func (*AccountState) Reset ¶
func (m *AccountState) Reset()
func (*AccountState) Size ¶
func (m *AccountState) Size() (n int)
func (*AccountState) String ¶
func (this *AccountState) String() string
func (*AccountState) Unmarshal ¶
func (m *AccountState) Unmarshal(dAtA []byte) error
func (*AccountState) XXX_DiscardUnknown ¶
func (m *AccountState) XXX_DiscardUnknown()
func (*AccountState) XXX_Marshal ¶
func (m *AccountState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountState) XXX_Merge ¶
func (m *AccountState) XXX_Merge(src proto.Message)
func (*AccountState) XXX_Size ¶
func (m *AccountState) XXX_Size() int
func (*AccountState) XXX_Unmarshal ¶
func (m *AccountState) XXX_Unmarshal(b []byte) error
type AccountStateBlob ¶
type AccountStateBlob struct {
Blob []byte `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"`
}
func (*AccountStateBlob) Descriptor ¶
func (*AccountStateBlob) Descriptor() ([]byte, []int)
func (*AccountStateBlob) Equal ¶
func (this *AccountStateBlob) Equal(that interface{}) bool
func (*AccountStateBlob) GetBlob ¶
func (m *AccountStateBlob) GetBlob() []byte
func (*AccountStateBlob) GoString ¶
func (this *AccountStateBlob) GoString() string
func (*AccountStateBlob) Marshal ¶
func (m *AccountStateBlob) Marshal() (dAtA []byte, err error)
func (*AccountStateBlob) ProtoMessage ¶
func (*AccountStateBlob) ProtoMessage()
func (*AccountStateBlob) Reset ¶
func (m *AccountStateBlob) Reset()
func (*AccountStateBlob) Size ¶
func (m *AccountStateBlob) Size() (n int)
func (*AccountStateBlob) String ¶
func (this *AccountStateBlob) String() string
func (*AccountStateBlob) Unmarshal ¶
func (m *AccountStateBlob) Unmarshal(dAtA []byte) error
func (*AccountStateBlob) XXX_DiscardUnknown ¶
func (m *AccountStateBlob) XXX_DiscardUnknown()
func (*AccountStateBlob) XXX_Marshal ¶
func (m *AccountStateBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountStateBlob) XXX_Merge ¶
func (m *AccountStateBlob) XXX_Merge(src proto.Message)
func (*AccountStateBlob) XXX_Size ¶
func (m *AccountStateBlob) XXX_Size() int
func (*AccountStateBlob) XXX_Unmarshal ¶
func (m *AccountStateBlob) XXX_Unmarshal(b []byte) error
type AccountStateProof ¶
type AccountStateProof struct { LedgerInfoToTransactionInfoProof *AccumulatorProof `` /* 165-byte string literal not displayed */ TransactionInfo *TransactionInfo `protobuf:"bytes,2,opt,name=transaction_info,json=transactionInfo,proto3" json:"transaction_info,omitempty"` TransactionInfoToAccountProof *SparseMerkleProof `` /* 154-byte string literal not displayed */ }
The complete proof used to authenticate an account state.
func (*AccountStateProof) Descriptor ¶
func (*AccountStateProof) Descriptor() ([]byte, []int)
func (*AccountStateProof) Equal ¶
func (this *AccountStateProof) Equal(that interface{}) bool
func (*AccountStateProof) GetLedgerInfoToTransactionInfoProof ¶
func (m *AccountStateProof) GetLedgerInfoToTransactionInfoProof() *AccumulatorProof
func (*AccountStateProof) GetTransactionInfo ¶
func (m *AccountStateProof) GetTransactionInfo() *TransactionInfo
func (*AccountStateProof) GetTransactionInfoToAccountProof ¶
func (m *AccountStateProof) GetTransactionInfoToAccountProof() *SparseMerkleProof
func (*AccountStateProof) GoString ¶
func (this *AccountStateProof) GoString() string
func (*AccountStateProof) Marshal ¶
func (m *AccountStateProof) Marshal() (dAtA []byte, err error)
func (*AccountStateProof) MarshalTo ¶
func (m *AccountStateProof) MarshalTo(dAtA []byte) (int, error)
func (*AccountStateProof) ProtoMessage ¶
func (*AccountStateProof) ProtoMessage()
func (*AccountStateProof) Reset ¶
func (m *AccountStateProof) Reset()
func (*AccountStateProof) Size ¶
func (m *AccountStateProof) Size() (n int)
func (*AccountStateProof) String ¶
func (this *AccountStateProof) String() string
func (*AccountStateProof) Unmarshal ¶
func (m *AccountStateProof) Unmarshal(dAtA []byte) error
func (*AccountStateProof) XXX_DiscardUnknown ¶
func (m *AccountStateProof) XXX_DiscardUnknown()
func (*AccountStateProof) XXX_Marshal ¶
func (m *AccountStateProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountStateProof) XXX_Merge ¶
func (m *AccountStateProof) XXX_Merge(src proto.Message)
func (*AccountStateProof) XXX_Size ¶
func (m *AccountStateProof) XXX_Size() int
func (*AccountStateProof) XXX_Unmarshal ¶
func (m *AccountStateProof) XXX_Unmarshal(b []byte) error
type AccountStateWithProof ¶
type AccountStateWithProof struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Blob *AccountStateBlob `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"` Proof *AccountStateProof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` }
func (*AccountStateWithProof) Descriptor ¶
func (*AccountStateWithProof) Descriptor() ([]byte, []int)
func (*AccountStateWithProof) Equal ¶
func (this *AccountStateWithProof) Equal(that interface{}) bool
func (*AccountStateWithProof) GetBlob ¶
func (m *AccountStateWithProof) GetBlob() *AccountStateBlob
func (*AccountStateWithProof) GetProof ¶
func (m *AccountStateWithProof) GetProof() *AccountStateProof
func (*AccountStateWithProof) GetVersion ¶
func (m *AccountStateWithProof) GetVersion() uint64
func (*AccountStateWithProof) GoString ¶
func (this *AccountStateWithProof) GoString() string
func (*AccountStateWithProof) Marshal ¶
func (m *AccountStateWithProof) Marshal() (dAtA []byte, err error)
func (*AccountStateWithProof) MarshalTo ¶
func (m *AccountStateWithProof) MarshalTo(dAtA []byte) (int, error)
func (*AccountStateWithProof) ProtoMessage ¶
func (*AccountStateWithProof) ProtoMessage()
func (*AccountStateWithProof) Reset ¶
func (m *AccountStateWithProof) Reset()
func (*AccountStateWithProof) Size ¶
func (m *AccountStateWithProof) Size() (n int)
func (*AccountStateWithProof) String ¶
func (this *AccountStateWithProof) String() string
func (*AccountStateWithProof) Unmarshal ¶
func (m *AccountStateWithProof) Unmarshal(dAtA []byte) error
func (*AccountStateWithProof) XXX_DiscardUnknown ¶
func (m *AccountStateWithProof) XXX_DiscardUnknown()
func (*AccountStateWithProof) XXX_Marshal ¶
func (m *AccountStateWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountStateWithProof) XXX_Merge ¶
func (m *AccountStateWithProof) XXX_Merge(src proto.Message)
func (*AccountStateWithProof) XXX_Size ¶
func (m *AccountStateWithProof) XXX_Size() int
func (*AccountStateWithProof) XXX_Unmarshal ¶
func (m *AccountStateWithProof) XXX_Unmarshal(b []byte) error
type AccumulatorProof ¶
type AccumulatorProof struct { // The bitmap indicating which siblings are default. 1 means non-default and // 0 means default. The LSB corresponds to the sibling at the bottom of the // accumulator. The leftmost 1-bit corresponds to the sibling at the level // just below root level in the accumulator, since this one is always // non-default. Bitmap uint64 `protobuf:"varint,1,opt,name=bitmap,proto3" json:"bitmap,omitempty"` // The non-default siblings. The ones near the root are at the beginning of // the list. NonDefaultSiblings [][]byte `protobuf:"bytes,2,rep,name=non_default_siblings,json=nonDefaultSiblings,proto3" json:"non_default_siblings,omitempty"` }
func (*AccumulatorProof) Descriptor ¶
func (*AccumulatorProof) Descriptor() ([]byte, []int)
func (*AccumulatorProof) Equal ¶
func (this *AccumulatorProof) Equal(that interface{}) bool
func (*AccumulatorProof) GetBitmap ¶
func (m *AccumulatorProof) GetBitmap() uint64
func (*AccumulatorProof) GetNonDefaultSiblings ¶
func (m *AccumulatorProof) GetNonDefaultSiblings() [][]byte
func (*AccumulatorProof) GoString ¶
func (this *AccumulatorProof) GoString() string
func (*AccumulatorProof) Marshal ¶
func (m *AccumulatorProof) Marshal() (dAtA []byte, err error)
func (*AccumulatorProof) ProtoMessage ¶
func (*AccumulatorProof) ProtoMessage()
func (*AccumulatorProof) Reset ¶
func (m *AccumulatorProof) Reset()
func (*AccumulatorProof) Size ¶
func (m *AccumulatorProof) Size() (n int)
func (*AccumulatorProof) String ¶
func (this *AccumulatorProof) String() string
func (*AccumulatorProof) Unmarshal ¶
func (m *AccumulatorProof) Unmarshal(dAtA []byte) error
func (*AccumulatorProof) XXX_DiscardUnknown ¶
func (m *AccumulatorProof) XXX_DiscardUnknown()
func (*AccumulatorProof) XXX_Marshal ¶
func (m *AccumulatorProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccumulatorProof) XXX_Merge ¶
func (m *AccumulatorProof) XXX_Merge(src proto.Message)
func (*AccumulatorProof) XXX_Size ¶
func (m *AccumulatorProof) XXX_Size() int
func (*AccumulatorProof) XXX_Unmarshal ¶
func (m *AccumulatorProof) XXX_Unmarshal(b []byte) error
type ArithmeticError ¶
type ArithmeticError struct {
ErrorCode ArithmeticError_ArithmeticErrorType `` /* 136-byte string literal not displayed */
}
func (*ArithmeticError) Descriptor ¶
func (*ArithmeticError) Descriptor() ([]byte, []int)
func (*ArithmeticError) Equal ¶
func (this *ArithmeticError) Equal(that interface{}) bool
func (*ArithmeticError) GetErrorCode ¶
func (m *ArithmeticError) GetErrorCode() ArithmeticError_ArithmeticErrorType
func (*ArithmeticError) GoString ¶
func (this *ArithmeticError) GoString() string
func (*ArithmeticError) Marshal ¶
func (m *ArithmeticError) Marshal() (dAtA []byte, err error)
func (*ArithmeticError) ProtoMessage ¶
func (*ArithmeticError) ProtoMessage()
func (*ArithmeticError) Reset ¶
func (m *ArithmeticError) Reset()
func (*ArithmeticError) Size ¶
func (m *ArithmeticError) Size() (n int)
func (*ArithmeticError) String ¶
func (this *ArithmeticError) String() string
func (*ArithmeticError) Unmarshal ¶
func (m *ArithmeticError) Unmarshal(dAtA []byte) error
func (*ArithmeticError) XXX_DiscardUnknown ¶
func (m *ArithmeticError) XXX_DiscardUnknown()
func (*ArithmeticError) XXX_Marshal ¶
func (m *ArithmeticError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArithmeticError) XXX_Merge ¶
func (m *ArithmeticError) XXX_Merge(src proto.Message)
func (*ArithmeticError) XXX_Size ¶
func (m *ArithmeticError) XXX_Size() int
func (*ArithmeticError) XXX_Unmarshal ¶
func (m *ArithmeticError) XXX_Unmarshal(b []byte) error
type ArithmeticError_ArithmeticErrorType ¶
type ArithmeticError_ArithmeticErrorType int32
const ( UnknownArithmeticError ArithmeticError_ArithmeticErrorType = 0 Underflow ArithmeticError_ArithmeticErrorType = 1 Overflow ArithmeticError_ArithmeticErrorType = 2 DivisionByZero ArithmeticError_ArithmeticErrorType = 3 )
func (ArithmeticError_ArithmeticErrorType) EnumDescriptor ¶
func (ArithmeticError_ArithmeticErrorType) EnumDescriptor() ([]byte, []int)
func (ArithmeticError_ArithmeticErrorType) String ¶
func (x ArithmeticError_ArithmeticErrorType) String() string
type AssertionFailure ¶
type AssertionFailure struct {
AssertionErrorCode uint64 `protobuf:"varint,1,opt,name=assertion_error_code,json=assertionErrorCode,proto3" json:"assertion_error_code,omitempty"`
}
user-defined assertion error code number
func (*AssertionFailure) Descriptor ¶
func (*AssertionFailure) Descriptor() ([]byte, []int)
func (*AssertionFailure) Equal ¶
func (this *AssertionFailure) Equal(that interface{}) bool
func (*AssertionFailure) GetAssertionErrorCode ¶
func (m *AssertionFailure) GetAssertionErrorCode() uint64
func (*AssertionFailure) GoString ¶
func (this *AssertionFailure) GoString() string
func (*AssertionFailure) Marshal ¶
func (m *AssertionFailure) Marshal() (dAtA []byte, err error)
func (*AssertionFailure) ProtoMessage ¶
func (*AssertionFailure) ProtoMessage()
func (*AssertionFailure) Reset ¶
func (m *AssertionFailure) Reset()
func (*AssertionFailure) Size ¶
func (m *AssertionFailure) Size() (n int)
func (*AssertionFailure) String ¶
func (this *AssertionFailure) String() string
func (*AssertionFailure) Unmarshal ¶
func (m *AssertionFailure) Unmarshal(dAtA []byte) error
func (*AssertionFailure) XXX_DiscardUnknown ¶
func (m *AssertionFailure) XXX_DiscardUnknown()
func (*AssertionFailure) XXX_Marshal ¶
func (m *AssertionFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssertionFailure) XXX_Merge ¶
func (m *AssertionFailure) XXX_Merge(src proto.Message)
func (*AssertionFailure) XXX_Size ¶
func (m *AssertionFailure) XXX_Size() int
func (*AssertionFailure) XXX_Unmarshal ¶
func (m *AssertionFailure) XXX_Unmarshal(b []byte) error
type BinaryError ¶
type BinaryError int32
Errors that can arise from binary decoding (deserialization)
const ( UnknownBinaryError BinaryError = 0 Malformed BinaryError = 1 BadMagic BinaryError = 2 UnknownVersion BinaryError = 3 UnknownTableType BinaryError = 4 UnknownSignatureType BinaryError = 5 UnknownSerializedType BinaryError = 6 UnknownOpcode BinaryError = 7 BadHeaderTable BinaryError = 8 UnexpectedSignatureType BinaryError = 9 DuplicateTable BinaryError = 10 )
func (BinaryError) EnumDescriptor ¶
func (BinaryError) EnumDescriptor() ([]byte, []int)
func (BinaryError) String ¶
func (x BinaryError) String() string
type DynamicReferenceError ¶
type DynamicReferenceError struct {
ErrorCode DynamicReferenceError_DynamicReferenceErrorType `` /* 148-byte string literal not displayed */
}
func (*DynamicReferenceError) Descriptor ¶
func (*DynamicReferenceError) Descriptor() ([]byte, []int)
func (*DynamicReferenceError) Equal ¶
func (this *DynamicReferenceError) Equal(that interface{}) bool
func (*DynamicReferenceError) GetErrorCode ¶
func (m *DynamicReferenceError) GetErrorCode() DynamicReferenceError_DynamicReferenceErrorType
func (*DynamicReferenceError) GoString ¶
func (this *DynamicReferenceError) GoString() string
func (*DynamicReferenceError) Marshal ¶
func (m *DynamicReferenceError) Marshal() (dAtA []byte, err error)
func (*DynamicReferenceError) MarshalTo ¶
func (m *DynamicReferenceError) MarshalTo(dAtA []byte) (int, error)
func (*DynamicReferenceError) ProtoMessage ¶
func (*DynamicReferenceError) ProtoMessage()
func (*DynamicReferenceError) Reset ¶
func (m *DynamicReferenceError) Reset()
func (*DynamicReferenceError) Size ¶
func (m *DynamicReferenceError) Size() (n int)
func (*DynamicReferenceError) String ¶
func (this *DynamicReferenceError) String() string
func (*DynamicReferenceError) Unmarshal ¶
func (m *DynamicReferenceError) Unmarshal(dAtA []byte) error
func (*DynamicReferenceError) XXX_DiscardUnknown ¶
func (m *DynamicReferenceError) XXX_DiscardUnknown()
func (*DynamicReferenceError) XXX_Marshal ¶
func (m *DynamicReferenceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DynamicReferenceError) XXX_Merge ¶
func (m *DynamicReferenceError) XXX_Merge(src proto.Message)
func (*DynamicReferenceError) XXX_Size ¶
func (m *DynamicReferenceError) XXX_Size() int
func (*DynamicReferenceError) XXX_Unmarshal ¶
func (m *DynamicReferenceError) XXX_Unmarshal(b []byte) error
type DynamicReferenceError_DynamicReferenceErrorType ¶
type DynamicReferenceError_DynamicReferenceErrorType int32
const ( UnknownDynamicReferenceError DynamicReferenceError_DynamicReferenceErrorType = 0 MoveOfBorrowedResource DynamicReferenceError_DynamicReferenceErrorType = 1 GlobalRefAlreadyReleased DynamicReferenceError_DynamicReferenceErrorType = 2 MissingReleaseRef DynamicReferenceError_DynamicReferenceErrorType = 3 GlobalAlreadyBorrowed DynamicReferenceError_DynamicReferenceErrorType = 4 )
func (DynamicReferenceError_DynamicReferenceErrorType) EnumDescriptor ¶
func (DynamicReferenceError_DynamicReferenceErrorType) EnumDescriptor() ([]byte, []int)
func (DynamicReferenceError_DynamicReferenceErrorType) String ¶
func (x DynamicReferenceError_DynamicReferenceErrorType) String() string
type Event ¶
type Event struct { AccessPath *AccessPath `protobuf:"bytes,1,opt,name=access_path,json=accessPath,proto3" json:"access_path,omitempty"` SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` EventData []byte `protobuf:"bytes,3,opt,name=event_data,json=eventData,proto3" json:"event_data,omitempty"` }
An event emitted from a smart contract
func (*Event) Descriptor ¶
func (*Event) GetAccessPath ¶
func (m *Event) GetAccessPath() *AccessPath
func (*Event) GetEventData ¶
func (*Event) GetSequenceNumber ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type EventProof ¶
type EventProof struct { LedgerInfoToTransactionInfoProof *AccumulatorProof `` /* 165-byte string literal not displayed */ TransactionInfo *TransactionInfo `protobuf:"bytes,2,opt,name=transaction_info,json=transactionInfo,proto3" json:"transaction_info,omitempty"` TransactionInfoToEventProof *AccumulatorProof `` /* 148-byte string literal not displayed */ }
The complete proof used to authenticate an event.
func (*EventProof) Descriptor ¶
func (*EventProof) Descriptor() ([]byte, []int)
func (*EventProof) Equal ¶
func (this *EventProof) Equal(that interface{}) bool
func (*EventProof) GetLedgerInfoToTransactionInfoProof ¶
func (m *EventProof) GetLedgerInfoToTransactionInfoProof() *AccumulatorProof
func (*EventProof) GetTransactionInfo ¶
func (m *EventProof) GetTransactionInfo() *TransactionInfo
func (*EventProof) GetTransactionInfoToEventProof ¶
func (m *EventProof) GetTransactionInfoToEventProof() *AccumulatorProof
func (*EventProof) GoString ¶
func (this *EventProof) GoString() string
func (*EventProof) Marshal ¶
func (m *EventProof) Marshal() (dAtA []byte, err error)
func (*EventProof) ProtoMessage ¶
func (*EventProof) ProtoMessage()
func (*EventProof) Reset ¶
func (m *EventProof) Reset()
func (*EventProof) Size ¶
func (m *EventProof) Size() (n int)
func (*EventProof) String ¶
func (this *EventProof) String() string
func (*EventProof) Unmarshal ¶
func (m *EventProof) Unmarshal(dAtA []byte) error
func (*EventProof) XXX_DiscardUnknown ¶
func (m *EventProof) XXX_DiscardUnknown()
func (*EventProof) XXX_Marshal ¶
func (m *EventProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventProof) XXX_Merge ¶
func (m *EventProof) XXX_Merge(src proto.Message)
func (*EventProof) XXX_Size ¶
func (m *EventProof) XXX_Size() int
func (*EventProof) XXX_Unmarshal ¶
func (m *EventProof) XXX_Unmarshal(b []byte) error
type EventWithProof ¶
type EventWithProof struct { TransactionVersion uint64 `protobuf:"varint,1,opt,name=transaction_version,json=transactionVersion,proto3" json:"transaction_version,omitempty"` EventIndex uint64 `protobuf:"varint,2,opt,name=event_index,json=eventIndex,proto3" json:"event_index,omitempty"` Event *Event `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"` Proof *EventProof `protobuf:"bytes,4,opt,name=proof,proto3" json:"proof,omitempty"` }
An event along with the proof for the event
func (*EventWithProof) Descriptor ¶
func (*EventWithProof) Descriptor() ([]byte, []int)
func (*EventWithProof) Equal ¶
func (this *EventWithProof) Equal(that interface{}) bool
func (*EventWithProof) GetEvent ¶
func (m *EventWithProof) GetEvent() *Event
func (*EventWithProof) GetEventIndex ¶
func (m *EventWithProof) GetEventIndex() uint64
func (*EventWithProof) GetProof ¶
func (m *EventWithProof) GetProof() *EventProof
func (*EventWithProof) GetTransactionVersion ¶
func (m *EventWithProof) GetTransactionVersion() uint64
func (*EventWithProof) GoString ¶
func (this *EventWithProof) GoString() string
func (*EventWithProof) Marshal ¶
func (m *EventWithProof) Marshal() (dAtA []byte, err error)
func (*EventWithProof) ProtoMessage ¶
func (*EventWithProof) ProtoMessage()
func (*EventWithProof) Reset ¶
func (m *EventWithProof) Reset()
func (*EventWithProof) Size ¶
func (m *EventWithProof) Size() (n int)
func (*EventWithProof) String ¶
func (this *EventWithProof) String() string
func (*EventWithProof) Unmarshal ¶
func (m *EventWithProof) Unmarshal(dAtA []byte) error
func (*EventWithProof) XXX_DiscardUnknown ¶
func (m *EventWithProof) XXX_DiscardUnknown()
func (*EventWithProof) XXX_Marshal ¶
func (m *EventWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventWithProof) XXX_Merge ¶
func (m *EventWithProof) XXX_Merge(src proto.Message)
func (*EventWithProof) XXX_Size ¶
func (m *EventWithProof) XXX_Size() int
func (*EventWithProof) XXX_Unmarshal ¶
func (m *EventWithProof) XXX_Unmarshal(b []byte) error
type EventsForVersions ¶
type EventsForVersions struct {
EventsForVersion []*EventsList `protobuf:"bytes,1,rep,name=events_for_version,json=eventsForVersion,proto3" json:"events_for_version,omitempty"`
}
A list of EventList's, each representing all events for a transaction.
func (*EventsForVersions) Descriptor ¶
func (*EventsForVersions) Descriptor() ([]byte, []int)
func (*EventsForVersions) Equal ¶
func (this *EventsForVersions) Equal(that interface{}) bool
func (*EventsForVersions) GetEventsForVersion ¶
func (m *EventsForVersions) GetEventsForVersion() []*EventsList
func (*EventsForVersions) GoString ¶
func (this *EventsForVersions) GoString() string
func (*EventsForVersions) Marshal ¶
func (m *EventsForVersions) Marshal() (dAtA []byte, err error)
func (*EventsForVersions) MarshalTo ¶
func (m *EventsForVersions) MarshalTo(dAtA []byte) (int, error)
func (*EventsForVersions) ProtoMessage ¶
func (*EventsForVersions) ProtoMessage()
func (*EventsForVersions) Reset ¶
func (m *EventsForVersions) Reset()
func (*EventsForVersions) Size ¶
func (m *EventsForVersions) Size() (n int)
func (*EventsForVersions) String ¶
func (this *EventsForVersions) String() string
func (*EventsForVersions) Unmarshal ¶
func (m *EventsForVersions) Unmarshal(dAtA []byte) error
func (*EventsForVersions) XXX_DiscardUnknown ¶
func (m *EventsForVersions) XXX_DiscardUnknown()
func (*EventsForVersions) XXX_Marshal ¶
func (m *EventsForVersions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventsForVersions) XXX_Merge ¶
func (m *EventsForVersions) XXX_Merge(src proto.Message)
func (*EventsForVersions) XXX_Size ¶
func (m *EventsForVersions) XXX_Size() int
func (*EventsForVersions) XXX_Unmarshal ¶
func (m *EventsForVersions) XXX_Unmarshal(b []byte) error
type EventsList ¶
type EventsList struct {
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
}
A list of events.
func (*EventsList) Descriptor ¶
func (*EventsList) Descriptor() ([]byte, []int)
func (*EventsList) Equal ¶
func (this *EventsList) Equal(that interface{}) bool
func (*EventsList) GetEvents ¶
func (m *EventsList) GetEvents() []*Event
func (*EventsList) GoString ¶
func (this *EventsList) GoString() string
func (*EventsList) Marshal ¶
func (m *EventsList) Marshal() (dAtA []byte, err error)
func (*EventsList) ProtoMessage ¶
func (*EventsList) ProtoMessage()
func (*EventsList) Reset ¶
func (m *EventsList) Reset()
func (*EventsList) Size ¶
func (m *EventsList) Size() (n int)
func (*EventsList) String ¶
func (this *EventsList) String() string
func (*EventsList) Unmarshal ¶
func (m *EventsList) Unmarshal(dAtA []byte) error
func (*EventsList) XXX_DiscardUnknown ¶
func (m *EventsList) XXX_DiscardUnknown()
func (*EventsList) XXX_Marshal ¶
func (m *EventsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventsList) XXX_Merge ¶
func (m *EventsList) XXX_Merge(src proto.Message)
func (*EventsList) XXX_Size ¶
func (m *EventsList) XXX_Size() int
func (*EventsList) XXX_Unmarshal ¶
func (m *EventsList) XXX_Unmarshal(b []byte) error
type ExecutionStatus ¶
type ExecutionStatus struct { // Types that are valid to be assigned to ExecutionStatus: // *ExecutionStatus_RuntimeStatus // *ExecutionStatus_AssertionFailure // *ExecutionStatus_ArithmeticError // *ExecutionStatus_ReferenceError ExecutionStatus isExecutionStatus_ExecutionStatus `protobuf_oneof:"execution_status"` }
func (*ExecutionStatus) Descriptor ¶
func (*ExecutionStatus) Descriptor() ([]byte, []int)
func (*ExecutionStatus) Equal ¶
func (this *ExecutionStatus) Equal(that interface{}) bool
func (*ExecutionStatus) GetArithmeticError ¶
func (m *ExecutionStatus) GetArithmeticError() *ArithmeticError
func (*ExecutionStatus) GetAssertionFailure ¶
func (m *ExecutionStatus) GetAssertionFailure() *AssertionFailure
func (*ExecutionStatus) GetExecutionStatus ¶
func (m *ExecutionStatus) GetExecutionStatus() isExecutionStatus_ExecutionStatus
func (*ExecutionStatus) GetReferenceError ¶
func (m *ExecutionStatus) GetReferenceError() *DynamicReferenceError
func (*ExecutionStatus) GetRuntimeStatus ¶
func (m *ExecutionStatus) GetRuntimeStatus() RuntimeStatus
func (*ExecutionStatus) GoString ¶
func (this *ExecutionStatus) GoString() string
func (*ExecutionStatus) Marshal ¶
func (m *ExecutionStatus) Marshal() (dAtA []byte, err error)
func (*ExecutionStatus) ProtoMessage ¶
func (*ExecutionStatus) ProtoMessage()
func (*ExecutionStatus) Reset ¶
func (m *ExecutionStatus) Reset()
func (*ExecutionStatus) Size ¶
func (m *ExecutionStatus) Size() (n int)
func (*ExecutionStatus) String ¶
func (this *ExecutionStatus) String() string
func (*ExecutionStatus) Unmarshal ¶
func (m *ExecutionStatus) Unmarshal(dAtA []byte) error
func (*ExecutionStatus) XXX_DiscardUnknown ¶
func (m *ExecutionStatus) XXX_DiscardUnknown()
func (*ExecutionStatus) XXX_Marshal ¶
func (m *ExecutionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionStatus) XXX_Merge ¶
func (m *ExecutionStatus) XXX_Merge(src proto.Message)
func (*ExecutionStatus) XXX_OneofFuncs ¶
func (*ExecutionStatus) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ExecutionStatus) XXX_Size ¶
func (m *ExecutionStatus) XXX_Size() int
func (*ExecutionStatus) XXX_Unmarshal ¶
func (m *ExecutionStatus) XXX_Unmarshal(b []byte) error
type ExecutionStatus_ArithmeticError ¶
type ExecutionStatus_ArithmeticError struct {
ArithmeticError *ArithmeticError `protobuf:"bytes,3,opt,name=arithmetic_error,json=arithmeticError,proto3,oneof"`
}
func (*ExecutionStatus_ArithmeticError) Equal ¶
func (this *ExecutionStatus_ArithmeticError) Equal(that interface{}) bool
func (*ExecutionStatus_ArithmeticError) GoString ¶
func (this *ExecutionStatus_ArithmeticError) GoString() string
func (*ExecutionStatus_ArithmeticError) MarshalTo ¶
func (m *ExecutionStatus_ArithmeticError) MarshalTo(dAtA []byte) (int, error)
func (*ExecutionStatus_ArithmeticError) Size ¶
func (m *ExecutionStatus_ArithmeticError) Size() (n int)
func (*ExecutionStatus_ArithmeticError) String ¶
func (this *ExecutionStatus_ArithmeticError) String() string
type ExecutionStatus_AssertionFailure ¶
type ExecutionStatus_AssertionFailure struct {
AssertionFailure *AssertionFailure `protobuf:"bytes,2,opt,name=assertion_failure,json=assertionFailure,proto3,oneof"`
}
func (*ExecutionStatus_AssertionFailure) Equal ¶
func (this *ExecutionStatus_AssertionFailure) Equal(that interface{}) bool
func (*ExecutionStatus_AssertionFailure) GoString ¶
func (this *ExecutionStatus_AssertionFailure) GoString() string
func (*ExecutionStatus_AssertionFailure) MarshalTo ¶
func (m *ExecutionStatus_AssertionFailure) MarshalTo(dAtA []byte) (int, error)
func (*ExecutionStatus_AssertionFailure) Size ¶
func (m *ExecutionStatus_AssertionFailure) Size() (n int)
func (*ExecutionStatus_AssertionFailure) String ¶
func (this *ExecutionStatus_AssertionFailure) String() string
type ExecutionStatus_ReferenceError ¶
type ExecutionStatus_ReferenceError struct {
ReferenceError *DynamicReferenceError `protobuf:"bytes,4,opt,name=reference_error,json=referenceError,proto3,oneof"`
}
func (*ExecutionStatus_ReferenceError) Equal ¶
func (this *ExecutionStatus_ReferenceError) Equal(that interface{}) bool
func (*ExecutionStatus_ReferenceError) GoString ¶
func (this *ExecutionStatus_ReferenceError) GoString() string
func (*ExecutionStatus_ReferenceError) MarshalTo ¶
func (m *ExecutionStatus_ReferenceError) MarshalTo(dAtA []byte) (int, error)
func (*ExecutionStatus_ReferenceError) Size ¶
func (m *ExecutionStatus_ReferenceError) Size() (n int)
func (*ExecutionStatus_ReferenceError) String ¶
func (this *ExecutionStatus_ReferenceError) String() string
type ExecutionStatus_RuntimeStatus ¶
type ExecutionStatus_RuntimeStatus struct {
RuntimeStatus RuntimeStatus `protobuf:"varint,1,opt,name=runtime_status,json=runtimeStatus,proto3,enum=types.RuntimeStatus,oneof"`
}
func (*ExecutionStatus_RuntimeStatus) Equal ¶
func (this *ExecutionStatus_RuntimeStatus) Equal(that interface{}) bool
func (*ExecutionStatus_RuntimeStatus) GoString ¶
func (this *ExecutionStatus_RuntimeStatus) GoString() string
func (*ExecutionStatus_RuntimeStatus) MarshalTo ¶
func (m *ExecutionStatus_RuntimeStatus) MarshalTo(dAtA []byte) (int, error)
func (*ExecutionStatus_RuntimeStatus) Size ¶
func (m *ExecutionStatus_RuntimeStatus) Size() (n int)
func (*ExecutionStatus_RuntimeStatus) String ¶
func (this *ExecutionStatus_RuntimeStatus) String() string
type GetAccountStateRequest ¶
type GetAccountStateRequest struct { // Account for which we are fetching the state. Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
Gets latest state for an account.
func (*GetAccountStateRequest) Descriptor ¶
func (*GetAccountStateRequest) Descriptor() ([]byte, []int)
func (*GetAccountStateRequest) Equal ¶
func (this *GetAccountStateRequest) Equal(that interface{}) bool
func (*GetAccountStateRequest) GetAddress ¶
func (m *GetAccountStateRequest) GetAddress() []byte
func (*GetAccountStateRequest) GoString ¶
func (this *GetAccountStateRequest) GoString() string
func (*GetAccountStateRequest) Marshal ¶
func (m *GetAccountStateRequest) Marshal() (dAtA []byte, err error)
func (*GetAccountStateRequest) MarshalTo ¶
func (m *GetAccountStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetAccountStateRequest) ProtoMessage ¶
func (*GetAccountStateRequest) ProtoMessage()
func (*GetAccountStateRequest) Reset ¶
func (m *GetAccountStateRequest) Reset()
func (*GetAccountStateRequest) Size ¶
func (m *GetAccountStateRequest) Size() (n int)
func (*GetAccountStateRequest) String ¶
func (this *GetAccountStateRequest) String() string
func (*GetAccountStateRequest) Unmarshal ¶
func (m *GetAccountStateRequest) Unmarshal(dAtA []byte) error
func (*GetAccountStateRequest) XXX_DiscardUnknown ¶
func (m *GetAccountStateRequest) XXX_DiscardUnknown()
func (*GetAccountStateRequest) XXX_Marshal ¶
func (m *GetAccountStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountStateRequest) XXX_Merge ¶
func (m *GetAccountStateRequest) XXX_Merge(src proto.Message)
func (*GetAccountStateRequest) XXX_Size ¶
func (m *GetAccountStateRequest) XXX_Size() int
func (*GetAccountStateRequest) XXX_Unmarshal ¶
func (m *GetAccountStateRequest) XXX_Unmarshal(b []byte) error
type GetAccountStateResponse ¶
type GetAccountStateResponse struct { // Blob value representing the account state together with proof the client // can utilize to verify it. AccountStateWithProof *AccountStateWithProof `` /* 128-byte string literal not displayed */ }
State information returned by a get account state query.
func (*GetAccountStateResponse) Descriptor ¶
func (*GetAccountStateResponse) Descriptor() ([]byte, []int)
func (*GetAccountStateResponse) Equal ¶
func (this *GetAccountStateResponse) Equal(that interface{}) bool
func (*GetAccountStateResponse) GetAccountStateWithProof ¶
func (m *GetAccountStateResponse) GetAccountStateWithProof() *AccountStateWithProof
func (*GetAccountStateResponse) GoString ¶
func (this *GetAccountStateResponse) GoString() string
func (*GetAccountStateResponse) Marshal ¶
func (m *GetAccountStateResponse) Marshal() (dAtA []byte, err error)
func (*GetAccountStateResponse) MarshalTo ¶
func (m *GetAccountStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetAccountStateResponse) ProtoMessage ¶
func (*GetAccountStateResponse) ProtoMessage()
func (*GetAccountStateResponse) Reset ¶
func (m *GetAccountStateResponse) Reset()
func (*GetAccountStateResponse) Size ¶
func (m *GetAccountStateResponse) Size() (n int)
func (*GetAccountStateResponse) String ¶
func (this *GetAccountStateResponse) String() string
func (*GetAccountStateResponse) Unmarshal ¶
func (m *GetAccountStateResponse) Unmarshal(dAtA []byte) error
func (*GetAccountStateResponse) XXX_DiscardUnknown ¶
func (m *GetAccountStateResponse) XXX_DiscardUnknown()
func (*GetAccountStateResponse) XXX_Marshal ¶
func (m *GetAccountStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountStateResponse) XXX_Merge ¶
func (m *GetAccountStateResponse) XXX_Merge(src proto.Message)
func (*GetAccountStateResponse) XXX_Size ¶
func (m *GetAccountStateResponse) XXX_Size() int
func (*GetAccountStateResponse) XXX_Unmarshal ¶
func (m *GetAccountStateResponse) XXX_Unmarshal(b []byte) error
type GetAccountTransactionBySequenceNumberRequest ¶
type GetAccountTransactionBySequenceNumberRequest struct { // Account for which to query transactions Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Set to true to fetch events for the transaction at this version FetchEvents bool `protobuf:"varint,3,opt,name=fetch_events,json=fetchEvents,proto3" json:"fetch_events,omitempty"` }
----------------------------------------------------------------------------- ---------------- Get single transaction by account + sequence number ----------------------------------------------------------------------------- Get transactions that altered an account - this includes both sent and received. A user of this should check that the data returned matches what they expect. As an example, a potential attack vector would be something like the following: Alice is buying an apple from Bob. Alice's phone signs a transaction X with sequence number N that pays coins to Bob. Alice transmits this signature to Bob's payment terminal which then submits the transaction and checks its status to see if Alice can be given the apple. However, as Bob is doing this Alice constructs a second transaction X' also with sequence number N. Alice gets that transaction inserted in the blockchain. If Bob isn't thoughtful about how he uses this API he may assume that if he asks for the N'th transaction on Alice's account that when the API returns that this means the transaction has gone through. The point here is that one should be careful in reading too much into "transaction X is on the chain" and focus on the logs, which tell you what the transaction did.
If a client submitted a transaction, they should also verify that the hash of the returned transaction matches what they submitted. As an example, if a client has two wallets that share the same account, they may both submit a transaction at the same sequence number and only one will be committed. A client should never assume that if they receive the response that this transaction was included that it means that this is definitely the transaction that was submitted. They should check that the hash matches what they sent
func (*GetAccountTransactionBySequenceNumberRequest) Descriptor ¶
func (*GetAccountTransactionBySequenceNumberRequest) Descriptor() ([]byte, []int)
func (*GetAccountTransactionBySequenceNumberRequest) Equal ¶
func (this *GetAccountTransactionBySequenceNumberRequest) Equal(that interface{}) bool
func (*GetAccountTransactionBySequenceNumberRequest) GetAccount ¶
func (m *GetAccountTransactionBySequenceNumberRequest) GetAccount() []byte
func (*GetAccountTransactionBySequenceNumberRequest) GetFetchEvents ¶
func (m *GetAccountTransactionBySequenceNumberRequest) GetFetchEvents() bool
func (*GetAccountTransactionBySequenceNumberRequest) GetSequenceNumber ¶
func (m *GetAccountTransactionBySequenceNumberRequest) GetSequenceNumber() uint64
func (*GetAccountTransactionBySequenceNumberRequest) GoString ¶
func (this *GetAccountTransactionBySequenceNumberRequest) GoString() string
func (*GetAccountTransactionBySequenceNumberRequest) Marshal ¶
func (m *GetAccountTransactionBySequenceNumberRequest) Marshal() (dAtA []byte, err error)
func (*GetAccountTransactionBySequenceNumberRequest) MarshalTo ¶
func (m *GetAccountTransactionBySequenceNumberRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetAccountTransactionBySequenceNumberRequest) ProtoMessage ¶
func (*GetAccountTransactionBySequenceNumberRequest) ProtoMessage()
func (*GetAccountTransactionBySequenceNumberRequest) Reset ¶
func (m *GetAccountTransactionBySequenceNumberRequest) Reset()
func (*GetAccountTransactionBySequenceNumberRequest) Size ¶
func (m *GetAccountTransactionBySequenceNumberRequest) Size() (n int)
func (*GetAccountTransactionBySequenceNumberRequest) String ¶
func (this *GetAccountTransactionBySequenceNumberRequest) String() string
func (*GetAccountTransactionBySequenceNumberRequest) Unmarshal ¶
func (m *GetAccountTransactionBySequenceNumberRequest) Unmarshal(dAtA []byte) error
func (*GetAccountTransactionBySequenceNumberRequest) XXX_DiscardUnknown ¶
func (m *GetAccountTransactionBySequenceNumberRequest) XXX_DiscardUnknown()
func (*GetAccountTransactionBySequenceNumberRequest) XXX_Marshal ¶
func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountTransactionBySequenceNumberRequest) XXX_Merge ¶
func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Merge(src proto.Message)
func (*GetAccountTransactionBySequenceNumberRequest) XXX_Size ¶
func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Size() int
func (*GetAccountTransactionBySequenceNumberRequest) XXX_Unmarshal ¶
func (m *GetAccountTransactionBySequenceNumberRequest) XXX_Unmarshal(b []byte) error
type GetAccountTransactionBySequenceNumberResponse ¶
type GetAccountTransactionBySequenceNumberResponse struct { // When the transaction requested is committed, return the committed // transaction with proof. SignedTransactionWithProof *SignedTransactionWithProof `` /* 143-byte string literal not displayed */ // When the transaction requested is not committed, we give a proof that // shows the current sequence number is smaller than what would have been if // the transaction was committed. ProofOfCurrentSequenceNumber *AccountStateWithProof `` /* 151-byte string literal not displayed */ }
Transaction information for transactions requested by GetAccountTransactionsRequest
func (*GetAccountTransactionBySequenceNumberResponse) Descriptor ¶
func (*GetAccountTransactionBySequenceNumberResponse) Descriptor() ([]byte, []int)
func (*GetAccountTransactionBySequenceNumberResponse) Equal ¶
func (this *GetAccountTransactionBySequenceNumberResponse) Equal(that interface{}) bool
func (*GetAccountTransactionBySequenceNumberResponse) GetProofOfCurrentSequenceNumber ¶
func (m *GetAccountTransactionBySequenceNumberResponse) GetProofOfCurrentSequenceNumber() *AccountStateWithProof
func (*GetAccountTransactionBySequenceNumberResponse) GetSignedTransactionWithProof ¶
func (m *GetAccountTransactionBySequenceNumberResponse) GetSignedTransactionWithProof() *SignedTransactionWithProof
func (*GetAccountTransactionBySequenceNumberResponse) GoString ¶
func (this *GetAccountTransactionBySequenceNumberResponse) GoString() string
func (*GetAccountTransactionBySequenceNumberResponse) Marshal ¶
func (m *GetAccountTransactionBySequenceNumberResponse) Marshal() (dAtA []byte, err error)
func (*GetAccountTransactionBySequenceNumberResponse) MarshalTo ¶
func (m *GetAccountTransactionBySequenceNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetAccountTransactionBySequenceNumberResponse) ProtoMessage ¶
func (*GetAccountTransactionBySequenceNumberResponse) ProtoMessage()
func (*GetAccountTransactionBySequenceNumberResponse) Reset ¶
func (m *GetAccountTransactionBySequenceNumberResponse) Reset()
func (*GetAccountTransactionBySequenceNumberResponse) Size ¶
func (m *GetAccountTransactionBySequenceNumberResponse) Size() (n int)
func (*GetAccountTransactionBySequenceNumberResponse) String ¶
func (this *GetAccountTransactionBySequenceNumberResponse) String() string
func (*GetAccountTransactionBySequenceNumberResponse) Unmarshal ¶
func (m *GetAccountTransactionBySequenceNumberResponse) Unmarshal(dAtA []byte) error
func (*GetAccountTransactionBySequenceNumberResponse) XXX_DiscardUnknown ¶
func (m *GetAccountTransactionBySequenceNumberResponse) XXX_DiscardUnknown()
func (*GetAccountTransactionBySequenceNumberResponse) XXX_Marshal ¶
func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountTransactionBySequenceNumberResponse) XXX_Merge ¶
func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Merge(src proto.Message)
func (*GetAccountTransactionBySequenceNumberResponse) XXX_Size ¶
func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Size() int
func (*GetAccountTransactionBySequenceNumberResponse) XXX_Unmarshal ¶
func (m *GetAccountTransactionBySequenceNumberResponse) XXX_Unmarshal(b []byte) error
type GetEventsByEventAccessPathRequest ¶
type GetEventsByEventAccessPathRequest struct { AccessPath *AccessPath `protobuf:"bytes,1,opt,name=access_path,json=accessPath,proto3" json:"access_path,omitempty"` // The sequence number of the event to start with for this query. Use a // sequence number of MAX_INT to represent the latest. StartEventSeqNum uint64 `protobuf:"varint,2,opt,name=start_event_seq_num,json=startEventSeqNum,proto3" json:"start_event_seq_num,omitempty"` // If ascending is true this query will return up to `limit` events that were // emitted after `start_event_seq_num`. Otherwise it will return up to `limit` // events before the offset. Both cases are inclusive. Ascending bool `protobuf:"varint,3,opt,name=ascending,proto3" json:"ascending,omitempty"` // Limit number of results Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` }
Get events that exist on an event access path. In the current world, a user may specify events that were received, events that were sent, or any event that modifies their account
func (*GetEventsByEventAccessPathRequest) Descriptor ¶
func (*GetEventsByEventAccessPathRequest) Descriptor() ([]byte, []int)
func (*GetEventsByEventAccessPathRequest) Equal ¶
func (this *GetEventsByEventAccessPathRequest) Equal(that interface{}) bool
func (*GetEventsByEventAccessPathRequest) GetAccessPath ¶
func (m *GetEventsByEventAccessPathRequest) GetAccessPath() *AccessPath
func (*GetEventsByEventAccessPathRequest) GetAscending ¶
func (m *GetEventsByEventAccessPathRequest) GetAscending() bool
func (*GetEventsByEventAccessPathRequest) GetLimit ¶
func (m *GetEventsByEventAccessPathRequest) GetLimit() uint64
func (*GetEventsByEventAccessPathRequest) GetStartEventSeqNum ¶
func (m *GetEventsByEventAccessPathRequest) GetStartEventSeqNum() uint64
func (*GetEventsByEventAccessPathRequest) GoString ¶
func (this *GetEventsByEventAccessPathRequest) GoString() string
func (*GetEventsByEventAccessPathRequest) Marshal ¶
func (m *GetEventsByEventAccessPathRequest) Marshal() (dAtA []byte, err error)
func (*GetEventsByEventAccessPathRequest) MarshalTo ¶
func (m *GetEventsByEventAccessPathRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetEventsByEventAccessPathRequest) ProtoMessage ¶
func (*GetEventsByEventAccessPathRequest) ProtoMessage()
func (*GetEventsByEventAccessPathRequest) Reset ¶
func (m *GetEventsByEventAccessPathRequest) Reset()
func (*GetEventsByEventAccessPathRequest) Size ¶
func (m *GetEventsByEventAccessPathRequest) Size() (n int)
func (*GetEventsByEventAccessPathRequest) String ¶
func (this *GetEventsByEventAccessPathRequest) String() string
func (*GetEventsByEventAccessPathRequest) Unmarshal ¶
func (m *GetEventsByEventAccessPathRequest) Unmarshal(dAtA []byte) error
func (*GetEventsByEventAccessPathRequest) XXX_DiscardUnknown ¶
func (m *GetEventsByEventAccessPathRequest) XXX_DiscardUnknown()
func (*GetEventsByEventAccessPathRequest) XXX_Marshal ¶
func (m *GetEventsByEventAccessPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventsByEventAccessPathRequest) XXX_Merge ¶
func (m *GetEventsByEventAccessPathRequest) XXX_Merge(src proto.Message)
func (*GetEventsByEventAccessPathRequest) XXX_Size ¶
func (m *GetEventsByEventAccessPathRequest) XXX_Size() int
func (*GetEventsByEventAccessPathRequest) XXX_Unmarshal ¶
func (m *GetEventsByEventAccessPathRequest) XXX_Unmarshal(b []byte) error
type GetEventsByEventAccessPathResponse ¶
type GetEventsByEventAccessPathResponse struct { // Returns an event and proof of each of the events in the request. The first // element of proofs will be the closest to `start_event_seq_num`. EventsWithProof []*EventWithProof `protobuf:"bytes,1,rep,name=events_with_proof,json=eventsWithProof,proto3" json:"events_with_proof,omitempty"` // If the number of events returned is less than `limit` for an ascending // query or if start_event_seq_num > the latest seq_num for a descending // query, returns the state of the account containing the given access path // in the latest state. This allows the client to verify that there are in // fact no extra events. // // The LedgerInfoWithSignatures which is on the main // UpdateToLatestLedgerResponse can be used to validate this. ProofOfLatestEvent *AccountStateWithProof `protobuf:"bytes,2,opt,name=proof_of_latest_event,json=proofOfLatestEvent,proto3" json:"proof_of_latest_event,omitempty"` }
func (*GetEventsByEventAccessPathResponse) Descriptor ¶
func (*GetEventsByEventAccessPathResponse) Descriptor() ([]byte, []int)
func (*GetEventsByEventAccessPathResponse) Equal ¶
func (this *GetEventsByEventAccessPathResponse) Equal(that interface{}) bool
func (*GetEventsByEventAccessPathResponse) GetEventsWithProof ¶
func (m *GetEventsByEventAccessPathResponse) GetEventsWithProof() []*EventWithProof
func (*GetEventsByEventAccessPathResponse) GetProofOfLatestEvent ¶
func (m *GetEventsByEventAccessPathResponse) GetProofOfLatestEvent() *AccountStateWithProof
func (*GetEventsByEventAccessPathResponse) GoString ¶
func (this *GetEventsByEventAccessPathResponse) GoString() string
func (*GetEventsByEventAccessPathResponse) Marshal ¶
func (m *GetEventsByEventAccessPathResponse) Marshal() (dAtA []byte, err error)
func (*GetEventsByEventAccessPathResponse) MarshalTo ¶
func (m *GetEventsByEventAccessPathResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetEventsByEventAccessPathResponse) ProtoMessage ¶
func (*GetEventsByEventAccessPathResponse) ProtoMessage()
func (*GetEventsByEventAccessPathResponse) Reset ¶
func (m *GetEventsByEventAccessPathResponse) Reset()
func (*GetEventsByEventAccessPathResponse) Size ¶
func (m *GetEventsByEventAccessPathResponse) Size() (n int)
func (*GetEventsByEventAccessPathResponse) String ¶
func (this *GetEventsByEventAccessPathResponse) String() string
func (*GetEventsByEventAccessPathResponse) Unmarshal ¶
func (m *GetEventsByEventAccessPathResponse) Unmarshal(dAtA []byte) error
func (*GetEventsByEventAccessPathResponse) XXX_DiscardUnknown ¶
func (m *GetEventsByEventAccessPathResponse) XXX_DiscardUnknown()
func (*GetEventsByEventAccessPathResponse) XXX_Marshal ¶
func (m *GetEventsByEventAccessPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventsByEventAccessPathResponse) XXX_Merge ¶
func (m *GetEventsByEventAccessPathResponse) XXX_Merge(src proto.Message)
func (*GetEventsByEventAccessPathResponse) XXX_Size ¶
func (m *GetEventsByEventAccessPathResponse) XXX_Size() int
func (*GetEventsByEventAccessPathResponse) XXX_Unmarshal ¶
func (m *GetEventsByEventAccessPathResponse) XXX_Unmarshal(b []byte) error
type GetTransactionsRequest ¶
type GetTransactionsRequest struct { // The version of the transaction to start with for this query. Use a version // of MAX_INT to represent the latest. StartVersion uint64 `protobuf:"varint,1,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` // Limit number of results Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // Set to true to fetch events for the transaction at each version FetchEvents bool `protobuf:"varint,3,opt,name=fetch_events,json=fetchEvents,proto3" json:"fetch_events,omitempty"` }
Get up to limit transactions starting from start_version.
func (*GetTransactionsRequest) Descriptor ¶
func (*GetTransactionsRequest) Descriptor() ([]byte, []int)
func (*GetTransactionsRequest) Equal ¶
func (this *GetTransactionsRequest) Equal(that interface{}) bool
func (*GetTransactionsRequest) GetFetchEvents ¶
func (m *GetTransactionsRequest) GetFetchEvents() bool
func (*GetTransactionsRequest) GetLimit ¶
func (m *GetTransactionsRequest) GetLimit() uint64
func (*GetTransactionsRequest) GetStartVersion ¶
func (m *GetTransactionsRequest) GetStartVersion() uint64
func (*GetTransactionsRequest) GoString ¶
func (this *GetTransactionsRequest) GoString() string
func (*GetTransactionsRequest) Marshal ¶
func (m *GetTransactionsRequest) Marshal() (dAtA []byte, err error)
func (*GetTransactionsRequest) MarshalTo ¶
func (m *GetTransactionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetTransactionsRequest) ProtoMessage ¶
func (*GetTransactionsRequest) ProtoMessage()
func (*GetTransactionsRequest) Reset ¶
func (m *GetTransactionsRequest) Reset()
func (*GetTransactionsRequest) Size ¶
func (m *GetTransactionsRequest) Size() (n int)
func (*GetTransactionsRequest) String ¶
func (this *GetTransactionsRequest) String() string
func (*GetTransactionsRequest) Unmarshal ¶
func (m *GetTransactionsRequest) Unmarshal(dAtA []byte) error
func (*GetTransactionsRequest) XXX_DiscardUnknown ¶
func (m *GetTransactionsRequest) XXX_DiscardUnknown()
func (*GetTransactionsRequest) XXX_Marshal ¶
func (m *GetTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTransactionsRequest) XXX_Merge ¶
func (m *GetTransactionsRequest) XXX_Merge(src proto.Message)
func (*GetTransactionsRequest) XXX_Size ¶
func (m *GetTransactionsRequest) XXX_Size() int
func (*GetTransactionsRequest) XXX_Unmarshal ¶
func (m *GetTransactionsRequest) XXX_Unmarshal(b []byte) error
type GetTransactionsResponse ¶
type GetTransactionsResponse struct {
TxnListWithProof *TransactionListWithProof `protobuf:"bytes,1,opt,name=txn_list_with_proof,json=txnListWithProof,proto3" json:"txn_list_with_proof,omitempty"`
}
func (*GetTransactionsResponse) Descriptor ¶
func (*GetTransactionsResponse) Descriptor() ([]byte, []int)
func (*GetTransactionsResponse) Equal ¶
func (this *GetTransactionsResponse) Equal(that interface{}) bool
func (*GetTransactionsResponse) GetTxnListWithProof ¶
func (m *GetTransactionsResponse) GetTxnListWithProof() *TransactionListWithProof
func (*GetTransactionsResponse) GoString ¶
func (this *GetTransactionsResponse) GoString() string
func (*GetTransactionsResponse) Marshal ¶
func (m *GetTransactionsResponse) Marshal() (dAtA []byte, err error)
func (*GetTransactionsResponse) MarshalTo ¶
func (m *GetTransactionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetTransactionsResponse) ProtoMessage ¶
func (*GetTransactionsResponse) ProtoMessage()
func (*GetTransactionsResponse) Reset ¶
func (m *GetTransactionsResponse) Reset()
func (*GetTransactionsResponse) Size ¶
func (m *GetTransactionsResponse) Size() (n int)
func (*GetTransactionsResponse) String ¶
func (this *GetTransactionsResponse) String() string
func (*GetTransactionsResponse) Unmarshal ¶
func (m *GetTransactionsResponse) Unmarshal(dAtA []byte) error
func (*GetTransactionsResponse) XXX_DiscardUnknown ¶
func (m *GetTransactionsResponse) XXX_DiscardUnknown()
func (*GetTransactionsResponse) XXX_Marshal ¶
func (m *GetTransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTransactionsResponse) XXX_Merge ¶
func (m *GetTransactionsResponse) XXX_Merge(src proto.Message)
func (*GetTransactionsResponse) XXX_Size ¶
func (m *GetTransactionsResponse) XXX_Size() int
func (*GetTransactionsResponse) XXX_Unmarshal ¶
func (m *GetTransactionsResponse) XXX_Unmarshal(b []byte) error
type LedgerInfo ¶
type LedgerInfo struct { // Current latest version of the system Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Root hash of transaction accumulator at this version TransactionAccumulatorHash []byte `` /* 141-byte string literal not displayed */ // Hash of consensus-specific data that is opaque to all parts of the system // other than consensus. This is needed to verify signatures because // consensus signing includes this hash ConsensusDataHash []byte `protobuf:"bytes,3,opt,name=consensus_data_hash,json=consensusDataHash,proto3" json:"consensus_data_hash,omitempty"` // The block id of the last committed block corresponding to this ledger info. // This field is not particularly interesting to the clients, but can be used // by the validators for synchronization. ConsensusBlockId []byte `protobuf:"bytes,4,opt,name=consensus_block_id,json=consensusBlockId,proto3" json:"consensus_block_id,omitempty"` // Epoch number corresponds to the set of validators that are active for this // ledger info. The main motivation for keeping the epoch number in the // LedgerInfo is to ensure that the client has enough information to verify // that the signatures for this info are coming from the validators that // indeed form a quorum. Without epoch number a potential attack could reuse // the signatures from the validators in one epoch in order to sign the wrong // info belonging to another epoch, in which these validators do not form a // quorum. The very first epoch number is 0. EpochNum uint64 `protobuf:"varint,5,opt,name=epoch_num,json=epochNum,proto3" json:"epoch_num,omitempty"` // Timestamp that represents the microseconds since the epoch (unix time) that is // generated by the proposer of the block. This is strictly increasing with every block. // If a client reads a timestamp > the one they specified for transaction expiration time, // they can be certain that their transaction will never be included in a block in the future // (assuming that their transaction has not yet been included) TimestampUsecs uint64 `protobuf:"varint,6,opt,name=timestamp_usecs,json=timestampUsecs,proto3" json:"timestamp_usecs,omitempty"` }
/ Even though we don't always need all hashes, we pass them in and return them / always so that we keep them in sync on the client and don't make the client / worry about which one(s) to pass in which cases / / This structure serves a dual purpose. / / First, if this structure is signed by 2f+1 validators it signifies the state / of the ledger at version `version` -- it contains the transaction / accumulator at that version which commits to all historical transactions. / This structure may be expanded to include other information that is derived / from that accumulator (e.g. the current time according to the time contract) / to reduce the number of proofs a client must get. / / Second, the structure contains a `consensus_data_hash` value. This is the / hash of an internal data structure that represents a block that is voted on / by consensus. / / Combining these two concepts when the consensus algorithm votes on a block B / it votes for a LedgerInfo with the `version` being the latest version that / will be committed if B gets 2f+1 votes. It sets `consensus_data_hash` to / represent B so that if those 2f+1 votes are gathered, the block is valid to / commit
func (*LedgerInfo) Descriptor ¶
func (*LedgerInfo) Descriptor() ([]byte, []int)
func (*LedgerInfo) Equal ¶
func (this *LedgerInfo) Equal(that interface{}) bool
func (*LedgerInfo) GetConsensusBlockId ¶
func (m *LedgerInfo) GetConsensusBlockId() []byte
func (*LedgerInfo) GetConsensusDataHash ¶
func (m *LedgerInfo) GetConsensusDataHash() []byte
func (*LedgerInfo) GetEpochNum ¶
func (m *LedgerInfo) GetEpochNum() uint64
func (*LedgerInfo) GetTimestampUsecs ¶
func (m *LedgerInfo) GetTimestampUsecs() uint64
func (*LedgerInfo) GetTransactionAccumulatorHash ¶
func (m *LedgerInfo) GetTransactionAccumulatorHash() []byte
func (*LedgerInfo) GetVersion ¶
func (m *LedgerInfo) GetVersion() uint64
func (*LedgerInfo) GoString ¶
func (this *LedgerInfo) GoString() string
func (*LedgerInfo) Marshal ¶
func (m *LedgerInfo) Marshal() (dAtA []byte, err error)
func (*LedgerInfo) ProtoMessage ¶
func (*LedgerInfo) ProtoMessage()
func (*LedgerInfo) Reset ¶
func (m *LedgerInfo) Reset()
func (*LedgerInfo) Size ¶
func (m *LedgerInfo) Size() (n int)
func (*LedgerInfo) String ¶
func (this *LedgerInfo) String() string
func (*LedgerInfo) Unmarshal ¶
func (m *LedgerInfo) Unmarshal(dAtA []byte) error
func (*LedgerInfo) XXX_DiscardUnknown ¶
func (m *LedgerInfo) XXX_DiscardUnknown()
func (*LedgerInfo) XXX_Marshal ¶
func (m *LedgerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerInfo) XXX_Merge ¶
func (m *LedgerInfo) XXX_Merge(src proto.Message)
func (*LedgerInfo) XXX_Size ¶
func (m *LedgerInfo) XXX_Size() int
func (*LedgerInfo) XXX_Unmarshal ¶
func (m *LedgerInfo) XXX_Unmarshal(b []byte) error
type LedgerInfoWithSignatures ¶
type LedgerInfoWithSignatures struct { // Signatures of the root node from each validator Signatures []*ValidatorSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` LedgerInfo *LedgerInfo `protobuf:"bytes,2,opt,name=ledger_info,json=ledgerInfo,proto3" json:"ledger_info,omitempty"` }
/ The validator node returns this structure which includes signatures / from each validator to confirm the state. The client needs to only pass / back the LedgerInfo element since the validator node doesn't need to know / the signatures again when the client performs a query, those are only there / for the client to be able to verify the state
func (*LedgerInfoWithSignatures) Descriptor ¶
func (*LedgerInfoWithSignatures) Descriptor() ([]byte, []int)
func (*LedgerInfoWithSignatures) Equal ¶
func (this *LedgerInfoWithSignatures) Equal(that interface{}) bool
func (*LedgerInfoWithSignatures) GetLedgerInfo ¶
func (m *LedgerInfoWithSignatures) GetLedgerInfo() *LedgerInfo
func (*LedgerInfoWithSignatures) GetSignatures ¶
func (m *LedgerInfoWithSignatures) GetSignatures() []*ValidatorSignature
func (*LedgerInfoWithSignatures) GoString ¶
func (this *LedgerInfoWithSignatures) GoString() string
func (*LedgerInfoWithSignatures) Marshal ¶
func (m *LedgerInfoWithSignatures) Marshal() (dAtA []byte, err error)
func (*LedgerInfoWithSignatures) MarshalTo ¶
func (m *LedgerInfoWithSignatures) MarshalTo(dAtA []byte) (int, error)
func (*LedgerInfoWithSignatures) ProtoMessage ¶
func (*LedgerInfoWithSignatures) ProtoMessage()
func (*LedgerInfoWithSignatures) Reset ¶
func (m *LedgerInfoWithSignatures) Reset()
func (*LedgerInfoWithSignatures) Size ¶
func (m *LedgerInfoWithSignatures) Size() (n int)
func (*LedgerInfoWithSignatures) String ¶
func (this *LedgerInfoWithSignatures) String() string
func (*LedgerInfoWithSignatures) Unmarshal ¶
func (m *LedgerInfoWithSignatures) Unmarshal(dAtA []byte) error
func (*LedgerInfoWithSignatures) XXX_DiscardUnknown ¶
func (m *LedgerInfoWithSignatures) XXX_DiscardUnknown()
func (*LedgerInfoWithSignatures) XXX_Marshal ¶
func (m *LedgerInfoWithSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerInfoWithSignatures) XXX_Merge ¶
func (m *LedgerInfoWithSignatures) XXX_Merge(src proto.Message)
func (*LedgerInfoWithSignatures) XXX_Size ¶
func (m *LedgerInfoWithSignatures) XXX_Size() int
func (*LedgerInfoWithSignatures) XXX_Unmarshal ¶
func (m *LedgerInfoWithSignatures) XXX_Unmarshal(b []byte) error
type ModuleId ¶
type ModuleId struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
/ The unique identifier for a module on the chain.
func (*ModuleId) Descriptor ¶
func (*ModuleId) GetAddress ¶
func (*ModuleId) ProtoMessage ¶
func (*ModuleId) ProtoMessage()
func (*ModuleId) XXX_DiscardUnknown ¶
func (m *ModuleId) XXX_DiscardUnknown()
func (*ModuleId) XXX_Marshal ¶
func (*ModuleId) XXX_Unmarshal ¶
type Program ¶
type Program struct { Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Arguments []*TransactionArgument `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` Modules [][]byte `protobuf:"bytes,3,rep,name=modules,proto3" json:"modules,omitempty"` }
The code for the transaction to execute
func (*Program) Descriptor ¶
func (*Program) GetArguments ¶
func (m *Program) GetArguments() []*TransactionArgument
func (*Program) GetModules ¶
func (*Program) ProtoMessage ¶
func (*Program) ProtoMessage()
func (*Program) XXX_DiscardUnknown ¶
func (m *Program) XXX_DiscardUnknown()
func (*Program) XXX_Marshal ¶
func (*Program) XXX_Unmarshal ¶
type RawTransaction ¶
type RawTransaction struct { // Sender's account address SenderAccount []byte `protobuf:"bytes,1,opt,name=sender_account,json=senderAccount,proto3" json:"sender_account,omitempty"` // Sequence number of this transaction corresponding to sender's account. SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Types that are valid to be assigned to Payload: // *RawTransaction_Program // *RawTransaction_WriteSet Payload isRawTransaction_Payload `protobuf_oneof:"payload"` // Maximal total gas specified by wallet to spend for this transaction. MaxGasAmount uint64 `protobuf:"varint,5,opt,name=max_gas_amount,json=maxGasAmount,proto3" json:"max_gas_amount,omitempty"` // The price to be paid for each unit of gas. GasUnitPrice uint64 `protobuf:"varint,6,opt,name=gas_unit_price,json=gasUnitPrice,proto3" json:"gas_unit_price,omitempty"` // Expiration time for this transaction. If storage is queried and // the time returned is greater than or equal to this time and this // transaction has not been included, you can be certain that it will // never be included. // If set to 0, there will be no expiration time ExpirationTime uint64 `protobuf:"varint,7,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` }
A generic structure that describes a transaction that a client submits
func (*RawTransaction) Descriptor ¶
func (*RawTransaction) Descriptor() ([]byte, []int)
func (*RawTransaction) Equal ¶
func (this *RawTransaction) Equal(that interface{}) bool
func (*RawTransaction) GetExpirationTime ¶
func (m *RawTransaction) GetExpirationTime() uint64
func (*RawTransaction) GetGasUnitPrice ¶
func (m *RawTransaction) GetGasUnitPrice() uint64
func (*RawTransaction) GetMaxGasAmount ¶
func (m *RawTransaction) GetMaxGasAmount() uint64
func (*RawTransaction) GetPayload ¶
func (m *RawTransaction) GetPayload() isRawTransaction_Payload
func (*RawTransaction) GetProgram ¶
func (m *RawTransaction) GetProgram() *Program
func (*RawTransaction) GetSenderAccount ¶
func (m *RawTransaction) GetSenderAccount() []byte
func (*RawTransaction) GetSequenceNumber ¶
func (m *RawTransaction) GetSequenceNumber() uint64
func (*RawTransaction) GetWriteSet ¶
func (m *RawTransaction) GetWriteSet() *WriteSet
func (*RawTransaction) GoString ¶
func (this *RawTransaction) GoString() string
func (*RawTransaction) Marshal ¶
func (m *RawTransaction) Marshal() (dAtA []byte, err error)
func (*RawTransaction) ProtoMessage ¶
func (*RawTransaction) ProtoMessage()
func (*RawTransaction) Reset ¶
func (m *RawTransaction) Reset()
func (*RawTransaction) Size ¶
func (m *RawTransaction) Size() (n int)
func (*RawTransaction) String ¶
func (this *RawTransaction) String() string
func (*RawTransaction) Unmarshal ¶
func (m *RawTransaction) Unmarshal(dAtA []byte) error
func (*RawTransaction) XXX_DiscardUnknown ¶
func (m *RawTransaction) XXX_DiscardUnknown()
func (*RawTransaction) XXX_Marshal ¶
func (m *RawTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawTransaction) XXX_Merge ¶
func (m *RawTransaction) XXX_Merge(src proto.Message)
func (*RawTransaction) XXX_OneofFuncs ¶
func (*RawTransaction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*RawTransaction) XXX_Size ¶
func (m *RawTransaction) XXX_Size() int
func (*RawTransaction) XXX_Unmarshal ¶
func (m *RawTransaction) XXX_Unmarshal(b []byte) error
type RawTransaction_Program ¶
type RawTransaction_Program struct {
Program *Program `protobuf:"bytes,3,opt,name=program,proto3,oneof"`
}
func (*RawTransaction_Program) Equal ¶
func (this *RawTransaction_Program) Equal(that interface{}) bool
func (*RawTransaction_Program) GoString ¶
func (this *RawTransaction_Program) GoString() string
func (*RawTransaction_Program) MarshalTo ¶
func (m *RawTransaction_Program) MarshalTo(dAtA []byte) (int, error)
func (*RawTransaction_Program) Size ¶
func (m *RawTransaction_Program) Size() (n int)
func (*RawTransaction_Program) String ¶
func (this *RawTransaction_Program) String() string
type RawTransaction_WriteSet ¶
type RawTransaction_WriteSet struct {
WriteSet *WriteSet `protobuf:"bytes,4,opt,name=write_set,json=writeSet,proto3,oneof"`
}
func (*RawTransaction_WriteSet) Equal ¶
func (this *RawTransaction_WriteSet) Equal(that interface{}) bool
func (*RawTransaction_WriteSet) GoString ¶
func (this *RawTransaction_WriteSet) GoString() string
func (*RawTransaction_WriteSet) MarshalTo ¶
func (m *RawTransaction_WriteSet) MarshalTo(dAtA []byte) (int, error)
func (*RawTransaction_WriteSet) Size ¶
func (m *RawTransaction_WriteSet) Size() (n int)
func (*RawTransaction_WriteSet) String ¶
func (this *RawTransaction_WriteSet) String() string
type RequestItem ¶
type RequestItem struct { // Types that are valid to be assigned to RequestedItems: // *RequestItem_GetAccountStateRequest // *RequestItem_GetAccountTransactionBySequenceNumberRequest // *RequestItem_GetEventsByEventAccessPathRequest // *RequestItem_GetTransactionsRequest RequestedItems isRequestItem_RequestedItems `protobuf_oneof:"requested_items"` }
func (*RequestItem) Descriptor ¶
func (*RequestItem) Descriptor() ([]byte, []int)
func (*RequestItem) Equal ¶
func (this *RequestItem) Equal(that interface{}) bool
func (*RequestItem) GetGetAccountStateRequest ¶
func (m *RequestItem) GetGetAccountStateRequest() *GetAccountStateRequest
func (*RequestItem) GetGetAccountTransactionBySequenceNumberRequest ¶
func (m *RequestItem) GetGetAccountTransactionBySequenceNumberRequest() *GetAccountTransactionBySequenceNumberRequest
func (*RequestItem) GetGetEventsByEventAccessPathRequest ¶
func (m *RequestItem) GetGetEventsByEventAccessPathRequest() *GetEventsByEventAccessPathRequest
func (*RequestItem) GetGetTransactionsRequest ¶
func (m *RequestItem) GetGetTransactionsRequest() *GetTransactionsRequest
func (*RequestItem) GetRequestedItems ¶
func (m *RequestItem) GetRequestedItems() isRequestItem_RequestedItems
func (*RequestItem) GoString ¶
func (this *RequestItem) GoString() string
func (*RequestItem) Marshal ¶
func (m *RequestItem) Marshal() (dAtA []byte, err error)
func (*RequestItem) ProtoMessage ¶
func (*RequestItem) ProtoMessage()
func (*RequestItem) Reset ¶
func (m *RequestItem) Reset()
func (*RequestItem) Size ¶
func (m *RequestItem) Size() (n int)
func (*RequestItem) String ¶
func (this *RequestItem) String() string
func (*RequestItem) Unmarshal ¶
func (m *RequestItem) Unmarshal(dAtA []byte) error
func (*RequestItem) XXX_DiscardUnknown ¶
func (m *RequestItem) XXX_DiscardUnknown()
func (*RequestItem) XXX_Marshal ¶
func (m *RequestItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestItem) XXX_Merge ¶
func (m *RequestItem) XXX_Merge(src proto.Message)
func (*RequestItem) XXX_OneofFuncs ¶
func (*RequestItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*RequestItem) XXX_Size ¶
func (m *RequestItem) XXX_Size() int
func (*RequestItem) XXX_Unmarshal ¶
func (m *RequestItem) XXX_Unmarshal(b []byte) error
type RequestItem_GetAccountStateRequest ¶
type RequestItem_GetAccountStateRequest struct {
GetAccountStateRequest *GetAccountStateRequest `protobuf:"bytes,1,opt,name=get_account_state_request,json=getAccountStateRequest,proto3,oneof"`
}
func (*RequestItem_GetAccountStateRequest) Equal ¶
func (this *RequestItem_GetAccountStateRequest) Equal(that interface{}) bool
func (*RequestItem_GetAccountStateRequest) GoString ¶
func (this *RequestItem_GetAccountStateRequest) GoString() string
func (*RequestItem_GetAccountStateRequest) MarshalTo ¶
func (m *RequestItem_GetAccountStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*RequestItem_GetAccountStateRequest) Size ¶
func (m *RequestItem_GetAccountStateRequest) Size() (n int)
func (*RequestItem_GetAccountStateRequest) String ¶
func (this *RequestItem_GetAccountStateRequest) String() string
type RequestItem_GetAccountTransactionBySequenceNumberRequest ¶
type RequestItem_GetAccountTransactionBySequenceNumberRequest struct {
GetAccountTransactionBySequenceNumberRequest *GetAccountTransactionBySequenceNumberRequest `` /* 141-byte string literal not displayed */
}
func (*RequestItem_GetAccountTransactionBySequenceNumberRequest) Equal ¶
func (this *RequestItem_GetAccountTransactionBySequenceNumberRequest) Equal(that interface{}) bool
func (*RequestItem_GetAccountTransactionBySequenceNumberRequest) GoString ¶
func (this *RequestItem_GetAccountTransactionBySequenceNumberRequest) GoString() string
func (*RequestItem_GetAccountTransactionBySequenceNumberRequest) MarshalTo ¶
func (m *RequestItem_GetAccountTransactionBySequenceNumberRequest) MarshalTo(dAtA []byte) (int, error)
func (*RequestItem_GetAccountTransactionBySequenceNumberRequest) Size ¶
func (m *RequestItem_GetAccountTransactionBySequenceNumberRequest) Size() (n int)
func (*RequestItem_GetAccountTransactionBySequenceNumberRequest) String ¶
func (this *RequestItem_GetAccountTransactionBySequenceNumberRequest) String() string
type RequestItem_GetEventsByEventAccessPathRequest ¶
type RequestItem_GetEventsByEventAccessPathRequest struct {
GetEventsByEventAccessPathRequest *GetEventsByEventAccessPathRequest `protobuf:"bytes,3,opt,name=get_events_by_event_access_path_request,json=getEventsByEventAccessPathRequest,proto3,oneof"`
}
func (*RequestItem_GetEventsByEventAccessPathRequest) Equal ¶
func (this *RequestItem_GetEventsByEventAccessPathRequest) Equal(that interface{}) bool
func (*RequestItem_GetEventsByEventAccessPathRequest) GoString ¶
func (this *RequestItem_GetEventsByEventAccessPathRequest) GoString() string
func (*RequestItem_GetEventsByEventAccessPathRequest) MarshalTo ¶
func (m *RequestItem_GetEventsByEventAccessPathRequest) MarshalTo(dAtA []byte) (int, error)
func (*RequestItem_GetEventsByEventAccessPathRequest) Size ¶
func (m *RequestItem_GetEventsByEventAccessPathRequest) Size() (n int)
func (*RequestItem_GetEventsByEventAccessPathRequest) String ¶
func (this *RequestItem_GetEventsByEventAccessPathRequest) String() string
type RequestItem_GetTransactionsRequest ¶
type RequestItem_GetTransactionsRequest struct {
GetTransactionsRequest *GetTransactionsRequest `protobuf:"bytes,4,opt,name=get_transactions_request,json=getTransactionsRequest,proto3,oneof"`
}
func (*RequestItem_GetTransactionsRequest) Equal ¶
func (this *RequestItem_GetTransactionsRequest) Equal(that interface{}) bool
func (*RequestItem_GetTransactionsRequest) GoString ¶
func (this *RequestItem_GetTransactionsRequest) GoString() string
func (*RequestItem_GetTransactionsRequest) MarshalTo ¶
func (m *RequestItem_GetTransactionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*RequestItem_GetTransactionsRequest) Size ¶
func (m *RequestItem_GetTransactionsRequest) Size() (n int)
func (*RequestItem_GetTransactionsRequest) String ¶
func (this *RequestItem_GetTransactionsRequest) String() string
type ResponseItem ¶
type ResponseItem struct { // Types that are valid to be assigned to ResponseItems: // *ResponseItem_GetAccountStateResponse // *ResponseItem_GetAccountTransactionBySequenceNumberResponse // *ResponseItem_GetEventsByEventAccessPathResponse // *ResponseItem_GetTransactionsResponse ResponseItems isResponseItem_ResponseItems `protobuf_oneof:"response_items"` }
Individual response items to the queries posed by the requests
func (*ResponseItem) Descriptor ¶
func (*ResponseItem) Descriptor() ([]byte, []int)
func (*ResponseItem) Equal ¶
func (this *ResponseItem) Equal(that interface{}) bool
func (*ResponseItem) GetGetAccountStateResponse ¶
func (m *ResponseItem) GetGetAccountStateResponse() *GetAccountStateResponse
func (*ResponseItem) GetGetAccountTransactionBySequenceNumberResponse ¶
func (m *ResponseItem) GetGetAccountTransactionBySequenceNumberResponse() *GetAccountTransactionBySequenceNumberResponse
func (*ResponseItem) GetGetEventsByEventAccessPathResponse ¶
func (m *ResponseItem) GetGetEventsByEventAccessPathResponse() *GetEventsByEventAccessPathResponse
func (*ResponseItem) GetGetTransactionsResponse ¶
func (m *ResponseItem) GetGetTransactionsResponse() *GetTransactionsResponse
func (*ResponseItem) GetResponseItems ¶
func (m *ResponseItem) GetResponseItems() isResponseItem_ResponseItems
func (*ResponseItem) GoString ¶
func (this *ResponseItem) GoString() string
func (*ResponseItem) Marshal ¶
func (m *ResponseItem) Marshal() (dAtA []byte, err error)
func (*ResponseItem) ProtoMessage ¶
func (*ResponseItem) ProtoMessage()
func (*ResponseItem) Reset ¶
func (m *ResponseItem) Reset()
func (*ResponseItem) Size ¶
func (m *ResponseItem) Size() (n int)
func (*ResponseItem) String ¶
func (this *ResponseItem) String() string
func (*ResponseItem) Unmarshal ¶
func (m *ResponseItem) Unmarshal(dAtA []byte) error
func (*ResponseItem) XXX_DiscardUnknown ¶
func (m *ResponseItem) XXX_DiscardUnknown()
func (*ResponseItem) XXX_Marshal ¶
func (m *ResponseItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseItem) XXX_Merge ¶
func (m *ResponseItem) XXX_Merge(src proto.Message)
func (*ResponseItem) XXX_OneofFuncs ¶
func (*ResponseItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ResponseItem) XXX_Size ¶
func (m *ResponseItem) XXX_Size() int
func (*ResponseItem) XXX_Unmarshal ¶
func (m *ResponseItem) XXX_Unmarshal(b []byte) error
type ResponseItem_GetAccountStateResponse ¶
type ResponseItem_GetAccountStateResponse struct {
GetAccountStateResponse *GetAccountStateResponse `protobuf:"bytes,3,opt,name=get_account_state_response,json=getAccountStateResponse,proto3,oneof"`
}
func (*ResponseItem_GetAccountStateResponse) Equal ¶
func (this *ResponseItem_GetAccountStateResponse) Equal(that interface{}) bool
func (*ResponseItem_GetAccountStateResponse) GoString ¶
func (this *ResponseItem_GetAccountStateResponse) GoString() string
func (*ResponseItem_GetAccountStateResponse) MarshalTo ¶
func (m *ResponseItem_GetAccountStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*ResponseItem_GetAccountStateResponse) Size ¶
func (m *ResponseItem_GetAccountStateResponse) Size() (n int)
func (*ResponseItem_GetAccountStateResponse) String ¶
func (this *ResponseItem_GetAccountStateResponse) String() string
type ResponseItem_GetAccountTransactionBySequenceNumberResponse ¶
type ResponseItem_GetAccountTransactionBySequenceNumberResponse struct {
GetAccountTransactionBySequenceNumberResponse *GetAccountTransactionBySequenceNumberResponse `` /* 143-byte string literal not displayed */
}
func (*ResponseItem_GetAccountTransactionBySequenceNumberResponse) Equal ¶
func (this *ResponseItem_GetAccountTransactionBySequenceNumberResponse) Equal(that interface{}) bool
func (*ResponseItem_GetAccountTransactionBySequenceNumberResponse) GoString ¶
func (this *ResponseItem_GetAccountTransactionBySequenceNumberResponse) GoString() string
func (*ResponseItem_GetAccountTransactionBySequenceNumberResponse) MarshalTo ¶
func (m *ResponseItem_GetAccountTransactionBySequenceNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*ResponseItem_GetAccountTransactionBySequenceNumberResponse) Size ¶
func (m *ResponseItem_GetAccountTransactionBySequenceNumberResponse) Size() (n int)
func (*ResponseItem_GetAccountTransactionBySequenceNumberResponse) String ¶
func (this *ResponseItem_GetAccountTransactionBySequenceNumberResponse) String() string
type ResponseItem_GetEventsByEventAccessPathResponse ¶
type ResponseItem_GetEventsByEventAccessPathResponse struct {
GetEventsByEventAccessPathResponse *GetEventsByEventAccessPathResponse `protobuf:"bytes,5,opt,name=get_events_by_event_access_path_response,json=getEventsByEventAccessPathResponse,proto3,oneof"`
}
func (*ResponseItem_GetEventsByEventAccessPathResponse) Equal ¶
func (this *ResponseItem_GetEventsByEventAccessPathResponse) Equal(that interface{}) bool
func (*ResponseItem_GetEventsByEventAccessPathResponse) GoString ¶
func (this *ResponseItem_GetEventsByEventAccessPathResponse) GoString() string
func (*ResponseItem_GetEventsByEventAccessPathResponse) MarshalTo ¶
func (m *ResponseItem_GetEventsByEventAccessPathResponse) MarshalTo(dAtA []byte) (int, error)
func (*ResponseItem_GetEventsByEventAccessPathResponse) Size ¶
func (m *ResponseItem_GetEventsByEventAccessPathResponse) Size() (n int)
func (*ResponseItem_GetEventsByEventAccessPathResponse) String ¶
func (this *ResponseItem_GetEventsByEventAccessPathResponse) String() string
type ResponseItem_GetTransactionsResponse ¶
type ResponseItem_GetTransactionsResponse struct {
GetTransactionsResponse *GetTransactionsResponse `protobuf:"bytes,6,opt,name=get_transactions_response,json=getTransactionsResponse,proto3,oneof"`
}
func (*ResponseItem_GetTransactionsResponse) Equal ¶
func (this *ResponseItem_GetTransactionsResponse) Equal(that interface{}) bool
func (*ResponseItem_GetTransactionsResponse) GoString ¶
func (this *ResponseItem_GetTransactionsResponse) GoString() string
func (*ResponseItem_GetTransactionsResponse) MarshalTo ¶
func (m *ResponseItem_GetTransactionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ResponseItem_GetTransactionsResponse) Size ¶
func (m *ResponseItem_GetTransactionsResponse) Size() (n int)
func (*ResponseItem_GetTransactionsResponse) String ¶
func (this *ResponseItem_GetTransactionsResponse) String() string
type RuntimeStatus ¶
type RuntimeStatus int32
const ( UnknownRuntimeStatus RuntimeStatus = 0 Executed RuntimeStatus = 1 OutOfGas RuntimeStatus = 2 // We tried to access a resource that does not exist under the account. ResourceDoesNotExist RuntimeStatus = 3 // We tried to create a resource under an account where that resource // already exists. ResourceAlreadyExists RuntimeStatus = 4 // We accessed an account that is evicted. EvictedAccountAccess RuntimeStatus = 5 // We tried to create an account at an address where an account already // exists. AccountAddressAlreadyExists RuntimeStatus = 6 TypeError RuntimeStatus = 7 MissingData RuntimeStatus = 8 DataFormatError RuntimeStatus = 9 InvalidData RuntimeStatus = 10 RemoteDataError RuntimeStatus = 11 CannotWriteExistingResource RuntimeStatus = 12 ValueSerializationError RuntimeStatus = 13 ValueDeserializationError RuntimeStatus = 14 // The sender is trying to publish a module named `M`, but the sender's account already contains // a module with this name. DuplicateModuleName RuntimeStatus = 15 )
func (RuntimeStatus) EnumDescriptor ¶
func (RuntimeStatus) EnumDescriptor() ([]byte, []int)
func (RuntimeStatus) String ¶
func (x RuntimeStatus) String() string
type SignedTransaction ¶
type SignedTransaction struct { // The serialized Protobuf bytes for RawTransaction, for which the signature // was signed. Protobuf doesn't guarantee the serialized bytes is canonical // across different language implementations, but for our use cases for // transaction it is not necessary because the client is the only one to // produce this bytes, which is then persisted in storage. RawTxnBytes []byte `protobuf:"bytes,1,opt,name=raw_txn_bytes,json=rawTxnBytes,proto3" json:"raw_txn_bytes,omitempty"` // public key that corresponds to RawTransaction::sender_account SenderPublicKey []byte `protobuf:"bytes,2,opt,name=sender_public_key,json=senderPublicKey,proto3" json:"sender_public_key,omitempty"` // signature for the hash SenderSignature []byte `protobuf:"bytes,3,opt,name=sender_signature,json=senderSignature,proto3" json:"sender_signature,omitempty"` }
A generic structure that represents signed RawTransaction
func (*SignedTransaction) Descriptor ¶
func (*SignedTransaction) Descriptor() ([]byte, []int)
func (*SignedTransaction) Equal ¶
func (this *SignedTransaction) Equal(that interface{}) bool
func (*SignedTransaction) GetRawTxnBytes ¶
func (m *SignedTransaction) GetRawTxnBytes() []byte
func (*SignedTransaction) GetSenderPublicKey ¶
func (m *SignedTransaction) GetSenderPublicKey() []byte
func (*SignedTransaction) GetSenderSignature ¶
func (m *SignedTransaction) GetSenderSignature() []byte
func (*SignedTransaction) GoString ¶
func (this *SignedTransaction) GoString() string
func (*SignedTransaction) Marshal ¶
func (m *SignedTransaction) Marshal() (dAtA []byte, err error)
func (*SignedTransaction) MarshalTo ¶
func (m *SignedTransaction) MarshalTo(dAtA []byte) (int, error)
func (*SignedTransaction) ProtoMessage ¶
func (*SignedTransaction) ProtoMessage()
func (*SignedTransaction) Reset ¶
func (m *SignedTransaction) Reset()
func (*SignedTransaction) Size ¶
func (m *SignedTransaction) Size() (n int)
func (*SignedTransaction) String ¶
func (this *SignedTransaction) String() string
func (*SignedTransaction) Unmarshal ¶
func (m *SignedTransaction) Unmarshal(dAtA []byte) error
func (*SignedTransaction) XXX_DiscardUnknown ¶
func (m *SignedTransaction) XXX_DiscardUnknown()
func (*SignedTransaction) XXX_Marshal ¶
func (m *SignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedTransaction) XXX_Merge ¶
func (m *SignedTransaction) XXX_Merge(src proto.Message)
func (*SignedTransaction) XXX_Size ¶
func (m *SignedTransaction) XXX_Size() int
func (*SignedTransaction) XXX_Unmarshal ¶
func (m *SignedTransaction) XXX_Unmarshal(b []byte) error
type SignedTransactionProof ¶
type SignedTransactionProof struct { LedgerInfoToTransactionInfoProof *AccumulatorProof `` /* 165-byte string literal not displayed */ TransactionInfo *TransactionInfo `protobuf:"bytes,2,opt,name=transaction_info,json=transactionInfo,proto3" json:"transaction_info,omitempty"` }
The complete proof used to authenticate a signed transaction.
func (*SignedTransactionProof) Descriptor ¶
func (*SignedTransactionProof) Descriptor() ([]byte, []int)
func (*SignedTransactionProof) Equal ¶
func (this *SignedTransactionProof) Equal(that interface{}) bool
func (*SignedTransactionProof) GetLedgerInfoToTransactionInfoProof ¶
func (m *SignedTransactionProof) GetLedgerInfoToTransactionInfoProof() *AccumulatorProof
func (*SignedTransactionProof) GetTransactionInfo ¶
func (m *SignedTransactionProof) GetTransactionInfo() *TransactionInfo
func (*SignedTransactionProof) GoString ¶
func (this *SignedTransactionProof) GoString() string
func (*SignedTransactionProof) Marshal ¶
func (m *SignedTransactionProof) Marshal() (dAtA []byte, err error)
func (*SignedTransactionProof) MarshalTo ¶
func (m *SignedTransactionProof) MarshalTo(dAtA []byte) (int, error)
func (*SignedTransactionProof) ProtoMessage ¶
func (*SignedTransactionProof) ProtoMessage()
func (*SignedTransactionProof) Reset ¶
func (m *SignedTransactionProof) Reset()
func (*SignedTransactionProof) Size ¶
func (m *SignedTransactionProof) Size() (n int)
func (*SignedTransactionProof) String ¶
func (this *SignedTransactionProof) String() string
func (*SignedTransactionProof) Unmarshal ¶
func (m *SignedTransactionProof) Unmarshal(dAtA []byte) error
func (*SignedTransactionProof) XXX_DiscardUnknown ¶
func (m *SignedTransactionProof) XXX_DiscardUnknown()
func (*SignedTransactionProof) XXX_Marshal ¶
func (m *SignedTransactionProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedTransactionProof) XXX_Merge ¶
func (m *SignedTransactionProof) XXX_Merge(src proto.Message)
func (*SignedTransactionProof) XXX_Size ¶
func (m *SignedTransactionProof) XXX_Size() int
func (*SignedTransactionProof) XXX_Unmarshal ¶
func (m *SignedTransactionProof) XXX_Unmarshal(b []byte) error
type SignedTransactionWithProof ¶
type SignedTransactionWithProof struct { // The version of the returned signed transaction. Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // The transaction itself. SignedTransaction *SignedTransaction `protobuf:"bytes,2,opt,name=signed_transaction,json=signedTransaction,proto3" json:"signed_transaction,omitempty"` // The proof authenticating the signed transaction. Proof *SignedTransactionProof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` // The events yielded by executing the transaction, if requested. Events *EventsList `protobuf:"bytes,4,opt,name=events,proto3" json:"events,omitempty"` }
func (*SignedTransactionWithProof) Descriptor ¶
func (*SignedTransactionWithProof) Descriptor() ([]byte, []int)
func (*SignedTransactionWithProof) Equal ¶
func (this *SignedTransactionWithProof) Equal(that interface{}) bool
func (*SignedTransactionWithProof) GetEvents ¶
func (m *SignedTransactionWithProof) GetEvents() *EventsList
func (*SignedTransactionWithProof) GetProof ¶
func (m *SignedTransactionWithProof) GetProof() *SignedTransactionProof
func (*SignedTransactionWithProof) GetSignedTransaction ¶
func (m *SignedTransactionWithProof) GetSignedTransaction() *SignedTransaction
func (*SignedTransactionWithProof) GetVersion ¶
func (m *SignedTransactionWithProof) GetVersion() uint64
func (*SignedTransactionWithProof) GoString ¶
func (this *SignedTransactionWithProof) GoString() string
func (*SignedTransactionWithProof) Marshal ¶
func (m *SignedTransactionWithProof) Marshal() (dAtA []byte, err error)
func (*SignedTransactionWithProof) MarshalTo ¶
func (m *SignedTransactionWithProof) MarshalTo(dAtA []byte) (int, error)
func (*SignedTransactionWithProof) ProtoMessage ¶
func (*SignedTransactionWithProof) ProtoMessage()
func (*SignedTransactionWithProof) Reset ¶
func (m *SignedTransactionWithProof) Reset()
func (*SignedTransactionWithProof) Size ¶
func (m *SignedTransactionWithProof) Size() (n int)
func (*SignedTransactionWithProof) String ¶
func (this *SignedTransactionWithProof) String() string
func (*SignedTransactionWithProof) Unmarshal ¶
func (m *SignedTransactionWithProof) Unmarshal(dAtA []byte) error
func (*SignedTransactionWithProof) XXX_DiscardUnknown ¶
func (m *SignedTransactionWithProof) XXX_DiscardUnknown()
func (*SignedTransactionWithProof) XXX_Marshal ¶
func (m *SignedTransactionWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedTransactionWithProof) XXX_Merge ¶
func (m *SignedTransactionWithProof) XXX_Merge(src proto.Message)
func (*SignedTransactionWithProof) XXX_Size ¶
func (m *SignedTransactionWithProof) XXX_Size() int
func (*SignedTransactionWithProof) XXX_Unmarshal ¶
func (m *SignedTransactionWithProof) XXX_Unmarshal(b []byte) error
type SignedTransactionsBlock ¶
type SignedTransactionsBlock struct { // Set of Signed Transactions Transactions []*SignedTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // Public key of the validator that created this block ValidatorPublicKey []byte `protobuf:"bytes,2,opt,name=validator_public_key,json=validatorPublicKey,proto3" json:"validator_public_key,omitempty"` // Signature of the validator that created this block ValidatorSignature []byte `protobuf:"bytes,3,opt,name=validator_signature,json=validatorSignature,proto3" json:"validator_signature,omitempty"` }
A generic structure that represents a block of transactions originated from a particular validator instance.
func (*SignedTransactionsBlock) Descriptor ¶
func (*SignedTransactionsBlock) Descriptor() ([]byte, []int)
func (*SignedTransactionsBlock) Equal ¶
func (this *SignedTransactionsBlock) Equal(that interface{}) bool
func (*SignedTransactionsBlock) GetTransactions ¶
func (m *SignedTransactionsBlock) GetTransactions() []*SignedTransaction
func (*SignedTransactionsBlock) GetValidatorPublicKey ¶
func (m *SignedTransactionsBlock) GetValidatorPublicKey() []byte
func (*SignedTransactionsBlock) GetValidatorSignature ¶
func (m *SignedTransactionsBlock) GetValidatorSignature() []byte
func (*SignedTransactionsBlock) GoString ¶
func (this *SignedTransactionsBlock) GoString() string
func (*SignedTransactionsBlock) Marshal ¶
func (m *SignedTransactionsBlock) Marshal() (dAtA []byte, err error)
func (*SignedTransactionsBlock) MarshalTo ¶
func (m *SignedTransactionsBlock) MarshalTo(dAtA []byte) (int, error)
func (*SignedTransactionsBlock) ProtoMessage ¶
func (*SignedTransactionsBlock) ProtoMessage()
func (*SignedTransactionsBlock) Reset ¶
func (m *SignedTransactionsBlock) Reset()
func (*SignedTransactionsBlock) Size ¶
func (m *SignedTransactionsBlock) Size() (n int)
func (*SignedTransactionsBlock) String ¶
func (this *SignedTransactionsBlock) String() string
func (*SignedTransactionsBlock) Unmarshal ¶
func (m *SignedTransactionsBlock) Unmarshal(dAtA []byte) error
func (*SignedTransactionsBlock) XXX_DiscardUnknown ¶
func (m *SignedTransactionsBlock) XXX_DiscardUnknown()
func (*SignedTransactionsBlock) XXX_Marshal ¶
func (m *SignedTransactionsBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedTransactionsBlock) XXX_Merge ¶
func (m *SignedTransactionsBlock) XXX_Merge(src proto.Message)
func (*SignedTransactionsBlock) XXX_Size ¶
func (m *SignedTransactionsBlock) XXX_Size() int
func (*SignedTransactionsBlock) XXX_Unmarshal ¶
func (m *SignedTransactionsBlock) XXX_Unmarshal(b []byte) error
type SparseMerkleProof ¶
type SparseMerkleProof struct { // This proof can be used to authenticate whether a given leaf exists in the // tree or not. In Rust: // - If this is `Some(HashValue, HashValue)` // - If the first `HashValue` equals requested key, this is an inclusion // proof and the second `HashValue` equals the hash of the // corresponding account blob. // - Otherwise this is a non-inclusion proof. The first `HashValue` is // the only key that exists in the subtree and the second `HashValue` // equals the hash of the corresponding account blob. // - If this is `None`, this is also a non-inclusion proof which indicates // the subtree is empty. // // In protobuf, this leaf field should either be // - empty, which corresponds to None in the Rust structure. // - exactly 64 bytes, which corresponds to Some<(HashValue, HashValue)> // in the Rust structure. Leaf []byte `protobuf:"bytes,1,opt,name=leaf,proto3" json:"leaf,omitempty"` // The bitmap indicating which siblings are default. 1 means non-default and // 0 means default. The MSB of the first byte corresponds to the sibling at // the top of the Sparse Merkle Tree. The rightmost 1-bit of the last byte // corresponds to the sibling at the bottom, since this one is always // non-default. Bitmap []byte `protobuf:"bytes,2,opt,name=bitmap,proto3" json:"bitmap,omitempty"` // The non-default siblings. The ones near the root are at the beginning of // the list. NonDefaultSiblings [][]byte `protobuf:"bytes,3,rep,name=non_default_siblings,json=nonDefaultSiblings,proto3" json:"non_default_siblings,omitempty"` }
func (*SparseMerkleProof) Descriptor ¶
func (*SparseMerkleProof) Descriptor() ([]byte, []int)
func (*SparseMerkleProof) Equal ¶
func (this *SparseMerkleProof) Equal(that interface{}) bool
func (*SparseMerkleProof) GetBitmap ¶
func (m *SparseMerkleProof) GetBitmap() []byte
func (*SparseMerkleProof) GetLeaf ¶
func (m *SparseMerkleProof) GetLeaf() []byte
func (*SparseMerkleProof) GetNonDefaultSiblings ¶
func (m *SparseMerkleProof) GetNonDefaultSiblings() [][]byte
func (*SparseMerkleProof) GoString ¶
func (this *SparseMerkleProof) GoString() string
func (*SparseMerkleProof) Marshal ¶
func (m *SparseMerkleProof) Marshal() (dAtA []byte, err error)
func (*SparseMerkleProof) MarshalTo ¶
func (m *SparseMerkleProof) MarshalTo(dAtA []byte) (int, error)
func (*SparseMerkleProof) ProtoMessage ¶
func (*SparseMerkleProof) ProtoMessage()
func (*SparseMerkleProof) Reset ¶
func (m *SparseMerkleProof) Reset()
func (*SparseMerkleProof) Size ¶
func (m *SparseMerkleProof) Size() (n int)
func (*SparseMerkleProof) String ¶
func (this *SparseMerkleProof) String() string
func (*SparseMerkleProof) Unmarshal ¶
func (m *SparseMerkleProof) Unmarshal(dAtA []byte) error
func (*SparseMerkleProof) XXX_DiscardUnknown ¶
func (m *SparseMerkleProof) XXX_DiscardUnknown()
func (*SparseMerkleProof) XXX_Marshal ¶
func (m *SparseMerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SparseMerkleProof) XXX_Merge ¶
func (m *SparseMerkleProof) XXX_Merge(src proto.Message)
func (*SparseMerkleProof) XXX_Size ¶
func (m *SparseMerkleProof) XXX_Size() int
func (*SparseMerkleProof) XXX_Unmarshal ¶
func (m *SparseMerkleProof) XXX_Unmarshal(b []byte) error
type TransactionArgument ¶
type TransactionArgument struct { Type TransactionArgument_ArgType `protobuf:"varint,1,opt,name=type,proto3,enum=types.TransactionArgument_ArgType" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
An argument to the transaction if the transaction takes arguments
func (*TransactionArgument) Descriptor ¶
func (*TransactionArgument) Descriptor() ([]byte, []int)
func (*TransactionArgument) Equal ¶
func (this *TransactionArgument) Equal(that interface{}) bool
func (*TransactionArgument) GetData ¶
func (m *TransactionArgument) GetData() []byte
func (*TransactionArgument) GetType ¶
func (m *TransactionArgument) GetType() TransactionArgument_ArgType
func (*TransactionArgument) GoString ¶
func (this *TransactionArgument) GoString() string
func (*TransactionArgument) Marshal ¶
func (m *TransactionArgument) Marshal() (dAtA []byte, err error)
func (*TransactionArgument) MarshalTo ¶
func (m *TransactionArgument) MarshalTo(dAtA []byte) (int, error)
func (*TransactionArgument) ProtoMessage ¶
func (*TransactionArgument) ProtoMessage()
func (*TransactionArgument) Reset ¶
func (m *TransactionArgument) Reset()
func (*TransactionArgument) Size ¶
func (m *TransactionArgument) Size() (n int)
func (*TransactionArgument) String ¶
func (this *TransactionArgument) String() string
func (*TransactionArgument) Unmarshal ¶
func (m *TransactionArgument) Unmarshal(dAtA []byte) error
func (*TransactionArgument) XXX_DiscardUnknown ¶
func (m *TransactionArgument) XXX_DiscardUnknown()
func (*TransactionArgument) XXX_Marshal ¶
func (m *TransactionArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionArgument) XXX_Merge ¶
func (m *TransactionArgument) XXX_Merge(src proto.Message)
func (*TransactionArgument) XXX_Size ¶
func (m *TransactionArgument) XXX_Size() int
func (*TransactionArgument) XXX_Unmarshal ¶
func (m *TransactionArgument) XXX_Unmarshal(b []byte) error
type TransactionArgument_ArgType ¶
type TransactionArgument_ArgType int32
const ( U64 TransactionArgument_ArgType = 0 ADDRESS TransactionArgument_ArgType = 1 STRING TransactionArgument_ArgType = 2 BYTEARRAY TransactionArgument_ArgType = 3 )
func (TransactionArgument_ArgType) EnumDescriptor ¶
func (TransactionArgument_ArgType) EnumDescriptor() ([]byte, []int)
func (TransactionArgument_ArgType) String ¶
func (x TransactionArgument_ArgType) String() string
type TransactionInfo ¶
type TransactionInfo struct { // Hash of the signed transaction that is stored SignedTransactionHash []byte `` /* 126-byte string literal not displayed */ // The root hash of Sparse Merkle Tree describing the world state at the end // of this transaction StateRootHash []byte `protobuf:"bytes,2,opt,name=state_root_hash,json=stateRootHash,proto3" json:"state_root_hash,omitempty"` // The root hash of Merkle Accumulator storing all events emitted during this // transaction. EventRootHash []byte `protobuf:"bytes,3,opt,name=event_root_hash,json=eventRootHash,proto3" json:"event_root_hash,omitempty"` // The amount of gas used by this transaction. GasUsed uint64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` }
`TransactionInfo` is the object we store in the transaction accumulator. It consists of the transaction as well as the execution result of this transaction. This are later returned to the client so that a client can validate the tree
func (*TransactionInfo) Descriptor ¶
func (*TransactionInfo) Descriptor() ([]byte, []int)
func (*TransactionInfo) Equal ¶
func (this *TransactionInfo) Equal(that interface{}) bool
func (*TransactionInfo) GetEventRootHash ¶
func (m *TransactionInfo) GetEventRootHash() []byte
func (*TransactionInfo) GetGasUsed ¶
func (m *TransactionInfo) GetGasUsed() uint64
func (*TransactionInfo) GetSignedTransactionHash ¶
func (m *TransactionInfo) GetSignedTransactionHash() []byte
func (*TransactionInfo) GetStateRootHash ¶
func (m *TransactionInfo) GetStateRootHash() []byte
func (*TransactionInfo) GoString ¶
func (this *TransactionInfo) GoString() string
func (*TransactionInfo) Marshal ¶
func (m *TransactionInfo) Marshal() (dAtA []byte, err error)
func (*TransactionInfo) ProtoMessage ¶
func (*TransactionInfo) ProtoMessage()
func (*TransactionInfo) Reset ¶
func (m *TransactionInfo) Reset()
func (*TransactionInfo) Size ¶
func (m *TransactionInfo) Size() (n int)
func (*TransactionInfo) String ¶
func (this *TransactionInfo) String() string
func (*TransactionInfo) Unmarshal ¶
func (m *TransactionInfo) Unmarshal(dAtA []byte) error
func (*TransactionInfo) XXX_DiscardUnknown ¶
func (m *TransactionInfo) XXX_DiscardUnknown()
func (*TransactionInfo) XXX_Marshal ¶
func (m *TransactionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionInfo) XXX_Merge ¶
func (m *TransactionInfo) XXX_Merge(src proto.Message)
func (*TransactionInfo) XXX_Size ¶
func (m *TransactionInfo) XXX_Size() int
func (*TransactionInfo) XXX_Unmarshal ¶
func (m *TransactionInfo) XXX_Unmarshal(b []byte) error
type TransactionListWithProof ¶
type TransactionListWithProof struct { // The list of transactions. Transactions []*SignedTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // The list of corresponding TransactionInfo objects. Infos []*TransactionInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"` // The list of corresponding Event objects (only present if fetch_events was set to true in req) EventsForVersions *EventsForVersions `protobuf:"bytes,3,opt,name=events_for_versions,json=eventsForVersions,proto3" json:"events_for_versions,omitempty"` // If the list is not empty, the version of the first transaction. FirstTransactionVersion *types.UInt64Value `` /* 132-byte string literal not displayed */ // The proofs of the first and last transaction in this chunk. When this is // used for state synchronization, the validator who requests the transactions // will provide a version in the request and the proofs will be relative to // the given version. When this is returned in GetTransactionsResponse, the // proofs will be relative to the ledger info returned in // UpdateToLatestLedgerResponse. ProofOfFirstTransaction *AccumulatorProof `` /* 134-byte string literal not displayed */ ProofOfLastTransaction *AccumulatorProof `` /* 131-byte string literal not displayed */ }
A list of consecutive transactions with proof. This is mainly used for state synchronization when a validator would request a list of transactions from a peer, verify the proof, execute the transactions and persist them. Note that the transactions are supposed to belong to the same epoch E, otherwise verification will fail.
func (*TransactionListWithProof) Descriptor ¶
func (*TransactionListWithProof) Descriptor() ([]byte, []int)
func (*TransactionListWithProof) Equal ¶
func (this *TransactionListWithProof) Equal(that interface{}) bool
func (*TransactionListWithProof) GetEventsForVersions ¶
func (m *TransactionListWithProof) GetEventsForVersions() *EventsForVersions
func (*TransactionListWithProof) GetFirstTransactionVersion ¶
func (m *TransactionListWithProof) GetFirstTransactionVersion() *types.UInt64Value
func (*TransactionListWithProof) GetInfos ¶
func (m *TransactionListWithProof) GetInfos() []*TransactionInfo
func (*TransactionListWithProof) GetProofOfFirstTransaction ¶
func (m *TransactionListWithProof) GetProofOfFirstTransaction() *AccumulatorProof
func (*TransactionListWithProof) GetProofOfLastTransaction ¶
func (m *TransactionListWithProof) GetProofOfLastTransaction() *AccumulatorProof
func (*TransactionListWithProof) GetTransactions ¶
func (m *TransactionListWithProof) GetTransactions() []*SignedTransaction
func (*TransactionListWithProof) GoString ¶
func (this *TransactionListWithProof) GoString() string
func (*TransactionListWithProof) Marshal ¶
func (m *TransactionListWithProof) Marshal() (dAtA []byte, err error)
func (*TransactionListWithProof) MarshalTo ¶
func (m *TransactionListWithProof) MarshalTo(dAtA []byte) (int, error)
func (*TransactionListWithProof) ProtoMessage ¶
func (*TransactionListWithProof) ProtoMessage()
func (*TransactionListWithProof) Reset ¶
func (m *TransactionListWithProof) Reset()
func (*TransactionListWithProof) Size ¶
func (m *TransactionListWithProof) Size() (n int)
func (*TransactionListWithProof) String ¶
func (this *TransactionListWithProof) String() string
func (*TransactionListWithProof) Unmarshal ¶
func (m *TransactionListWithProof) Unmarshal(dAtA []byte) error
func (*TransactionListWithProof) XXX_DiscardUnknown ¶
func (m *TransactionListWithProof) XXX_DiscardUnknown()
func (*TransactionListWithProof) XXX_Marshal ¶
func (m *TransactionListWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionListWithProof) XXX_Merge ¶
func (m *TransactionListWithProof) XXX_Merge(src proto.Message)
func (*TransactionListWithProof) XXX_Size ¶
func (m *TransactionListWithProof) XXX_Size() int
func (*TransactionListWithProof) XXX_Unmarshal ¶
func (m *TransactionListWithProof) XXX_Unmarshal(b []byte) error
type TransactionToCommit ¶
type TransactionToCommit struct { // The signed transaction which was executed SignedTxn *SignedTransaction `protobuf:"bytes,1,opt,name=signed_txn,json=signedTxn,proto3" json:"signed_txn,omitempty"` // State db updates AccountStates []*AccountState `protobuf:"bytes,2,rep,name=account_states,json=accountStates,proto3" json:"account_states,omitempty"` // Events yielded by the transaction. Events []*Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // The amount of gas used. GasUsed uint64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` }
Transaction struct to commit to storage
func (*TransactionToCommit) Descriptor ¶
func (*TransactionToCommit) Descriptor() ([]byte, []int)
func (*TransactionToCommit) Equal ¶
func (this *TransactionToCommit) Equal(that interface{}) bool
func (*TransactionToCommit) GetAccountStates ¶
func (m *TransactionToCommit) GetAccountStates() []*AccountState
func (*TransactionToCommit) GetEvents ¶
func (m *TransactionToCommit) GetEvents() []*Event
func (*TransactionToCommit) GetGasUsed ¶
func (m *TransactionToCommit) GetGasUsed() uint64
func (*TransactionToCommit) GetSignedTxn ¶
func (m *TransactionToCommit) GetSignedTxn() *SignedTransaction
func (*TransactionToCommit) GoString ¶
func (this *TransactionToCommit) GoString() string
func (*TransactionToCommit) Marshal ¶
func (m *TransactionToCommit) Marshal() (dAtA []byte, err error)
func (*TransactionToCommit) MarshalTo ¶
func (m *TransactionToCommit) MarshalTo(dAtA []byte) (int, error)
func (*TransactionToCommit) ProtoMessage ¶
func (*TransactionToCommit) ProtoMessage()
func (*TransactionToCommit) Reset ¶
func (m *TransactionToCommit) Reset()
func (*TransactionToCommit) Size ¶
func (m *TransactionToCommit) Size() (n int)
func (*TransactionToCommit) String ¶
func (this *TransactionToCommit) String() string
func (*TransactionToCommit) Unmarshal ¶
func (m *TransactionToCommit) Unmarshal(dAtA []byte) error
func (*TransactionToCommit) XXX_DiscardUnknown ¶
func (m *TransactionToCommit) XXX_DiscardUnknown()
func (*TransactionToCommit) XXX_Marshal ¶
func (m *TransactionToCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionToCommit) XXX_Merge ¶
func (m *TransactionToCommit) XXX_Merge(src proto.Message)
func (*TransactionToCommit) XXX_Size ¶
func (m *TransactionToCommit) XXX_Size() int
func (*TransactionToCommit) XXX_Unmarshal ¶
func (m *TransactionToCommit) XXX_Unmarshal(b []byte) error
type UpdateToLatestLedgerRequest ¶
type UpdateToLatestLedgerRequest struct { // This is the version the client already trusts. Usually the client should // set this to the version it obtained the last time it synced with the // chain. If this is the first time ever the client sends a request, it must // use the waypoint hard-coded in its software. ClientKnownVersion uint64 `protobuf:"varint,1,opt,name=client_known_version,json=clientKnownVersion,proto3" json:"client_known_version,omitempty"` // The items for which we are requesting data in this API call. RequestedItems []*RequestItem `protobuf:"bytes,2,rep,name=requested_items,json=requestedItems,proto3" json:"requested_items,omitempty"` }
This API is used to update the client to the latest ledger version and optionally also request 1..n other pieces of data. This allows for batch queries. All queries return proofs that a client should check to validate the data.
Note that if a client only wishes to update to the latest LedgerInfo and receive the proof that this latest ledger extends the client_known_version ledger the client had, they can simply set the requested_items to an empty list.
func (*UpdateToLatestLedgerRequest) Descriptor ¶
func (*UpdateToLatestLedgerRequest) Descriptor() ([]byte, []int)
func (*UpdateToLatestLedgerRequest) Equal ¶
func (this *UpdateToLatestLedgerRequest) Equal(that interface{}) bool
func (*UpdateToLatestLedgerRequest) GetClientKnownVersion ¶
func (m *UpdateToLatestLedgerRequest) GetClientKnownVersion() uint64
func (*UpdateToLatestLedgerRequest) GetRequestedItems ¶
func (m *UpdateToLatestLedgerRequest) GetRequestedItems() []*RequestItem
func (*UpdateToLatestLedgerRequest) GoString ¶
func (this *UpdateToLatestLedgerRequest) GoString() string
func (*UpdateToLatestLedgerRequest) Marshal ¶
func (m *UpdateToLatestLedgerRequest) Marshal() (dAtA []byte, err error)
func (*UpdateToLatestLedgerRequest) MarshalTo ¶
func (m *UpdateToLatestLedgerRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateToLatestLedgerRequest) ProtoMessage ¶
func (*UpdateToLatestLedgerRequest) ProtoMessage()
func (*UpdateToLatestLedgerRequest) Reset ¶
func (m *UpdateToLatestLedgerRequest) Reset()
func (*UpdateToLatestLedgerRequest) Size ¶
func (m *UpdateToLatestLedgerRequest) Size() (n int)
func (*UpdateToLatestLedgerRequest) String ¶
func (this *UpdateToLatestLedgerRequest) String() string
func (*UpdateToLatestLedgerRequest) Unmarshal ¶
func (m *UpdateToLatestLedgerRequest) Unmarshal(dAtA []byte) error
func (*UpdateToLatestLedgerRequest) XXX_DiscardUnknown ¶
func (m *UpdateToLatestLedgerRequest) XXX_DiscardUnknown()
func (*UpdateToLatestLedgerRequest) XXX_Marshal ¶
func (m *UpdateToLatestLedgerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateToLatestLedgerRequest) XXX_Merge ¶
func (m *UpdateToLatestLedgerRequest) XXX_Merge(src proto.Message)
func (*UpdateToLatestLedgerRequest) XXX_Size ¶
func (m *UpdateToLatestLedgerRequest) XXX_Size() int
func (*UpdateToLatestLedgerRequest) XXX_Unmarshal ¶
func (m *UpdateToLatestLedgerRequest) XXX_Unmarshal(b []byte) error
type UpdateToLatestLedgerResponse ¶
type UpdateToLatestLedgerResponse struct { // Responses to the queries posed by the requests. The proofs generated will // be relative to the version of the latest ledger provided below. ResponseItems []*ResponseItem `protobuf:"bytes,1,rep,name=response_items,json=responseItems,proto3" json:"response_items,omitempty"` // The latest ledger info this node has. It will come with at least 2f+1 // validator signatures as well as a proof that shows the latest ledger // extends the old ledger the client had. LedgerInfoWithSigs *LedgerInfoWithSignatures `protobuf:"bytes,2,opt,name=ledger_info_with_sigs,json=ledgerInfoWithSigs,proto3" json:"ledger_info_with_sigs,omitempty"` // Validator change events from what the client last knew. This is used to // inform the client of validator changes from the client's last known version // until the current version ValidatorChangeEvents []*ValidatorChangeEventWithProof `` /* 126-byte string literal not displayed */ }
Response from getting latest ledger
func (*UpdateToLatestLedgerResponse) Descriptor ¶
func (*UpdateToLatestLedgerResponse) Descriptor() ([]byte, []int)
func (*UpdateToLatestLedgerResponse) Equal ¶
func (this *UpdateToLatestLedgerResponse) Equal(that interface{}) bool
func (*UpdateToLatestLedgerResponse) GetLedgerInfoWithSigs ¶
func (m *UpdateToLatestLedgerResponse) GetLedgerInfoWithSigs() *LedgerInfoWithSignatures
func (*UpdateToLatestLedgerResponse) GetResponseItems ¶
func (m *UpdateToLatestLedgerResponse) GetResponseItems() []*ResponseItem
func (*UpdateToLatestLedgerResponse) GetValidatorChangeEvents ¶
func (m *UpdateToLatestLedgerResponse) GetValidatorChangeEvents() []*ValidatorChangeEventWithProof
func (*UpdateToLatestLedgerResponse) GoString ¶
func (this *UpdateToLatestLedgerResponse) GoString() string
func (*UpdateToLatestLedgerResponse) Marshal ¶
func (m *UpdateToLatestLedgerResponse) Marshal() (dAtA []byte, err error)
func (*UpdateToLatestLedgerResponse) MarshalTo ¶
func (m *UpdateToLatestLedgerResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateToLatestLedgerResponse) ProtoMessage ¶
func (*UpdateToLatestLedgerResponse) ProtoMessage()
func (*UpdateToLatestLedgerResponse) Reset ¶
func (m *UpdateToLatestLedgerResponse) Reset()
func (*UpdateToLatestLedgerResponse) Size ¶
func (m *UpdateToLatestLedgerResponse) Size() (n int)
func (*UpdateToLatestLedgerResponse) String ¶
func (this *UpdateToLatestLedgerResponse) String() string
func (*UpdateToLatestLedgerResponse) Unmarshal ¶
func (m *UpdateToLatestLedgerResponse) Unmarshal(dAtA []byte) error
func (*UpdateToLatestLedgerResponse) XXX_DiscardUnknown ¶
func (m *UpdateToLatestLedgerResponse) XXX_DiscardUnknown()
func (*UpdateToLatestLedgerResponse) XXX_Marshal ¶
func (m *UpdateToLatestLedgerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateToLatestLedgerResponse) XXX_Merge ¶
func (m *UpdateToLatestLedgerResponse) XXX_Merge(src proto.Message)
func (*UpdateToLatestLedgerResponse) XXX_Size ¶
func (m *UpdateToLatestLedgerResponse) XXX_Size() int
func (*UpdateToLatestLedgerResponse) XXX_Unmarshal ¶
func (m *UpdateToLatestLedgerResponse) XXX_Unmarshal(b []byte) error
type VMInvariantViolationError ¶
type VMInvariantViolationError int32
These are errors that the VM might raise if a violation of internal invariants takes place.
const ( UnknownInvariantViolationError VMInvariantViolationError = 0 OutOfBoundsIndex VMInvariantViolationError = 1 OutOfBoundsRange VMInvariantViolationError = 2 EmptyValueStack VMInvariantViolationError = 3 EmptyCallStack VMInvariantViolationError = 4 PCOverflow VMInvariantViolationError = 5 LinkerError VMInvariantViolationError = 6 LocalReferenceError VMInvariantViolationError = 7 StorageError VMInvariantViolationError = 8 )
func (VMInvariantViolationError) EnumDescriptor ¶
func (VMInvariantViolationError) EnumDescriptor() ([]byte, []int)
func (VMInvariantViolationError) String ¶
func (x VMInvariantViolationError) String() string
type VMStatus ¶
type VMStatus struct { // Types that are valid to be assigned to ErrorType: // *VMStatus_Validation // *VMStatus_Verification // *VMStatus_InvariantViolation // *VMStatus_Deserialization // *VMStatus_Execution ErrorType isVMStatus_ErrorType `protobuf_oneof:"error_type"` }
The status of the VM
func (*VMStatus) Descriptor ¶
func (*VMStatus) GetDeserialization ¶
func (m *VMStatus) GetDeserialization() BinaryError
func (*VMStatus) GetErrorType ¶
func (m *VMStatus) GetErrorType() isVMStatus_ErrorType
func (*VMStatus) GetExecution ¶
func (m *VMStatus) GetExecution() *ExecutionStatus
func (*VMStatus) GetInvariantViolation ¶
func (m *VMStatus) GetInvariantViolation() VMInvariantViolationError
func (*VMStatus) GetValidation ¶
func (m *VMStatus) GetValidation() *VMValidationStatus
func (*VMStatus) GetVerification ¶
func (m *VMStatus) GetVerification() *VMVerificationStatusList
func (*VMStatus) ProtoMessage ¶
func (*VMStatus) ProtoMessage()
func (*VMStatus) XXX_DiscardUnknown ¶
func (m *VMStatus) XXX_DiscardUnknown()
func (*VMStatus) XXX_Marshal ¶
func (*VMStatus) XXX_OneofFuncs ¶
func (*VMStatus) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*VMStatus) XXX_Unmarshal ¶
type VMStatus_Deserialization ¶
type VMStatus_Deserialization struct {
Deserialization BinaryError `protobuf:"varint,4,opt,name=deserialization,proto3,enum=types.BinaryError,oneof"`
}
func (*VMStatus_Deserialization) Equal ¶
func (this *VMStatus_Deserialization) Equal(that interface{}) bool
func (*VMStatus_Deserialization) GoString ¶
func (this *VMStatus_Deserialization) GoString() string
func (*VMStatus_Deserialization) MarshalTo ¶
func (m *VMStatus_Deserialization) MarshalTo(dAtA []byte) (int, error)
func (*VMStatus_Deserialization) Size ¶
func (m *VMStatus_Deserialization) Size() (n int)
func (*VMStatus_Deserialization) String ¶
func (this *VMStatus_Deserialization) String() string
type VMStatus_Execution ¶
type VMStatus_Execution struct {
Execution *ExecutionStatus `protobuf:"bytes,5,opt,name=execution,proto3,oneof"`
}
func (*VMStatus_Execution) Equal ¶
func (this *VMStatus_Execution) Equal(that interface{}) bool
func (*VMStatus_Execution) GoString ¶
func (this *VMStatus_Execution) GoString() string
func (*VMStatus_Execution) MarshalTo ¶
func (m *VMStatus_Execution) MarshalTo(dAtA []byte) (int, error)
func (*VMStatus_Execution) Size ¶
func (m *VMStatus_Execution) Size() (n int)
func (*VMStatus_Execution) String ¶
func (this *VMStatus_Execution) String() string
type VMStatus_InvariantViolation ¶
type VMStatus_InvariantViolation struct {
InvariantViolation VMInvariantViolationError `protobuf:"varint,3,opt,name=invariant_violation,json=invariantViolation,proto3,enum=types.VMInvariantViolationError,oneof"`
}
func (*VMStatus_InvariantViolation) Equal ¶
func (this *VMStatus_InvariantViolation) Equal(that interface{}) bool
func (*VMStatus_InvariantViolation) GoString ¶
func (this *VMStatus_InvariantViolation) GoString() string
func (*VMStatus_InvariantViolation) MarshalTo ¶
func (m *VMStatus_InvariantViolation) MarshalTo(dAtA []byte) (int, error)
func (*VMStatus_InvariantViolation) Size ¶
func (m *VMStatus_InvariantViolation) Size() (n int)
func (*VMStatus_InvariantViolation) String ¶
func (this *VMStatus_InvariantViolation) String() string
type VMStatus_Validation ¶
type VMStatus_Validation struct {
Validation *VMValidationStatus `protobuf:"bytes,1,opt,name=validation,proto3,oneof"`
}
func (*VMStatus_Validation) Equal ¶
func (this *VMStatus_Validation) Equal(that interface{}) bool
func (*VMStatus_Validation) GoString ¶
func (this *VMStatus_Validation) GoString() string
func (*VMStatus_Validation) MarshalTo ¶
func (m *VMStatus_Validation) MarshalTo(dAtA []byte) (int, error)
func (*VMStatus_Validation) Size ¶
func (m *VMStatus_Validation) Size() (n int)
func (*VMStatus_Validation) String ¶
func (this *VMStatus_Validation) String() string
type VMStatus_Verification ¶
type VMStatus_Verification struct {
Verification *VMVerificationStatusList `protobuf:"bytes,2,opt,name=verification,proto3,oneof"`
}
func (*VMStatus_Verification) Equal ¶
func (this *VMStatus_Verification) Equal(that interface{}) bool
func (*VMStatus_Verification) GoString ¶
func (this *VMStatus_Verification) GoString() string
func (*VMStatus_Verification) MarshalTo ¶
func (m *VMStatus_Verification) MarshalTo(dAtA []byte) (int, error)
func (*VMStatus_Verification) Size ¶
func (m *VMStatus_Verification) Size() (n int)
func (*VMStatus_Verification) String ¶
func (this *VMStatus_Verification) String() string
type VMValidationStatus ¶
type VMValidationStatus struct { Code VMValidationStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=types.VMValidationStatusCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*VMValidationStatus) Descriptor ¶
func (*VMValidationStatus) Descriptor() ([]byte, []int)
func (*VMValidationStatus) Equal ¶
func (this *VMValidationStatus) Equal(that interface{}) bool
func (*VMValidationStatus) GetCode ¶
func (m *VMValidationStatus) GetCode() VMValidationStatusCode
func (*VMValidationStatus) GetMessage ¶
func (m *VMValidationStatus) GetMessage() string
func (*VMValidationStatus) GoString ¶
func (this *VMValidationStatus) GoString() string
func (*VMValidationStatus) Marshal ¶
func (m *VMValidationStatus) Marshal() (dAtA []byte, err error)
func (*VMValidationStatus) MarshalTo ¶
func (m *VMValidationStatus) MarshalTo(dAtA []byte) (int, error)
func (*VMValidationStatus) ProtoMessage ¶
func (*VMValidationStatus) ProtoMessage()
func (*VMValidationStatus) Reset ¶
func (m *VMValidationStatus) Reset()
func (*VMValidationStatus) Size ¶
func (m *VMValidationStatus) Size() (n int)
func (*VMValidationStatus) String ¶
func (this *VMValidationStatus) String() string
func (*VMValidationStatus) Unmarshal ¶
func (m *VMValidationStatus) Unmarshal(dAtA []byte) error
func (*VMValidationStatus) XXX_DiscardUnknown ¶
func (m *VMValidationStatus) XXX_DiscardUnknown()
func (*VMValidationStatus) XXX_Marshal ¶
func (m *VMValidationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VMValidationStatus) XXX_Merge ¶
func (m *VMValidationStatus) XXX_Merge(src proto.Message)
func (*VMValidationStatus) XXX_Size ¶
func (m *VMValidationStatus) XXX_Size() int
func (*VMValidationStatus) XXX_Unmarshal ¶
func (m *VMValidationStatus) XXX_Unmarshal(b []byte) error
type VMValidationStatusCode ¶
type VMValidationStatusCode int32
The status of a transaction as determined by the prologue.
const ( // We don't want the default value to be valid UnknownValidationStatus VMValidationStatusCode = 0 // The transaction has a bad signature InvalidSignature VMValidationStatusCode = 1 // Bad account authentication key InvalidAuthKey VMValidationStatusCode = 2 // Sequence number is too old SequenceNumberTooOld VMValidationStatusCode = 3 // Sequence number is too new SequenceNumberTooNew VMValidationStatusCode = 4 // Insufficient balance to pay minimum transaction fee InsufficientBalanceForTransactionFee VMValidationStatusCode = 5 // The transaction has expired TransactionExpired VMValidationStatusCode = 6 // The sending account does not exist SendingAccountDoesNotExist VMValidationStatusCode = 7 // This write set transaction was rejected because it did not meet the // requirements for one. RejectedWriteSet VMValidationStatusCode = 8 // This write set transaction cannot be applied to the current state. InvalidWriteSet VMValidationStatusCode = 9 // Length of program field in raw transaction exceeded max length ExceededMaxTransactionSize VMValidationStatusCode = 10 // This script is not on our whitelist of script. UnknownScript VMValidationStatusCode = 11 // Transaction is trying to publish a new module. UnknownModule VMValidationStatusCode = 12 // Max gas units submitted with transaction exceeds max gas units bound // in VM MaxGasUnitsExceedsMaxGasUnitsBound VMValidationStatusCode = 13 // Max gas units submitted with transaction not enough to cover the // intrinsic cost of the transaction. MaxGasUnitsBelowMinTransactionGasUnits VMValidationStatusCode = 14 // Gas unit price submitted with transaction is below minimum gas price // set in the VM. GasUnitPriceBelowMinBound VMValidationStatusCode = 15 // Gas unit price submitted with the transaction is above the maximum // gas price set in the VM. GasUnitPriceAboveMaxBound VMValidationStatusCode = 16 )
func (VMValidationStatusCode) EnumDescriptor ¶
func (VMValidationStatusCode) EnumDescriptor() ([]byte, []int)
func (VMValidationStatusCode) String ¶
func (x VMValidationStatusCode) String() string
type VMVerificationErrorKind ¶
type VMVerificationErrorKind int32
When a code module/script is published it is verified. These are the possible errors that can arise from the verification process.
const ( // Likewise default to a unknown verification error UnknownVerificationError VMVerificationErrorKind = 0 IndexOutOfBounds VMVerificationErrorKind = 1 RangeOutOfBounds VMVerificationErrorKind = 2 InvalidSignatureToken VMVerificationErrorKind = 3 InvalidFieldDefReference VMVerificationErrorKind = 4 RecursiveStructDefinition VMVerificationErrorKind = 5 InvalidResourceField VMVerificationErrorKind = 6 InvalidFallThrough VMVerificationErrorKind = 7 JoinFailure VMVerificationErrorKind = 8 NegativeStackSizeWithinBlock VMVerificationErrorKind = 9 UnbalancedStack VMVerificationErrorKind = 10 InvalidMainFunctionSignature VMVerificationErrorKind = 11 DuplicateElement VMVerificationErrorKind = 12 InvalidModuleHandle VMVerificationErrorKind = 13 UnimplementedHandle VMVerificationErrorKind = 14 InconsistentFields VMVerificationErrorKind = 15 UnusedFields VMVerificationErrorKind = 16 LookupFailed VMVerificationErrorKind = 17 VisibilityMismatch VMVerificationErrorKind = 18 TypeResolutionFailure VMVerificationErrorKind = 19 TypeMismatch VMVerificationErrorKind = 20 MissingDependency VMVerificationErrorKind = 21 PopReferenceError VMVerificationErrorKind = 22 PopResourceError VMVerificationErrorKind = 23 ReleaseRefTypeMismatchError VMVerificationErrorKind = 24 BrTypeMismatchError VMVerificationErrorKind = 25 AssertTypeMismatchError VMVerificationErrorKind = 26 StLocTypeMismatchError VMVerificationErrorKind = 27 StLocUnsafeToDestroyError VMVerificationErrorKind = 28 RetUnsafeToDestroyError VMVerificationErrorKind = 29 RetTypeMismatchError VMVerificationErrorKind = 30 FreezeRefTypeMismatchError VMVerificationErrorKind = 31 FreezeRefExistsMutableBorrowError VMVerificationErrorKind = 32 BorrowFieldTypeMismatchError VMVerificationErrorKind = 33 BorrowFieldBadFieldError VMVerificationErrorKind = 34 BorrowFieldExistsMutableBorrowError VMVerificationErrorKind = 35 CopyLocResourceError VMVerificationErrorKind = 37 CopyLocExistsBorrowError VMVerificationErrorKind = 38 MoveLocExistsBorrowError VMVerificationErrorKind = 40 BorrowLocReferenceError VMVerificationErrorKind = 41 BorrowLocExistsBorrowError VMVerificationErrorKind = 43 CallTypeMismatchError VMVerificationErrorKind = 44 CallBorrowedMutableReferenceError VMVerificationErrorKind = 45 PackTypeMismatchError VMVerificationErrorKind = 46 UnpackTypeMismatchError VMVerificationErrorKind = 47 ReadRefTypeMismatchError VMVerificationErrorKind = 48 ReadRefResourceError VMVerificationErrorKind = 49 ReadRefExistsMutableBorrowError VMVerificationErrorKind = 50 WriteRefTypeMismatchError VMVerificationErrorKind = 51 WriteRefResourceError VMVerificationErrorKind = 52 WriteRefExistsBorrowError VMVerificationErrorKind = 53 WriteRefNoMutableReferenceError VMVerificationErrorKind = 54 IntegerOpTypeMismatchError VMVerificationErrorKind = 55 BooleanOpTypeMismatchError VMVerificationErrorKind = 56 EqualityOpTypeMismatchError VMVerificationErrorKind = 57 ExistsResourceTypeMismatchError VMVerificationErrorKind = 58 BorrowGlobalTypeMismatchError VMVerificationErrorKind = 59 BorrowGlobalNoResourceError VMVerificationErrorKind = 60 MoveFromTypeMismatchError VMVerificationErrorKind = 61 MoveFromNoResourceError VMVerificationErrorKind = 62 MoveToSenderTypeMismatchError VMVerificationErrorKind = 63 MoveToSenderNoResourceError VMVerificationErrorKind = 64 CreateAccountTypeMismatchError VMVerificationErrorKind = 65 // The self address of a module the transaction is publishing is not the sender address ModuleAddressDoesNotMatchSender VMVerificationErrorKind = 66 // The module does not have any module handles. Each module or script must have at least one module handle. NoModuleHandles VMVerificationErrorKind = 67 )
func (VMVerificationErrorKind) EnumDescriptor ¶
func (VMVerificationErrorKind) EnumDescriptor() ([]byte, []int)
func (VMVerificationErrorKind) String ¶
func (x VMVerificationErrorKind) String() string
type VMVerificationStatus ¶
type VMVerificationStatus struct { StatusKind VMVerificationStatus_StatusKind `` /* 135-byte string literal not displayed */ // For StatusKind::SCRIPT and DEPENDENCY this is ignored. ModuleIdx uint32 `protobuf:"varint,2,opt,name=module_idx,json=moduleIdx,proto3" json:"module_idx,omitempty"` ErrorKind VMVerificationErrorKind `protobuf:"varint,3,opt,name=error_kind,json=errorKind,proto3,enum=types.VMVerificationErrorKind" json:"error_kind,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // For StatusKind::SCRIPT and MODULE this is ignored. DependencyId *ModuleId `protobuf:"bytes,5,opt,name=dependency_id,json=dependencyId,proto3" json:"dependency_id,omitempty"` }
func (*VMVerificationStatus) Descriptor ¶
func (*VMVerificationStatus) Descriptor() ([]byte, []int)
func (*VMVerificationStatus) Equal ¶
func (this *VMVerificationStatus) Equal(that interface{}) bool
func (*VMVerificationStatus) GetDependencyId ¶
func (m *VMVerificationStatus) GetDependencyId() *ModuleId
func (*VMVerificationStatus) GetErrorKind ¶
func (m *VMVerificationStatus) GetErrorKind() VMVerificationErrorKind
func (*VMVerificationStatus) GetMessage ¶
func (m *VMVerificationStatus) GetMessage() string
func (*VMVerificationStatus) GetModuleIdx ¶
func (m *VMVerificationStatus) GetModuleIdx() uint32
func (*VMVerificationStatus) GetStatusKind ¶
func (m *VMVerificationStatus) GetStatusKind() VMVerificationStatus_StatusKind
func (*VMVerificationStatus) GoString ¶
func (this *VMVerificationStatus) GoString() string
func (*VMVerificationStatus) Marshal ¶
func (m *VMVerificationStatus) Marshal() (dAtA []byte, err error)
func (*VMVerificationStatus) MarshalTo ¶
func (m *VMVerificationStatus) MarshalTo(dAtA []byte) (int, error)
func (*VMVerificationStatus) ProtoMessage ¶
func (*VMVerificationStatus) ProtoMessage()
func (*VMVerificationStatus) Reset ¶
func (m *VMVerificationStatus) Reset()
func (*VMVerificationStatus) Size ¶
func (m *VMVerificationStatus) Size() (n int)
func (*VMVerificationStatus) String ¶
func (this *VMVerificationStatus) String() string
func (*VMVerificationStatus) Unmarshal ¶
func (m *VMVerificationStatus) Unmarshal(dAtA []byte) error
func (*VMVerificationStatus) XXX_DiscardUnknown ¶
func (m *VMVerificationStatus) XXX_DiscardUnknown()
func (*VMVerificationStatus) XXX_Marshal ¶
func (m *VMVerificationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VMVerificationStatus) XXX_Merge ¶
func (m *VMVerificationStatus) XXX_Merge(src proto.Message)
func (*VMVerificationStatus) XXX_Size ¶
func (m *VMVerificationStatus) XXX_Size() int
func (*VMVerificationStatus) XXX_Unmarshal ¶
func (m *VMVerificationStatus) XXX_Unmarshal(b []byte) error
type VMVerificationStatusList ¶
type VMVerificationStatusList struct {
StatusList []*VMVerificationStatus `protobuf:"bytes,1,rep,name=status_list,json=statusList,proto3" json:"status_list,omitempty"`
}
func (*VMVerificationStatusList) Descriptor ¶
func (*VMVerificationStatusList) Descriptor() ([]byte, []int)
func (*VMVerificationStatusList) Equal ¶
func (this *VMVerificationStatusList) Equal(that interface{}) bool
func (*VMVerificationStatusList) GetStatusList ¶
func (m *VMVerificationStatusList) GetStatusList() []*VMVerificationStatus
func (*VMVerificationStatusList) GoString ¶
func (this *VMVerificationStatusList) GoString() string
func (*VMVerificationStatusList) Marshal ¶
func (m *VMVerificationStatusList) Marshal() (dAtA []byte, err error)
func (*VMVerificationStatusList) MarshalTo ¶
func (m *VMVerificationStatusList) MarshalTo(dAtA []byte) (int, error)
func (*VMVerificationStatusList) ProtoMessage ¶
func (*VMVerificationStatusList) ProtoMessage()
func (*VMVerificationStatusList) Reset ¶
func (m *VMVerificationStatusList) Reset()
func (*VMVerificationStatusList) Size ¶
func (m *VMVerificationStatusList) Size() (n int)
func (*VMVerificationStatusList) String ¶
func (this *VMVerificationStatusList) String() string
func (*VMVerificationStatusList) Unmarshal ¶
func (m *VMVerificationStatusList) Unmarshal(dAtA []byte) error
func (*VMVerificationStatusList) XXX_DiscardUnknown ¶
func (m *VMVerificationStatusList) XXX_DiscardUnknown()
func (*VMVerificationStatusList) XXX_Marshal ¶
func (m *VMVerificationStatusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VMVerificationStatusList) XXX_Merge ¶
func (m *VMVerificationStatusList) XXX_Merge(src proto.Message)
func (*VMVerificationStatusList) XXX_Size ¶
func (m *VMVerificationStatusList) XXX_Size() int
func (*VMVerificationStatusList) XXX_Unmarshal ¶
func (m *VMVerificationStatusList) XXX_Unmarshal(b []byte) error
type VMVerificationStatus_StatusKind ¶
type VMVerificationStatus_StatusKind int32
const ( SCRIPT VMVerificationStatus_StatusKind = 0 MODULE VMVerificationStatus_StatusKind = 1 DEPENDENCY VMVerificationStatus_StatusKind = 2 )
func (VMVerificationStatus_StatusKind) EnumDescriptor ¶
func (VMVerificationStatus_StatusKind) EnumDescriptor() ([]byte, []int)
func (VMVerificationStatus_StatusKind) String ¶
func (x VMVerificationStatus_StatusKind) String() string
type ValidatorChangeEventWithProof ¶
type ValidatorChangeEventWithProof struct { LedgerInfoWithSigs *LedgerInfoWithSignatures `protobuf:"bytes,1,opt,name=ledger_info_with_sigs,json=ledgerInfoWithSigs,proto3" json:"ledger_info_with_sigs,omitempty"` EventWithProof *EventWithProof `protobuf:"bytes,2,opt,name=event_with_proof,json=eventWithProof,proto3" json:"event_with_proof,omitempty"` }
This is used to prove validator changes. When a validator is changing, it triggers an event on /validator_change_account/events/sent. To tell the client about validator changes, we query /validator_change_account/events/sent to get all versions that contain validator changes after the version that we are trying to update from. For each of these versions, the old validator set would have signed the ledger info at that version. The client needs this as well as the event results + proof. The client can then verify that these events were under the current tree and that the changes were signed by the old validators (and that the events correctly show which validators are the new validators).
This message represents a single validator change event and the proof that corresponds to it
func (*ValidatorChangeEventWithProof) Descriptor ¶
func (*ValidatorChangeEventWithProof) Descriptor() ([]byte, []int)
func (*ValidatorChangeEventWithProof) Equal ¶
func (this *ValidatorChangeEventWithProof) Equal(that interface{}) bool
func (*ValidatorChangeEventWithProof) GetEventWithProof ¶
func (m *ValidatorChangeEventWithProof) GetEventWithProof() *EventWithProof
func (*ValidatorChangeEventWithProof) GetLedgerInfoWithSigs ¶
func (m *ValidatorChangeEventWithProof) GetLedgerInfoWithSigs() *LedgerInfoWithSignatures
func (*ValidatorChangeEventWithProof) GoString ¶
func (this *ValidatorChangeEventWithProof) GoString() string
func (*ValidatorChangeEventWithProof) Marshal ¶
func (m *ValidatorChangeEventWithProof) Marshal() (dAtA []byte, err error)
func (*ValidatorChangeEventWithProof) MarshalTo ¶
func (m *ValidatorChangeEventWithProof) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorChangeEventWithProof) ProtoMessage ¶
func (*ValidatorChangeEventWithProof) ProtoMessage()
func (*ValidatorChangeEventWithProof) Reset ¶
func (m *ValidatorChangeEventWithProof) Reset()
func (*ValidatorChangeEventWithProof) Size ¶
func (m *ValidatorChangeEventWithProof) Size() (n int)
func (*ValidatorChangeEventWithProof) String ¶
func (this *ValidatorChangeEventWithProof) String() string
func (*ValidatorChangeEventWithProof) Unmarshal ¶
func (m *ValidatorChangeEventWithProof) Unmarshal(dAtA []byte) error
func (*ValidatorChangeEventWithProof) XXX_DiscardUnknown ¶
func (m *ValidatorChangeEventWithProof) XXX_DiscardUnknown()
func (*ValidatorChangeEventWithProof) XXX_Marshal ¶
func (m *ValidatorChangeEventWithProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorChangeEventWithProof) XXX_Merge ¶
func (m *ValidatorChangeEventWithProof) XXX_Merge(src proto.Message)
func (*ValidatorChangeEventWithProof) XXX_Size ¶
func (m *ValidatorChangeEventWithProof) XXX_Size() int
func (*ValidatorChangeEventWithProof) XXX_Unmarshal ¶
func (m *ValidatorChangeEventWithProof) XXX_Unmarshal(b []byte) error
type ValidatorSignature ¶
type ValidatorSignature struct { // The account address of the validator, which can be used for retrieving its // public key during the given epoch. ValidatorId []byte `protobuf:"bytes,1,opt,name=validator_id,json=validatorId,proto3" json:"validator_id,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*ValidatorSignature) Descriptor ¶
func (*ValidatorSignature) Descriptor() ([]byte, []int)
func (*ValidatorSignature) Equal ¶
func (this *ValidatorSignature) Equal(that interface{}) bool
func (*ValidatorSignature) GetSignature ¶
func (m *ValidatorSignature) GetSignature() []byte
func (*ValidatorSignature) GetValidatorId ¶
func (m *ValidatorSignature) GetValidatorId() []byte
func (*ValidatorSignature) GoString ¶
func (this *ValidatorSignature) GoString() string
func (*ValidatorSignature) Marshal ¶
func (m *ValidatorSignature) Marshal() (dAtA []byte, err error)
func (*ValidatorSignature) MarshalTo ¶
func (m *ValidatorSignature) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSignature) ProtoMessage ¶
func (*ValidatorSignature) ProtoMessage()
func (*ValidatorSignature) Reset ¶
func (m *ValidatorSignature) Reset()
func (*ValidatorSignature) Size ¶
func (m *ValidatorSignature) Size() (n int)
func (*ValidatorSignature) String ¶
func (this *ValidatorSignature) String() string
func (*ValidatorSignature) Unmarshal ¶
func (m *ValidatorSignature) Unmarshal(dAtA []byte) error
func (*ValidatorSignature) XXX_DiscardUnknown ¶
func (m *ValidatorSignature) XXX_DiscardUnknown()
func (*ValidatorSignature) XXX_Marshal ¶
func (m *ValidatorSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSignature) XXX_Merge ¶
func (m *ValidatorSignature) XXX_Merge(src proto.Message)
func (*ValidatorSignature) XXX_Size ¶
func (m *ValidatorSignature) XXX_Size() int
func (*ValidatorSignature) XXX_Unmarshal ¶
func (m *ValidatorSignature) XXX_Unmarshal(b []byte) error
type WriteOp ¶
type WriteOp struct { // AccessPath of the write set. AccessPath *AccessPath `protobuf:"bytes,1,opt,name=access_path,json=accessPath,proto3" json:"access_path,omitempty"` // The value of the write op. Empty if `type` is Delete. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // WriteOp type. Type WriteOpType `protobuf:"varint,3,opt,name=type,proto3,enum=types.WriteOpType" json:"type,omitempty"` }
Write Operation on underlying storage.
func (*WriteOp) Descriptor ¶
func (*WriteOp) GetAccessPath ¶
func (m *WriteOp) GetAccessPath() *AccessPath
func (*WriteOp) GetType ¶
func (m *WriteOp) GetType() WriteOpType
func (*WriteOp) ProtoMessage ¶
func (*WriteOp) ProtoMessage()
func (*WriteOp) XXX_DiscardUnknown ¶
func (m *WriteOp) XXX_DiscardUnknown()
func (*WriteOp) XXX_Marshal ¶
func (*WriteOp) XXX_Unmarshal ¶
type WriteOpType ¶
type WriteOpType int32
Type of write operation
const ( // The WriteOp is to create/update the field from storage. Write WriteOpType = 0 // The WriteOp is to delete the field from storage. Delete WriteOpType = 1 )
func (WriteOpType) EnumDescriptor ¶
func (WriteOpType) EnumDescriptor() ([]byte, []int)
func (WriteOpType) String ¶
func (x WriteOpType) String() string
type WriteSet ¶
type WriteSet struct { // Set of WriteOp for storage update. WriteSet []*WriteOp `protobuf:"bytes,1,rep,name=write_set,json=writeSet,proto3" json:"write_set,omitempty"` }
Set of WriteOps to save to storage.
func (*WriteSet) Descriptor ¶
func (*WriteSet) GetWriteSet ¶
func (*WriteSet) ProtoMessage ¶
func (*WriteSet) ProtoMessage()
func (*WriteSet) XXX_DiscardUnknown ¶
func (m *WriteSet) XXX_DiscardUnknown()