pbblockmeta

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockID_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sf.blockmeta.v1.BlockID",
	HandlerType: (*BlockIDServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NumToID",
			Handler:    _BlockID_NumToID_Handler,
		},
		{
			MethodName: "LIBID",
			Handler:    _BlockID_LIBID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sf/blockmeta/v1/blockmeta.proto",
}

BlockID_ServiceDesc is the grpc.ServiceDesc for BlockID service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ChainDiscriminator_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sf.blockmeta.v1.ChainDiscriminator",
	HandlerType: (*ChainDiscriminatorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InLongestChain",
			Handler:    _ChainDiscriminator_InLongestChain_Handler,
		},
		{
			MethodName: "GetBlockInLongestChain",
			Handler:    _ChainDiscriminator_GetBlockInLongestChain_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sf/blockmeta/v1/blockmeta.proto",
}

ChainDiscriminator_ServiceDesc is the grpc.ServiceDesc for ChainDiscriminator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_sf_blockmeta_v1_blockmeta_proto protoreflect.FileDescriptor
View Source
var Forks_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sf.blockmeta.v1.Forks",
	HandlerType: (*ForksServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Resolve",
			Handler:    _Forks_Resolve_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sf/blockmeta/v1/blockmeta.proto",
}

Forks_ServiceDesc is the grpc.ServiceDesc for Forks service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TimeToID_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sf.blockmeta.v1.TimeToID",
	HandlerType: (*TimeToIDServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "At",
			Handler:    _TimeToID_At_Handler,
		},
		{
			MethodName: "After",
			Handler:    _TimeToID_After_Handler,
		},
		{
			MethodName: "Before",
			Handler:    _TimeToID_Before_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sf/blockmeta/v1/blockmeta.proto",
}

TimeToID_ServiceDesc is the grpc.ServiceDesc for TimeToID service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBlockIDServer

func RegisterBlockIDServer(s grpc.ServiceRegistrar, srv BlockIDServer)

func RegisterChainDiscriminatorServer

func RegisterChainDiscriminatorServer(s grpc.ServiceRegistrar, srv ChainDiscriminatorServer)

func RegisterForksServer

func RegisterForksServer(s grpc.ServiceRegistrar, srv ForksServer)

func RegisterTimeToIDServer

func RegisterTimeToIDServer(s grpc.ServiceRegistrar, srv TimeToIDServer)

func StartBlockResolver

func StartBlockResolver(cli BlockIDClient) func(ctx context.Context, targetBlockNum uint64) (uint64, string, error)

StartBlockResolver will try to return same blocknum as target, with irreversible ID set to that block itself. If the requested block is NOT considered irreversible, it returns an error and you will have to use another method.

func Timestamp

func Timestamp(ts *timestamppb.Timestamp) time.Time

TODO: This will eventually move to our own libs.. we'll need that everywhere.

func TimestampProto

func TimestampProto(t time.Time) *timestamppb.Timestamp

Types

type BlockIDClient

type BlockIDClient interface {
	//
	NumToID(ctx context.Context, in *NumToIDRequest, opts ...grpc.CallOption) (*BlockIDResponse, error)
	// Query the CURRENT irreversible block
	LIBID(ctx context.Context, in *LIBRequest, opts ...grpc.CallOption) (*BlockIDResponse, error)
}

BlockIDClient is the client API for BlockID service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBlockIDClient

func NewBlockIDClient(cc grpc.ClientConnInterface) BlockIDClient

type BlockIDResponse

type BlockIDResponse struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BlockTimeMilli int64  `protobuf:"varint,2,opt,name=blockTimeMilli,proto3" json:"blockTimeMilli,omitempty"`
	Irreversible   bool   `protobuf:"varint,3,opt,name=irreversible,proto3" json:"irreversible,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockIDResponse) Descriptor deprecated

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

Deprecated: Use BlockIDResponse.ProtoReflect.Descriptor instead.

func (*BlockIDResponse) GetBlockTimeMilli

func (x *BlockIDResponse) GetBlockTimeMilli() int64

func (*BlockIDResponse) GetId

func (x *BlockIDResponse) GetId() string

func (*BlockIDResponse) GetIrreversible

func (x *BlockIDResponse) GetIrreversible() bool

func (*BlockIDResponse) ProtoMessage

func (*BlockIDResponse) ProtoMessage()

func (*BlockIDResponse) ProtoReflect

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

func (*BlockIDResponse) Reset

func (x *BlockIDResponse) Reset()

func (*BlockIDResponse) String

func (x *BlockIDResponse) String() string

type BlockIDServer

type BlockIDServer interface {
	//
	NumToID(context.Context, *NumToIDRequest) (*BlockIDResponse, error)
	// Query the CURRENT irreversible block
	LIBID(context.Context, *LIBRequest) (*BlockIDResponse, error)
}

BlockIDServer is the server API for BlockID service. All implementations should embed UnimplementedBlockIDServer for forward compatibility

type BlockRef

type BlockRef struct {
	BlockNum uint64 `protobuf:"varint,1,opt,name=blockNum,proto3" json:"blockNum,omitempty"`
	BlockID  string `protobuf:"bytes,2,opt,name=blockID,proto3" json:"blockID,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockRef) Descriptor deprecated

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

Deprecated: Use BlockRef.ProtoReflect.Descriptor instead.

func (*BlockRef) GetBlockID

func (x *BlockRef) GetBlockID() string

func (*BlockRef) GetBlockNum

func (x *BlockRef) GetBlockNum() uint64

func (*BlockRef) ProtoMessage

func (*BlockRef) ProtoMessage()

func (*BlockRef) ProtoReflect

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

func (*BlockRef) Reset

func (x *BlockRef) Reset()

func (*BlockRef) String

func (x *BlockRef) String() string

type BlockRefs

type BlockRefs struct {
	BlockRefs []*BlockRef `protobuf:"bytes,1,rep,name=blockRefs,proto3" json:"blockRefs,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockRefs) Descriptor deprecated

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

Deprecated: Use BlockRefs.ProtoReflect.Descriptor instead.

func (*BlockRefs) GetBlockRefs

func (x *BlockRefs) GetBlockRefs() []*BlockRef

func (*BlockRefs) ProtoMessage

func (*BlockRefs) ProtoMessage()

func (*BlockRefs) ProtoReflect

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

func (*BlockRefs) Reset

func (x *BlockRefs) Reset()

func (*BlockRefs) String

func (x *BlockRefs) String() string

type BlockResponse

type BlockResponse struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                      // Block ID that matched
	Time         *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`                  // Precise block time as a Timestamp
	Irreversible bool                   `protobuf:"varint,3,opt,name=irreversible,proto3" json:"irreversible,omitempty"` // Whether it's known to be irreversible or not
	// contains filtered or unexported fields
}

Block ID that matched the request

func (*BlockResponse) Descriptor deprecated

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

Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead.

func (*BlockResponse) GetId

func (x *BlockResponse) GetId() string

func (*BlockResponse) GetIrreversible

func (x *BlockResponse) GetIrreversible() bool

func (*BlockResponse) GetTime

func (x *BlockResponse) GetTime() *timestamppb.Timestamp

func (*BlockResponse) ProtoMessage

func (*BlockResponse) ProtoMessage()

func (*BlockResponse) ProtoReflect

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

func (*BlockResponse) Reset

func (x *BlockResponse) Reset()

func (*BlockResponse) String

func (x *BlockResponse) String() string

type ChainDiscriminatorClient

type ChainDiscriminatorClient interface {
	InLongestChain(ctx context.Context, in *InLongestChainRequest, opts ...grpc.CallOption) (*InLongestChainResponse, error)
	GetBlockInLongestChain(ctx context.Context, in *GetBlockInLongestChainRequest, opts ...grpc.CallOption) (*GetBlockInLongestChainResponse, error)
}

ChainDiscriminatorClient is the client API for ChainDiscriminator service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ChainDiscriminatorServer

type ChainDiscriminatorServer interface {
	InLongestChain(context.Context, *InLongestChainRequest) (*InLongestChainResponse, error)
	GetBlockInLongestChain(context.Context, *GetBlockInLongestChainRequest) (*GetBlockInLongestChainResponse, error)
}

ChainDiscriminatorServer is the server API for ChainDiscriminator service. All implementations should embed UnimplementedChainDiscriminatorServer for forward compatibility

type Client

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

func NewClient

func NewClient(conn *grpc.ClientConn) *Client

func (*Client) BlockAfter

func (b *Client) BlockAfter(ctx context.Context, t time.Time, inclusive bool) (*BlockResponse, error)

func (*Client) BlockAt

func (b *Client) BlockAt(ctx context.Context, t time.Time) (*BlockResponse, error)

func (*Client) BlockBefore

func (b *Client) BlockBefore(ctx context.Context, t time.Time, inclusive bool) (*BlockResponse, error)

func (*Client) BlockNumToID

func (b *Client) BlockNumToID(ctx context.Context, blockNum uint64) (*BlockIDResponse, error)

func (*Client) ChainDiscriminatorClient

func (b *Client) ChainDiscriminatorClient() ChainDiscriminatorClient

func (*Client) LIBID

func (b *Client) LIBID(ctx context.Context) (*BlockIDResponse, error)

type ForkResolveRequest

type ForkResolveRequest struct {
	Block *BlockRef `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*ForkResolveRequest) Descriptor deprecated

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

Deprecated: Use ForkResolveRequest.ProtoReflect.Descriptor instead.

func (*ForkResolveRequest) GetBlock

func (x *ForkResolveRequest) GetBlock() *BlockRef

func (*ForkResolveRequest) ProtoMessage

func (*ForkResolveRequest) ProtoMessage()

func (*ForkResolveRequest) ProtoReflect

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

func (*ForkResolveRequest) Reset

func (x *ForkResolveRequest) Reset()

func (*ForkResolveRequest) String

func (x *ForkResolveRequest) String() string

type ForkResolveResponse

type ForkResolveResponse struct {
	ForkedBlockRefs []*BlockRef `protobuf:"bytes,1,rep,name=forkedBlockRefs,proto3" json:"forkedBlockRefs,omitempty"`
	// contains filtered or unexported fields
}

func (*ForkResolveResponse) Descriptor deprecated

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

Deprecated: Use ForkResolveResponse.ProtoReflect.Descriptor instead.

func (*ForkResolveResponse) GetForkedBlockRefs

func (x *ForkResolveResponse) GetForkedBlockRefs() []*BlockRef

func (*ForkResolveResponse) ProtoMessage

func (*ForkResolveResponse) ProtoMessage()

func (*ForkResolveResponse) ProtoReflect

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

func (*ForkResolveResponse) Reset

func (x *ForkResolveResponse) Reset()

func (*ForkResolveResponse) String

func (x *ForkResolveResponse) String() string

type ForksClient

type ForksClient interface {
	Resolve(ctx context.Context, in *ForkResolveRequest, opts ...grpc.CallOption) (*ForkResolveResponse, error)
}

ForksClient is the client API for Forks service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewForksClient

func NewForksClient(cc grpc.ClientConnInterface) ForksClient

type ForksServer

type ForksServer interface {
	Resolve(context.Context, *ForkResolveRequest) (*ForkResolveResponse, error)
}

ForksServer is the server API for Forks service. All implementations should embed UnimplementedForksServer for forward compatibility

type GetBlockInLongestChainRequest

type GetBlockInLongestChainRequest struct {
	BlockNum uint64 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockInLongestChainRequest) Descriptor deprecated

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

Deprecated: Use GetBlockInLongestChainRequest.ProtoReflect.Descriptor instead.

func (*GetBlockInLongestChainRequest) GetBlockNum

func (x *GetBlockInLongestChainRequest) GetBlockNum() uint64

func (*GetBlockInLongestChainRequest) ProtoMessage

func (*GetBlockInLongestChainRequest) ProtoMessage()

func (*GetBlockInLongestChainRequest) ProtoReflect

func (*GetBlockInLongestChainRequest) Reset

func (x *GetBlockInLongestChainRequest) Reset()

func (*GetBlockInLongestChainRequest) String

type GetBlockInLongestChainResponse

type GetBlockInLongestChainResponse struct {
	BlockId      string `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	BlockNum     uint64 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	Irreversible bool   `protobuf:"varint,3,opt,name=irreversible,proto3" json:"irreversible,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockInLongestChainResponse) Descriptor deprecated

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

Deprecated: Use GetBlockInLongestChainResponse.ProtoReflect.Descriptor instead.

func (*GetBlockInLongestChainResponse) GetBlockId

func (x *GetBlockInLongestChainResponse) GetBlockId() string

func (*GetBlockInLongestChainResponse) GetBlockNum

func (x *GetBlockInLongestChainResponse) GetBlockNum() uint64

func (*GetBlockInLongestChainResponse) GetIrreversible

func (x *GetBlockInLongestChainResponse) GetIrreversible() bool

func (*GetBlockInLongestChainResponse) ProtoMessage

func (*GetBlockInLongestChainResponse) ProtoMessage()

func (*GetBlockInLongestChainResponse) ProtoReflect

func (*GetBlockInLongestChainResponse) Reset

func (x *GetBlockInLongestChainResponse) Reset()

func (*GetBlockInLongestChainResponse) String

type InLongestChainRequest

type InLongestChainRequest struct {
	BlockID string `protobuf:"bytes,1,opt,name=blockID,proto3" json:"blockID,omitempty"`
	// contains filtered or unexported fields
}

func (*InLongestChainRequest) Descriptor deprecated

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

Deprecated: Use InLongestChainRequest.ProtoReflect.Descriptor instead.

func (*InLongestChainRequest) GetBlockID

func (x *InLongestChainRequest) GetBlockID() string

func (*InLongestChainRequest) ProtoMessage

func (*InLongestChainRequest) ProtoMessage()

func (*InLongestChainRequest) ProtoReflect

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

func (*InLongestChainRequest) Reset

func (x *InLongestChainRequest) Reset()

func (*InLongestChainRequest) String

func (x *InLongestChainRequest) String() string

type InLongestChainResponse

type InLongestChainResponse struct {
	InLongestChain bool `protobuf:"varint,1,opt,name=inLongestChain,proto3" json:"inLongestChain,omitempty"`
	Irreversible   bool `protobuf:"varint,2,opt,name=irreversible,proto3" json:"irreversible,omitempty"`
	// contains filtered or unexported fields
}

func (*InLongestChainResponse) Descriptor deprecated

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

Deprecated: Use InLongestChainResponse.ProtoReflect.Descriptor instead.

func (*InLongestChainResponse) GetInLongestChain

func (x *InLongestChainResponse) GetInLongestChain() bool

func (*InLongestChainResponse) GetIrreversible

func (x *InLongestChainResponse) GetIrreversible() bool

func (*InLongestChainResponse) ProtoMessage

func (*InLongestChainResponse) ProtoMessage()

func (*InLongestChainResponse) ProtoReflect

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

func (*InLongestChainResponse) Reset

func (x *InLongestChainResponse) Reset()

func (*InLongestChainResponse) String

func (x *InLongestChainResponse) String() string

type LIBRequest

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

func (*LIBRequest) Descriptor deprecated

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

Deprecated: Use LIBRequest.ProtoReflect.Descriptor instead.

func (*LIBRequest) ProtoMessage

func (*LIBRequest) ProtoMessage()

func (*LIBRequest) ProtoReflect

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

func (*LIBRequest) Reset

func (x *LIBRequest) Reset()

func (*LIBRequest) String

func (x *LIBRequest) String() string

type NumToIDRequest

type NumToIDRequest struct {
	BlockNum uint64 `protobuf:"varint,1,opt,name=blockNum,proto3" json:"blockNum,omitempty"`
	// contains filtered or unexported fields
}

func (*NumToIDRequest) Descriptor deprecated

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

Deprecated: Use NumToIDRequest.ProtoReflect.Descriptor instead.

func (*NumToIDRequest) GetBlockNum

func (x *NumToIDRequest) GetBlockNum() uint64

func (*NumToIDRequest) ProtoMessage

func (*NumToIDRequest) ProtoMessage()

func (*NumToIDRequest) ProtoReflect

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

func (*NumToIDRequest) Reset

func (x *NumToIDRequest) Reset()

func (*NumToIDRequest) String

func (x *NumToIDRequest) String() string

type RelativeTimeRequest

type RelativeTimeRequest struct {
	Time      *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Inclusive bool                   `protobuf:"varint,2,opt,name=inclusive,proto3" json:"inclusive,omitempty"`
	// contains filtered or unexported fields
}

func (*RelativeTimeRequest) Descriptor deprecated

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

Deprecated: Use RelativeTimeRequest.ProtoReflect.Descriptor instead.

func (*RelativeTimeRequest) GetInclusive

func (x *RelativeTimeRequest) GetInclusive() bool

func (*RelativeTimeRequest) GetTime

func (*RelativeTimeRequest) ProtoMessage

func (*RelativeTimeRequest) ProtoMessage()

func (*RelativeTimeRequest) ProtoReflect

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

func (*RelativeTimeRequest) Reset

func (x *RelativeTimeRequest) Reset()

func (*RelativeTimeRequest) String

func (x *RelativeTimeRequest) String() string

type TimeRequest

type TimeRequest struct {
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeRequest) Descriptor deprecated

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

Deprecated: Use TimeRequest.ProtoReflect.Descriptor instead.

func (*TimeRequest) GetTime

func (x *TimeRequest) GetTime() *timestamppb.Timestamp

func (*TimeRequest) ProtoMessage

func (*TimeRequest) ProtoMessage()

func (*TimeRequest) ProtoReflect

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

func (*TimeRequest) Reset

func (x *TimeRequest) Reset()

func (*TimeRequest) String

func (x *TimeRequest) String() string

type TimeToIDClient

type TimeToIDClient interface {
	At(ctx context.Context, in *TimeRequest, opts ...grpc.CallOption) (*BlockResponse, error)
	After(ctx context.Context, in *RelativeTimeRequest, opts ...grpc.CallOption) (*BlockResponse, error)
	Before(ctx context.Context, in *RelativeTimeRequest, opts ...grpc.CallOption) (*BlockResponse, error)
}

TimeToIDClient is the client API for TimeToID service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTimeToIDClient

func NewTimeToIDClient(cc grpc.ClientConnInterface) TimeToIDClient

type TimeToIDServer

TimeToIDServer is the server API for TimeToID service. All implementations should embed UnimplementedTimeToIDServer for forward compatibility

type UnimplementedBlockIDServer

type UnimplementedBlockIDServer struct {
}

UnimplementedBlockIDServer should be embedded to have forward compatible implementations.

func (UnimplementedBlockIDServer) LIBID

func (UnimplementedBlockIDServer) NumToID

type UnimplementedChainDiscriminatorServer

type UnimplementedChainDiscriminatorServer struct {
}

UnimplementedChainDiscriminatorServer should be embedded to have forward compatible implementations.

func (UnimplementedChainDiscriminatorServer) InLongestChain

type UnimplementedForksServer

type UnimplementedForksServer struct {
}

UnimplementedForksServer should be embedded to have forward compatible implementations.

func (UnimplementedForksServer) Resolve

type UnimplementedTimeToIDServer

type UnimplementedTimeToIDServer struct {
}

UnimplementedTimeToIDServer should be embedded to have forward compatible implementations.

func (UnimplementedTimeToIDServer) After

func (UnimplementedTimeToIDServer) At

func (UnimplementedTimeToIDServer) Before

type UnsafeBlockIDServer

type UnsafeBlockIDServer interface {
	// contains filtered or unexported methods
}

UnsafeBlockIDServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlockIDServer will result in compilation errors.

type UnsafeChainDiscriminatorServer

type UnsafeChainDiscriminatorServer interface {
	// contains filtered or unexported methods
}

UnsafeChainDiscriminatorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChainDiscriminatorServer will result in compilation errors.

type UnsafeForksServer

type UnsafeForksServer interface {
	// contains filtered or unexported methods
}

UnsafeForksServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ForksServer will result in compilation errors.

type UnsafeTimeToIDServer

type UnsafeTimeToIDServer interface {
	// contains filtered or unexported methods
}

UnsafeTimeToIDServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TimeToIDServer will result in compilation errors.

Jump to

Keyboard shortcuts

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