pbtransform

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sf_near_transform_v1_transform_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BasicReceiptFilter

type BasicReceiptFilter struct {
	Accounts             []string            `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	PrefixAndSuffixPairs []*PrefixSuffixPair `protobuf:"bytes,2,rep,name=prefix_and_suffix_pairs,json=prefixAndSuffixPairs,proto3" json:"prefix_and_suffix_pairs,omitempty"`
	// contains filtered or unexported fields
}

BasicReceiptFilter applies a logical OR everywhere it can

func (*BasicReceiptFilter) Descriptor deprecated

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

Deprecated: Use BasicReceiptFilter.ProtoReflect.Descriptor instead.

func (*BasicReceiptFilter) GetAccounts

func (x *BasicReceiptFilter) GetAccounts() []string

func (*BasicReceiptFilter) GetPrefixAndSuffixPairs

func (x *BasicReceiptFilter) GetPrefixAndSuffixPairs() []*PrefixSuffixPair

func (*BasicReceiptFilter) ProtoMessage

func (*BasicReceiptFilter) ProtoMessage()

func (*BasicReceiptFilter) ProtoReflect

func (x *BasicReceiptFilter) ProtoReflect() protoreflect.Message

func (*BasicReceiptFilter) Reset

func (x *BasicReceiptFilter) Reset()

func (*BasicReceiptFilter) String

func (x *BasicReceiptFilter) String() string

type HeaderOnly

type HeaderOnly struct {
	// contains filtered or unexported fields
}

HeaderOnly returns only the block's header and few top-level core information for the block. Useful for cases where no transactions information is required at all.

The structure that would will have access to after:

```

Block {
 BlockHeader header = 2;
}

```

Everything else will be empty.

func (*HeaderOnly) Descriptor deprecated

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

Deprecated: Use HeaderOnly.ProtoReflect.Descriptor instead.

func (*HeaderOnly) ProtoMessage

func (*HeaderOnly) ProtoMessage()

func (*HeaderOnly) ProtoReflect

func (x *HeaderOnly) ProtoReflect() protoreflect.Message

func (*HeaderOnly) Reset

func (x *HeaderOnly) Reset()

func (*HeaderOnly) String

func (x *HeaderOnly) String() string

type PrefixSuffixPair

type PrefixSuffixPair struct {
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Suffix string `protobuf:"bytes,2,opt,name=suffix,proto3" json:"suffix,omitempty"`
	// contains filtered or unexported fields
}

PrefixSuffixPair applies a logical AND to prefix and suffix when both fields are non-empty. * {prefix="hello",suffix="world"} will match "hello.world" but not "hello.friend" * {prefix="hello",suffix=""} will match both "hello.world" and "hello.friend" * {prefix="",suffix="world"} will match both "hello.world" and "good.day.world" * {prefix="",suffix=""} is invalid

Note that the suffix will usually have a TLD, ex: "mydomain.near" or "mydomain.testnet"

func (*PrefixSuffixPair) Descriptor deprecated

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

Deprecated: Use PrefixSuffixPair.ProtoReflect.Descriptor instead.

func (*PrefixSuffixPair) GetPrefix

func (x *PrefixSuffixPair) GetPrefix() string

func (*PrefixSuffixPair) GetSuffix

func (x *PrefixSuffixPair) GetSuffix() string

func (*PrefixSuffixPair) ProtoMessage

func (*PrefixSuffixPair) ProtoMessage()

func (*PrefixSuffixPair) ProtoReflect

func (x *PrefixSuffixPair) ProtoReflect() protoreflect.Message

func (*PrefixSuffixPair) Reset

func (x *PrefixSuffixPair) Reset()

func (*PrefixSuffixPair) String

func (x *PrefixSuffixPair) String() string

Jump to

Keyboard shortcuts

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