sdk

package
v1.12.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sdk_sdk_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PullGossipRequest

type PullGossipRequest struct {
	Salt   []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	Filter []byte `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*PullGossipRequest) Descriptor deprecated

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

Deprecated: Use PullGossipRequest.ProtoReflect.Descriptor instead.

func (*PullGossipRequest) GetFilter

func (x *PullGossipRequest) GetFilter() []byte

func (*PullGossipRequest) GetSalt

func (x *PullGossipRequest) GetSalt() []byte

func (*PullGossipRequest) ProtoMessage

func (*PullGossipRequest) ProtoMessage()

func (*PullGossipRequest) ProtoReflect

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

func (*PullGossipRequest) Reset

func (x *PullGossipRequest) Reset()

func (*PullGossipRequest) String

func (x *PullGossipRequest) String() string

type PullGossipResponse

type PullGossipResponse struct {
	Gossip [][]byte `protobuf:"bytes,1,rep,name=gossip,proto3" json:"gossip,omitempty"`
	// contains filtered or unexported fields
}

func (*PullGossipResponse) Descriptor deprecated

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

Deprecated: Use PullGossipResponse.ProtoReflect.Descriptor instead.

func (*PullGossipResponse) GetGossip

func (x *PullGossipResponse) GetGossip() [][]byte

func (*PullGossipResponse) ProtoMessage

func (*PullGossipResponse) ProtoMessage()

func (*PullGossipResponse) ProtoReflect

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

func (*PullGossipResponse) Reset

func (x *PullGossipResponse) Reset()

func (*PullGossipResponse) String

func (x *PullGossipResponse) String() string

type PushGossip added in v1.10.18

type PushGossip struct {
	Gossip [][]byte `protobuf:"bytes,1,rep,name=gossip,proto3" json:"gossip,omitempty"`
	// contains filtered or unexported fields
}

func (*PushGossip) Descriptor deprecated added in v1.10.18

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

Deprecated: Use PushGossip.ProtoReflect.Descriptor instead.

func (*PushGossip) GetGossip added in v1.10.18

func (x *PushGossip) GetGossip() [][]byte

func (*PushGossip) ProtoMessage added in v1.10.18

func (*PushGossip) ProtoMessage()

func (*PushGossip) ProtoReflect added in v1.10.18

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

func (*PushGossip) Reset added in v1.10.18

func (x *PushGossip) Reset()

func (*PushGossip) String added in v1.10.18

func (x *PushGossip) String() string

type SignatureRequest added in v1.11.11

type SignatureRequest struct {

	// Warp message to be signed
	Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Justification for the message
	Justification []byte `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty"`
	// contains filtered or unexported fields
}

SignatureRequest is an AppRequest message type for requesting a BLS signature over a Warp message, as defined in ACP-118: https://github.com/avalanche-foundation/ACPs/tree/main/ACPs/118-warp-signature-request

func (*SignatureRequest) Descriptor deprecated added in v1.11.11

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

Deprecated: Use SignatureRequest.ProtoReflect.Descriptor instead.

func (*SignatureRequest) GetJustification added in v1.11.11

func (x *SignatureRequest) GetJustification() []byte

func (*SignatureRequest) GetMessage added in v1.11.11

func (x *SignatureRequest) GetMessage() []byte

func (*SignatureRequest) ProtoMessage added in v1.11.11

func (*SignatureRequest) ProtoMessage()

func (*SignatureRequest) ProtoReflect added in v1.11.11

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

func (*SignatureRequest) Reset added in v1.11.11

func (x *SignatureRequest) Reset()

func (*SignatureRequest) String added in v1.11.11

func (x *SignatureRequest) String() string

type SignatureResponse added in v1.11.11

type SignatureResponse struct {

	// BLS signature over the Warp message
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

SignatureResponse is an AppResponse message type for providing a requested BLS signature over a Warp message, as defined in ACP-118: https://github.com/avalanche-foundation/ACPs/tree/main/ACPs/118-warp-signature-request

func (*SignatureResponse) Descriptor deprecated added in v1.11.11

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

Deprecated: Use SignatureResponse.ProtoReflect.Descriptor instead.

func (*SignatureResponse) GetSignature added in v1.11.11

func (x *SignatureResponse) GetSignature() []byte

func (*SignatureResponse) ProtoMessage added in v1.11.11

func (*SignatureResponse) ProtoMessage()

func (*SignatureResponse) ProtoReflect added in v1.11.11

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

func (*SignatureResponse) Reset added in v1.11.11

func (x *SignatureResponse) Reset()

func (*SignatureResponse) String added in v1.11.11

func (x *SignatureResponse) String() string

Jump to

Keyboard shortcuts

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