Documentation ¶
Index ¶
- Variables
- func Load(source Source, st *state.State) error
- func Write(out io.Writer, source Source, useBinaryEncoding bool, options Option) error
- type AccountStorage
- func (*AccountStorage) Descriptor() ([]byte, []int)
- func (m *AccountStorage) GetStorage() []*Storage
- func (m *AccountStorage) Marshal() (dAtA []byte, err error)
- func (m *AccountStorage) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountStorage) ProtoMessage()
- func (m *AccountStorage) Reset()
- func (m *AccountStorage) Size() (n int)
- func (m *AccountStorage) String() string
- func (m *AccountStorage) Unmarshal(dAtA []byte) error
- func (m *AccountStorage) XXX_DiscardUnknown()
- func (m *AccountStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountStorage) XXX_Merge(src proto.Message)
- func (*AccountStorage) XXX_MessageName() string
- func (m *AccountStorage) XXX_Size() int
- func (m *AccountStorage) XXX_Unmarshal(b []byte) error
- type Blockchain
- type CollectSink
- type Dump
- func (*Dump) Descriptor() ([]byte, []int)
- func (m *Dump) GetAccount() *acm.Account
- func (m *Dump) GetAccountStorage() *AccountStorage
- func (m *Dump) GetEVMEvent() *EVMEvent
- func (m *Dump) GetHeight() uint64
- func (m *Dump) GetName() *names.Entry
- func (m *Dump) Marshal() (dAtA []byte, err error)
- func (m *Dump) MarshalTo(dAtA []byte) (int, error)
- func (m *Dump) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Dump) ProtoMessage()
- func (m *Dump) Reset()
- func (m *Dump) Size() (n int)
- func (m *Dump) String() string
- func (m *Dump) Unmarshal(dAtA []byte) error
- func (m *Dump) XXX_DiscardUnknown()
- func (m *Dump) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dump) XXX_Merge(src proto.Message)
- func (*Dump) XXX_MessageName() string
- func (m *Dump) XXX_Size() int
- func (m *Dump) XXX_Unmarshal(b []byte) error
- type Dumper
- type EVMEvent
- func (*EVMEvent) Descriptor() ([]byte, []int)
- func (m *EVMEvent) GetChainID() string
- func (m *EVMEvent) GetEvent() *exec.LogEvent
- func (m *EVMEvent) GetIndex() uint64
- func (m *EVMEvent) GetTime() time.Time
- func (m *EVMEvent) Marshal() (dAtA []byte, err error)
- func (m *EVMEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *EVMEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EVMEvent) ProtoMessage()
- func (m *EVMEvent) Reset()
- func (m *EVMEvent) Size() (n int)
- func (m *EVMEvent) String() string
- func (m *EVMEvent) Unmarshal(dAtA []byte) error
- func (m *EVMEvent) XXX_DiscardUnknown()
- func (m *EVMEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EVMEvent) XXX_Merge(src proto.Message)
- func (*EVMEvent) XXX_MessageName() string
- func (m *EVMEvent) XXX_Size() int
- func (m *EVMEvent) XXX_Unmarshal(b []byte) error
- type MockSource
- type Mockchain
- type NullSink
- type Option
- type Pipe
- type Sink
- type Source
- type Storage
- func (*Storage) Descriptor() ([]byte, []int)
- func (m *Storage) Marshal() (dAtA []byte, err error)
- func (m *Storage) MarshalTo(dAtA []byte) (int, error)
- func (m *Storage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Storage) ProtoMessage()
- func (m *Storage) Reset()
- func (m *Storage) Size() (n int)
- func (m *Storage) String() string
- func (m *Storage) Unmarshal(dAtA []byte) error
- func (m *Storage) XXX_DiscardUnknown()
- func (m *Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Storage) XXX_Merge(src proto.Message)
- func (*Storage) XXX_MessageName() string
- func (m *Storage) XXX_Size() int
- func (m *Storage) XXX_Unmarshal(b []byte) error
- type StreamReader
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type AccountStorage ¶
type AccountStorage struct { Address github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"` Storage []*Storage `protobuf:"bytes,2,rep,name=Storage,proto3" json:"Storage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountStorage) Descriptor ¶
func (*AccountStorage) Descriptor() ([]byte, []int)
func (*AccountStorage) GetStorage ¶
func (m *AccountStorage) GetStorage() []*Storage
func (*AccountStorage) Marshal ¶
func (m *AccountStorage) Marshal() (dAtA []byte, err error)
func (*AccountStorage) MarshalToSizedBuffer ¶ added in v0.34.4
func (m *AccountStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountStorage) ProtoMessage ¶
func (*AccountStorage) ProtoMessage()
func (*AccountStorage) Reset ¶
func (m *AccountStorage) Reset()
func (*AccountStorage) Size ¶
func (m *AccountStorage) Size() (n int)
func (*AccountStorage) String ¶
func (m *AccountStorage) String() string
func (*AccountStorage) Unmarshal ¶
func (m *AccountStorage) Unmarshal(dAtA []byte) error
func (*AccountStorage) XXX_DiscardUnknown ¶
func (m *AccountStorage) XXX_DiscardUnknown()
func (*AccountStorage) XXX_Marshal ¶
func (m *AccountStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountStorage) XXX_Merge ¶
func (m *AccountStorage) XXX_Merge(src proto.Message)
func (*AccountStorage) XXX_MessageName ¶
func (*AccountStorage) XXX_MessageName() string
func (*AccountStorage) XXX_Size ¶
func (m *AccountStorage) XXX_Size() int
func (*AccountStorage) XXX_Unmarshal ¶
func (m *AccountStorage) XXX_Unmarshal(b []byte) error
type Blockchain ¶ added in v0.34.4
type CollectSink ¶ added in v0.34.4
func (*CollectSink) Recv ¶ added in v0.34.4
func (c *CollectSink) Recv() (d *Dump, err error)
func (*CollectSink) Send ¶ added in v0.34.4
func (c *CollectSink) Send(d *Dump) error
type Dump ¶
type Dump struct { Height uint64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"` Account *acm.Account `protobuf:"bytes,2,opt,name=Account,proto3" json:"Account,omitempty"` AccountStorage *AccountStorage `protobuf:"bytes,3,opt,name=AccountStorage,proto3" json:"AccountStorage,omitempty"` EVMEvent *EVMEvent `protobuf:"bytes,4,opt,name=EVMEvent,proto3" json:"EVMEvent,omitempty"` Name *names.Entry `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Dump) Descriptor ¶
func (*Dump) GetAccount ¶
func (*Dump) GetAccountStorage ¶
func (m *Dump) GetAccountStorage() *AccountStorage
func (*Dump) GetEVMEvent ¶
func (*Dump) MarshalToSizedBuffer ¶ added in v0.34.4
func (*Dump) ProtoMessage ¶
func (*Dump) ProtoMessage()
func (*Dump) XXX_DiscardUnknown ¶
func (m *Dump) XXX_DiscardUnknown()
func (*Dump) XXX_MessageName ¶
func (*Dump) XXX_Unmarshal ¶
type Dumper ¶ added in v0.34.4
type Dumper struct {
// contains filtered or unexported fields
}
func NewDumper ¶ added in v0.34.4
func NewDumper(state *state.State, blockchain Blockchain) *Dumper
Return a Dumper that can Transmit Dump rows to a Sink by pulling them out of the the provided State
func (*Dumper) Source ¶ added in v0.34.4
Return a Source that is a Pipe fed from this Dumper's Transmit function
type EVMEvent ¶
type EVMEvent struct { // The original ChainID from for this event ChainID string `protobuf:"bytes,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"` // The original index for this event Index uint64 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"` // The original block time for this transaction Time time.Time `protobuf:"bytes,2,opt,name=Time,proto3,stdtime" json:"Time"` // The event itself Event *exec.LogEvent `protobuf:"bytes,3,opt,name=Event,proto3" json:"Event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EVMEvent) Descriptor ¶
func (*EVMEvent) GetChainID ¶
func (*EVMEvent) MarshalToSizedBuffer ¶ added in v0.34.4
func (*EVMEvent) ProtoMessage ¶
func (*EVMEvent) ProtoMessage()
func (*EVMEvent) XXX_DiscardUnknown ¶
func (m *EVMEvent) XXX_DiscardUnknown()
func (*EVMEvent) XXX_Marshal ¶
func (*EVMEvent) XXX_MessageName ¶
func (*EVMEvent) XXX_Unmarshal ¶
type MockSource ¶ added in v0.34.4
type MockSource struct { Accounts int MaxStorage int Names int Events int *Mockchain // contains filtered or unexported fields }
func NewMockSource ¶ added in v0.34.4
func NewMockSource(accounts, maxStorage, names, events int) *MockSource
func (*MockSource) Recv ¶ added in v0.34.4
func (m *MockSource) Recv() (*Dump, error)
type Mockchain ¶ added in v0.34.4
type Mockchain struct {
// contains filtered or unexported fields
}
func NewMockchain ¶ added in v0.34.4
func (*Mockchain) LastBlockHeight ¶ added in v0.34.4
type Source ¶ added in v0.34.4
func NewFileReader ¶ added in v0.34.4
type Storage ¶
type Storage struct { Key github_com_hyperledger_burrow_binary.Word256 `protobuf:"bytes,1,opt,name=Key,proto3,customtype=github.com/hyperledger/burrow/binary.Word256" json:"Key"` Value github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,2,opt,name=Value,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Storage) Descriptor ¶
func (*Storage) MarshalToSizedBuffer ¶ added in v0.34.4
func (*Storage) ProtoMessage ¶
func (*Storage) ProtoMessage()
func (*Storage) XXX_DiscardUnknown ¶
func (m *Storage) XXX_DiscardUnknown()
func (*Storage) XXX_Marshal ¶
func (*Storage) XXX_MessageName ¶
func (*Storage) XXX_Unmarshal ¶
type StreamReader ¶ added in v0.34.4
type StreamReader struct {
// contains filtered or unexported fields
}
func NewJSONReader ¶ added in v0.34.4
func NewJSONReader(reader io.Reader) (*StreamReader, error)
func NewProtobufReader ¶ added in v0.34.4
func NewProtobufReader(reader io.Reader) (*StreamReader, error)
func NewStreamReader ¶ added in v0.34.4
func (*StreamReader) Recv ¶ added in v0.34.4
func (sr *StreamReader) Recv() (*Dump, error)
Click to show internal directories.
Click to hide internal directories.