Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_platform_fabric_core_vault_txidstore_txid_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ByNum ¶
type ByNum struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ByNum) Descriptor
deprecated
func (*ByNum) ProtoMessage ¶
func (*ByNum) ProtoMessage()
func (*ByNum) ProtoReflect ¶
func (x *ByNum) ProtoReflect() protoreflect.Message
type ByTxid ¶
type ByTxid struct { Pos uint64 `protobuf:"varint,1,opt,name=pos,proto3" json:"pos,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ByTxid) Descriptor
deprecated
func (*ByTxid) ProtoMessage ¶
func (*ByTxid) ProtoMessage()
func (*ByTxid) ProtoReflect ¶
func (x *ByTxid) ProtoReflect() protoreflect.Message
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetLastTxID ¶
type SimpleTXIDStore ¶
type SimpleTXIDStore struct {
// contains filtered or unexported fields
}
func NewTXIDStore ¶
func NewTXIDStore(persistence driver.Persistence) (*SimpleTXIDStore, error)
func (*SimpleTXIDStore) Get ¶
func (s *SimpleTXIDStore) Get(txid string) (fdriver.ValidationCode, error)
func (*SimpleTXIDStore) GetLastTxID ¶
func (s *SimpleTXIDStore) GetLastTxID() (string, error)
func (*SimpleTXIDStore) Iterator ¶
func (s *SimpleTXIDStore) Iterator(pos interface{}) (fdriver.TxidIterator, error)
func (*SimpleTXIDStore) Set ¶
func (s *SimpleTXIDStore) Set(txid string, code fdriver.ValidationCode) error
type SimpleTxidIterator ¶
type SimpleTxidIterator struct {
// contains filtered or unexported fields
}
func (*SimpleTxidIterator) Close ¶
func (i *SimpleTxidIterator) Close()
Click to show internal directories.
Click to hide internal directories.