txfilter

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTxfilter        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTxfilter          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTxfilter = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Stat

type Stat struct {
	// A value greater than 0 indicates a false positive in the tx filter, support for multiple transactions in the future
	FpCount uint32 `protobuf:"varint,1,opt,name=fp_count,json=fpCount,proto3" json:"fp_count,omitempty"`
	// Filter query time
	FilterCosts int64 `protobuf:"varint,2,opt,name=filter_costs,json=filterCosts,proto3" json:"filter_costs,omitempty"`
	// DB query time
	DbCosts int64 `protobuf:"varint,3,opt,name=db_costs,json=dbCosts,proto3" json:"db_costs,omitempty"`
}

Stat contains stat

func (*Stat) Descriptor

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

func (*Stat) GetDbCosts

func (m *Stat) GetDbCosts() int64

func (*Stat) GetFilterCosts

func (m *Stat) GetFilterCosts() int64

func (*Stat) GetFpCount

func (m *Stat) GetFpCount() uint32

func (*Stat) Marshal

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

func (*Stat) MarshalTo

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

func (*Stat) MarshalToSizedBuffer

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

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) Reset

func (m *Stat) Reset()

func (*Stat) Size

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

func (*Stat) String

func (m *Stat) String() string

func (*Stat) Unmarshal

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

func (*Stat) XXX_DiscardUnknown

func (m *Stat) XXX_DiscardUnknown()

func (*Stat) XXX_Marshal

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

func (*Stat) XXX_Merge

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

func (*Stat) XXX_Size

func (m *Stat) XXX_Size() int

func (*Stat) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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