Documentation
¶
Index ¶
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetCreator() string
- func (m *Event) GetExternalTransactions() [][]byte
- func (m *Event) GetIndex() uint64
- func (m *Event) GetInternalTransactions() []*InternalTransaction
- func (m *Event) GetLamportTime() uint64
- func (m *Event) GetParents() [][]byte
- func (m *Event) GetSign() string
- func (e *Event) ProtoMarshal() ([]byte, error)
- func (*Event) ProtoMessage()
- func (e *Event) ProtoUnmarshal(data []byte) error
- func (m *Event) Reset()
- func (m *Event) String() string
- 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 InternalTransaction
- func (*InternalTransaction) Descriptor() ([]byte, []int)
- func (t *InternalTransaction) Equals(t2 *InternalTransaction) bool
- func (m *InternalTransaction) GetAmount() uint64
- func (m *InternalTransaction) GetIndex() uint64
- func (m *InternalTransaction) GetReceiver() string
- func (m *InternalTransaction) GetUntilBlock() uint64
- func (t *InternalTransaction) ProtoMarshal() ([]byte, error)
- func (*InternalTransaction) ProtoMessage()
- func (t *InternalTransaction) ProtoUnmarshal(data []byte) error
- func (m *InternalTransaction) Reset()
- func (m *InternalTransaction) String() string
- func (m *InternalTransaction) XXX_DiscardUnknown()
- func (m *InternalTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InternalTransaction) XXX_Merge(src proto.Message)
- func (m *InternalTransaction) XXX_Size() int
- func (m *InternalTransaction) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Index uint64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Creator string `protobuf:"bytes,2,opt,name=Creator,proto3" json:"Creator,omitempty"` Parents [][]byte `protobuf:"bytes,3,rep,name=Parents,proto3" json:"Parents,omitempty"` LamportTime uint64 `protobuf:"varint,4,opt,name=LamportTime,proto3" json:"LamportTime,omitempty"` InternalTransactions []*InternalTransaction `protobuf:"bytes,5,rep,name=InternalTransactions,proto3" json:"InternalTransactions,omitempty"` ExternalTransactions [][]byte `protobuf:"bytes,6,rep,name=ExternalTransactions,proto3" json:"ExternalTransactions,omitempty"` Sign string `protobuf:"bytes,7,opt,name=Sign,proto3" json:"Sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetCreator ¶
func (*Event) GetExternalTransactions ¶
func (*Event) GetInternalTransactions ¶
func (m *Event) GetInternalTransactions() []*InternalTransaction
func (*Event) GetLamportTime ¶
func (*Event) GetParents ¶
func (*Event) ProtoMarshal ¶
ProtoMarshal marshal to protobuf.
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoUnmarshal ¶
ProtoUnmarshal unmarshal from protobuf.
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type InternalTransaction ¶
type InternalTransaction struct { Index uint64 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=Amount,proto3" json:"Amount,omitempty"` Receiver string `protobuf:"bytes,3,opt,name=Receiver,proto3" json:"Receiver,omitempty"` UntilBlock uint64 `protobuf:"varint,4,opt,name=UntilBlock,proto3" json:"UntilBlock,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InternalTransaction) Descriptor ¶
func (*InternalTransaction) Descriptor() ([]byte, []int)
func (*InternalTransaction) Equals ¶
func (t *InternalTransaction) Equals(t2 *InternalTransaction) bool
Equals return true if transactions are equal.
func (*InternalTransaction) GetAmount ¶
func (m *InternalTransaction) GetAmount() uint64
func (*InternalTransaction) GetIndex ¶
func (m *InternalTransaction) GetIndex() uint64
func (*InternalTransaction) GetReceiver ¶
func (m *InternalTransaction) GetReceiver() string
func (*InternalTransaction) GetUntilBlock ¶
func (m *InternalTransaction) GetUntilBlock() uint64
func (*InternalTransaction) ProtoMarshal ¶
func (t *InternalTransaction) ProtoMarshal() ([]byte, error)
ProtoMarshal marshal to protobuf.
func (*InternalTransaction) ProtoMessage ¶
func (*InternalTransaction) ProtoMessage()
func (*InternalTransaction) ProtoUnmarshal ¶
func (t *InternalTransaction) ProtoUnmarshal(data []byte) error
ProtoUnmarshal unmarshal from protobuf.
func (*InternalTransaction) Reset ¶
func (m *InternalTransaction) Reset()
func (*InternalTransaction) String ¶
func (m *InternalTransaction) String() string
func (*InternalTransaction) XXX_DiscardUnknown ¶
func (m *InternalTransaction) XXX_DiscardUnknown()
func (*InternalTransaction) XXX_Marshal ¶
func (m *InternalTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InternalTransaction) XXX_Merge ¶
func (m *InternalTransaction) XXX_Merge(src proto.Message)
func (*InternalTransaction) XXX_Size ¶
func (m *InternalTransaction) XXX_Size() int
func (*InternalTransaction) XXX_Unmarshal ¶
func (m *InternalTransaction) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.