protowire

package
v0.9.2-delay Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: ISC Imports: 17 Imported by: 3

README

protowire

  1. Download and place in your PATH: https://github.com/protocolbuffers/protobuf/releases/download/v3.12.3/protoc-3.12.3-linux-x86_64.zip
  2. go get github.com/golang/protobuf/protoc-gen-go
  3. go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
  4. In the protowire directory: go generate .

Documentation

To generate rpc.md:

  1. go get -u github.com/kaspanet/protoc-gen-doc/cmd/protoc-gen-doc
  2. In the protowire directory: protoc --doc_out=. --doc_opt=markdown,rpc.md rpc.proto

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SubmitBlockResponseMessage_RejectReason_name = map[int32]string{
		0: "NONE",
		1: "BLOCK_INVALID",
		2: "IS_IN_IBD",
	}
	SubmitBlockResponseMessage_RejectReason_value = map[string]int32{
		"NONE":          0,
		"BLOCK_INVALID": 1,
		"IS_IN_IBD":     2,
	}
)

Enum value maps for SubmitBlockResponseMessage_RejectReason.

View Source
var File_messages_proto protoreflect.FileDescriptor

Functions

func RegisterP2PServer

func RegisterP2PServer(s *grpc.Server, srv P2PServer)

func RegisterRPCServer

func RegisterRPCServer(s *grpc.Server, srv RPCServer)

Types

type AcceptedBlock

type AcceptedBlock struct {
	Hash                   string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	AcceptedTransactionIds []string `protobuf:"bytes,2,rep,name=acceptedTransactionIds,proto3" json:"acceptedTransactionIds,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptedBlock) Descriptor deprecated

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

Deprecated: Use AcceptedBlock.ProtoReflect.Descriptor instead.

func (*AcceptedBlock) GetAcceptedTransactionIds

func (x *AcceptedBlock) GetAcceptedTransactionIds() []string

func (*AcceptedBlock) GetHash

func (x *AcceptedBlock) GetHash() string

func (*AcceptedBlock) ProtoMessage

func (*AcceptedBlock) ProtoMessage()

func (*AcceptedBlock) ProtoReflect

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

func (*AcceptedBlock) Reset

func (x *AcceptedBlock) Reset()

func (*AcceptedBlock) String

func (x *AcceptedBlock) String() string

type AddPeerRequestMessage

type AddPeerRequestMessage struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Whether to keep attempting to connect to this peer after disconnection
	IsPermanent bool `protobuf:"varint,2,opt,name=isPermanent,proto3" json:"isPermanent,omitempty"`
	// contains filtered or unexported fields
}

AddPeerRequestMessage adds a peer to kaspad's outgoing connection list. This will, in most cases, result in kaspad connecting to said peer.

func (*AddPeerRequestMessage) Descriptor deprecated

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

Deprecated: Use AddPeerRequestMessage.ProtoReflect.Descriptor instead.

func (*AddPeerRequestMessage) GetAddress

func (x *AddPeerRequestMessage) GetAddress() string

func (*AddPeerRequestMessage) GetIsPermanent

func (x *AddPeerRequestMessage) GetIsPermanent() bool

func (*AddPeerRequestMessage) ProtoMessage

func (*AddPeerRequestMessage) ProtoMessage()

func (*AddPeerRequestMessage) ProtoReflect

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

func (*AddPeerRequestMessage) Reset

func (x *AddPeerRequestMessage) Reset()

func (*AddPeerRequestMessage) String

func (x *AddPeerRequestMessage) String() string

type AddPeerResponseMessage

type AddPeerResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPeerResponseMessage) Descriptor deprecated

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

Deprecated: Use AddPeerResponseMessage.ProtoReflect.Descriptor instead.

func (*AddPeerResponseMessage) GetError

func (x *AddPeerResponseMessage) GetError() *RPCError

func (*AddPeerResponseMessage) ProtoMessage

func (*AddPeerResponseMessage) ProtoMessage()

func (*AddPeerResponseMessage) ProtoReflect

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

func (*AddPeerResponseMessage) Reset

func (x *AddPeerResponseMessage) Reset()

func (*AddPeerResponseMessage) String

func (x *AddPeerResponseMessage) String() string

type AddressesMessage

type AddressesMessage struct {
	AddressList []*NetAddress `protobuf:"bytes,1,rep,name=addressList,proto3" json:"addressList,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressesMessage) Descriptor deprecated

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

Deprecated: Use AddressesMessage.ProtoReflect.Descriptor instead.

func (*AddressesMessage) GetAddressList

func (x *AddressesMessage) GetAddressList() []*NetAddress

func (*AddressesMessage) ProtoMessage

func (*AddressesMessage) ProtoMessage()

func (*AddressesMessage) ProtoReflect

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

func (*AddressesMessage) Reset

func (x *AddressesMessage) Reset()

func (*AddressesMessage) String

func (x *AddressesMessage) String() string

type BanRequestMessage

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

BanRequestMessage bans the given ip.

func (*BanRequestMessage) Descriptor deprecated

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

Deprecated: Use BanRequestMessage.ProtoReflect.Descriptor instead.

func (*BanRequestMessage) GetIp

func (x *BanRequestMessage) GetIp() string

func (*BanRequestMessage) ProtoMessage

func (*BanRequestMessage) ProtoMessage()

func (*BanRequestMessage) ProtoReflect

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

func (*BanRequestMessage) Reset

func (x *BanRequestMessage) Reset()

func (*BanRequestMessage) String

func (x *BanRequestMessage) String() string

type BanResponseMessage

type BanResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*BanResponseMessage) Descriptor deprecated

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

Deprecated: Use BanResponseMessage.ProtoReflect.Descriptor instead.

func (*BanResponseMessage) GetError

func (x *BanResponseMessage) GetError() *RPCError

func (*BanResponseMessage) ProtoMessage

func (*BanResponseMessage) ProtoMessage()

func (*BanResponseMessage) ProtoReflect

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

func (*BanResponseMessage) Reset

func (x *BanResponseMessage) Reset()

func (*BanResponseMessage) String

func (x *BanResponseMessage) String() string

type BlockAddedNotificationMessage

type BlockAddedNotificationMessage struct {
	Block            *BlockMessage     `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	BlockVerboseData *BlockVerboseData `protobuf:"bytes,2,opt,name=blockVerboseData,proto3" json:"blockVerboseData,omitempty"`
	// contains filtered or unexported fields
}

BlockAddedNotificationMessage is sent whenever a blocks has been added (NOT accepted) into the DAG.

See: NotifyBlockAddedRequestMessage

func (*BlockAddedNotificationMessage) Descriptor deprecated

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

Deprecated: Use BlockAddedNotificationMessage.ProtoReflect.Descriptor instead.

func (*BlockAddedNotificationMessage) GetBlock

func (*BlockAddedNotificationMessage) GetBlockVerboseData

func (x *BlockAddedNotificationMessage) GetBlockVerboseData() *BlockVerboseData

func (*BlockAddedNotificationMessage) ProtoMessage

func (*BlockAddedNotificationMessage) ProtoMessage()

func (*BlockAddedNotificationMessage) ProtoReflect

func (*BlockAddedNotificationMessage) Reset

func (x *BlockAddedNotificationMessage) Reset()

func (*BlockAddedNotificationMessage) String

type BlockHeaderMessage

type BlockHeaderMessage struct {
	Version              uint32  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	ParentHashes         []*Hash `protobuf:"bytes,2,rep,name=parentHashes,proto3" json:"parentHashes,omitempty"`
	HashMerkleRoot       *Hash   `protobuf:"bytes,3,opt,name=hashMerkleRoot,proto3" json:"hashMerkleRoot,omitempty"`
	AcceptedIdMerkleRoot *Hash   `protobuf:"bytes,4,opt,name=acceptedIdMerkleRoot,proto3" json:"acceptedIdMerkleRoot,omitempty"`
	UtxoCommitment       *Hash   `protobuf:"bytes,5,opt,name=utxoCommitment,proto3" json:"utxoCommitment,omitempty"`
	Timestamp            int64   `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Bits                 uint32  `protobuf:"varint,7,opt,name=bits,proto3" json:"bits,omitempty"`
	Nonce                uint64  `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeaderMessage) Descriptor deprecated

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

Deprecated: Use BlockHeaderMessage.ProtoReflect.Descriptor instead.

func (*BlockHeaderMessage) GetAcceptedIdMerkleRoot

func (x *BlockHeaderMessage) GetAcceptedIdMerkleRoot() *Hash

func (*BlockHeaderMessage) GetBits

func (x *BlockHeaderMessage) GetBits() uint32

func (*BlockHeaderMessage) GetHashMerkleRoot

func (x *BlockHeaderMessage) GetHashMerkleRoot() *Hash

func (*BlockHeaderMessage) GetNonce

func (x *BlockHeaderMessage) GetNonce() uint64

func (*BlockHeaderMessage) GetParentHashes

func (x *BlockHeaderMessage) GetParentHashes() []*Hash

func (*BlockHeaderMessage) GetTimestamp

func (x *BlockHeaderMessage) GetTimestamp() int64

func (*BlockHeaderMessage) GetUtxoCommitment

func (x *BlockHeaderMessage) GetUtxoCommitment() *Hash

func (*BlockHeaderMessage) GetVersion

func (x *BlockHeaderMessage) GetVersion() uint32

func (*BlockHeaderMessage) ProtoMessage

func (*BlockHeaderMessage) ProtoMessage()

func (*BlockHeaderMessage) ProtoReflect

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

func (*BlockHeaderMessage) Reset

func (x *BlockHeaderMessage) Reset()

func (*BlockHeaderMessage) String

func (x *BlockHeaderMessage) String() string

type BlockHeadersMessage

type BlockHeadersMessage struct {
	BlockHeaders []*BlockHeaderMessage `protobuf:"bytes,1,rep,name=blockHeaders,proto3" json:"blockHeaders,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeadersMessage) Descriptor deprecated

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

Deprecated: Use BlockHeadersMessage.ProtoReflect.Descriptor instead.

func (*BlockHeadersMessage) GetBlockHeaders

func (x *BlockHeadersMessage) GetBlockHeaders() []*BlockHeaderMessage

func (*BlockHeadersMessage) ProtoMessage

func (*BlockHeadersMessage) ProtoMessage()

func (*BlockHeadersMessage) ProtoReflect

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

func (*BlockHeadersMessage) Reset

func (x *BlockHeadersMessage) Reset()

func (*BlockHeadersMessage) String

func (x *BlockHeadersMessage) String() string

type BlockLocatorMessage

type BlockLocatorMessage struct {
	Hashes []*Hash `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockLocatorMessage) Descriptor deprecated

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

Deprecated: Use BlockLocatorMessage.ProtoReflect.Descriptor instead.

func (*BlockLocatorMessage) GetHashes

func (x *BlockLocatorMessage) GetHashes() []*Hash

func (*BlockLocatorMessage) ProtoMessage

func (*BlockLocatorMessage) ProtoMessage()

func (*BlockLocatorMessage) ProtoReflect

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

func (*BlockLocatorMessage) Reset

func (x *BlockLocatorMessage) Reset()

func (*BlockLocatorMessage) String

func (x *BlockLocatorMessage) String() string

type BlockMessage

type BlockMessage struct {
	Header       *BlockHeaderMessage   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Transactions []*TransactionMessage `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockMessage) Descriptor deprecated

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

Deprecated: Use BlockMessage.ProtoReflect.Descriptor instead.

func (*BlockMessage) GetHeader

func (x *BlockMessage) GetHeader() *BlockHeaderMessage

func (*BlockMessage) GetTransactions

func (x *BlockMessage) GetTransactions() []*TransactionMessage

func (*BlockMessage) ProtoMessage

func (*BlockMessage) ProtoMessage()

func (*BlockMessage) ProtoReflect

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

func (*BlockMessage) Reset

func (x *BlockMessage) Reset()

func (*BlockMessage) String

func (x *BlockMessage) String() string

type BlockVerboseData

type BlockVerboseData struct {
	Hash                   string                    `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Version                uint32                    `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	VersionHex             string                    `protobuf:"bytes,3,opt,name=versionHex,proto3" json:"versionHex,omitempty"`
	HashMerkleRoot         string                    `protobuf:"bytes,4,opt,name=hashMerkleRoot,proto3" json:"hashMerkleRoot,omitempty"`
	AcceptedIDMerkleRoot   string                    `protobuf:"bytes,5,opt,name=acceptedIDMerkleRoot,proto3" json:"acceptedIDMerkleRoot,omitempty"`
	UtxoCommitment         string                    `protobuf:"bytes,6,opt,name=utxoCommitment,proto3" json:"utxoCommitment,omitempty"`
	TransactionVerboseData []*TransactionVerboseData `protobuf:"bytes,7,rep,name=transactionVerboseData,proto3" json:"transactionVerboseData,omitempty"`
	Time                   int64                     `protobuf:"varint,8,opt,name=time,proto3" json:"time,omitempty"`
	Nonce                  uint64                    `protobuf:"varint,9,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Bits                   string                    `protobuf:"bytes,10,opt,name=bits,proto3" json:"bits,omitempty"`
	Difficulty             float64                   `protobuf:"fixed64,11,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	ParentHashes           []string                  `protobuf:"bytes,12,rep,name=parentHashes,proto3" json:"parentHashes,omitempty"`
	ChildrenHashes         []string                  `protobuf:"bytes,17,rep,name=childrenHashes,proto3" json:"childrenHashes,omitempty"`
	SelectedParentHash     string                    `protobuf:"bytes,13,opt,name=selectedParentHash,proto3" json:"selectedParentHash,omitempty"`
	TransactionIDs         []string                  `protobuf:"bytes,14,rep,name=transactionIDs,proto3" json:"transactionIDs,omitempty"`
	IsHeaderOnly           bool                      `protobuf:"varint,15,opt,name=isHeaderOnly,proto3" json:"isHeaderOnly,omitempty"`
	BlueScore              uint64                    `protobuf:"varint,16,opt,name=blueScore,proto3" json:"blueScore,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockVerboseData) Descriptor deprecated

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

Deprecated: Use BlockVerboseData.ProtoReflect.Descriptor instead.

func (*BlockVerboseData) GetAcceptedIDMerkleRoot

func (x *BlockVerboseData) GetAcceptedIDMerkleRoot() string

func (*BlockVerboseData) GetBits

func (x *BlockVerboseData) GetBits() string

func (*BlockVerboseData) GetBlueScore

func (x *BlockVerboseData) GetBlueScore() uint64

func (*BlockVerboseData) GetChildrenHashes added in v0.9.0

func (x *BlockVerboseData) GetChildrenHashes() []string

func (*BlockVerboseData) GetDifficulty

func (x *BlockVerboseData) GetDifficulty() float64

func (*BlockVerboseData) GetHash

func (x *BlockVerboseData) GetHash() string

func (*BlockVerboseData) GetHashMerkleRoot

func (x *BlockVerboseData) GetHashMerkleRoot() string

func (*BlockVerboseData) GetIsHeaderOnly

func (x *BlockVerboseData) GetIsHeaderOnly() bool

func (*BlockVerboseData) GetNonce

func (x *BlockVerboseData) GetNonce() uint64

func (*BlockVerboseData) GetParentHashes

func (x *BlockVerboseData) GetParentHashes() []string

func (*BlockVerboseData) GetSelectedParentHash

func (x *BlockVerboseData) GetSelectedParentHash() string

func (*BlockVerboseData) GetTime

func (x *BlockVerboseData) GetTime() int64

func (*BlockVerboseData) GetTransactionIDs

func (x *BlockVerboseData) GetTransactionIDs() []string

func (*BlockVerboseData) GetTransactionVerboseData

func (x *BlockVerboseData) GetTransactionVerboseData() []*TransactionVerboseData

func (*BlockVerboseData) GetUtxoCommitment

func (x *BlockVerboseData) GetUtxoCommitment() string

func (*BlockVerboseData) GetVersion

func (x *BlockVerboseData) GetVersion() uint32

func (*BlockVerboseData) GetVersionHex

func (x *BlockVerboseData) GetVersionHex() string

func (*BlockVerboseData) ProtoMessage

func (*BlockVerboseData) ProtoMessage()

func (*BlockVerboseData) ProtoReflect

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

func (*BlockVerboseData) Reset

func (x *BlockVerboseData) Reset()

func (*BlockVerboseData) String

func (x *BlockVerboseData) String() string

type ChainBlock

type ChainBlock struct {
	Hash           string           `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	AcceptedBlocks []*AcceptedBlock `protobuf:"bytes,2,rep,name=acceptedBlocks,proto3" json:"acceptedBlocks,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainBlock) Descriptor deprecated

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

Deprecated: Use ChainBlock.ProtoReflect.Descriptor instead.

func (*ChainBlock) GetAcceptedBlocks

func (x *ChainBlock) GetAcceptedBlocks() []*AcceptedBlock

func (*ChainBlock) GetHash

func (x *ChainBlock) GetHash() string

func (*ChainBlock) ProtoMessage

func (*ChainBlock) ProtoMessage()

func (*ChainBlock) ProtoReflect

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

func (*ChainBlock) Reset

func (x *ChainBlock) Reset()

func (*ChainBlock) String

func (x *ChainBlock) String() string

type DoneHeadersMessage

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

func (*DoneHeadersMessage) Descriptor deprecated

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

Deprecated: Use DoneHeadersMessage.ProtoReflect.Descriptor instead.

func (*DoneHeadersMessage) ProtoMessage

func (*DoneHeadersMessage) ProtoMessage()

func (*DoneHeadersMessage) ProtoReflect

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

func (*DoneHeadersMessage) Reset

func (x *DoneHeadersMessage) Reset()

func (*DoneHeadersMessage) String

func (x *DoneHeadersMessage) String() string

type DonePruningPointUtxoSetChunksMessage

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

func (*DonePruningPointUtxoSetChunksMessage) Descriptor deprecated

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

Deprecated: Use DonePruningPointUtxoSetChunksMessage.ProtoReflect.Descriptor instead.

func (*DonePruningPointUtxoSetChunksMessage) ProtoMessage

func (*DonePruningPointUtxoSetChunksMessage) ProtoMessage()

func (*DonePruningPointUtxoSetChunksMessage) ProtoReflect

func (*DonePruningPointUtxoSetChunksMessage) Reset

func (*DonePruningPointUtxoSetChunksMessage) String

type FinalityConflictNotificationMessage

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

func (*FinalityConflictNotificationMessage) Descriptor deprecated

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

Deprecated: Use FinalityConflictNotificationMessage.ProtoReflect.Descriptor instead.

func (*FinalityConflictNotificationMessage) GetViolatingBlockHash

func (x *FinalityConflictNotificationMessage) GetViolatingBlockHash() string

func (*FinalityConflictNotificationMessage) ProtoMessage

func (*FinalityConflictNotificationMessage) ProtoMessage()

func (*FinalityConflictNotificationMessage) ProtoReflect

func (*FinalityConflictNotificationMessage) Reset

func (*FinalityConflictNotificationMessage) String

type FinalityConflictResolvedNotificationMessage

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

func (*FinalityConflictResolvedNotificationMessage) Descriptor deprecated

Deprecated: Use FinalityConflictResolvedNotificationMessage.ProtoReflect.Descriptor instead.

func (*FinalityConflictResolvedNotificationMessage) GetFinalityBlockHash

func (x *FinalityConflictResolvedNotificationMessage) GetFinalityBlockHash() string

func (*FinalityConflictResolvedNotificationMessage) ProtoMessage

func (*FinalityConflictResolvedNotificationMessage) ProtoReflect

func (*FinalityConflictResolvedNotificationMessage) Reset

func (*FinalityConflictResolvedNotificationMessage) String

type GetBlockCountRequestMessage

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

GetBlockCountRequestMessage requests the current number of blocks in this kaspad. Note that this number may decrease as pruning occurs.

func (*GetBlockCountRequestMessage) Descriptor deprecated

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

Deprecated: Use GetBlockCountRequestMessage.ProtoReflect.Descriptor instead.

func (*GetBlockCountRequestMessage) ProtoMessage

func (*GetBlockCountRequestMessage) ProtoMessage()

func (*GetBlockCountRequestMessage) ProtoReflect

func (*GetBlockCountRequestMessage) Reset

func (x *GetBlockCountRequestMessage) Reset()

func (*GetBlockCountRequestMessage) String

func (x *GetBlockCountRequestMessage) String() string

type GetBlockCountResponseMessage

type GetBlockCountResponseMessage struct {
	BlockCount  uint64    `protobuf:"varint,1,opt,name=blockCount,proto3" json:"blockCount,omitempty"`
	HeaderCount uint64    `protobuf:"varint,2,opt,name=headerCount,proto3" json:"headerCount,omitempty"`
	Error       *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockCountResponseMessage) Descriptor deprecated

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

Deprecated: Use GetBlockCountResponseMessage.ProtoReflect.Descriptor instead.

func (*GetBlockCountResponseMessage) GetBlockCount

func (x *GetBlockCountResponseMessage) GetBlockCount() uint64

func (*GetBlockCountResponseMessage) GetError

func (x *GetBlockCountResponseMessage) GetError() *RPCError

func (*GetBlockCountResponseMessage) GetHeaderCount

func (x *GetBlockCountResponseMessage) GetHeaderCount() uint64

func (*GetBlockCountResponseMessage) ProtoMessage

func (*GetBlockCountResponseMessage) ProtoMessage()

func (*GetBlockCountResponseMessage) ProtoReflect

func (*GetBlockCountResponseMessage) Reset

func (x *GetBlockCountResponseMessage) Reset()

func (*GetBlockCountResponseMessage) String

type GetBlockDagInfoRequestMessage

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

GetBlockDagInfoRequestMessage requests general information about the current state of this kaspad's DAG.

func (*GetBlockDagInfoRequestMessage) Descriptor deprecated

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

Deprecated: Use GetBlockDagInfoRequestMessage.ProtoReflect.Descriptor instead.

func (*GetBlockDagInfoRequestMessage) ProtoMessage

func (*GetBlockDagInfoRequestMessage) ProtoMessage()

func (*GetBlockDagInfoRequestMessage) ProtoReflect

func (*GetBlockDagInfoRequestMessage) Reset

func (x *GetBlockDagInfoRequestMessage) Reset()

func (*GetBlockDagInfoRequestMessage) String

type GetBlockDagInfoResponseMessage

type GetBlockDagInfoResponseMessage struct {
	NetworkName         string    `protobuf:"bytes,1,opt,name=networkName,proto3" json:"networkName,omitempty"`
	BlockCount          uint64    `protobuf:"varint,2,opt,name=blockCount,proto3" json:"blockCount,omitempty"`
	HeaderCount         uint64    `protobuf:"varint,3,opt,name=headerCount,proto3" json:"headerCount,omitempty"`
	TipHashes           []string  `protobuf:"bytes,4,rep,name=tipHashes,proto3" json:"tipHashes,omitempty"`
	Difficulty          float64   `protobuf:"fixed64,5,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	PastMedianTime      int64     `protobuf:"varint,6,opt,name=pastMedianTime,proto3" json:"pastMedianTime,omitempty"`
	VirtualParentHashes []string  `protobuf:"bytes,7,rep,name=virtualParentHashes,proto3" json:"virtualParentHashes,omitempty"`
	PruningPointHash    string    `protobuf:"bytes,8,opt,name=pruningPointHash,proto3" json:"pruningPointHash,omitempty"`
	Error               *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockDagInfoResponseMessage) Descriptor deprecated

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

Deprecated: Use GetBlockDagInfoResponseMessage.ProtoReflect.Descriptor instead.

func (*GetBlockDagInfoResponseMessage) GetBlockCount

func (x *GetBlockDagInfoResponseMessage) GetBlockCount() uint64

func (*GetBlockDagInfoResponseMessage) GetDifficulty

func (x *GetBlockDagInfoResponseMessage) GetDifficulty() float64

func (*GetBlockDagInfoResponseMessage) GetError

func (*GetBlockDagInfoResponseMessage) GetHeaderCount

func (x *GetBlockDagInfoResponseMessage) GetHeaderCount() uint64

func (*GetBlockDagInfoResponseMessage) GetNetworkName

func (x *GetBlockDagInfoResponseMessage) GetNetworkName() string

func (*GetBlockDagInfoResponseMessage) GetPastMedianTime

func (x *GetBlockDagInfoResponseMessage) GetPastMedianTime() int64

func (*GetBlockDagInfoResponseMessage) GetPruningPointHash added in v0.9.0

func (x *GetBlockDagInfoResponseMessage) GetPruningPointHash() string

func (*GetBlockDagInfoResponseMessage) GetTipHashes

func (x *GetBlockDagInfoResponseMessage) GetTipHashes() []string

func (*GetBlockDagInfoResponseMessage) GetVirtualParentHashes

func (x *GetBlockDagInfoResponseMessage) GetVirtualParentHashes() []string

func (*GetBlockDagInfoResponseMessage) ProtoMessage

func (*GetBlockDagInfoResponseMessage) ProtoMessage()

func (*GetBlockDagInfoResponseMessage) ProtoReflect

func (*GetBlockDagInfoResponseMessage) Reset

func (x *GetBlockDagInfoResponseMessage) Reset()

func (*GetBlockDagInfoResponseMessage) String

type GetBlockRequestMessage

type GetBlockRequestMessage struct {

	// The hash of the requested block
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// Whether to include transaction data in the response
	IncludeTransactionVerboseData bool `protobuf:"varint,3,opt,name=includeTransactionVerboseData,proto3" json:"includeTransactionVerboseData,omitempty"`
	// contains filtered or unexported fields
}

GetBlockRequestMessage requests information about a specific block

func (*GetBlockRequestMessage) Descriptor deprecated

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

Deprecated: Use GetBlockRequestMessage.ProtoReflect.Descriptor instead.

func (*GetBlockRequestMessage) GetHash

func (x *GetBlockRequestMessage) GetHash() string

func (*GetBlockRequestMessage) GetIncludeTransactionVerboseData

func (x *GetBlockRequestMessage) GetIncludeTransactionVerboseData() bool

func (*GetBlockRequestMessage) ProtoMessage

func (*GetBlockRequestMessage) ProtoMessage()

func (*GetBlockRequestMessage) ProtoReflect

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

func (*GetBlockRequestMessage) Reset

func (x *GetBlockRequestMessage) Reset()

func (*GetBlockRequestMessage) String

func (x *GetBlockRequestMessage) String() string

type GetBlockResponseMessage

type GetBlockResponseMessage struct {
	BlockHash        string            `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	BlockVerboseData *BlockVerboseData `protobuf:"bytes,2,opt,name=blockVerboseData,proto3" json:"blockVerboseData,omitempty"`
	Error            *RPCError         `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockResponseMessage) Descriptor deprecated

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

Deprecated: Use GetBlockResponseMessage.ProtoReflect.Descriptor instead.

func (*GetBlockResponseMessage) GetBlockHash

func (x *GetBlockResponseMessage) GetBlockHash() string

func (*GetBlockResponseMessage) GetBlockVerboseData

func (x *GetBlockResponseMessage) GetBlockVerboseData() *BlockVerboseData

func (*GetBlockResponseMessage) GetError

func (x *GetBlockResponseMessage) GetError() *RPCError

func (*GetBlockResponseMessage) ProtoMessage

func (*GetBlockResponseMessage) ProtoMessage()

func (*GetBlockResponseMessage) ProtoReflect

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

func (*GetBlockResponseMessage) Reset

func (x *GetBlockResponseMessage) Reset()

func (*GetBlockResponseMessage) String

func (x *GetBlockResponseMessage) String() string

type GetBlockTemplateRequestMessage

type GetBlockTemplateRequestMessage struct {

	// Which kaspa address should the coinbase block reward transaction pay into
	PayAddress string `protobuf:"bytes,1,opt,name=payAddress,proto3" json:"payAddress,omitempty"`
	// contains filtered or unexported fields
}

GetBlockTemplateRequestMessage requests a current block template. Callers are expected to solve the block template and submit it using the submitBlock call

See: SubmitBlockRequestMessage

func (*GetBlockTemplateRequestMessage) Descriptor deprecated

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

Deprecated: Use GetBlockTemplateRequestMessage.ProtoReflect.Descriptor instead.

func (*GetBlockTemplateRequestMessage) GetPayAddress

func (x *GetBlockTemplateRequestMessage) GetPayAddress() string

func (*GetBlockTemplateRequestMessage) ProtoMessage

func (*GetBlockTemplateRequestMessage) ProtoMessage()

func (*GetBlockTemplateRequestMessage) ProtoReflect

func (*GetBlockTemplateRequestMessage) Reset

func (x *GetBlockTemplateRequestMessage) Reset()

func (*GetBlockTemplateRequestMessage) String

type GetBlockTemplateResponseMessage

type GetBlockTemplateResponseMessage struct {
	BlockMessage *BlockMessage `protobuf:"bytes,1,opt,name=blockMessage,proto3" json:"blockMessage,omitempty"`
	// Whether kaspad thinks that it's synced.
	// Callers are discouraged (but not forbidden) from solving blocks when kaspad is not synced.
	// That is because when kaspad isn't in sync with the rest of the network there's a high
	// chance the block will never be accepted, thus the solving effort would have been wasted.
	IsSynced bool      `protobuf:"varint,2,opt,name=isSynced,proto3" json:"isSynced,omitempty"`
	Error    *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockTemplateResponseMessage) Descriptor deprecated

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

Deprecated: Use GetBlockTemplateResponseMessage.ProtoReflect.Descriptor instead.

func (*GetBlockTemplateResponseMessage) GetBlockMessage

func (x *GetBlockTemplateResponseMessage) GetBlockMessage() *BlockMessage

func (*GetBlockTemplateResponseMessage) GetError

func (*GetBlockTemplateResponseMessage) GetIsSynced

func (x *GetBlockTemplateResponseMessage) GetIsSynced() bool

func (*GetBlockTemplateResponseMessage) ProtoMessage

func (*GetBlockTemplateResponseMessage) ProtoMessage()

func (*GetBlockTemplateResponseMessage) ProtoReflect

func (*GetBlockTemplateResponseMessage) Reset

func (*GetBlockTemplateResponseMessage) String

type GetBlocksRequestMessage

type GetBlocksRequestMessage struct {
	LowHash                       string `protobuf:"bytes,1,opt,name=lowHash,proto3" json:"lowHash,omitempty"`
	IncludeBlockVerboseData       bool   `protobuf:"varint,2,opt,name=includeBlockVerboseData,proto3" json:"includeBlockVerboseData,omitempty"`
	IncludeTransactionVerboseData bool   `protobuf:"varint,3,opt,name=includeTransactionVerboseData,proto3" json:"includeTransactionVerboseData,omitempty"`
	// contains filtered or unexported fields
}

GetBlocksRequestMessage requests blocks between a certain block lowHash up to this kaspad's current virtual.

func (*GetBlocksRequestMessage) Descriptor deprecated

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

Deprecated: Use GetBlocksRequestMessage.ProtoReflect.Descriptor instead.

func (*GetBlocksRequestMessage) GetIncludeBlockVerboseData

func (x *GetBlocksRequestMessage) GetIncludeBlockVerboseData() bool

func (*GetBlocksRequestMessage) GetIncludeTransactionVerboseData

func (x *GetBlocksRequestMessage) GetIncludeTransactionVerboseData() bool

func (*GetBlocksRequestMessage) GetLowHash

func (x *GetBlocksRequestMessage) GetLowHash() string

func (*GetBlocksRequestMessage) ProtoMessage

func (*GetBlocksRequestMessage) ProtoMessage()

func (*GetBlocksRequestMessage) ProtoReflect

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

func (*GetBlocksRequestMessage) Reset

func (x *GetBlocksRequestMessage) Reset()

func (*GetBlocksRequestMessage) String

func (x *GetBlocksRequestMessage) String() string

type GetBlocksResponseMessage

type GetBlocksResponseMessage struct {
	BlockHashes      []string            `protobuf:"bytes,1,rep,name=blockHashes,proto3" json:"blockHashes,omitempty"`
	BlockVerboseData []*BlockVerboseData `protobuf:"bytes,2,rep,name=blockVerboseData,proto3" json:"blockVerboseData,omitempty"`
	Error            *RPCError           `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlocksResponseMessage) Descriptor deprecated

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

Deprecated: Use GetBlocksResponseMessage.ProtoReflect.Descriptor instead.

func (*GetBlocksResponseMessage) GetBlockHashes

func (x *GetBlocksResponseMessage) GetBlockHashes() []string

func (*GetBlocksResponseMessage) GetBlockVerboseData

func (x *GetBlocksResponseMessage) GetBlockVerboseData() []*BlockVerboseData

func (*GetBlocksResponseMessage) GetError

func (x *GetBlocksResponseMessage) GetError() *RPCError

func (*GetBlocksResponseMessage) ProtoMessage

func (*GetBlocksResponseMessage) ProtoMessage()

func (*GetBlocksResponseMessage) ProtoReflect

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

func (*GetBlocksResponseMessage) Reset

func (x *GetBlocksResponseMessage) Reset()

func (*GetBlocksResponseMessage) String

func (x *GetBlocksResponseMessage) String() string

type GetConnectedPeerInfoMessage

type GetConnectedPeerInfoMessage struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// How long did the last ping/pong exchange take
	LastPingDuration int64 `protobuf:"varint,3,opt,name=lastPingDuration,proto3" json:"lastPingDuration,omitempty"`
	// Whether this kaspad initiated the connection
	IsOutbound bool   `protobuf:"varint,6,opt,name=isOutbound,proto3" json:"isOutbound,omitempty"`
	TimeOffset int64  `protobuf:"varint,7,opt,name=timeOffset,proto3" json:"timeOffset,omitempty"`
	UserAgent  string `protobuf:"bytes,8,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
	// The protocol version that this peer claims to support
	AdvertisedProtocolVersion uint32 `protobuf:"varint,9,opt,name=advertisedProtocolVersion,proto3" json:"advertisedProtocolVersion,omitempty"`
	// The timestamp of when this peer connected to this kaspad
	TimeConnected int64 `protobuf:"varint,10,opt,name=timeConnected,proto3" json:"timeConnected,omitempty"`
	// Whether this peer is the IBD peer (if IBD is running)
	IsIbdPeer bool `protobuf:"varint,11,opt,name=isIbdPeer,proto3" json:"isIbdPeer,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedPeerInfoMessage) Descriptor deprecated

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

Deprecated: Use GetConnectedPeerInfoMessage.ProtoReflect.Descriptor instead.

func (*GetConnectedPeerInfoMessage) GetAddress

func (x *GetConnectedPeerInfoMessage) GetAddress() string

func (*GetConnectedPeerInfoMessage) GetAdvertisedProtocolVersion

func (x *GetConnectedPeerInfoMessage) GetAdvertisedProtocolVersion() uint32

func (*GetConnectedPeerInfoMessage) GetId

func (*GetConnectedPeerInfoMessage) GetIsIbdPeer

func (x *GetConnectedPeerInfoMessage) GetIsIbdPeer() bool

func (*GetConnectedPeerInfoMessage) GetIsOutbound

func (x *GetConnectedPeerInfoMessage) GetIsOutbound() bool

func (*GetConnectedPeerInfoMessage) GetLastPingDuration

func (x *GetConnectedPeerInfoMessage) GetLastPingDuration() int64

func (*GetConnectedPeerInfoMessage) GetTimeConnected

func (x *GetConnectedPeerInfoMessage) GetTimeConnected() int64

func (*GetConnectedPeerInfoMessage) GetTimeOffset

func (x *GetConnectedPeerInfoMessage) GetTimeOffset() int64

func (*GetConnectedPeerInfoMessage) GetUserAgent

func (x *GetConnectedPeerInfoMessage) GetUserAgent() string

func (*GetConnectedPeerInfoMessage) ProtoMessage

func (*GetConnectedPeerInfoMessage) ProtoMessage()

func (*GetConnectedPeerInfoMessage) ProtoReflect

func (*GetConnectedPeerInfoMessage) Reset

func (x *GetConnectedPeerInfoMessage) Reset()

func (*GetConnectedPeerInfoMessage) String

func (x *GetConnectedPeerInfoMessage) String() string

type GetConnectedPeerInfoRequestMessage

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

GetConnectedPeerInfoRequestMessage requests information about all the p2p peers currently connected to this kaspad.

func (*GetConnectedPeerInfoRequestMessage) Descriptor deprecated

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

Deprecated: Use GetConnectedPeerInfoRequestMessage.ProtoReflect.Descriptor instead.

func (*GetConnectedPeerInfoRequestMessage) ProtoMessage

func (*GetConnectedPeerInfoRequestMessage) ProtoMessage()

func (*GetConnectedPeerInfoRequestMessage) ProtoReflect

func (*GetConnectedPeerInfoRequestMessage) Reset

func (*GetConnectedPeerInfoRequestMessage) String

type GetConnectedPeerInfoResponseMessage

type GetConnectedPeerInfoResponseMessage struct {
	Infos []*GetConnectedPeerInfoMessage `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	Error *RPCError                      `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedPeerInfoResponseMessage) Descriptor deprecated

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

Deprecated: Use GetConnectedPeerInfoResponseMessage.ProtoReflect.Descriptor instead.

func (*GetConnectedPeerInfoResponseMessage) GetError

func (*GetConnectedPeerInfoResponseMessage) GetInfos

func (*GetConnectedPeerInfoResponseMessage) ProtoMessage

func (*GetConnectedPeerInfoResponseMessage) ProtoMessage()

func (*GetConnectedPeerInfoResponseMessage) ProtoReflect

func (*GetConnectedPeerInfoResponseMessage) Reset

func (*GetConnectedPeerInfoResponseMessage) String

type GetCurrentNetworkRequestMessage

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

GetCurrentNetworkRequestMessage requests the network kaspad is currently running against.

Possible networks are: Mainnet, Testnet, Simnet, Devnet

func (*GetCurrentNetworkRequestMessage) Descriptor deprecated

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

Deprecated: Use GetCurrentNetworkRequestMessage.ProtoReflect.Descriptor instead.

func (*GetCurrentNetworkRequestMessage) ProtoMessage

func (*GetCurrentNetworkRequestMessage) ProtoMessage()

func (*GetCurrentNetworkRequestMessage) ProtoReflect

func (*GetCurrentNetworkRequestMessage) Reset

func (*GetCurrentNetworkRequestMessage) String

type GetCurrentNetworkResponseMessage

type GetCurrentNetworkResponseMessage struct {
	CurrentNetwork string    `protobuf:"bytes,1,opt,name=currentNetwork,proto3" json:"currentNetwork,omitempty"`
	Error          *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentNetworkResponseMessage) Descriptor deprecated

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

Deprecated: Use GetCurrentNetworkResponseMessage.ProtoReflect.Descriptor instead.

func (*GetCurrentNetworkResponseMessage) GetCurrentNetwork

func (x *GetCurrentNetworkResponseMessage) GetCurrentNetwork() string

func (*GetCurrentNetworkResponseMessage) GetError

func (*GetCurrentNetworkResponseMessage) ProtoMessage

func (*GetCurrentNetworkResponseMessage) ProtoMessage()

func (*GetCurrentNetworkResponseMessage) ProtoReflect

func (*GetCurrentNetworkResponseMessage) Reset

func (*GetCurrentNetworkResponseMessage) String

type GetHeadersRequestMessage

type GetHeadersRequestMessage struct {
	StartHash   string `protobuf:"bytes,1,opt,name=startHash,proto3" json:"startHash,omitempty"`
	Limit       uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	IsAscending bool   `protobuf:"varint,3,opt,name=isAscending,proto3" json:"isAscending,omitempty"`
	// contains filtered or unexported fields
}

GetHeadersRequestMessage requests headers between the given startHash and the current virtual, up to the given limit.

func (*GetHeadersRequestMessage) Descriptor deprecated

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

Deprecated: Use GetHeadersRequestMessage.ProtoReflect.Descriptor instead.

func (*GetHeadersRequestMessage) GetIsAscending

func (x *GetHeadersRequestMessage) GetIsAscending() bool

func (*GetHeadersRequestMessage) GetLimit

func (x *GetHeadersRequestMessage) GetLimit() uint64

func (*GetHeadersRequestMessage) GetStartHash

func (x *GetHeadersRequestMessage) GetStartHash() string

func (*GetHeadersRequestMessage) ProtoMessage

func (*GetHeadersRequestMessage) ProtoMessage()

func (*GetHeadersRequestMessage) ProtoReflect

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

func (*GetHeadersRequestMessage) Reset

func (x *GetHeadersRequestMessage) Reset()

func (*GetHeadersRequestMessage) String

func (x *GetHeadersRequestMessage) String() string

type GetHeadersResponseMessage

type GetHeadersResponseMessage struct {
	Headers []string  `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	Error   *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHeadersResponseMessage) Descriptor deprecated

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

Deprecated: Use GetHeadersResponseMessage.ProtoReflect.Descriptor instead.

func (*GetHeadersResponseMessage) GetError

func (x *GetHeadersResponseMessage) GetError() *RPCError

func (*GetHeadersResponseMessage) GetHeaders

func (x *GetHeadersResponseMessage) GetHeaders() []string

func (*GetHeadersResponseMessage) ProtoMessage

func (*GetHeadersResponseMessage) ProtoMessage()

func (*GetHeadersResponseMessage) ProtoReflect

func (*GetHeadersResponseMessage) Reset

func (x *GetHeadersResponseMessage) Reset()

func (*GetHeadersResponseMessage) String

func (x *GetHeadersResponseMessage) String() string

type GetInfoRequestMessage

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

GetInfoRequestMessage returns info about the node.

func (*GetInfoRequestMessage) Descriptor deprecated

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

Deprecated: Use GetInfoRequestMessage.ProtoReflect.Descriptor instead.

func (*GetInfoRequestMessage) ProtoMessage

func (*GetInfoRequestMessage) ProtoMessage()

func (*GetInfoRequestMessage) ProtoReflect

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

func (*GetInfoRequestMessage) Reset

func (x *GetInfoRequestMessage) Reset()

func (*GetInfoRequestMessage) String

func (x *GetInfoRequestMessage) String() string

type GetInfoResponseMessage

type GetInfoResponseMessage struct {
	P2PId string    `protobuf:"bytes,1,opt,name=p2pId,proto3" json:"p2pId,omitempty"`
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInfoResponseMessage) Descriptor deprecated

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

Deprecated: Use GetInfoResponseMessage.ProtoReflect.Descriptor instead.

func (*GetInfoResponseMessage) GetError

func (x *GetInfoResponseMessage) GetError() *RPCError

func (*GetInfoResponseMessage) GetP2PId

func (x *GetInfoResponseMessage) GetP2PId() string

func (*GetInfoResponseMessage) ProtoMessage

func (*GetInfoResponseMessage) ProtoMessage()

func (*GetInfoResponseMessage) ProtoReflect

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

func (*GetInfoResponseMessage) Reset

func (x *GetInfoResponseMessage) Reset()

func (*GetInfoResponseMessage) String

func (x *GetInfoResponseMessage) String() string

type GetMempoolEntriesRequestMessage

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

GetMempoolEntriesRequestMessage requests information about all the transactions currently in the mempool.

func (*GetMempoolEntriesRequestMessage) Descriptor deprecated

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

Deprecated: Use GetMempoolEntriesRequestMessage.ProtoReflect.Descriptor instead.

func (*GetMempoolEntriesRequestMessage) ProtoMessage

func (*GetMempoolEntriesRequestMessage) ProtoMessage()

func (*GetMempoolEntriesRequestMessage) ProtoReflect

func (*GetMempoolEntriesRequestMessage) Reset

func (*GetMempoolEntriesRequestMessage) String

type GetMempoolEntriesResponseMessage

type GetMempoolEntriesResponseMessage struct {
	Entries []*MempoolEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	Error   *RPCError       `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMempoolEntriesResponseMessage) Descriptor deprecated

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

Deprecated: Use GetMempoolEntriesResponseMessage.ProtoReflect.Descriptor instead.

func (*GetMempoolEntriesResponseMessage) GetEntries

func (*GetMempoolEntriesResponseMessage) GetError

func (*GetMempoolEntriesResponseMessage) ProtoMessage

func (*GetMempoolEntriesResponseMessage) ProtoMessage()

func (*GetMempoolEntriesResponseMessage) ProtoReflect

func (*GetMempoolEntriesResponseMessage) Reset

func (*GetMempoolEntriesResponseMessage) String

type GetMempoolEntryRequestMessage

type GetMempoolEntryRequestMessage struct {

	// The transaction's TransactionID.
	TxId string `protobuf:"bytes,1,opt,name=txId,proto3" json:"txId,omitempty"`
	// contains filtered or unexported fields
}

GetMempoolEntryRequestMessage requests information about a specific transaction in the mempool.

func (*GetMempoolEntryRequestMessage) Descriptor deprecated

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

Deprecated: Use GetMempoolEntryRequestMessage.ProtoReflect.Descriptor instead.

func (*GetMempoolEntryRequestMessage) GetTxId

func (*GetMempoolEntryRequestMessage) ProtoMessage

func (*GetMempoolEntryRequestMessage) ProtoMessage()

func (*GetMempoolEntryRequestMessage) ProtoReflect

func (*GetMempoolEntryRequestMessage) Reset

func (x *GetMempoolEntryRequestMessage) Reset()

func (*GetMempoolEntryRequestMessage) String

type GetMempoolEntryResponseMessage

type GetMempoolEntryResponseMessage struct {
	Entry *MempoolEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Error *RPCError     `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMempoolEntryResponseMessage) Descriptor deprecated

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

Deprecated: Use GetMempoolEntryResponseMessage.ProtoReflect.Descriptor instead.

func (*GetMempoolEntryResponseMessage) GetEntry

func (*GetMempoolEntryResponseMessage) GetError

func (*GetMempoolEntryResponseMessage) ProtoMessage

func (*GetMempoolEntryResponseMessage) ProtoMessage()

func (*GetMempoolEntryResponseMessage) ProtoReflect

func (*GetMempoolEntryResponseMessage) Reset

func (x *GetMempoolEntryResponseMessage) Reset()

func (*GetMempoolEntryResponseMessage) String

type GetPeerAddressesKnownAddressMessage

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

func (*GetPeerAddressesKnownAddressMessage) Descriptor deprecated

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

Deprecated: Use GetPeerAddressesKnownAddressMessage.ProtoReflect.Descriptor instead.

func (*GetPeerAddressesKnownAddressMessage) GetAddr

func (*GetPeerAddressesKnownAddressMessage) ProtoMessage

func (*GetPeerAddressesKnownAddressMessage) ProtoMessage()

func (*GetPeerAddressesKnownAddressMessage) ProtoReflect

func (*GetPeerAddressesKnownAddressMessage) Reset

func (*GetPeerAddressesKnownAddressMessage) String

type GetPeerAddressesRequestMessage

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

GetPeerAddressesRequestMessage requests the list of known kaspad addresses in the current network. (mainnet, testnet, etc.)

func (*GetPeerAddressesRequestMessage) Descriptor deprecated

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

Deprecated: Use GetPeerAddressesRequestMessage.ProtoReflect.Descriptor instead.

func (*GetPeerAddressesRequestMessage) ProtoMessage

func (*GetPeerAddressesRequestMessage) ProtoMessage()

func (*GetPeerAddressesRequestMessage) ProtoReflect

func (*GetPeerAddressesRequestMessage) Reset

func (x *GetPeerAddressesRequestMessage) Reset()

func (*GetPeerAddressesRequestMessage) String

type GetPeerAddressesResponseMessage

type GetPeerAddressesResponseMessage struct {
	Addresses       []*GetPeerAddressesKnownAddressMessage `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	BannedAddresses []*GetPeerAddressesKnownAddressMessage `protobuf:"bytes,2,rep,name=bannedAddresses,proto3" json:"bannedAddresses,omitempty"`
	Error           *RPCError                              `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPeerAddressesResponseMessage) Descriptor deprecated

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

Deprecated: Use GetPeerAddressesResponseMessage.ProtoReflect.Descriptor instead.

func (*GetPeerAddressesResponseMessage) GetAddresses

func (*GetPeerAddressesResponseMessage) GetBannedAddresses

func (*GetPeerAddressesResponseMessage) GetError

func (*GetPeerAddressesResponseMessage) ProtoMessage

func (*GetPeerAddressesResponseMessage) ProtoMessage()

func (*GetPeerAddressesResponseMessage) ProtoReflect

func (*GetPeerAddressesResponseMessage) Reset

func (*GetPeerAddressesResponseMessage) String

type GetSelectedTipHashRequestMessage

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

GetSelectedTipHashRequestMessage requests the hash of the current virtual's selected parent.

func (*GetSelectedTipHashRequestMessage) Descriptor deprecated

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

Deprecated: Use GetSelectedTipHashRequestMessage.ProtoReflect.Descriptor instead.

func (*GetSelectedTipHashRequestMessage) ProtoMessage

func (*GetSelectedTipHashRequestMessage) ProtoMessage()

func (*GetSelectedTipHashRequestMessage) ProtoReflect

func (*GetSelectedTipHashRequestMessage) Reset

func (*GetSelectedTipHashRequestMessage) String

type GetSelectedTipHashResponseMessage

type GetSelectedTipHashResponseMessage struct {
	SelectedTipHash string    `protobuf:"bytes,1,opt,name=selectedTipHash,proto3" json:"selectedTipHash,omitempty"`
	Error           *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSelectedTipHashResponseMessage) Descriptor deprecated

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

Deprecated: Use GetSelectedTipHashResponseMessage.ProtoReflect.Descriptor instead.

func (*GetSelectedTipHashResponseMessage) GetError

func (*GetSelectedTipHashResponseMessage) GetSelectedTipHash

func (x *GetSelectedTipHashResponseMessage) GetSelectedTipHash() string

func (*GetSelectedTipHashResponseMessage) ProtoMessage

func (*GetSelectedTipHashResponseMessage) ProtoMessage()

func (*GetSelectedTipHashResponseMessage) ProtoReflect

func (*GetSelectedTipHashResponseMessage) Reset

func (*GetSelectedTipHashResponseMessage) String

type GetSubnetworkRequestMessage

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

GetSubnetworkRequestMessage requests information about a specific subnetwork

Currently unimplemented

func (*GetSubnetworkRequestMessage) Descriptor deprecated

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

Deprecated: Use GetSubnetworkRequestMessage.ProtoReflect.Descriptor instead.

func (*GetSubnetworkRequestMessage) GetSubnetworkId

func (x *GetSubnetworkRequestMessage) GetSubnetworkId() string

func (*GetSubnetworkRequestMessage) ProtoMessage

func (*GetSubnetworkRequestMessage) ProtoMessage()

func (*GetSubnetworkRequestMessage) ProtoReflect

func (*GetSubnetworkRequestMessage) Reset

func (x *GetSubnetworkRequestMessage) Reset()

func (*GetSubnetworkRequestMessage) String

func (x *GetSubnetworkRequestMessage) String() string

type GetSubnetworkResponseMessage

type GetSubnetworkResponseMessage struct {
	GasLimit uint64    `protobuf:"varint,1,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
	Error    *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubnetworkResponseMessage) Descriptor deprecated

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

Deprecated: Use GetSubnetworkResponseMessage.ProtoReflect.Descriptor instead.

func (*GetSubnetworkResponseMessage) GetError

func (x *GetSubnetworkResponseMessage) GetError() *RPCError

func (*GetSubnetworkResponseMessage) GetGasLimit

func (x *GetSubnetworkResponseMessage) GetGasLimit() uint64

func (*GetSubnetworkResponseMessage) ProtoMessage

func (*GetSubnetworkResponseMessage) ProtoMessage()

func (*GetSubnetworkResponseMessage) ProtoReflect

func (*GetSubnetworkResponseMessage) Reset

func (x *GetSubnetworkResponseMessage) Reset()

func (*GetSubnetworkResponseMessage) String

type GetUtxosByAddressesRequestMessage

type GetUtxosByAddressesRequestMessage struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

GetUtxosByAddressesRequestMessage requests all current UTXOs for the given kaspad addresses

This call is only available when this kaspad was started with `--utxoindex`

func (*GetUtxosByAddressesRequestMessage) Descriptor deprecated

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

Deprecated: Use GetUtxosByAddressesRequestMessage.ProtoReflect.Descriptor instead.

func (*GetUtxosByAddressesRequestMessage) GetAddresses

func (x *GetUtxosByAddressesRequestMessage) GetAddresses() []string

func (*GetUtxosByAddressesRequestMessage) ProtoMessage

func (*GetUtxosByAddressesRequestMessage) ProtoMessage()

func (*GetUtxosByAddressesRequestMessage) ProtoReflect

func (*GetUtxosByAddressesRequestMessage) Reset

func (*GetUtxosByAddressesRequestMessage) String

type GetUtxosByAddressesResponseMessage

type GetUtxosByAddressesResponseMessage struct {
	Entries []*UtxosByAddressesEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	Error   *RPCError                `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUtxosByAddressesResponseMessage) Descriptor deprecated

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

Deprecated: Use GetUtxosByAddressesResponseMessage.ProtoReflect.Descriptor instead.

func (*GetUtxosByAddressesResponseMessage) GetEntries

func (*GetUtxosByAddressesResponseMessage) GetError

func (*GetUtxosByAddressesResponseMessage) ProtoMessage

func (*GetUtxosByAddressesResponseMessage) ProtoMessage()

func (*GetUtxosByAddressesResponseMessage) ProtoReflect

func (*GetUtxosByAddressesResponseMessage) Reset

func (*GetUtxosByAddressesResponseMessage) String

type GetVirtualSelectedParentBlueScoreRequestMessage

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

GetVirtualSelectedParentBlueScoreRequestMessage requests the blue score of the current selected parent of the virtual block.

func (*GetVirtualSelectedParentBlueScoreRequestMessage) Descriptor deprecated

Deprecated: Use GetVirtualSelectedParentBlueScoreRequestMessage.ProtoReflect.Descriptor instead.

func (*GetVirtualSelectedParentBlueScoreRequestMessage) ProtoMessage

func (*GetVirtualSelectedParentBlueScoreRequestMessage) ProtoReflect

func (*GetVirtualSelectedParentBlueScoreRequestMessage) Reset

func (*GetVirtualSelectedParentBlueScoreRequestMessage) String

type GetVirtualSelectedParentBlueScoreResponseMessage

type GetVirtualSelectedParentBlueScoreResponseMessage struct {
	BlueScore uint64    `protobuf:"varint,1,opt,name=blueScore,proto3" json:"blueScore,omitempty"`
	Error     *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualSelectedParentBlueScoreResponseMessage) Descriptor deprecated

Deprecated: Use GetVirtualSelectedParentBlueScoreResponseMessage.ProtoReflect.Descriptor instead.

func (*GetVirtualSelectedParentBlueScoreResponseMessage) GetBlueScore

func (*GetVirtualSelectedParentBlueScoreResponseMessage) GetError

func (*GetVirtualSelectedParentBlueScoreResponseMessage) ProtoMessage

func (*GetVirtualSelectedParentBlueScoreResponseMessage) ProtoReflect

func (*GetVirtualSelectedParentBlueScoreResponseMessage) Reset

func (*GetVirtualSelectedParentBlueScoreResponseMessage) String

type GetVirtualSelectedParentChainFromBlockRequestMessage

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

GetVirtualSelectedParentChainFromBlockRequestMessage requests the virtual selected parent chain from some startHash to this kaspad's current virtual

func (*GetVirtualSelectedParentChainFromBlockRequestMessage) Descriptor deprecated

Deprecated: Use GetVirtualSelectedParentChainFromBlockRequestMessage.ProtoReflect.Descriptor instead.

func (*GetVirtualSelectedParentChainFromBlockRequestMessage) GetStartHash

func (*GetVirtualSelectedParentChainFromBlockRequestMessage) ProtoMessage

func (*GetVirtualSelectedParentChainFromBlockRequestMessage) ProtoReflect

func (*GetVirtualSelectedParentChainFromBlockRequestMessage) Reset

func (*GetVirtualSelectedParentChainFromBlockRequestMessage) String

type GetVirtualSelectedParentChainFromBlockResponseMessage

type GetVirtualSelectedParentChainFromBlockResponseMessage struct {

	// The chain blocks that were removed, in high-to-low order
	RemovedChainBlockHashes []string `protobuf:"bytes,1,rep,name=removedChainBlockHashes,proto3" json:"removedChainBlockHashes,omitempty"`
	// The chain blocks that were added, in low-to-high order
	AddedChainBlocks []*ChainBlock `protobuf:"bytes,2,rep,name=addedChainBlocks,proto3" json:"addedChainBlocks,omitempty"`
	Error            *RPCError     `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) Descriptor deprecated

Deprecated: Use GetVirtualSelectedParentChainFromBlockResponseMessage.ProtoReflect.Descriptor instead.

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) GetAddedChainBlocks

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) GetError

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) GetRemovedChainBlockHashes

func (x *GetVirtualSelectedParentChainFromBlockResponseMessage) GetRemovedChainBlockHashes() []string

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) ProtoMessage

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) ProtoReflect

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) Reset

func (*GetVirtualSelectedParentChainFromBlockResponseMessage) String

type Hash

type Hash struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*Hash) Descriptor deprecated

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

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetBytes

func (x *Hash) GetBytes() []byte

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

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

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

type IbdBlockLocatorHighestHashMessage

type IbdBlockLocatorHighestHashMessage struct {
	HighestHash *Hash `protobuf:"bytes,1,opt,name=highestHash,proto3" json:"highestHash,omitempty"`
	// contains filtered or unexported fields
}

func (*IbdBlockLocatorHighestHashMessage) Descriptor deprecated

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

Deprecated: Use IbdBlockLocatorHighestHashMessage.ProtoReflect.Descriptor instead.

func (*IbdBlockLocatorHighestHashMessage) GetHighestHash

func (x *IbdBlockLocatorHighestHashMessage) GetHighestHash() *Hash

func (*IbdBlockLocatorHighestHashMessage) ProtoMessage

func (*IbdBlockLocatorHighestHashMessage) ProtoMessage()

func (*IbdBlockLocatorHighestHashMessage) ProtoReflect

func (*IbdBlockLocatorHighestHashMessage) Reset

func (*IbdBlockLocatorHighestHashMessage) String

type IbdBlockLocatorHighestHashNotFoundMessage

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

func (*IbdBlockLocatorHighestHashNotFoundMessage) Descriptor deprecated

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

Deprecated: Use IbdBlockLocatorHighestHashNotFoundMessage.ProtoReflect.Descriptor instead.

func (*IbdBlockLocatorHighestHashNotFoundMessage) ProtoMessage

func (*IbdBlockLocatorHighestHashNotFoundMessage) ProtoReflect

func (*IbdBlockLocatorHighestHashNotFoundMessage) Reset

func (*IbdBlockLocatorHighestHashNotFoundMessage) String

type IbdBlockLocatorMessage

type IbdBlockLocatorMessage struct {
	TargetHash         *Hash   `protobuf:"bytes,1,opt,name=targetHash,proto3" json:"targetHash,omitempty"`
	BlockLocatorHashes []*Hash `protobuf:"bytes,2,rep,name=blockLocatorHashes,proto3" json:"blockLocatorHashes,omitempty"`
	// contains filtered or unexported fields
}

func (*IbdBlockLocatorMessage) Descriptor deprecated

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

Deprecated: Use IbdBlockLocatorMessage.ProtoReflect.Descriptor instead.

func (*IbdBlockLocatorMessage) GetBlockLocatorHashes

func (x *IbdBlockLocatorMessage) GetBlockLocatorHashes() []*Hash

func (*IbdBlockLocatorMessage) GetTargetHash

func (x *IbdBlockLocatorMessage) GetTargetHash() *Hash

func (*IbdBlockLocatorMessage) ProtoMessage

func (*IbdBlockLocatorMessage) ProtoMessage()

func (*IbdBlockLocatorMessage) ProtoReflect

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

func (*IbdBlockLocatorMessage) Reset

func (x *IbdBlockLocatorMessage) Reset()

func (*IbdBlockLocatorMessage) String

func (x *IbdBlockLocatorMessage) String() string

type InvRelayBlockMessage

type InvRelayBlockMessage struct {
	Hash *Hash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*InvRelayBlockMessage) Descriptor deprecated

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

Deprecated: Use InvRelayBlockMessage.ProtoReflect.Descriptor instead.

func (*InvRelayBlockMessage) GetHash

func (x *InvRelayBlockMessage) GetHash() *Hash

func (*InvRelayBlockMessage) ProtoMessage

func (*InvRelayBlockMessage) ProtoMessage()

func (*InvRelayBlockMessage) ProtoReflect

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

func (*InvRelayBlockMessage) Reset

func (x *InvRelayBlockMessage) Reset()

func (*InvRelayBlockMessage) String

func (x *InvRelayBlockMessage) String() string

type InvTransactionsMessage

type InvTransactionsMessage struct {
	Ids []*TransactionId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*InvTransactionsMessage) Descriptor deprecated

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

Deprecated: Use InvTransactionsMessage.ProtoReflect.Descriptor instead.

func (*InvTransactionsMessage) GetIds

func (x *InvTransactionsMessage) GetIds() []*TransactionId

func (*InvTransactionsMessage) ProtoMessage

func (*InvTransactionsMessage) ProtoMessage()

func (*InvTransactionsMessage) ProtoReflect

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

func (*InvTransactionsMessage) Reset

func (x *InvTransactionsMessage) Reset()

func (*InvTransactionsMessage) String

func (x *InvTransactionsMessage) String() string

type KaspadMessage

type KaspadMessage struct {

	// Types that are assignable to Payload:
	//	*KaspadMessage_Addresses
	//	*KaspadMessage_Block
	//	*KaspadMessage_Transaction
	//	*KaspadMessage_RequestBlockLocator
	//	*KaspadMessage_BlockLocator
	//	*KaspadMessage_RequestAddresses
	//	*KaspadMessage_RequestHeaders
	//	*KaspadMessage_RequestNextHeaders
	//	*KaspadMessage_DoneHeaders
	//	*KaspadMessage_RequestRelayBlocks
	//	*KaspadMessage_RequestTransactions
	//	*KaspadMessage_IbdBlock
	//	*KaspadMessage_InvRelayBlock
	//	*KaspadMessage_InvTransactions
	//	*KaspadMessage_Ping
	//	*KaspadMessage_Pong
	//	*KaspadMessage_Verack
	//	*KaspadMessage_Version
	//	*KaspadMessage_TransactionNotFound
	//	*KaspadMessage_Reject
	//	*KaspadMessage_RequestPruningPointUTXOSetAndBlock
	//	*KaspadMessage_PruningPointUtxoSetChunk
	//	*KaspadMessage_RequestIBDBlocks
	//	*KaspadMessage_UnexpectedPruningPoint
	//	*KaspadMessage_RequestPruningPointHash
	//	*KaspadMessage_PruningPointHash
	//	*KaspadMessage_IbdBlockLocator
	//	*KaspadMessage_IbdBlockLocatorHighestHash
	//	*KaspadMessage_BlockHeaders
	//	*KaspadMessage_RequestNextPruningPointUtxoSetChunk
	//	*KaspadMessage_DonePruningPointUtxoSetChunks
	//	*KaspadMessage_IbdBlockLocatorHighestHashNotFound
	//	*KaspadMessage_GetCurrentNetworkRequest
	//	*KaspadMessage_GetCurrentNetworkResponse
	//	*KaspadMessage_SubmitBlockRequest
	//	*KaspadMessage_SubmitBlockResponse
	//	*KaspadMessage_GetBlockTemplateRequest
	//	*KaspadMessage_GetBlockTemplateResponse
	//	*KaspadMessage_NotifyBlockAddedRequest
	//	*KaspadMessage_NotifyBlockAddedResponse
	//	*KaspadMessage_BlockAddedNotification
	//	*KaspadMessage_GetPeerAddressesRequest
	//	*KaspadMessage_GetPeerAddressesResponse
	//	*KaspadMessage_GetSelectedTipHashRequest
	//	*KaspadMessage_GetSelectedTipHashResponse
	//	*KaspadMessage_GetMempoolEntryRequest
	//	*KaspadMessage_GetMempoolEntryResponse
	//	*KaspadMessage_GetConnectedPeerInfoRequest
	//	*KaspadMessage_GetConnectedPeerInfoResponse
	//	*KaspadMessage_AddPeerRequest
	//	*KaspadMessage_AddPeerResponse
	//	*KaspadMessage_SubmitTransactionRequest
	//	*KaspadMessage_SubmitTransactionResponse
	//	*KaspadMessage_NotifyVirtualSelectedParentChainChangedRequest
	//	*KaspadMessage_NotifyVirtualSelectedParentChainChangedResponse
	//	*KaspadMessage_VirtualSelectedParentChainChangedNotification
	//	*KaspadMessage_GetBlockRequest
	//	*KaspadMessage_GetBlockResponse
	//	*KaspadMessage_GetSubnetworkRequest
	//	*KaspadMessage_GetSubnetworkResponse
	//	*KaspadMessage_GetVirtualSelectedParentChainFromBlockRequest
	//	*KaspadMessage_GetVirtualSelectedParentChainFromBlockResponse
	//	*KaspadMessage_GetBlocksRequest
	//	*KaspadMessage_GetBlocksResponse
	//	*KaspadMessage_GetBlockCountRequest
	//	*KaspadMessage_GetBlockCountResponse
	//	*KaspadMessage_GetBlockDagInfoRequest
	//	*KaspadMessage_GetBlockDagInfoResponse
	//	*KaspadMessage_ResolveFinalityConflictRequest
	//	*KaspadMessage_ResolveFinalityConflictResponse
	//	*KaspadMessage_NotifyFinalityConflictsRequest
	//	*KaspadMessage_NotifyFinalityConflictsResponse
	//	*KaspadMessage_FinalityConflictNotification
	//	*KaspadMessage_FinalityConflictResolvedNotification
	//	*KaspadMessage_GetMempoolEntriesRequest
	//	*KaspadMessage_GetMempoolEntriesResponse
	//	*KaspadMessage_ShutDownRequest
	//	*KaspadMessage_ShutDownResponse
	//	*KaspadMessage_GetHeadersRequest
	//	*KaspadMessage_GetHeadersResponse
	//	*KaspadMessage_NotifyUtxosChangedRequest
	//	*KaspadMessage_NotifyUtxosChangedResponse
	//	*KaspadMessage_UtxosChangedNotification
	//	*KaspadMessage_GetUtxosByAddressesRequest
	//	*KaspadMessage_GetUtxosByAddressesResponse
	//	*KaspadMessage_GetVirtualSelectedParentBlueScoreRequest
	//	*KaspadMessage_GetVirtualSelectedParentBlueScoreResponse
	//	*KaspadMessage_NotifyVirtualSelectedParentBlueScoreChangedRequest
	//	*KaspadMessage_NotifyVirtualSelectedParentBlueScoreChangedResponse
	//	*KaspadMessage_VirtualSelectedParentBlueScoreChangedNotification
	//	*KaspadMessage_BanRequest
	//	*KaspadMessage_BanResponse
	//	*KaspadMessage_UnbanRequest
	//	*KaspadMessage_UnbanResponse
	//	*KaspadMessage_GetInfoRequest
	//	*KaspadMessage_GetInfoResponse
	//	*KaspadMessage_StopNotifyingUtxosChangedRequest
	//	*KaspadMessage_StopNotifyingUtxosChangedResponse
	//	*KaspadMessage_NotifyPruningPointUTXOSetOverrideRequest
	//	*KaspadMessage_NotifyPruningPointUTXOSetOverrideResponse
	//	*KaspadMessage_PruningPointUTXOSetOverrideNotification
	//	*KaspadMessage_StopNotifyingPruningPointUTXOSetOverrideRequest
	//	*KaspadMessage_StopNotifyingPruningPointUTXOSetOverrideResponse
	Payload isKaspadMessage_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func FromAppMessage

func FromAppMessage(message appmessage.Message) (*KaspadMessage, error)

FromAppMessage creates a KaspadMessage from a appmessage.Message

func (*KaspadMessage) Descriptor deprecated

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

Deprecated: Use KaspadMessage.ProtoReflect.Descriptor instead.

func (*KaspadMessage) GetAddPeerRequest

func (x *KaspadMessage) GetAddPeerRequest() *AddPeerRequestMessage

func (*KaspadMessage) GetAddPeerResponse

func (x *KaspadMessage) GetAddPeerResponse() *AddPeerResponseMessage

func (*KaspadMessage) GetAddresses

func (x *KaspadMessage) GetAddresses() *AddressesMessage

func (*KaspadMessage) GetBanRequest

func (x *KaspadMessage) GetBanRequest() *BanRequestMessage

func (*KaspadMessage) GetBanResponse

func (x *KaspadMessage) GetBanResponse() *BanResponseMessage

func (*KaspadMessage) GetBlock

func (x *KaspadMessage) GetBlock() *BlockMessage

func (*KaspadMessage) GetBlockAddedNotification

func (x *KaspadMessage) GetBlockAddedNotification() *BlockAddedNotificationMessage

func (*KaspadMessage) GetBlockHeaders

func (x *KaspadMessage) GetBlockHeaders() *BlockHeadersMessage

func (*KaspadMessage) GetBlockLocator

func (x *KaspadMessage) GetBlockLocator() *BlockLocatorMessage

func (*KaspadMessage) GetDoneHeaders

func (x *KaspadMessage) GetDoneHeaders() *DoneHeadersMessage

func (*KaspadMessage) GetDonePruningPointUtxoSetChunks

func (x *KaspadMessage) GetDonePruningPointUtxoSetChunks() *DonePruningPointUtxoSetChunksMessage

func (*KaspadMessage) GetFinalityConflictNotification

func (x *KaspadMessage) GetFinalityConflictNotification() *FinalityConflictNotificationMessage

func (*KaspadMessage) GetFinalityConflictResolvedNotification

func (x *KaspadMessage) GetFinalityConflictResolvedNotification() *FinalityConflictResolvedNotificationMessage

func (*KaspadMessage) GetGetBlockCountRequest

func (x *KaspadMessage) GetGetBlockCountRequest() *GetBlockCountRequestMessage

func (*KaspadMessage) GetGetBlockCountResponse

func (x *KaspadMessage) GetGetBlockCountResponse() *GetBlockCountResponseMessage

func (*KaspadMessage) GetGetBlockDagInfoRequest

func (x *KaspadMessage) GetGetBlockDagInfoRequest() *GetBlockDagInfoRequestMessage

func (*KaspadMessage) GetGetBlockDagInfoResponse

func (x *KaspadMessage) GetGetBlockDagInfoResponse() *GetBlockDagInfoResponseMessage

func (*KaspadMessage) GetGetBlockRequest

func (x *KaspadMessage) GetGetBlockRequest() *GetBlockRequestMessage

func (*KaspadMessage) GetGetBlockResponse

func (x *KaspadMessage) GetGetBlockResponse() *GetBlockResponseMessage

func (*KaspadMessage) GetGetBlockTemplateRequest

func (x *KaspadMessage) GetGetBlockTemplateRequest() *GetBlockTemplateRequestMessage

func (*KaspadMessage) GetGetBlockTemplateResponse

func (x *KaspadMessage) GetGetBlockTemplateResponse() *GetBlockTemplateResponseMessage

func (*KaspadMessage) GetGetBlocksRequest

func (x *KaspadMessage) GetGetBlocksRequest() *GetBlocksRequestMessage

func (*KaspadMessage) GetGetBlocksResponse

func (x *KaspadMessage) GetGetBlocksResponse() *GetBlocksResponseMessage

func (*KaspadMessage) GetGetConnectedPeerInfoRequest

func (x *KaspadMessage) GetGetConnectedPeerInfoRequest() *GetConnectedPeerInfoRequestMessage

func (*KaspadMessage) GetGetConnectedPeerInfoResponse

func (x *KaspadMessage) GetGetConnectedPeerInfoResponse() *GetConnectedPeerInfoResponseMessage

func (*KaspadMessage) GetGetCurrentNetworkRequest

func (x *KaspadMessage) GetGetCurrentNetworkRequest() *GetCurrentNetworkRequestMessage

func (*KaspadMessage) GetGetCurrentNetworkResponse

func (x *KaspadMessage) GetGetCurrentNetworkResponse() *GetCurrentNetworkResponseMessage

func (*KaspadMessage) GetGetHeadersRequest

func (x *KaspadMessage) GetGetHeadersRequest() *GetHeadersRequestMessage

func (*KaspadMessage) GetGetHeadersResponse

func (x *KaspadMessage) GetGetHeadersResponse() *GetHeadersResponseMessage

func (*KaspadMessage) GetGetInfoRequest

func (x *KaspadMessage) GetGetInfoRequest() *GetInfoRequestMessage

func (*KaspadMessage) GetGetInfoResponse

func (x *KaspadMessage) GetGetInfoResponse() *GetInfoResponseMessage

func (*KaspadMessage) GetGetMempoolEntriesRequest

func (x *KaspadMessage) GetGetMempoolEntriesRequest() *GetMempoolEntriesRequestMessage

func (*KaspadMessage) GetGetMempoolEntriesResponse

func (x *KaspadMessage) GetGetMempoolEntriesResponse() *GetMempoolEntriesResponseMessage

func (*KaspadMessage) GetGetMempoolEntryRequest

func (x *KaspadMessage) GetGetMempoolEntryRequest() *GetMempoolEntryRequestMessage

func (*KaspadMessage) GetGetMempoolEntryResponse

func (x *KaspadMessage) GetGetMempoolEntryResponse() *GetMempoolEntryResponseMessage

func (*KaspadMessage) GetGetPeerAddressesRequest

func (x *KaspadMessage) GetGetPeerAddressesRequest() *GetPeerAddressesRequestMessage

func (*KaspadMessage) GetGetPeerAddressesResponse

func (x *KaspadMessage) GetGetPeerAddressesResponse() *GetPeerAddressesResponseMessage

func (*KaspadMessage) GetGetSelectedTipHashRequest

func (x *KaspadMessage) GetGetSelectedTipHashRequest() *GetSelectedTipHashRequestMessage

func (*KaspadMessage) GetGetSelectedTipHashResponse

func (x *KaspadMessage) GetGetSelectedTipHashResponse() *GetSelectedTipHashResponseMessage

func (*KaspadMessage) GetGetSubnetworkRequest

func (x *KaspadMessage) GetGetSubnetworkRequest() *GetSubnetworkRequestMessage

func (*KaspadMessage) GetGetSubnetworkResponse

func (x *KaspadMessage) GetGetSubnetworkResponse() *GetSubnetworkResponseMessage

func (*KaspadMessage) GetGetUtxosByAddressesRequest

func (x *KaspadMessage) GetGetUtxosByAddressesRequest() *GetUtxosByAddressesRequestMessage

func (*KaspadMessage) GetGetUtxosByAddressesResponse

func (x *KaspadMessage) GetGetUtxosByAddressesResponse() *GetUtxosByAddressesResponseMessage

func (*KaspadMessage) GetGetVirtualSelectedParentBlueScoreRequest

func (x *KaspadMessage) GetGetVirtualSelectedParentBlueScoreRequest() *GetVirtualSelectedParentBlueScoreRequestMessage

func (*KaspadMessage) GetGetVirtualSelectedParentBlueScoreResponse

func (x *KaspadMessage) GetGetVirtualSelectedParentBlueScoreResponse() *GetVirtualSelectedParentBlueScoreResponseMessage

func (*KaspadMessage) GetGetVirtualSelectedParentChainFromBlockRequest

func (x *KaspadMessage) GetGetVirtualSelectedParentChainFromBlockRequest() *GetVirtualSelectedParentChainFromBlockRequestMessage

func (*KaspadMessage) GetGetVirtualSelectedParentChainFromBlockResponse

func (x *KaspadMessage) GetGetVirtualSelectedParentChainFromBlockResponse() *GetVirtualSelectedParentChainFromBlockResponseMessage

func (*KaspadMessage) GetIbdBlock

func (x *KaspadMessage) GetIbdBlock() *BlockMessage

func (*KaspadMessage) GetIbdBlockLocator

func (x *KaspadMessage) GetIbdBlockLocator() *IbdBlockLocatorMessage

func (*KaspadMessage) GetIbdBlockLocatorHighestHash

func (x *KaspadMessage) GetIbdBlockLocatorHighestHash() *IbdBlockLocatorHighestHashMessage

func (*KaspadMessage) GetIbdBlockLocatorHighestHashNotFound

func (x *KaspadMessage) GetIbdBlockLocatorHighestHashNotFound() *IbdBlockLocatorHighestHashNotFoundMessage

func (*KaspadMessage) GetInvRelayBlock

func (x *KaspadMessage) GetInvRelayBlock() *InvRelayBlockMessage

func (*KaspadMessage) GetInvTransactions

func (x *KaspadMessage) GetInvTransactions() *InvTransactionsMessage

func (*KaspadMessage) GetNotifyBlockAddedRequest

func (x *KaspadMessage) GetNotifyBlockAddedRequest() *NotifyBlockAddedRequestMessage

func (*KaspadMessage) GetNotifyBlockAddedResponse

func (x *KaspadMessage) GetNotifyBlockAddedResponse() *NotifyBlockAddedResponseMessage

func (*KaspadMessage) GetNotifyFinalityConflictsRequest

func (x *KaspadMessage) GetNotifyFinalityConflictsRequest() *NotifyFinalityConflictsRequestMessage

func (*KaspadMessage) GetNotifyFinalityConflictsResponse

func (x *KaspadMessage) GetNotifyFinalityConflictsResponse() *NotifyFinalityConflictsResponseMessage

func (*KaspadMessage) GetNotifyPruningPointUTXOSetOverrideRequest added in v0.8.10

func (x *KaspadMessage) GetNotifyPruningPointUTXOSetOverrideRequest() *NotifyPruningPointUTXOSetOverrideRequestMessage

func (*KaspadMessage) GetNotifyPruningPointUTXOSetOverrideResponse added in v0.8.10

func (x *KaspadMessage) GetNotifyPruningPointUTXOSetOverrideResponse() *NotifyPruningPointUTXOSetOverrideResponseMessage

func (*KaspadMessage) GetNotifyUtxosChangedRequest

func (x *KaspadMessage) GetNotifyUtxosChangedRequest() *NotifyUtxosChangedRequestMessage

func (*KaspadMessage) GetNotifyUtxosChangedResponse

func (x *KaspadMessage) GetNotifyUtxosChangedResponse() *NotifyUtxosChangedResponseMessage

func (*KaspadMessage) GetNotifyVirtualSelectedParentBlueScoreChangedRequest

func (x *KaspadMessage) GetNotifyVirtualSelectedParentBlueScoreChangedRequest() *NotifyVirtualSelectedParentBlueScoreChangedRequestMessage

func (*KaspadMessage) GetNotifyVirtualSelectedParentBlueScoreChangedResponse

func (x *KaspadMessage) GetNotifyVirtualSelectedParentBlueScoreChangedResponse() *NotifyVirtualSelectedParentBlueScoreChangedResponseMessage

func (*KaspadMessage) GetNotifyVirtualSelectedParentChainChangedRequest

func (x *KaspadMessage) GetNotifyVirtualSelectedParentChainChangedRequest() *NotifyVirtualSelectedParentChainChangedRequestMessage

func (*KaspadMessage) GetNotifyVirtualSelectedParentChainChangedResponse

func (x *KaspadMessage) GetNotifyVirtualSelectedParentChainChangedResponse() *NotifyVirtualSelectedParentChainChangedResponseMessage

func (*KaspadMessage) GetPayload

func (m *KaspadMessage) GetPayload() isKaspadMessage_Payload

func (*KaspadMessage) GetPing

func (x *KaspadMessage) GetPing() *PingMessage

func (*KaspadMessage) GetPong

func (x *KaspadMessage) GetPong() *PongMessage

func (*KaspadMessage) GetPruningPointHash

func (x *KaspadMessage) GetPruningPointHash() *PruningPointHashMessage

func (*KaspadMessage) GetPruningPointUTXOSetOverrideNotification added in v0.8.10

func (x *KaspadMessage) GetPruningPointUTXOSetOverrideNotification() *PruningPointUTXOSetOverrideNotificationMessage

func (*KaspadMessage) GetPruningPointUtxoSetChunk

func (x *KaspadMessage) GetPruningPointUtxoSetChunk() *PruningPointUtxoSetChunkMessage

func (*KaspadMessage) GetReject

func (x *KaspadMessage) GetReject() *RejectMessage

func (*KaspadMessage) GetRequestAddresses

func (x *KaspadMessage) GetRequestAddresses() *RequestAddressesMessage

func (*KaspadMessage) GetRequestBlockLocator

func (x *KaspadMessage) GetRequestBlockLocator() *RequestBlockLocatorMessage

func (*KaspadMessage) GetRequestHeaders

func (x *KaspadMessage) GetRequestHeaders() *RequestHeadersMessage

func (*KaspadMessage) GetRequestIBDBlocks

func (x *KaspadMessage) GetRequestIBDBlocks() *RequestIBDBlocksMessage

func (*KaspadMessage) GetRequestNextHeaders

func (x *KaspadMessage) GetRequestNextHeaders() *RequestNextHeadersMessage

func (*KaspadMessage) GetRequestNextPruningPointUtxoSetChunk

func (x *KaspadMessage) GetRequestNextPruningPointUtxoSetChunk() *RequestNextPruningPointUtxoSetChunkMessage

func (*KaspadMessage) GetRequestPruningPointHash

func (x *KaspadMessage) GetRequestPruningPointHash() *RequestPruningPointHashMessage

func (*KaspadMessage) GetRequestPruningPointUTXOSetAndBlock

func (x *KaspadMessage) GetRequestPruningPointUTXOSetAndBlock() *RequestPruningPointUTXOSetAndBlockMessage

func (*KaspadMessage) GetRequestRelayBlocks

func (x *KaspadMessage) GetRequestRelayBlocks() *RequestRelayBlocksMessage

func (*KaspadMessage) GetRequestTransactions

func (x *KaspadMessage) GetRequestTransactions() *RequestTransactionsMessage

func (*KaspadMessage) GetResolveFinalityConflictRequest

func (x *KaspadMessage) GetResolveFinalityConflictRequest() *ResolveFinalityConflictRequestMessage

func (*KaspadMessage) GetResolveFinalityConflictResponse

func (x *KaspadMessage) GetResolveFinalityConflictResponse() *ResolveFinalityConflictResponseMessage

func (*KaspadMessage) GetShutDownRequest

func (x *KaspadMessage) GetShutDownRequest() *ShutDownRequestMessage

func (*KaspadMessage) GetShutDownResponse

func (x *KaspadMessage) GetShutDownResponse() *ShutDownResponseMessage

func (*KaspadMessage) GetStopNotifyingPruningPointUTXOSetOverrideRequest added in v0.8.10

func (x *KaspadMessage) GetStopNotifyingPruningPointUTXOSetOverrideRequest() *StopNotifyingPruningPointUTXOSetOverrideRequestMessage

func (*KaspadMessage) GetStopNotifyingPruningPointUTXOSetOverrideResponse added in v0.8.10

func (x *KaspadMessage) GetStopNotifyingPruningPointUTXOSetOverrideResponse() *StopNotifyingPruningPointUTXOSetOverrideResponseMessage

func (*KaspadMessage) GetStopNotifyingUtxosChangedRequest added in v0.8.9

func (x *KaspadMessage) GetStopNotifyingUtxosChangedRequest() *StopNotifyingUtxosChangedRequestMessage

func (*KaspadMessage) GetStopNotifyingUtxosChangedResponse added in v0.8.9

func (x *KaspadMessage) GetStopNotifyingUtxosChangedResponse() *StopNotifyingUtxosChangedResponseMessage

func (*KaspadMessage) GetSubmitBlockRequest

func (x *KaspadMessage) GetSubmitBlockRequest() *SubmitBlockRequestMessage

func (*KaspadMessage) GetSubmitBlockResponse

func (x *KaspadMessage) GetSubmitBlockResponse() *SubmitBlockResponseMessage

func (*KaspadMessage) GetSubmitTransactionRequest

func (x *KaspadMessage) GetSubmitTransactionRequest() *SubmitTransactionRequestMessage

func (*KaspadMessage) GetSubmitTransactionResponse

func (x *KaspadMessage) GetSubmitTransactionResponse() *SubmitTransactionResponseMessage

func (*KaspadMessage) GetTransaction

func (x *KaspadMessage) GetTransaction() *TransactionMessage

func (*KaspadMessage) GetTransactionNotFound

func (x *KaspadMessage) GetTransactionNotFound() *TransactionNotFoundMessage

func (*KaspadMessage) GetUnbanRequest

func (x *KaspadMessage) GetUnbanRequest() *UnbanRequestMessage

func (*KaspadMessage) GetUnbanResponse

func (x *KaspadMessage) GetUnbanResponse() *UnbanResponseMessage

func (*KaspadMessage) GetUnexpectedPruningPoint

func (x *KaspadMessage) GetUnexpectedPruningPoint() *UnexpectedPruningPointMessage

func (*KaspadMessage) GetUtxosChangedNotification

func (x *KaspadMessage) GetUtxosChangedNotification() *UtxosChangedNotificationMessage

func (*KaspadMessage) GetVerack

func (x *KaspadMessage) GetVerack() *VerackMessage

func (*KaspadMessage) GetVersion

func (x *KaspadMessage) GetVersion() *VersionMessage

func (*KaspadMessage) GetVirtualSelectedParentBlueScoreChangedNotification

func (x *KaspadMessage) GetVirtualSelectedParentBlueScoreChangedNotification() *VirtualSelectedParentBlueScoreChangedNotificationMessage

func (*KaspadMessage) GetVirtualSelectedParentChainChangedNotification

func (x *KaspadMessage) GetVirtualSelectedParentChainChangedNotification() *VirtualSelectedParentChainChangedNotificationMessage

func (*KaspadMessage) ProtoMessage

func (*KaspadMessage) ProtoMessage()

func (*KaspadMessage) ProtoReflect

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

func (*KaspadMessage) Reset

func (x *KaspadMessage) Reset()

func (*KaspadMessage) String

func (x *KaspadMessage) String() string

func (*KaspadMessage) ToAppMessage

func (x *KaspadMessage) ToAppMessage() (appmessage.Message, error)

ToAppMessage converts a KaspadMessage to its appmessage.Message representation

type KaspadMessage_AddPeerRequest

type KaspadMessage_AddPeerRequest struct {
	AddPeerRequest *AddPeerRequestMessage `protobuf:"bytes,1018,opt,name=addPeerRequest,proto3,oneof"`
}

type KaspadMessage_AddPeerResponse

type KaspadMessage_AddPeerResponse struct {
	AddPeerResponse *AddPeerResponseMessage `protobuf:"bytes,1019,opt,name=addPeerResponse,proto3,oneof"`
}

type KaspadMessage_Addresses

type KaspadMessage_Addresses struct {
	Addresses *AddressesMessage `protobuf:"bytes,1,opt,name=addresses,proto3,oneof"`
}

type KaspadMessage_BanRequest

type KaspadMessage_BanRequest struct {
	BanRequest *BanRequestMessage `protobuf:"bytes,1059,opt,name=banRequest,proto3,oneof"`
}

type KaspadMessage_BanResponse

type KaspadMessage_BanResponse struct {
	BanResponse *BanResponseMessage `protobuf:"bytes,1060,opt,name=banResponse,proto3,oneof"`
}

type KaspadMessage_Block

type KaspadMessage_Block struct {
	Block *BlockMessage `protobuf:"bytes,2,opt,name=block,proto3,oneof"`
}

type KaspadMessage_BlockAddedNotification

type KaspadMessage_BlockAddedNotification struct {
	BlockAddedNotification *BlockAddedNotificationMessage `protobuf:"bytes,1009,opt,name=blockAddedNotification,proto3,oneof"`
}

type KaspadMessage_BlockHeaders

type KaspadMessage_BlockHeaders struct {
	BlockHeaders *BlockHeadersMessage `protobuf:"bytes,32,opt,name=blockHeaders,proto3,oneof"`
}

type KaspadMessage_BlockLocator

type KaspadMessage_BlockLocator struct {
	BlockLocator *BlockLocatorMessage `protobuf:"bytes,5,opt,name=blockLocator,proto3,oneof"`
}

type KaspadMessage_DoneHeaders

type KaspadMessage_DoneHeaders struct {
	DoneHeaders *DoneHeadersMessage `protobuf:"bytes,9,opt,name=DoneHeaders,proto3,oneof"`
}

type KaspadMessage_DonePruningPointUtxoSetChunks

type KaspadMessage_DonePruningPointUtxoSetChunks struct {
	DonePruningPointUtxoSetChunks *DonePruningPointUtxoSetChunksMessage `protobuf:"bytes,34,opt,name=donePruningPointUtxoSetChunks,proto3,oneof"`
}

type KaspadMessage_FinalityConflictNotification

type KaspadMessage_FinalityConflictNotification struct {
	FinalityConflictNotification *FinalityConflictNotificationMessage `protobuf:"bytes,1041,opt,name=finalityConflictNotification,proto3,oneof"`
}

type KaspadMessage_FinalityConflictResolvedNotification

type KaspadMessage_FinalityConflictResolvedNotification struct {
	FinalityConflictResolvedNotification *FinalityConflictResolvedNotificationMessage `protobuf:"bytes,1042,opt,name=finalityConflictResolvedNotification,proto3,oneof"`
}

type KaspadMessage_GetBlockCountRequest

type KaspadMessage_GetBlockCountRequest struct {
	GetBlockCountRequest *GetBlockCountRequestMessage `protobuf:"bytes,1033,opt,name=getBlockCountRequest,proto3,oneof"`
}

type KaspadMessage_GetBlockCountResponse

type KaspadMessage_GetBlockCountResponse struct {
	GetBlockCountResponse *GetBlockCountResponseMessage `protobuf:"bytes,1034,opt,name=getBlockCountResponse,proto3,oneof"`
}

type KaspadMessage_GetBlockDagInfoRequest

type KaspadMessage_GetBlockDagInfoRequest struct {
	GetBlockDagInfoRequest *GetBlockDagInfoRequestMessage `protobuf:"bytes,1035,opt,name=getBlockDagInfoRequest,proto3,oneof"`
}

type KaspadMessage_GetBlockDagInfoResponse

type KaspadMessage_GetBlockDagInfoResponse struct {
	GetBlockDagInfoResponse *GetBlockDagInfoResponseMessage `protobuf:"bytes,1036,opt,name=getBlockDagInfoResponse,proto3,oneof"`
}

type KaspadMessage_GetBlockRequest

type KaspadMessage_GetBlockRequest struct {
	GetBlockRequest *GetBlockRequestMessage `protobuf:"bytes,1025,opt,name=getBlockRequest,proto3,oneof"`
}

type KaspadMessage_GetBlockResponse

type KaspadMessage_GetBlockResponse struct {
	GetBlockResponse *GetBlockResponseMessage `protobuf:"bytes,1026,opt,name=getBlockResponse,proto3,oneof"`
}

type KaspadMessage_GetBlockTemplateRequest

type KaspadMessage_GetBlockTemplateRequest struct {
	GetBlockTemplateRequest *GetBlockTemplateRequestMessage `protobuf:"bytes,1005,opt,name=getBlockTemplateRequest,proto3,oneof"`
}

type KaspadMessage_GetBlockTemplateResponse

type KaspadMessage_GetBlockTemplateResponse struct {
	GetBlockTemplateResponse *GetBlockTemplateResponseMessage `protobuf:"bytes,1006,opt,name=getBlockTemplateResponse,proto3,oneof"`
}

type KaspadMessage_GetBlocksRequest

type KaspadMessage_GetBlocksRequest struct {
	GetBlocksRequest *GetBlocksRequestMessage `protobuf:"bytes,1031,opt,name=getBlocksRequest,proto3,oneof"`
}

type KaspadMessage_GetBlocksResponse

type KaspadMessage_GetBlocksResponse struct {
	GetBlocksResponse *GetBlocksResponseMessage `protobuf:"bytes,1032,opt,name=getBlocksResponse,proto3,oneof"`
}

type KaspadMessage_GetConnectedPeerInfoRequest

type KaspadMessage_GetConnectedPeerInfoRequest struct {
	GetConnectedPeerInfoRequest *GetConnectedPeerInfoRequestMessage `protobuf:"bytes,1016,opt,name=getConnectedPeerInfoRequest,proto3,oneof"`
}

type KaspadMessage_GetConnectedPeerInfoResponse

type KaspadMessage_GetConnectedPeerInfoResponse struct {
	GetConnectedPeerInfoResponse *GetConnectedPeerInfoResponseMessage `protobuf:"bytes,1017,opt,name=getConnectedPeerInfoResponse,proto3,oneof"`
}

type KaspadMessage_GetCurrentNetworkRequest

type KaspadMessage_GetCurrentNetworkRequest struct {
	GetCurrentNetworkRequest *GetCurrentNetworkRequestMessage `protobuf:"bytes,1001,opt,name=getCurrentNetworkRequest,proto3,oneof"`
}

type KaspadMessage_GetCurrentNetworkResponse

type KaspadMessage_GetCurrentNetworkResponse struct {
	GetCurrentNetworkResponse *GetCurrentNetworkResponseMessage `protobuf:"bytes,1002,opt,name=getCurrentNetworkResponse,proto3,oneof"`
}

type KaspadMessage_GetHeadersRequest

type KaspadMessage_GetHeadersRequest struct {
	GetHeadersRequest *GetHeadersRequestMessage `protobuf:"bytes,1047,opt,name=getHeadersRequest,proto3,oneof"`
}

type KaspadMessage_GetHeadersResponse

type KaspadMessage_GetHeadersResponse struct {
	GetHeadersResponse *GetHeadersResponseMessage `protobuf:"bytes,1048,opt,name=getHeadersResponse,proto3,oneof"`
}

type KaspadMessage_GetInfoRequest

type KaspadMessage_GetInfoRequest struct {
	GetInfoRequest *GetInfoRequestMessage `protobuf:"bytes,1063,opt,name=getInfoRequest,proto3,oneof"`
}

type KaspadMessage_GetInfoResponse

type KaspadMessage_GetInfoResponse struct {
	GetInfoResponse *GetInfoResponseMessage `protobuf:"bytes,1064,opt,name=getInfoResponse,proto3,oneof"`
}

type KaspadMessage_GetMempoolEntriesRequest

type KaspadMessage_GetMempoolEntriesRequest struct {
	GetMempoolEntriesRequest *GetMempoolEntriesRequestMessage `protobuf:"bytes,1043,opt,name=getMempoolEntriesRequest,proto3,oneof"`
}

type KaspadMessage_GetMempoolEntriesResponse

type KaspadMessage_GetMempoolEntriesResponse struct {
	GetMempoolEntriesResponse *GetMempoolEntriesResponseMessage `protobuf:"bytes,1044,opt,name=getMempoolEntriesResponse,proto3,oneof"`
}

type KaspadMessage_GetMempoolEntryRequest

type KaspadMessage_GetMempoolEntryRequest struct {
	GetMempoolEntryRequest *GetMempoolEntryRequestMessage `protobuf:"bytes,1014,opt,name=getMempoolEntryRequest,proto3,oneof"`
}

type KaspadMessage_GetMempoolEntryResponse

type KaspadMessage_GetMempoolEntryResponse struct {
	GetMempoolEntryResponse *GetMempoolEntryResponseMessage `protobuf:"bytes,1015,opt,name=getMempoolEntryResponse,proto3,oneof"`
}

type KaspadMessage_GetPeerAddressesRequest

type KaspadMessage_GetPeerAddressesRequest struct {
	GetPeerAddressesRequest *GetPeerAddressesRequestMessage `protobuf:"bytes,1010,opt,name=getPeerAddressesRequest,proto3,oneof"`
}

type KaspadMessage_GetPeerAddressesResponse

type KaspadMessage_GetPeerAddressesResponse struct {
	GetPeerAddressesResponse *GetPeerAddressesResponseMessage `protobuf:"bytes,1011,opt,name=getPeerAddressesResponse,proto3,oneof"`
}

type KaspadMessage_GetSelectedTipHashRequest

type KaspadMessage_GetSelectedTipHashRequest struct {
	GetSelectedTipHashRequest *GetSelectedTipHashRequestMessage `protobuf:"bytes,1012,opt,name=getSelectedTipHashRequest,proto3,oneof"`
}

type KaspadMessage_GetSelectedTipHashResponse

type KaspadMessage_GetSelectedTipHashResponse struct {
	GetSelectedTipHashResponse *GetSelectedTipHashResponseMessage `protobuf:"bytes,1013,opt,name=getSelectedTipHashResponse,proto3,oneof"`
}

type KaspadMessage_GetSubnetworkRequest

type KaspadMessage_GetSubnetworkRequest struct {
	GetSubnetworkRequest *GetSubnetworkRequestMessage `protobuf:"bytes,1027,opt,name=getSubnetworkRequest,proto3,oneof"`
}

type KaspadMessage_GetSubnetworkResponse

type KaspadMessage_GetSubnetworkResponse struct {
	GetSubnetworkResponse *GetSubnetworkResponseMessage `protobuf:"bytes,1028,opt,name=getSubnetworkResponse,proto3,oneof"`
}

type KaspadMessage_GetUtxosByAddressesRequest

type KaspadMessage_GetUtxosByAddressesRequest struct {
	GetUtxosByAddressesRequest *GetUtxosByAddressesRequestMessage `protobuf:"bytes,1052,opt,name=getUtxosByAddressesRequest,proto3,oneof"`
}

type KaspadMessage_GetUtxosByAddressesResponse

type KaspadMessage_GetUtxosByAddressesResponse struct {
	GetUtxosByAddressesResponse *GetUtxosByAddressesResponseMessage `protobuf:"bytes,1053,opt,name=getUtxosByAddressesResponse,proto3,oneof"`
}

type KaspadMessage_GetVirtualSelectedParentBlueScoreRequest

type KaspadMessage_GetVirtualSelectedParentBlueScoreRequest struct {
	GetVirtualSelectedParentBlueScoreRequest *GetVirtualSelectedParentBlueScoreRequestMessage `protobuf:"bytes,1054,opt,name=getVirtualSelectedParentBlueScoreRequest,proto3,oneof"`
}

type KaspadMessage_GetVirtualSelectedParentBlueScoreResponse

type KaspadMessage_GetVirtualSelectedParentBlueScoreResponse struct {
	GetVirtualSelectedParentBlueScoreResponse *GetVirtualSelectedParentBlueScoreResponseMessage `protobuf:"bytes,1055,opt,name=getVirtualSelectedParentBlueScoreResponse,proto3,oneof"`
}

type KaspadMessage_GetVirtualSelectedParentChainFromBlockRequest

type KaspadMessage_GetVirtualSelectedParentChainFromBlockRequest struct {
	GetVirtualSelectedParentChainFromBlockRequest *GetVirtualSelectedParentChainFromBlockRequestMessage `protobuf:"bytes,1029,opt,name=getVirtualSelectedParentChainFromBlockRequest,proto3,oneof"`
}

type KaspadMessage_GetVirtualSelectedParentChainFromBlockResponse

type KaspadMessage_GetVirtualSelectedParentChainFromBlockResponse struct {
	GetVirtualSelectedParentChainFromBlockResponse *GetVirtualSelectedParentChainFromBlockResponseMessage `protobuf:"bytes,1030,opt,name=getVirtualSelectedParentChainFromBlockResponse,proto3,oneof"`
}

type KaspadMessage_IbdBlock

type KaspadMessage_IbdBlock struct {
	IbdBlock *BlockMessage `protobuf:"bytes,13,opt,name=ibdBlock,proto3,oneof"`
}

type KaspadMessage_IbdBlockLocator

type KaspadMessage_IbdBlockLocator struct {
	IbdBlockLocator *IbdBlockLocatorMessage `protobuf:"bytes,30,opt,name=ibdBlockLocator,proto3,oneof"`
}

type KaspadMessage_IbdBlockLocatorHighestHash

type KaspadMessage_IbdBlockLocatorHighestHash struct {
	IbdBlockLocatorHighestHash *IbdBlockLocatorHighestHashMessage `protobuf:"bytes,31,opt,name=ibdBlockLocatorHighestHash,proto3,oneof"`
}

type KaspadMessage_IbdBlockLocatorHighestHashNotFound

type KaspadMessage_IbdBlockLocatorHighestHashNotFound struct {
	IbdBlockLocatorHighestHashNotFound *IbdBlockLocatorHighestHashNotFoundMessage `protobuf:"bytes,35,opt,name=ibdBlockLocatorHighestHashNotFound,proto3,oneof"`
}

type KaspadMessage_InvRelayBlock

type KaspadMessage_InvRelayBlock struct {
	InvRelayBlock *InvRelayBlockMessage `protobuf:"bytes,14,opt,name=invRelayBlock,proto3,oneof"`
}

type KaspadMessage_InvTransactions

type KaspadMessage_InvTransactions struct {
	InvTransactions *InvTransactionsMessage `protobuf:"bytes,15,opt,name=invTransactions,proto3,oneof"`
}

type KaspadMessage_NotifyBlockAddedRequest

type KaspadMessage_NotifyBlockAddedRequest struct {
	NotifyBlockAddedRequest *NotifyBlockAddedRequestMessage `protobuf:"bytes,1007,opt,name=notifyBlockAddedRequest,proto3,oneof"`
}

type KaspadMessage_NotifyBlockAddedResponse

type KaspadMessage_NotifyBlockAddedResponse struct {
	NotifyBlockAddedResponse *NotifyBlockAddedResponseMessage `protobuf:"bytes,1008,opt,name=notifyBlockAddedResponse,proto3,oneof"`
}

type KaspadMessage_NotifyFinalityConflictsRequest

type KaspadMessage_NotifyFinalityConflictsRequest struct {
	NotifyFinalityConflictsRequest *NotifyFinalityConflictsRequestMessage `protobuf:"bytes,1039,opt,name=notifyFinalityConflictsRequest,proto3,oneof"`
}

type KaspadMessage_NotifyFinalityConflictsResponse

type KaspadMessage_NotifyFinalityConflictsResponse struct {
	NotifyFinalityConflictsResponse *NotifyFinalityConflictsResponseMessage `protobuf:"bytes,1040,opt,name=notifyFinalityConflictsResponse,proto3,oneof"`
}

type KaspadMessage_NotifyPruningPointUTXOSetOverrideRequest added in v0.8.10

type KaspadMessage_NotifyPruningPointUTXOSetOverrideRequest struct {
	NotifyPruningPointUTXOSetOverrideRequest *NotifyPruningPointUTXOSetOverrideRequestMessage `protobuf:"bytes,1067,opt,name=notifyPruningPointUTXOSetOverrideRequest,proto3,oneof"`
}

type KaspadMessage_NotifyPruningPointUTXOSetOverrideResponse added in v0.8.10

type KaspadMessage_NotifyPruningPointUTXOSetOverrideResponse struct {
	NotifyPruningPointUTXOSetOverrideResponse *NotifyPruningPointUTXOSetOverrideResponseMessage `protobuf:"bytes,1068,opt,name=notifyPruningPointUTXOSetOverrideResponse,proto3,oneof"`
}

type KaspadMessage_NotifyUtxosChangedRequest

type KaspadMessage_NotifyUtxosChangedRequest struct {
	NotifyUtxosChangedRequest *NotifyUtxosChangedRequestMessage `protobuf:"bytes,1049,opt,name=notifyUtxosChangedRequest,proto3,oneof"`
}

type KaspadMessage_NotifyUtxosChangedResponse

type KaspadMessage_NotifyUtxosChangedResponse struct {
	NotifyUtxosChangedResponse *NotifyUtxosChangedResponseMessage `protobuf:"bytes,1050,opt,name=notifyUtxosChangedResponse,proto3,oneof"`
}

type KaspadMessage_NotifyVirtualSelectedParentBlueScoreChangedRequest

type KaspadMessage_NotifyVirtualSelectedParentBlueScoreChangedRequest struct {
	NotifyVirtualSelectedParentBlueScoreChangedRequest *NotifyVirtualSelectedParentBlueScoreChangedRequestMessage `protobuf:"bytes,1056,opt,name=notifyVirtualSelectedParentBlueScoreChangedRequest,proto3,oneof"`
}

type KaspadMessage_NotifyVirtualSelectedParentBlueScoreChangedResponse

type KaspadMessage_NotifyVirtualSelectedParentBlueScoreChangedResponse struct {
	NotifyVirtualSelectedParentBlueScoreChangedResponse *NotifyVirtualSelectedParentBlueScoreChangedResponseMessage `protobuf:"bytes,1057,opt,name=notifyVirtualSelectedParentBlueScoreChangedResponse,proto3,oneof"`
}

type KaspadMessage_NotifyVirtualSelectedParentChainChangedRequest

type KaspadMessage_NotifyVirtualSelectedParentChainChangedRequest struct {
	NotifyVirtualSelectedParentChainChangedRequest *NotifyVirtualSelectedParentChainChangedRequestMessage `protobuf:"bytes,1022,opt,name=notifyVirtualSelectedParentChainChangedRequest,proto3,oneof"`
}

type KaspadMessage_NotifyVirtualSelectedParentChainChangedResponse

type KaspadMessage_NotifyVirtualSelectedParentChainChangedResponse struct {
	NotifyVirtualSelectedParentChainChangedResponse *NotifyVirtualSelectedParentChainChangedResponseMessage `protobuf:"bytes,1023,opt,name=notifyVirtualSelectedParentChainChangedResponse,proto3,oneof"`
}

type KaspadMessage_Ping

type KaspadMessage_Ping struct {
	Ping *PingMessage `protobuf:"bytes,16,opt,name=ping,proto3,oneof"`
}

type KaspadMessage_Pong

type KaspadMessage_Pong struct {
	Pong *PongMessage `protobuf:"bytes,17,opt,name=pong,proto3,oneof"`
}

type KaspadMessage_PruningPointHash

type KaspadMessage_PruningPointHash struct {
	PruningPointHash *PruningPointHashMessage `protobuf:"bytes,29,opt,name=pruningPointHash,proto3,oneof"`
}

type KaspadMessage_PruningPointUTXOSetOverrideNotification added in v0.8.10

type KaspadMessage_PruningPointUTXOSetOverrideNotification struct {
	PruningPointUTXOSetOverrideNotification *PruningPointUTXOSetOverrideNotificationMessage `protobuf:"bytes,1069,opt,name=pruningPointUTXOSetOverrideNotification,proto3,oneof"`
}

type KaspadMessage_PruningPointUtxoSetChunk

type KaspadMessage_PruningPointUtxoSetChunk struct {
	PruningPointUtxoSetChunk *PruningPointUtxoSetChunkMessage `protobuf:"bytes,25,opt,name=pruningPointUtxoSetChunk,proto3,oneof"`
}

type KaspadMessage_Reject

type KaspadMessage_Reject struct {
	Reject *RejectMessage `protobuf:"bytes,22,opt,name=reject,proto3,oneof"`
}

type KaspadMessage_RequestAddresses

type KaspadMessage_RequestAddresses struct {
	RequestAddresses *RequestAddressesMessage `protobuf:"bytes,6,opt,name=requestAddresses,proto3,oneof"`
}

type KaspadMessage_RequestBlockLocator

type KaspadMessage_RequestBlockLocator struct {
	RequestBlockLocator *RequestBlockLocatorMessage `protobuf:"bytes,4,opt,name=requestBlockLocator,proto3,oneof"`
}

type KaspadMessage_RequestHeaders

type KaspadMessage_RequestHeaders struct {
	RequestHeaders *RequestHeadersMessage `protobuf:"bytes,7,opt,name=requestHeaders,proto3,oneof"`
}

type KaspadMessage_RequestIBDBlocks

type KaspadMessage_RequestIBDBlocks struct {
	RequestIBDBlocks *RequestIBDBlocksMessage `protobuf:"bytes,26,opt,name=requestIBDBlocks,proto3,oneof"`
}

type KaspadMessage_RequestNextHeaders

type KaspadMessage_RequestNextHeaders struct {
	RequestNextHeaders *RequestNextHeadersMessage `protobuf:"bytes,8,opt,name=requestNextHeaders,proto3,oneof"`
}

type KaspadMessage_RequestNextPruningPointUtxoSetChunk

type KaspadMessage_RequestNextPruningPointUtxoSetChunk struct {
	RequestNextPruningPointUtxoSetChunk *RequestNextPruningPointUtxoSetChunkMessage `protobuf:"bytes,33,opt,name=requestNextPruningPointUtxoSetChunk,proto3,oneof"`
}

type KaspadMessage_RequestPruningPointHash

type KaspadMessage_RequestPruningPointHash struct {
	RequestPruningPointHash *RequestPruningPointHashMessage `protobuf:"bytes,28,opt,name=requestPruningPointHash,proto3,oneof"`
}

type KaspadMessage_RequestPruningPointUTXOSetAndBlock

type KaspadMessage_RequestPruningPointUTXOSetAndBlock struct {
	RequestPruningPointUTXOSetAndBlock *RequestPruningPointUTXOSetAndBlockMessage `protobuf:"bytes,24,opt,name=requestPruningPointUTXOSetAndBlock,proto3,oneof"`
}

type KaspadMessage_RequestRelayBlocks

type KaspadMessage_RequestRelayBlocks struct {
	RequestRelayBlocks *RequestRelayBlocksMessage `protobuf:"bytes,10,opt,name=requestRelayBlocks,proto3,oneof"`
}

type KaspadMessage_RequestTransactions

type KaspadMessage_RequestTransactions struct {
	RequestTransactions *RequestTransactionsMessage `protobuf:"bytes,12,opt,name=requestTransactions,proto3,oneof"`
}

type KaspadMessage_ResolveFinalityConflictRequest

type KaspadMessage_ResolveFinalityConflictRequest struct {
	ResolveFinalityConflictRequest *ResolveFinalityConflictRequestMessage `protobuf:"bytes,1037,opt,name=resolveFinalityConflictRequest,proto3,oneof"`
}

type KaspadMessage_ResolveFinalityConflictResponse

type KaspadMessage_ResolveFinalityConflictResponse struct {
	ResolveFinalityConflictResponse *ResolveFinalityConflictResponseMessage `protobuf:"bytes,1038,opt,name=resolveFinalityConflictResponse,proto3,oneof"`
}

type KaspadMessage_ShutDownRequest

type KaspadMessage_ShutDownRequest struct {
	ShutDownRequest *ShutDownRequestMessage `protobuf:"bytes,1045,opt,name=shutDownRequest,proto3,oneof"`
}

type KaspadMessage_ShutDownResponse

type KaspadMessage_ShutDownResponse struct {
	ShutDownResponse *ShutDownResponseMessage `protobuf:"bytes,1046,opt,name=shutDownResponse,proto3,oneof"`
}

type KaspadMessage_StopNotifyingPruningPointUTXOSetOverrideRequest added in v0.8.10

type KaspadMessage_StopNotifyingPruningPointUTXOSetOverrideRequest struct {
	StopNotifyingPruningPointUTXOSetOverrideRequest *StopNotifyingPruningPointUTXOSetOverrideRequestMessage `protobuf:"bytes,1070,opt,name=stopNotifyingPruningPointUTXOSetOverrideRequest,proto3,oneof"`
}

type KaspadMessage_StopNotifyingPruningPointUTXOSetOverrideResponse added in v0.8.10

type KaspadMessage_StopNotifyingPruningPointUTXOSetOverrideResponse struct {
	StopNotifyingPruningPointUTXOSetOverrideResponse *StopNotifyingPruningPointUTXOSetOverrideResponseMessage `protobuf:"bytes,1071,opt,name=stopNotifyingPruningPointUTXOSetOverrideResponse,proto3,oneof"`
}

type KaspadMessage_StopNotifyingUtxosChangedRequest added in v0.8.9

type KaspadMessage_StopNotifyingUtxosChangedRequest struct {
	StopNotifyingUtxosChangedRequest *StopNotifyingUtxosChangedRequestMessage `protobuf:"bytes,1065,opt,name=stopNotifyingUtxosChangedRequest,proto3,oneof"`
}

type KaspadMessage_StopNotifyingUtxosChangedResponse added in v0.8.9

type KaspadMessage_StopNotifyingUtxosChangedResponse struct {
	StopNotifyingUtxosChangedResponse *StopNotifyingUtxosChangedResponseMessage `protobuf:"bytes,1066,opt,name=stopNotifyingUtxosChangedResponse,proto3,oneof"`
}

type KaspadMessage_SubmitBlockRequest

type KaspadMessage_SubmitBlockRequest struct {
	SubmitBlockRequest *SubmitBlockRequestMessage `protobuf:"bytes,1003,opt,name=submitBlockRequest,proto3,oneof"`
}

type KaspadMessage_SubmitBlockResponse

type KaspadMessage_SubmitBlockResponse struct {
	SubmitBlockResponse *SubmitBlockResponseMessage `protobuf:"bytes,1004,opt,name=submitBlockResponse,proto3,oneof"`
}

type KaspadMessage_SubmitTransactionRequest

type KaspadMessage_SubmitTransactionRequest struct {
	SubmitTransactionRequest *SubmitTransactionRequestMessage `protobuf:"bytes,1020,opt,name=submitTransactionRequest,proto3,oneof"`
}

type KaspadMessage_SubmitTransactionResponse

type KaspadMessage_SubmitTransactionResponse struct {
	SubmitTransactionResponse *SubmitTransactionResponseMessage `protobuf:"bytes,1021,opt,name=submitTransactionResponse,proto3,oneof"`
}

type KaspadMessage_Transaction

type KaspadMessage_Transaction struct {
	Transaction *TransactionMessage `protobuf:"bytes,3,opt,name=transaction,proto3,oneof"`
}

type KaspadMessage_TransactionNotFound

type KaspadMessage_TransactionNotFound struct {
	TransactionNotFound *TransactionNotFoundMessage `protobuf:"bytes,21,opt,name=transactionNotFound,proto3,oneof"`
}

type KaspadMessage_UnbanRequest

type KaspadMessage_UnbanRequest struct {
	UnbanRequest *UnbanRequestMessage `protobuf:"bytes,1061,opt,name=unbanRequest,proto3,oneof"`
}

type KaspadMessage_UnbanResponse

type KaspadMessage_UnbanResponse struct {
	UnbanResponse *UnbanResponseMessage `protobuf:"bytes,1062,opt,name=unbanResponse,proto3,oneof"`
}

type KaspadMessage_UnexpectedPruningPoint

type KaspadMessage_UnexpectedPruningPoint struct {
	UnexpectedPruningPoint *UnexpectedPruningPointMessage `protobuf:"bytes,27,opt,name=unexpectedPruningPoint,proto3,oneof"`
}

type KaspadMessage_UtxosChangedNotification

type KaspadMessage_UtxosChangedNotification struct {
	UtxosChangedNotification *UtxosChangedNotificationMessage `protobuf:"bytes,1051,opt,name=utxosChangedNotification,proto3,oneof"`
}

type KaspadMessage_Verack

type KaspadMessage_Verack struct {
	Verack *VerackMessage `protobuf:"bytes,19,opt,name=verack,proto3,oneof"`
}

type KaspadMessage_Version

type KaspadMessage_Version struct {
	Version *VersionMessage `protobuf:"bytes,20,opt,name=version,proto3,oneof"`
}

type KaspadMessage_VirtualSelectedParentBlueScoreChangedNotification

type KaspadMessage_VirtualSelectedParentBlueScoreChangedNotification struct {
	VirtualSelectedParentBlueScoreChangedNotification *VirtualSelectedParentBlueScoreChangedNotificationMessage `protobuf:"bytes,1058,opt,name=virtualSelectedParentBlueScoreChangedNotification,proto3,oneof"`
}

type KaspadMessage_VirtualSelectedParentChainChangedNotification

type KaspadMessage_VirtualSelectedParentChainChangedNotification struct {
	VirtualSelectedParentChainChangedNotification *VirtualSelectedParentChainChangedNotificationMessage `protobuf:"bytes,1024,opt,name=virtualSelectedParentChainChangedNotification,proto3,oneof"`
}

type MempoolEntry

type MempoolEntry struct {
	Fee                    uint64                  `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"`
	TransactionVerboseData *TransactionVerboseData `protobuf:"bytes,2,opt,name=transactionVerboseData,proto3" json:"transactionVerboseData,omitempty"`
	// contains filtered or unexported fields
}

func (*MempoolEntry) Descriptor deprecated

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

Deprecated: Use MempoolEntry.ProtoReflect.Descriptor instead.

func (*MempoolEntry) GetFee

func (x *MempoolEntry) GetFee() uint64

func (*MempoolEntry) GetTransactionVerboseData

func (x *MempoolEntry) GetTransactionVerboseData() *TransactionVerboseData

func (*MempoolEntry) ProtoMessage

func (*MempoolEntry) ProtoMessage()

func (*MempoolEntry) ProtoReflect

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

func (*MempoolEntry) Reset

func (x *MempoolEntry) Reset()

func (*MempoolEntry) String

func (x *MempoolEntry) String() string

type NetAddress

type NetAddress struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Services  uint64 `protobuf:"varint,2,opt,name=services,proto3" json:"services,omitempty"`
	Ip        []byte `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Port      uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*NetAddress) Descriptor deprecated

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

Deprecated: Use NetAddress.ProtoReflect.Descriptor instead.

func (*NetAddress) GetIp

func (x *NetAddress) GetIp() []byte

func (*NetAddress) GetPort

func (x *NetAddress) GetPort() uint32

func (*NetAddress) GetServices

func (x *NetAddress) GetServices() uint64

func (*NetAddress) GetTimestamp

func (x *NetAddress) GetTimestamp() int64

func (*NetAddress) ProtoMessage

func (*NetAddress) ProtoMessage()

func (*NetAddress) ProtoReflect

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

func (*NetAddress) Reset

func (x *NetAddress) Reset()

func (*NetAddress) String

func (x *NetAddress) String() string

type NotifyBlockAddedRequestMessage

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

NotifyBlockAddedRequestMessage registers this connection for blockAdded notifications.

See: BlockAddedNotificationMessage

func (*NotifyBlockAddedRequestMessage) Descriptor deprecated

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

Deprecated: Use NotifyBlockAddedRequestMessage.ProtoReflect.Descriptor instead.

func (*NotifyBlockAddedRequestMessage) ProtoMessage

func (*NotifyBlockAddedRequestMessage) ProtoMessage()

func (*NotifyBlockAddedRequestMessage) ProtoReflect

func (*NotifyBlockAddedRequestMessage) Reset

func (x *NotifyBlockAddedRequestMessage) Reset()

func (*NotifyBlockAddedRequestMessage) String

type NotifyBlockAddedResponseMessage

type NotifyBlockAddedResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyBlockAddedResponseMessage) Descriptor deprecated

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

Deprecated: Use NotifyBlockAddedResponseMessage.ProtoReflect.Descriptor instead.

func (*NotifyBlockAddedResponseMessage) GetError

func (*NotifyBlockAddedResponseMessage) ProtoMessage

func (*NotifyBlockAddedResponseMessage) ProtoMessage()

func (*NotifyBlockAddedResponseMessage) ProtoReflect

func (*NotifyBlockAddedResponseMessage) Reset

func (*NotifyBlockAddedResponseMessage) String

type NotifyFinalityConflictsRequestMessage

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

func (*NotifyFinalityConflictsRequestMessage) Descriptor deprecated

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

Deprecated: Use NotifyFinalityConflictsRequestMessage.ProtoReflect.Descriptor instead.

func (*NotifyFinalityConflictsRequestMessage) ProtoMessage

func (*NotifyFinalityConflictsRequestMessage) ProtoMessage()

func (*NotifyFinalityConflictsRequestMessage) ProtoReflect

func (*NotifyFinalityConflictsRequestMessage) Reset

func (*NotifyFinalityConflictsRequestMessage) String

type NotifyFinalityConflictsResponseMessage

type NotifyFinalityConflictsResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyFinalityConflictsResponseMessage) Descriptor deprecated

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

Deprecated: Use NotifyFinalityConflictsResponseMessage.ProtoReflect.Descriptor instead.

func (*NotifyFinalityConflictsResponseMessage) GetError

func (*NotifyFinalityConflictsResponseMessage) ProtoMessage

func (*NotifyFinalityConflictsResponseMessage) ProtoReflect

func (*NotifyFinalityConflictsResponseMessage) Reset

func (*NotifyFinalityConflictsResponseMessage) String

type NotifyPruningPointUTXOSetOverrideRequestMessage added in v0.8.10

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

NotifyPruningPointUTXOSetOverrideRequestMessage registers this connection for pruning point UTXO set override notifications.

This call is only available when this kaspad was started with `--utxoindex`

See: NotifyPruningPointUTXOSetOverrideResponseMessage

func (*NotifyPruningPointUTXOSetOverrideRequestMessage) Descriptor deprecated added in v0.8.10

Deprecated: Use NotifyPruningPointUTXOSetOverrideRequestMessage.ProtoReflect.Descriptor instead.

func (*NotifyPruningPointUTXOSetOverrideRequestMessage) ProtoMessage added in v0.8.10

func (*NotifyPruningPointUTXOSetOverrideRequestMessage) ProtoReflect added in v0.8.10

func (*NotifyPruningPointUTXOSetOverrideRequestMessage) Reset added in v0.8.10

func (*NotifyPruningPointUTXOSetOverrideRequestMessage) String added in v0.8.10

type NotifyPruningPointUTXOSetOverrideResponseMessage added in v0.8.10

type NotifyPruningPointUTXOSetOverrideResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyPruningPointUTXOSetOverrideResponseMessage) Descriptor deprecated added in v0.8.10

Deprecated: Use NotifyPruningPointUTXOSetOverrideResponseMessage.ProtoReflect.Descriptor instead.

func (*NotifyPruningPointUTXOSetOverrideResponseMessage) GetError added in v0.8.10

func (*NotifyPruningPointUTXOSetOverrideResponseMessage) ProtoMessage added in v0.8.10

func (*NotifyPruningPointUTXOSetOverrideResponseMessage) ProtoReflect added in v0.8.10

func (*NotifyPruningPointUTXOSetOverrideResponseMessage) Reset added in v0.8.10

func (*NotifyPruningPointUTXOSetOverrideResponseMessage) String added in v0.8.10

type NotifyUtxosChangedRequestMessage

type NotifyUtxosChangedRequestMessage struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

NotifyUtxosChangedRequestMessage registers this connection for utxoChanged notifications for the given addresses.

This call is only available when this kaspad was started with `--utxoindex`

See: UtxosChangedNotificationMessage

func (*NotifyUtxosChangedRequestMessage) Descriptor deprecated

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

Deprecated: Use NotifyUtxosChangedRequestMessage.ProtoReflect.Descriptor instead.

func (*NotifyUtxosChangedRequestMessage) GetAddresses

func (x *NotifyUtxosChangedRequestMessage) GetAddresses() []string

func (*NotifyUtxosChangedRequestMessage) ProtoMessage

func (*NotifyUtxosChangedRequestMessage) ProtoMessage()

func (*NotifyUtxosChangedRequestMessage) ProtoReflect

func (*NotifyUtxosChangedRequestMessage) Reset

func (*NotifyUtxosChangedRequestMessage) String

type NotifyUtxosChangedResponseMessage

type NotifyUtxosChangedResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyUtxosChangedResponseMessage) Descriptor deprecated

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

Deprecated: Use NotifyUtxosChangedResponseMessage.ProtoReflect.Descriptor instead.

func (*NotifyUtxosChangedResponseMessage) GetError

func (*NotifyUtxosChangedResponseMessage) ProtoMessage

func (*NotifyUtxosChangedResponseMessage) ProtoMessage()

func (*NotifyUtxosChangedResponseMessage) ProtoReflect

func (*NotifyUtxosChangedResponseMessage) Reset

func (*NotifyUtxosChangedResponseMessage) String

type NotifyVirtualSelectedParentBlueScoreChangedRequestMessage

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

NotifyVirtualSelectedParentBlueScoreChangedRequestMessage registers this connection for virtualSelectedParentBlueScoreChanged notifications.

See: VirtualSelectedParentBlueScoreChangedNotificationMessage

func (*NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) Descriptor deprecated

Deprecated: Use NotifyVirtualSelectedParentBlueScoreChangedRequestMessage.ProtoReflect.Descriptor instead.

func (*NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) ProtoMessage

func (*NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) ProtoReflect

func (*NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) Reset

func (*NotifyVirtualSelectedParentBlueScoreChangedRequestMessage) String

type NotifyVirtualSelectedParentBlueScoreChangedResponseMessage

type NotifyVirtualSelectedParentBlueScoreChangedResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) Descriptor deprecated

Deprecated: Use NotifyVirtualSelectedParentBlueScoreChangedResponseMessage.ProtoReflect.Descriptor instead.

func (*NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) GetError

func (*NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) ProtoMessage

func (*NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) ProtoReflect

func (*NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) Reset

func (*NotifyVirtualSelectedParentBlueScoreChangedResponseMessage) String

type NotifyVirtualSelectedParentChainChangedRequestMessage

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

NotifyVirtualSelectedParentChainChangedRequestMessage registers this connection for virtualSelectedParentChainChanged notifications.

See: VirtualSelectedParentChainChangedNotificationMessage

func (*NotifyVirtualSelectedParentChainChangedRequestMessage) Descriptor deprecated

Deprecated: Use NotifyVirtualSelectedParentChainChangedRequestMessage.ProtoReflect.Descriptor instead.

func (*NotifyVirtualSelectedParentChainChangedRequestMessage) ProtoMessage

func (*NotifyVirtualSelectedParentChainChangedRequestMessage) ProtoReflect

func (*NotifyVirtualSelectedParentChainChangedRequestMessage) Reset

func (*NotifyVirtualSelectedParentChainChangedRequestMessage) String

type NotifyVirtualSelectedParentChainChangedResponseMessage

type NotifyVirtualSelectedParentChainChangedResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyVirtualSelectedParentChainChangedResponseMessage) Descriptor deprecated

Deprecated: Use NotifyVirtualSelectedParentChainChangedResponseMessage.ProtoReflect.Descriptor instead.

func (*NotifyVirtualSelectedParentChainChangedResponseMessage) GetError

func (*NotifyVirtualSelectedParentChainChangedResponseMessage) ProtoMessage

func (*NotifyVirtualSelectedParentChainChangedResponseMessage) ProtoReflect

func (*NotifyVirtualSelectedParentChainChangedResponseMessage) Reset

func (*NotifyVirtualSelectedParentChainChangedResponseMessage) String

type Outpoint

type Outpoint struct {
	TransactionId *TransactionId `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	Index         uint32         `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*Outpoint) Descriptor deprecated

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

Deprecated: Use Outpoint.ProtoReflect.Descriptor instead.

func (*Outpoint) GetIndex

func (x *Outpoint) GetIndex() uint32

func (*Outpoint) GetTransactionId

func (x *Outpoint) GetTransactionId() *TransactionId

func (*Outpoint) ProtoMessage

func (*Outpoint) ProtoMessage()

func (*Outpoint) ProtoReflect

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

func (*Outpoint) Reset

func (x *Outpoint) Reset()

func (*Outpoint) String

func (x *Outpoint) String() string

type OutpointAndUtxoEntryPair

type OutpointAndUtxoEntryPair struct {
	Outpoint  *Outpoint  `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	UtxoEntry *UtxoEntry `protobuf:"bytes,2,opt,name=utxoEntry,proto3" json:"utxoEntry,omitempty"`
	// contains filtered or unexported fields
}

func (*OutpointAndUtxoEntryPair) Descriptor deprecated

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

Deprecated: Use OutpointAndUtxoEntryPair.ProtoReflect.Descriptor instead.

func (*OutpointAndUtxoEntryPair) GetOutpoint

func (x *OutpointAndUtxoEntryPair) GetOutpoint() *Outpoint

func (*OutpointAndUtxoEntryPair) GetUtxoEntry

func (x *OutpointAndUtxoEntryPair) GetUtxoEntry() *UtxoEntry

func (*OutpointAndUtxoEntryPair) ProtoMessage

func (*OutpointAndUtxoEntryPair) ProtoMessage()

func (*OutpointAndUtxoEntryPair) ProtoReflect

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

func (*OutpointAndUtxoEntryPair) Reset

func (x *OutpointAndUtxoEntryPair) Reset()

func (*OutpointAndUtxoEntryPair) String

func (x *OutpointAndUtxoEntryPair) String() string

type P2PClient

type P2PClient interface {
	MessageStream(ctx context.Context, opts ...grpc.CallOption) (P2P_MessageStreamClient, error)
}

P2PClient is the client API for P2P 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 NewP2PClient

func NewP2PClient(cc grpc.ClientConnInterface) P2PClient

type P2PServer

type P2PServer interface {
	MessageStream(P2P_MessageStreamServer) error
	// contains filtered or unexported methods
}

P2PServer is the server API for P2P service. All implementations must embed UnimplementedP2PServer for forward compatibility

type P2P_MessageStreamClient

type P2P_MessageStreamClient interface {
	Send(*KaspadMessage) error
	Recv() (*KaspadMessage, error)
	grpc.ClientStream
}

type P2P_MessageStreamServer

type P2P_MessageStreamServer interface {
	Send(*KaspadMessage) error
	Recv() (*KaspadMessage, error)
	grpc.ServerStream
}

type PingMessage

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

func (*PingMessage) Descriptor deprecated

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

Deprecated: Use PingMessage.ProtoReflect.Descriptor instead.

func (*PingMessage) GetNonce

func (x *PingMessage) GetNonce() uint64

func (*PingMessage) ProtoMessage

func (*PingMessage) ProtoMessage()

func (*PingMessage) ProtoReflect

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

func (*PingMessage) Reset

func (x *PingMessage) Reset()

func (*PingMessage) String

func (x *PingMessage) String() string

type PongMessage

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

func (*PongMessage) Descriptor deprecated

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

Deprecated: Use PongMessage.ProtoReflect.Descriptor instead.

func (*PongMessage) GetNonce

func (x *PongMessage) GetNonce() uint64

func (*PongMessage) ProtoMessage

func (*PongMessage) ProtoMessage()

func (*PongMessage) ProtoReflect

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

func (*PongMessage) Reset

func (x *PongMessage) Reset()

func (*PongMessage) String

func (x *PongMessage) String() string

type PruningPointHashMessage

type PruningPointHashMessage struct {
	Hash *Hash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*PruningPointHashMessage) Descriptor deprecated

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

Deprecated: Use PruningPointHashMessage.ProtoReflect.Descriptor instead.

func (*PruningPointHashMessage) GetHash

func (x *PruningPointHashMessage) GetHash() *Hash

func (*PruningPointHashMessage) ProtoMessage

func (*PruningPointHashMessage) ProtoMessage()

func (*PruningPointHashMessage) ProtoReflect

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

func (*PruningPointHashMessage) Reset

func (x *PruningPointHashMessage) Reset()

func (*PruningPointHashMessage) String

func (x *PruningPointHashMessage) String() string

type PruningPointUTXOSetOverrideNotificationMessage added in v0.8.10

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

PruningPointUTXOSetOverrideNotificationMessage is sent whenever the UTXO index resets due to pruning point change via IBD.

See NotifyPruningPointUTXOSetOverrideRequestMessage

func (*PruningPointUTXOSetOverrideNotificationMessage) Descriptor deprecated added in v0.8.10

Deprecated: Use PruningPointUTXOSetOverrideNotificationMessage.ProtoReflect.Descriptor instead.

func (*PruningPointUTXOSetOverrideNotificationMessage) ProtoMessage added in v0.8.10

func (*PruningPointUTXOSetOverrideNotificationMessage) ProtoReflect added in v0.8.10

func (*PruningPointUTXOSetOverrideNotificationMessage) Reset added in v0.8.10

func (*PruningPointUTXOSetOverrideNotificationMessage) String added in v0.8.10

type PruningPointUtxoSetChunkMessage

type PruningPointUtxoSetChunkMessage struct {
	OutpointAndUtxoEntryPairs []*OutpointAndUtxoEntryPair `protobuf:"bytes,1,rep,name=outpointAndUtxoEntryPairs,proto3" json:"outpointAndUtxoEntryPairs,omitempty"`
	// contains filtered or unexported fields
}

func (*PruningPointUtxoSetChunkMessage) Descriptor deprecated

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

Deprecated: Use PruningPointUtxoSetChunkMessage.ProtoReflect.Descriptor instead.

func (*PruningPointUtxoSetChunkMessage) GetOutpointAndUtxoEntryPairs

func (x *PruningPointUtxoSetChunkMessage) GetOutpointAndUtxoEntryPairs() []*OutpointAndUtxoEntryPair

func (*PruningPointUtxoSetChunkMessage) ProtoMessage

func (*PruningPointUtxoSetChunkMessage) ProtoMessage()

func (*PruningPointUtxoSetChunkMessage) ProtoReflect

func (*PruningPointUtxoSetChunkMessage) Reset

func (*PruningPointUtxoSetChunkMessage) String

type RPCClient

type RPCClient interface {
	MessageStream(ctx context.Context, opts ...grpc.CallOption) (RPC_MessageStreamClient, error)
}

RPCClient is the client API for RPC 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 NewRPCClient

func NewRPCClient(cc grpc.ClientConnInterface) RPCClient

type RPCError

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

RPCError represents a generic non-internal error.

Receivers of any ResponseMessage are expected to check whether its error field is not null.

func (*RPCError) Descriptor deprecated

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

Deprecated: Use RPCError.ProtoReflect.Descriptor instead.

func (*RPCError) GetMessage

func (x *RPCError) GetMessage() string

func (*RPCError) ProtoMessage

func (*RPCError) ProtoMessage()

func (*RPCError) ProtoReflect

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

func (*RPCError) Reset

func (x *RPCError) Reset()

func (*RPCError) String

func (x *RPCError) String() string

type RPCServer

type RPCServer interface {
	MessageStream(RPC_MessageStreamServer) error
	// contains filtered or unexported methods
}

RPCServer is the server API for RPC service. All implementations must embed UnimplementedRPCServer for forward compatibility

type RPC_MessageStreamClient

type RPC_MessageStreamClient interface {
	Send(*KaspadMessage) error
	Recv() (*KaspadMessage, error)
	grpc.ClientStream
}

type RPC_MessageStreamServer

type RPC_MessageStreamServer interface {
	Send(*KaspadMessage) error
	Recv() (*KaspadMessage, error)
	grpc.ServerStream
}

type RejectMessage

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

func (*RejectMessage) Descriptor deprecated

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

Deprecated: Use RejectMessage.ProtoReflect.Descriptor instead.

func (*RejectMessage) GetReason

func (x *RejectMessage) GetReason() string

func (*RejectMessage) ProtoMessage

func (*RejectMessage) ProtoMessage()

func (*RejectMessage) ProtoReflect

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

func (*RejectMessage) Reset

func (x *RejectMessage) Reset()

func (*RejectMessage) String

func (x *RejectMessage) String() string

type RequestAddressesMessage

type RequestAddressesMessage struct {
	IncludeAllSubnetworks bool          `protobuf:"varint,1,opt,name=includeAllSubnetworks,proto3" json:"includeAllSubnetworks,omitempty"`
	SubnetworkId          *SubnetworkId `protobuf:"bytes,2,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestAddressesMessage) Descriptor deprecated

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

Deprecated: Use RequestAddressesMessage.ProtoReflect.Descriptor instead.

func (*RequestAddressesMessage) GetIncludeAllSubnetworks

func (x *RequestAddressesMessage) GetIncludeAllSubnetworks() bool

func (*RequestAddressesMessage) GetSubnetworkId

func (x *RequestAddressesMessage) GetSubnetworkId() *SubnetworkId

func (*RequestAddressesMessage) ProtoMessage

func (*RequestAddressesMessage) ProtoMessage()

func (*RequestAddressesMessage) ProtoReflect

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

func (*RequestAddressesMessage) Reset

func (x *RequestAddressesMessage) Reset()

func (*RequestAddressesMessage) String

func (x *RequestAddressesMessage) String() string

type RequestBlockLocatorMessage

type RequestBlockLocatorMessage struct {
	LowHash  *Hash  `protobuf:"bytes,1,opt,name=lowHash,proto3" json:"lowHash,omitempty"`
	HighHash *Hash  `protobuf:"bytes,2,opt,name=highHash,proto3" json:"highHash,omitempty"`
	Limit    uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBlockLocatorMessage) Descriptor deprecated

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

Deprecated: Use RequestBlockLocatorMessage.ProtoReflect.Descriptor instead.

func (*RequestBlockLocatorMessage) GetHighHash

func (x *RequestBlockLocatorMessage) GetHighHash() *Hash

func (*RequestBlockLocatorMessage) GetLimit

func (x *RequestBlockLocatorMessage) GetLimit() uint32

func (*RequestBlockLocatorMessage) GetLowHash

func (x *RequestBlockLocatorMessage) GetLowHash() *Hash

func (*RequestBlockLocatorMessage) ProtoMessage

func (*RequestBlockLocatorMessage) ProtoMessage()

func (*RequestBlockLocatorMessage) ProtoReflect

func (*RequestBlockLocatorMessage) Reset

func (x *RequestBlockLocatorMessage) Reset()

func (*RequestBlockLocatorMessage) String

func (x *RequestBlockLocatorMessage) String() string

type RequestHeadersMessage

type RequestHeadersMessage struct {
	LowHash  *Hash `protobuf:"bytes,1,opt,name=lowHash,proto3" json:"lowHash,omitempty"`
	HighHash *Hash `protobuf:"bytes,2,opt,name=highHash,proto3" json:"highHash,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestHeadersMessage) Descriptor deprecated

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

Deprecated: Use RequestHeadersMessage.ProtoReflect.Descriptor instead.

func (*RequestHeadersMessage) GetHighHash

func (x *RequestHeadersMessage) GetHighHash() *Hash

func (*RequestHeadersMessage) GetLowHash

func (x *RequestHeadersMessage) GetLowHash() *Hash

func (*RequestHeadersMessage) ProtoMessage

func (*RequestHeadersMessage) ProtoMessage()

func (*RequestHeadersMessage) ProtoReflect

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

func (*RequestHeadersMessage) Reset

func (x *RequestHeadersMessage) Reset()

func (*RequestHeadersMessage) String

func (x *RequestHeadersMessage) String() string

type RequestIBDBlocksMessage

type RequestIBDBlocksMessage struct {
	Hashes []*Hash `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestIBDBlocksMessage) Descriptor deprecated

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

Deprecated: Use RequestIBDBlocksMessage.ProtoReflect.Descriptor instead.

func (*RequestIBDBlocksMessage) GetHashes

func (x *RequestIBDBlocksMessage) GetHashes() []*Hash

func (*RequestIBDBlocksMessage) ProtoMessage

func (*RequestIBDBlocksMessage) ProtoMessage()

func (*RequestIBDBlocksMessage) ProtoReflect

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

func (*RequestIBDBlocksMessage) Reset

func (x *RequestIBDBlocksMessage) Reset()

func (*RequestIBDBlocksMessage) String

func (x *RequestIBDBlocksMessage) String() string

type RequestNextHeadersMessage

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

func (*RequestNextHeadersMessage) Descriptor deprecated

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

Deprecated: Use RequestNextHeadersMessage.ProtoReflect.Descriptor instead.

func (*RequestNextHeadersMessage) ProtoMessage

func (*RequestNextHeadersMessage) ProtoMessage()

func (*RequestNextHeadersMessage) ProtoReflect

func (*RequestNextHeadersMessage) Reset

func (x *RequestNextHeadersMessage) Reset()

func (*RequestNextHeadersMessage) String

func (x *RequestNextHeadersMessage) String() string

type RequestNextPruningPointUtxoSetChunkMessage

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

func (*RequestNextPruningPointUtxoSetChunkMessage) Descriptor deprecated

Deprecated: Use RequestNextPruningPointUtxoSetChunkMessage.ProtoReflect.Descriptor instead.

func (*RequestNextPruningPointUtxoSetChunkMessage) ProtoMessage

func (*RequestNextPruningPointUtxoSetChunkMessage) ProtoReflect

func (*RequestNextPruningPointUtxoSetChunkMessage) Reset

func (*RequestNextPruningPointUtxoSetChunkMessage) String

type RequestPruningPointHashMessage

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

func (*RequestPruningPointHashMessage) Descriptor deprecated

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

Deprecated: Use RequestPruningPointHashMessage.ProtoReflect.Descriptor instead.

func (*RequestPruningPointHashMessage) ProtoMessage

func (*RequestPruningPointHashMessage) ProtoMessage()

func (*RequestPruningPointHashMessage) ProtoReflect

func (*RequestPruningPointHashMessage) Reset

func (x *RequestPruningPointHashMessage) Reset()

func (*RequestPruningPointHashMessage) String

type RequestPruningPointUTXOSetAndBlockMessage

type RequestPruningPointUTXOSetAndBlockMessage struct {
	PruningPointHash *Hash `protobuf:"bytes,1,opt,name=pruningPointHash,proto3" json:"pruningPointHash,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestPruningPointUTXOSetAndBlockMessage) Descriptor deprecated

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

Deprecated: Use RequestPruningPointUTXOSetAndBlockMessage.ProtoReflect.Descriptor instead.

func (*RequestPruningPointUTXOSetAndBlockMessage) GetPruningPointHash

func (x *RequestPruningPointUTXOSetAndBlockMessage) GetPruningPointHash() *Hash

func (*RequestPruningPointUTXOSetAndBlockMessage) ProtoMessage

func (*RequestPruningPointUTXOSetAndBlockMessage) ProtoReflect

func (*RequestPruningPointUTXOSetAndBlockMessage) Reset

func (*RequestPruningPointUTXOSetAndBlockMessage) String

type RequestRelayBlocksMessage

type RequestRelayBlocksMessage struct {
	Hashes []*Hash `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestRelayBlocksMessage) Descriptor deprecated

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

Deprecated: Use RequestRelayBlocksMessage.ProtoReflect.Descriptor instead.

func (*RequestRelayBlocksMessage) GetHashes

func (x *RequestRelayBlocksMessage) GetHashes() []*Hash

func (*RequestRelayBlocksMessage) ProtoMessage

func (*RequestRelayBlocksMessage) ProtoMessage()

func (*RequestRelayBlocksMessage) ProtoReflect

func (*RequestRelayBlocksMessage) Reset

func (x *RequestRelayBlocksMessage) Reset()

func (*RequestRelayBlocksMessage) String

func (x *RequestRelayBlocksMessage) String() string

type RequestTransactionsMessage

type RequestTransactionsMessage struct {
	Ids []*TransactionId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestTransactionsMessage) Descriptor deprecated

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

Deprecated: Use RequestTransactionsMessage.ProtoReflect.Descriptor instead.

func (*RequestTransactionsMessage) GetIds

func (*RequestTransactionsMessage) ProtoMessage

func (*RequestTransactionsMessage) ProtoMessage()

func (*RequestTransactionsMessage) ProtoReflect

func (*RequestTransactionsMessage) Reset

func (x *RequestTransactionsMessage) Reset()

func (*RequestTransactionsMessage) String

func (x *RequestTransactionsMessage) String() string

type ResolveFinalityConflictRequestMessage

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

func (*ResolveFinalityConflictRequestMessage) Descriptor deprecated

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

Deprecated: Use ResolveFinalityConflictRequestMessage.ProtoReflect.Descriptor instead.

func (*ResolveFinalityConflictRequestMessage) GetFinalityBlockHash

func (x *ResolveFinalityConflictRequestMessage) GetFinalityBlockHash() string

func (*ResolveFinalityConflictRequestMessage) ProtoMessage

func (*ResolveFinalityConflictRequestMessage) ProtoMessage()

func (*ResolveFinalityConflictRequestMessage) ProtoReflect

func (*ResolveFinalityConflictRequestMessage) Reset

func (*ResolveFinalityConflictRequestMessage) String

type ResolveFinalityConflictResponseMessage

type ResolveFinalityConflictResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveFinalityConflictResponseMessage) Descriptor deprecated

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

Deprecated: Use ResolveFinalityConflictResponseMessage.ProtoReflect.Descriptor instead.

func (*ResolveFinalityConflictResponseMessage) GetError

func (*ResolveFinalityConflictResponseMessage) ProtoMessage

func (*ResolveFinalityConflictResponseMessage) ProtoReflect

func (*ResolveFinalityConflictResponseMessage) Reset

func (*ResolveFinalityConflictResponseMessage) String

type RpcOutpoint

type RpcOutpoint struct {
	TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	Index         uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcOutpoint) Descriptor deprecated

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

Deprecated: Use RpcOutpoint.ProtoReflect.Descriptor instead.

func (*RpcOutpoint) GetIndex

func (x *RpcOutpoint) GetIndex() uint32

func (*RpcOutpoint) GetTransactionId

func (x *RpcOutpoint) GetTransactionId() string

func (*RpcOutpoint) ProtoMessage

func (*RpcOutpoint) ProtoMessage()

func (*RpcOutpoint) ProtoReflect

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

func (*RpcOutpoint) Reset

func (x *RpcOutpoint) Reset()

func (*RpcOutpoint) String

func (x *RpcOutpoint) String() string

type RpcScriptPublicKey

type RpcScriptPublicKey struct {
	Version         uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	ScriptPublicKey string `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	// contains filtered or unexported fields
}

func ConvertFromRPCScriptPubKeyToAppMsgRPCScriptPubKey

func ConvertFromRPCScriptPubKeyToAppMsgRPCScriptPubKey(toConvert *appmessage.RPCScriptPublicKey) *RpcScriptPublicKey

ConvertFromRPCScriptPubKeyToAppMsgRPCScriptPubKey converts from RPCScriptPublicKey to RpcScriptPubKey.

func (*RpcScriptPublicKey) Descriptor deprecated

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

Deprecated: Use RpcScriptPublicKey.ProtoReflect.Descriptor instead.

func (*RpcScriptPublicKey) GetScriptPublicKey

func (x *RpcScriptPublicKey) GetScriptPublicKey() string

func (*RpcScriptPublicKey) GetVersion

func (x *RpcScriptPublicKey) GetVersion() uint32

func (*RpcScriptPublicKey) ProtoMessage

func (*RpcScriptPublicKey) ProtoMessage()

func (*RpcScriptPublicKey) ProtoReflect

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

func (*RpcScriptPublicKey) Reset

func (x *RpcScriptPublicKey) Reset()

func (*RpcScriptPublicKey) String

func (x *RpcScriptPublicKey) String() string

type RpcTransaction

type RpcTransaction struct {
	Version      uint32                  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Inputs       []*RpcTransactionInput  `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs      []*RpcTransactionOutput `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	LockTime     uint64                  `protobuf:"varint,4,opt,name=lockTime,proto3" json:"lockTime,omitempty"`
	SubnetworkId string                  `protobuf:"bytes,5,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"`
	Gas          uint64                  `protobuf:"varint,6,opt,name=gas,proto3" json:"gas,omitempty"`
	PayloadHash  string                  `protobuf:"bytes,7,opt,name=payloadHash,proto3" json:"payloadHash,omitempty"`
	Payload      string                  `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcTransaction) Descriptor deprecated

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

Deprecated: Use RpcTransaction.ProtoReflect.Descriptor instead.

func (*RpcTransaction) GetGas

func (x *RpcTransaction) GetGas() uint64

func (*RpcTransaction) GetInputs

func (x *RpcTransaction) GetInputs() []*RpcTransactionInput

func (*RpcTransaction) GetLockTime

func (x *RpcTransaction) GetLockTime() uint64

func (*RpcTransaction) GetOutputs

func (x *RpcTransaction) GetOutputs() []*RpcTransactionOutput

func (*RpcTransaction) GetPayload

func (x *RpcTransaction) GetPayload() string

func (*RpcTransaction) GetPayloadHash

func (x *RpcTransaction) GetPayloadHash() string

func (*RpcTransaction) GetSubnetworkId

func (x *RpcTransaction) GetSubnetworkId() string

func (*RpcTransaction) GetVersion

func (x *RpcTransaction) GetVersion() uint32

func (*RpcTransaction) ProtoMessage

func (*RpcTransaction) ProtoMessage()

func (*RpcTransaction) ProtoReflect

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

func (*RpcTransaction) Reset

func (x *RpcTransaction) Reset()

func (*RpcTransaction) String

func (x *RpcTransaction) String() string

type RpcTransactionInput

type RpcTransactionInput struct {
	PreviousOutpoint *RpcOutpoint `protobuf:"bytes,1,opt,name=previousOutpoint,proto3" json:"previousOutpoint,omitempty"`
	SignatureScript  string       `protobuf:"bytes,2,opt,name=signatureScript,proto3" json:"signatureScript,omitempty"`
	Sequence         uint64       `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcTransactionInput) Descriptor deprecated

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

Deprecated: Use RpcTransactionInput.ProtoReflect.Descriptor instead.

func (*RpcTransactionInput) GetPreviousOutpoint

func (x *RpcTransactionInput) GetPreviousOutpoint() *RpcOutpoint

func (*RpcTransactionInput) GetSequence

func (x *RpcTransactionInput) GetSequence() uint64

func (*RpcTransactionInput) GetSignatureScript

func (x *RpcTransactionInput) GetSignatureScript() string

func (*RpcTransactionInput) ProtoMessage

func (*RpcTransactionInput) ProtoMessage()

func (*RpcTransactionInput) ProtoReflect

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

func (*RpcTransactionInput) Reset

func (x *RpcTransactionInput) Reset()

func (*RpcTransactionInput) String

func (x *RpcTransactionInput) String() string

type RpcTransactionOutput

type RpcTransactionOutput struct {
	Amount          uint64              `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	ScriptPublicKey *RpcScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcTransactionOutput) Descriptor deprecated

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

Deprecated: Use RpcTransactionOutput.ProtoReflect.Descriptor instead.

func (*RpcTransactionOutput) GetAmount

func (x *RpcTransactionOutput) GetAmount() uint64

func (*RpcTransactionOutput) GetScriptPublicKey

func (x *RpcTransactionOutput) GetScriptPublicKey() *RpcScriptPublicKey

func (*RpcTransactionOutput) ProtoMessage

func (*RpcTransactionOutput) ProtoMessage()

func (*RpcTransactionOutput) ProtoReflect

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

func (*RpcTransactionOutput) Reset

func (x *RpcTransactionOutput) Reset()

func (*RpcTransactionOutput) String

func (x *RpcTransactionOutput) String() string

type RpcUtxoEntry

type RpcUtxoEntry struct {
	Amount          uint64              `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	ScriptPublicKey *RpcScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	BlockBlueScore  uint64              `protobuf:"varint,3,opt,name=blockBlueScore,proto3" json:"blockBlueScore,omitempty"`
	IsCoinbase      bool                `protobuf:"varint,4,opt,name=isCoinbase,proto3" json:"isCoinbase,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcUtxoEntry) Descriptor deprecated

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

Deprecated: Use RpcUtxoEntry.ProtoReflect.Descriptor instead.

func (*RpcUtxoEntry) GetAmount

func (x *RpcUtxoEntry) GetAmount() uint64

func (*RpcUtxoEntry) GetBlockBlueScore

func (x *RpcUtxoEntry) GetBlockBlueScore() uint64

func (*RpcUtxoEntry) GetIsCoinbase

func (x *RpcUtxoEntry) GetIsCoinbase() bool

func (*RpcUtxoEntry) GetScriptPublicKey

func (x *RpcUtxoEntry) GetScriptPublicKey() *RpcScriptPublicKey

func (*RpcUtxoEntry) ProtoMessage

func (*RpcUtxoEntry) ProtoMessage()

func (*RpcUtxoEntry) ProtoReflect

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

func (*RpcUtxoEntry) Reset

func (x *RpcUtxoEntry) Reset()

func (*RpcUtxoEntry) String

func (x *RpcUtxoEntry) String() string

type ScriptPublicKey

type ScriptPublicKey struct {
	Script  []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ScriptPublicKey) Descriptor deprecated

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

Deprecated: Use ScriptPublicKey.ProtoReflect.Descriptor instead.

func (*ScriptPublicKey) GetScript

func (x *ScriptPublicKey) GetScript() []byte

func (*ScriptPublicKey) GetVersion

func (x *ScriptPublicKey) GetVersion() uint32

func (*ScriptPublicKey) ProtoMessage

func (*ScriptPublicKey) ProtoMessage()

func (*ScriptPublicKey) ProtoReflect

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

func (*ScriptPublicKey) Reset

func (x *ScriptPublicKey) Reset()

func (*ScriptPublicKey) String

func (x *ScriptPublicKey) String() string

type ScriptPublicKeyResult

type ScriptPublicKeyResult struct {
	Asm     string `protobuf:"bytes,1,opt,name=asm,proto3" json:"asm,omitempty"`
	Hex     string `protobuf:"bytes,2,opt,name=hex,proto3" json:"hex,omitempty"`
	Type    string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ScriptPublicKeyResult) Descriptor deprecated

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

Deprecated: Use ScriptPublicKeyResult.ProtoReflect.Descriptor instead.

func (*ScriptPublicKeyResult) GetAddress

func (x *ScriptPublicKeyResult) GetAddress() string

func (*ScriptPublicKeyResult) GetAsm

func (x *ScriptPublicKeyResult) GetAsm() string

func (*ScriptPublicKeyResult) GetHex

func (x *ScriptPublicKeyResult) GetHex() string

func (*ScriptPublicKeyResult) GetType

func (x *ScriptPublicKeyResult) GetType() string

func (*ScriptPublicKeyResult) GetVersion added in v0.9.0

func (x *ScriptPublicKeyResult) GetVersion() uint32

func (*ScriptPublicKeyResult) ProtoMessage

func (*ScriptPublicKeyResult) ProtoMessage()

func (*ScriptPublicKeyResult) ProtoReflect

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

func (*ScriptPublicKeyResult) Reset

func (x *ScriptPublicKeyResult) Reset()

func (*ScriptPublicKeyResult) String

func (x *ScriptPublicKeyResult) String() string

type ScriptSig

type ScriptSig struct {
	Asm string `protobuf:"bytes,1,opt,name=asm,proto3" json:"asm,omitempty"`
	Hex string `protobuf:"bytes,2,opt,name=hex,proto3" json:"hex,omitempty"`
	// contains filtered or unexported fields
}

func (*ScriptSig) Descriptor deprecated

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

Deprecated: Use ScriptSig.ProtoReflect.Descriptor instead.

func (*ScriptSig) GetAsm

func (x *ScriptSig) GetAsm() string

func (*ScriptSig) GetHex

func (x *ScriptSig) GetHex() string

func (*ScriptSig) ProtoMessage

func (*ScriptSig) ProtoMessage()

func (*ScriptSig) ProtoReflect

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

func (*ScriptSig) Reset

func (x *ScriptSig) Reset()

func (*ScriptSig) String

func (x *ScriptSig) String() string

type ShutDownRequestMessage

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

ShutDownRequestMessage shuts down this kaspad.

func (*ShutDownRequestMessage) Descriptor deprecated

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

Deprecated: Use ShutDownRequestMessage.ProtoReflect.Descriptor instead.

func (*ShutDownRequestMessage) ProtoMessage

func (*ShutDownRequestMessage) ProtoMessage()

func (*ShutDownRequestMessage) ProtoReflect

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

func (*ShutDownRequestMessage) Reset

func (x *ShutDownRequestMessage) Reset()

func (*ShutDownRequestMessage) String

func (x *ShutDownRequestMessage) String() string

type ShutDownResponseMessage

type ShutDownResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ShutDownResponseMessage) Descriptor deprecated

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

Deprecated: Use ShutDownResponseMessage.ProtoReflect.Descriptor instead.

func (*ShutDownResponseMessage) GetError

func (x *ShutDownResponseMessage) GetError() *RPCError

func (*ShutDownResponseMessage) ProtoMessage

func (*ShutDownResponseMessage) ProtoMessage()

func (*ShutDownResponseMessage) ProtoReflect

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

func (*ShutDownResponseMessage) Reset

func (x *ShutDownResponseMessage) Reset()

func (*ShutDownResponseMessage) String

func (x *ShutDownResponseMessage) String() string

type StopNotifyingPruningPointUTXOSetOverrideRequestMessage added in v0.8.10

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

StopNotifyingPruningPointUTXOSetOverrideRequestMessage unregisters this connection for pruning point UTXO set override notifications.

This call is only available when this kaspad was started with `--utxoindex`

See: PruningPointUTXOSetOverrideNotificationMessage

func (*StopNotifyingPruningPointUTXOSetOverrideRequestMessage) Descriptor deprecated added in v0.8.10

Deprecated: Use StopNotifyingPruningPointUTXOSetOverrideRequestMessage.ProtoReflect.Descriptor instead.

func (*StopNotifyingPruningPointUTXOSetOverrideRequestMessage) ProtoMessage added in v0.8.10

func (*StopNotifyingPruningPointUTXOSetOverrideRequestMessage) ProtoReflect added in v0.8.10

func (*StopNotifyingPruningPointUTXOSetOverrideRequestMessage) Reset added in v0.8.10

func (*StopNotifyingPruningPointUTXOSetOverrideRequestMessage) String added in v0.8.10

type StopNotifyingPruningPointUTXOSetOverrideResponseMessage added in v0.8.10

type StopNotifyingPruningPointUTXOSetOverrideResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*StopNotifyingPruningPointUTXOSetOverrideResponseMessage) Descriptor deprecated added in v0.8.10

Deprecated: Use StopNotifyingPruningPointUTXOSetOverrideResponseMessage.ProtoReflect.Descriptor instead.

func (*StopNotifyingPruningPointUTXOSetOverrideResponseMessage) GetError added in v0.8.10

func (*StopNotifyingPruningPointUTXOSetOverrideResponseMessage) ProtoMessage added in v0.8.10

func (*StopNotifyingPruningPointUTXOSetOverrideResponseMessage) ProtoReflect added in v0.8.10

func (*StopNotifyingPruningPointUTXOSetOverrideResponseMessage) Reset added in v0.8.10

func (*StopNotifyingPruningPointUTXOSetOverrideResponseMessage) String added in v0.8.10

type StopNotifyingUtxosChangedRequestMessage added in v0.8.9

type StopNotifyingUtxosChangedRequestMessage struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

StopNotifyingUtxosChangedRequestMessage unregisters this connection for utxoChanged notifications for the given addresses.

This call is only available when this kaspad was started with `--utxoindex`

See: UtxosChangedNotificationMessage

func (*StopNotifyingUtxosChangedRequestMessage) Descriptor deprecated added in v0.8.9

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

Deprecated: Use StopNotifyingUtxosChangedRequestMessage.ProtoReflect.Descriptor instead.

func (*StopNotifyingUtxosChangedRequestMessage) GetAddresses added in v0.8.9

func (x *StopNotifyingUtxosChangedRequestMessage) GetAddresses() []string

func (*StopNotifyingUtxosChangedRequestMessage) ProtoMessage added in v0.8.9

func (*StopNotifyingUtxosChangedRequestMessage) ProtoReflect added in v0.8.9

func (*StopNotifyingUtxosChangedRequestMessage) Reset added in v0.8.9

func (*StopNotifyingUtxosChangedRequestMessage) String added in v0.8.9

type StopNotifyingUtxosChangedResponseMessage added in v0.8.9

type StopNotifyingUtxosChangedResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*StopNotifyingUtxosChangedResponseMessage) Descriptor deprecated added in v0.8.9

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

Deprecated: Use StopNotifyingUtxosChangedResponseMessage.ProtoReflect.Descriptor instead.

func (*StopNotifyingUtxosChangedResponseMessage) GetError added in v0.8.9

func (*StopNotifyingUtxosChangedResponseMessage) ProtoMessage added in v0.8.9

func (*StopNotifyingUtxosChangedResponseMessage) ProtoReflect added in v0.8.9

func (*StopNotifyingUtxosChangedResponseMessage) Reset added in v0.8.9

func (*StopNotifyingUtxosChangedResponseMessage) String added in v0.8.9

type SubmitBlockRequestMessage

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

SubmitBlockRequestMessage requests to submit a block into the DAG. Blocks are generally expected to have been generated using the getBlockTemplate call.

See: GetBlockTemplateRequestMessage

func (*SubmitBlockRequestMessage) Descriptor deprecated

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

Deprecated: Use SubmitBlockRequestMessage.ProtoReflect.Descriptor instead.

func (*SubmitBlockRequestMessage) GetBlock

func (x *SubmitBlockRequestMessage) GetBlock() *BlockMessage

func (*SubmitBlockRequestMessage) ProtoMessage

func (*SubmitBlockRequestMessage) ProtoMessage()

func (*SubmitBlockRequestMessage) ProtoReflect

func (*SubmitBlockRequestMessage) Reset

func (x *SubmitBlockRequestMessage) Reset()

func (*SubmitBlockRequestMessage) String

func (x *SubmitBlockRequestMessage) String() string

type SubmitBlockResponseMessage

type SubmitBlockResponseMessage struct {
	RejectReason SubmitBlockResponseMessage_RejectReason `` /* 133-byte string literal not displayed */
	Error        *RPCError                               `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitBlockResponseMessage) Descriptor deprecated

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

Deprecated: Use SubmitBlockResponseMessage.ProtoReflect.Descriptor instead.

func (*SubmitBlockResponseMessage) GetError

func (x *SubmitBlockResponseMessage) GetError() *RPCError

func (*SubmitBlockResponseMessage) GetRejectReason

func (*SubmitBlockResponseMessage) ProtoMessage

func (*SubmitBlockResponseMessage) ProtoMessage()

func (*SubmitBlockResponseMessage) ProtoReflect

func (*SubmitBlockResponseMessage) Reset

func (x *SubmitBlockResponseMessage) Reset()

func (*SubmitBlockResponseMessage) String

func (x *SubmitBlockResponseMessage) String() string

type SubmitBlockResponseMessage_RejectReason

type SubmitBlockResponseMessage_RejectReason int32
const (
	SubmitBlockResponseMessage_NONE          SubmitBlockResponseMessage_RejectReason = 0
	SubmitBlockResponseMessage_BLOCK_INVALID SubmitBlockResponseMessage_RejectReason = 1
	SubmitBlockResponseMessage_IS_IN_IBD     SubmitBlockResponseMessage_RejectReason = 2
)

func (SubmitBlockResponseMessage_RejectReason) Descriptor

func (SubmitBlockResponseMessage_RejectReason) Enum

func (SubmitBlockResponseMessage_RejectReason) EnumDescriptor deprecated

func (SubmitBlockResponseMessage_RejectReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use SubmitBlockResponseMessage_RejectReason.Descriptor instead.

func (SubmitBlockResponseMessage_RejectReason) Number

func (SubmitBlockResponseMessage_RejectReason) String

func (SubmitBlockResponseMessage_RejectReason) Type

type SubmitTransactionRequestMessage

type SubmitTransactionRequestMessage struct {
	Transaction *RpcTransaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

SubmitTransactionRequestMessage submits a transaction to the mempool

func (*SubmitTransactionRequestMessage) Descriptor deprecated

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

Deprecated: Use SubmitTransactionRequestMessage.ProtoReflect.Descriptor instead.

func (*SubmitTransactionRequestMessage) GetTransaction

func (x *SubmitTransactionRequestMessage) GetTransaction() *RpcTransaction

func (*SubmitTransactionRequestMessage) ProtoMessage

func (*SubmitTransactionRequestMessage) ProtoMessage()

func (*SubmitTransactionRequestMessage) ProtoReflect

func (*SubmitTransactionRequestMessage) Reset

func (*SubmitTransactionRequestMessage) String

type SubmitTransactionResponseMessage

type SubmitTransactionResponseMessage struct {

	// The transaction ID of the submitted transaction
	TransactionId string    `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	Error         *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitTransactionResponseMessage) Descriptor deprecated

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

Deprecated: Use SubmitTransactionResponseMessage.ProtoReflect.Descriptor instead.

func (*SubmitTransactionResponseMessage) GetError

func (*SubmitTransactionResponseMessage) GetTransactionId

func (x *SubmitTransactionResponseMessage) GetTransactionId() string

func (*SubmitTransactionResponseMessage) ProtoMessage

func (*SubmitTransactionResponseMessage) ProtoMessage()

func (*SubmitTransactionResponseMessage) ProtoReflect

func (*SubmitTransactionResponseMessage) Reset

func (*SubmitTransactionResponseMessage) String

type SubnetworkId

type SubnetworkId struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*SubnetworkId) Descriptor deprecated

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

Deprecated: Use SubnetworkId.ProtoReflect.Descriptor instead.

func (*SubnetworkId) GetBytes

func (x *SubnetworkId) GetBytes() []byte

func (*SubnetworkId) ProtoMessage

func (*SubnetworkId) ProtoMessage()

func (*SubnetworkId) ProtoReflect

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

func (*SubnetworkId) Reset

func (x *SubnetworkId) Reset()

func (*SubnetworkId) String

func (x *SubnetworkId) String() string

type TransactionId

type TransactionId struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionId) Descriptor deprecated

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

Deprecated: Use TransactionId.ProtoReflect.Descriptor instead.

func (*TransactionId) GetBytes

func (x *TransactionId) GetBytes() []byte

func (*TransactionId) ProtoMessage

func (*TransactionId) ProtoMessage()

func (*TransactionId) ProtoReflect

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

func (*TransactionId) Reset

func (x *TransactionId) Reset()

func (*TransactionId) String

func (x *TransactionId) String() string

type TransactionInput

type TransactionInput struct {
	PreviousOutpoint *Outpoint `protobuf:"bytes,1,opt,name=previousOutpoint,proto3" json:"previousOutpoint,omitempty"`
	SignatureScript  []byte    `protobuf:"bytes,2,opt,name=signatureScript,proto3" json:"signatureScript,omitempty"`
	Sequence         uint64    `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionInput) Descriptor deprecated

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

Deprecated: Use TransactionInput.ProtoReflect.Descriptor instead.

func (*TransactionInput) GetPreviousOutpoint

func (x *TransactionInput) GetPreviousOutpoint() *Outpoint

func (*TransactionInput) GetSequence

func (x *TransactionInput) GetSequence() uint64

func (*TransactionInput) GetSignatureScript

func (x *TransactionInput) GetSignatureScript() []byte

func (*TransactionInput) ProtoMessage

func (*TransactionInput) ProtoMessage()

func (*TransactionInput) ProtoReflect

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

func (*TransactionInput) Reset

func (x *TransactionInput) Reset()

func (*TransactionInput) String

func (x *TransactionInput) String() string

type TransactionMessage

type TransactionMessage struct {
	Version      uint32               `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Inputs       []*TransactionInput  `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs      []*TransactionOutput `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	LockTime     uint64               `protobuf:"varint,4,opt,name=lockTime,proto3" json:"lockTime,omitempty"`
	SubnetworkId *SubnetworkId        `protobuf:"bytes,5,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"`
	Gas          uint64               `protobuf:"varint,6,opt,name=gas,proto3" json:"gas,omitempty"`
	PayloadHash  *Hash                `protobuf:"bytes,7,opt,name=payloadHash,proto3" json:"payloadHash,omitempty"`
	Payload      []byte               `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionMessage) Descriptor deprecated

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

Deprecated: Use TransactionMessage.ProtoReflect.Descriptor instead.

func (*TransactionMessage) GetGas

func (x *TransactionMessage) GetGas() uint64

func (*TransactionMessage) GetInputs

func (x *TransactionMessage) GetInputs() []*TransactionInput

func (*TransactionMessage) GetLockTime

func (x *TransactionMessage) GetLockTime() uint64

func (*TransactionMessage) GetOutputs

func (x *TransactionMessage) GetOutputs() []*TransactionOutput

func (*TransactionMessage) GetPayload

func (x *TransactionMessage) GetPayload() []byte

func (*TransactionMessage) GetPayloadHash

func (x *TransactionMessage) GetPayloadHash() *Hash

func (*TransactionMessage) GetSubnetworkId

func (x *TransactionMessage) GetSubnetworkId() *SubnetworkId

func (*TransactionMessage) GetVersion

func (x *TransactionMessage) GetVersion() uint32

func (*TransactionMessage) ProtoMessage

func (*TransactionMessage) ProtoMessage()

func (*TransactionMessage) ProtoReflect

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

func (*TransactionMessage) Reset

func (x *TransactionMessage) Reset()

func (*TransactionMessage) String

func (x *TransactionMessage) String() string

type TransactionNotFoundMessage

type TransactionNotFoundMessage struct {
	Id *TransactionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionNotFoundMessage) Descriptor deprecated

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

Deprecated: Use TransactionNotFoundMessage.ProtoReflect.Descriptor instead.

func (*TransactionNotFoundMessage) GetId

func (*TransactionNotFoundMessage) ProtoMessage

func (*TransactionNotFoundMessage) ProtoMessage()

func (*TransactionNotFoundMessage) ProtoReflect

func (*TransactionNotFoundMessage) Reset

func (x *TransactionNotFoundMessage) Reset()

func (*TransactionNotFoundMessage) String

func (x *TransactionNotFoundMessage) String() string

type TransactionOutput

type TransactionOutput struct {
	Value           uint64           `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	ScriptPublicKey *ScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionOutput) Descriptor deprecated

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

Deprecated: Use TransactionOutput.ProtoReflect.Descriptor instead.

func (*TransactionOutput) GetScriptPublicKey

func (x *TransactionOutput) GetScriptPublicKey() *ScriptPublicKey

func (*TransactionOutput) GetValue

func (x *TransactionOutput) GetValue() uint64

func (*TransactionOutput) ProtoMessage

func (*TransactionOutput) ProtoMessage()

func (*TransactionOutput) ProtoReflect

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

func (*TransactionOutput) Reset

func (x *TransactionOutput) Reset()

func (*TransactionOutput) String

func (x *TransactionOutput) String() string

type TransactionVerboseData

type TransactionVerboseData struct {
	TxId                      string                      `protobuf:"bytes,1,opt,name=txId,proto3" json:"txId,omitempty"`
	Hash                      string                      `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Size                      uint64                      `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Version                   uint32                      `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	LockTime                  uint64                      `protobuf:"varint,5,opt,name=lockTime,proto3" json:"lockTime,omitempty"`
	SubnetworkId              string                      `protobuf:"bytes,6,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"`
	Gas                       uint64                      `protobuf:"varint,7,opt,name=gas,proto3" json:"gas,omitempty"`
	PayloadHash               string                      `protobuf:"bytes,8,opt,name=payloadHash,proto3" json:"payloadHash,omitempty"`
	Payload                   string                      `protobuf:"bytes,9,opt,name=payload,proto3" json:"payload,omitempty"`
	TransactionVerboseInputs  []*TransactionVerboseInput  `protobuf:"bytes,10,rep,name=transactionVerboseInputs,proto3" json:"transactionVerboseInputs,omitempty"`
	TransactionVerboseOutputs []*TransactionVerboseOutput `protobuf:"bytes,11,rep,name=transactionVerboseOutputs,proto3" json:"transactionVerboseOutputs,omitempty"`
	BlockHash                 string                      `protobuf:"bytes,12,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Time                      uint64                      `protobuf:"varint,13,opt,name=time,proto3" json:"time,omitempty"`
	BlockTime                 uint64                      `protobuf:"varint,14,opt,name=blockTime,proto3" json:"blockTime,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionVerboseData) Descriptor deprecated

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

Deprecated: Use TransactionVerboseData.ProtoReflect.Descriptor instead.

func (*TransactionVerboseData) GetBlockHash

func (x *TransactionVerboseData) GetBlockHash() string

func (*TransactionVerboseData) GetBlockTime

func (x *TransactionVerboseData) GetBlockTime() uint64

func (*TransactionVerboseData) GetGas

func (x *TransactionVerboseData) GetGas() uint64

func (*TransactionVerboseData) GetHash

func (x *TransactionVerboseData) GetHash() string

func (*TransactionVerboseData) GetLockTime

func (x *TransactionVerboseData) GetLockTime() uint64

func (*TransactionVerboseData) GetPayload

func (x *TransactionVerboseData) GetPayload() string

func (*TransactionVerboseData) GetPayloadHash

func (x *TransactionVerboseData) GetPayloadHash() string

func (*TransactionVerboseData) GetSize

func (x *TransactionVerboseData) GetSize() uint64

func (*TransactionVerboseData) GetSubnetworkId

func (x *TransactionVerboseData) GetSubnetworkId() string

func (*TransactionVerboseData) GetTime

func (x *TransactionVerboseData) GetTime() uint64

func (*TransactionVerboseData) GetTransactionVerboseInputs

func (x *TransactionVerboseData) GetTransactionVerboseInputs() []*TransactionVerboseInput

func (*TransactionVerboseData) GetTransactionVerboseOutputs

func (x *TransactionVerboseData) GetTransactionVerboseOutputs() []*TransactionVerboseOutput

func (*TransactionVerboseData) GetTxId

func (x *TransactionVerboseData) GetTxId() string

func (*TransactionVerboseData) GetVersion

func (x *TransactionVerboseData) GetVersion() uint32

func (*TransactionVerboseData) ProtoMessage

func (*TransactionVerboseData) ProtoMessage()

func (*TransactionVerboseData) ProtoReflect

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

func (*TransactionVerboseData) Reset

func (x *TransactionVerboseData) Reset()

func (*TransactionVerboseData) String

func (x *TransactionVerboseData) String() string

type TransactionVerboseInput

type TransactionVerboseInput struct {
	TxId        string     `protobuf:"bytes,1,opt,name=txId,proto3" json:"txId,omitempty"`
	OutputIndex uint32     `protobuf:"varint,2,opt,name=outputIndex,proto3" json:"outputIndex,omitempty"`
	ScriptSig   *ScriptSig `protobuf:"bytes,3,opt,name=scriptSig,proto3" json:"scriptSig,omitempty"`
	Sequence    uint64     `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionVerboseInput) Descriptor deprecated

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

Deprecated: Use TransactionVerboseInput.ProtoReflect.Descriptor instead.

func (*TransactionVerboseInput) GetOutputIndex

func (x *TransactionVerboseInput) GetOutputIndex() uint32

func (*TransactionVerboseInput) GetScriptSig

func (x *TransactionVerboseInput) GetScriptSig() *ScriptSig

func (*TransactionVerboseInput) GetSequence

func (x *TransactionVerboseInput) GetSequence() uint64

func (*TransactionVerboseInput) GetTxId

func (x *TransactionVerboseInput) GetTxId() string

func (*TransactionVerboseInput) ProtoMessage

func (*TransactionVerboseInput) ProtoMessage()

func (*TransactionVerboseInput) ProtoReflect

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

func (*TransactionVerboseInput) Reset

func (x *TransactionVerboseInput) Reset()

func (*TransactionVerboseInput) String

func (x *TransactionVerboseInput) String() string

type TransactionVerboseOutput

type TransactionVerboseOutput struct {
	Value           uint64                 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Index           uint32                 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	ScriptPublicKey *ScriptPublicKeyResult `protobuf:"bytes,3,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionVerboseOutput) Descriptor deprecated

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

Deprecated: Use TransactionVerboseOutput.ProtoReflect.Descriptor instead.

func (*TransactionVerboseOutput) GetIndex

func (x *TransactionVerboseOutput) GetIndex() uint32

func (*TransactionVerboseOutput) GetScriptPublicKey

func (x *TransactionVerboseOutput) GetScriptPublicKey() *ScriptPublicKeyResult

func (*TransactionVerboseOutput) GetValue

func (x *TransactionVerboseOutput) GetValue() uint64

func (*TransactionVerboseOutput) ProtoMessage

func (*TransactionVerboseOutput) ProtoMessage()

func (*TransactionVerboseOutput) ProtoReflect

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

func (*TransactionVerboseOutput) Reset

func (x *TransactionVerboseOutput) Reset()

func (*TransactionVerboseOutput) String

func (x *TransactionVerboseOutput) String() string

type UnbanRequestMessage

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

UnbanRequestMessage unbans the given ip.

func (*UnbanRequestMessage) Descriptor deprecated

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

Deprecated: Use UnbanRequestMessage.ProtoReflect.Descriptor instead.

func (*UnbanRequestMessage) GetIp

func (x *UnbanRequestMessage) GetIp() string

func (*UnbanRequestMessage) ProtoMessage

func (*UnbanRequestMessage) ProtoMessage()

func (*UnbanRequestMessage) ProtoReflect

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

func (*UnbanRequestMessage) Reset

func (x *UnbanRequestMessage) Reset()

func (*UnbanRequestMessage) String

func (x *UnbanRequestMessage) String() string

type UnbanResponseMessage

type UnbanResponseMessage struct {
	Error *RPCError `protobuf:"bytes,1000,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*UnbanResponseMessage) Descriptor deprecated

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

Deprecated: Use UnbanResponseMessage.ProtoReflect.Descriptor instead.

func (*UnbanResponseMessage) GetError

func (x *UnbanResponseMessage) GetError() *RPCError

func (*UnbanResponseMessage) ProtoMessage

func (*UnbanResponseMessage) ProtoMessage()

func (*UnbanResponseMessage) ProtoReflect

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

func (*UnbanResponseMessage) Reset

func (x *UnbanResponseMessage) Reset()

func (*UnbanResponseMessage) String

func (x *UnbanResponseMessage) String() string

type UnexpectedPruningPointMessage

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

func (*UnexpectedPruningPointMessage) Descriptor deprecated

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

Deprecated: Use UnexpectedPruningPointMessage.ProtoReflect.Descriptor instead.

func (*UnexpectedPruningPointMessage) ProtoMessage

func (*UnexpectedPruningPointMessage) ProtoMessage()

func (*UnexpectedPruningPointMessage) ProtoReflect

func (*UnexpectedPruningPointMessage) Reset

func (x *UnexpectedPruningPointMessage) Reset()

func (*UnexpectedPruningPointMessage) String

type UnimplementedP2PServer

type UnimplementedP2PServer struct {
}

UnimplementedP2PServer must be embedded to have forward compatible implementations.

func (*UnimplementedP2PServer) MessageStream

type UnimplementedRPCServer

type UnimplementedRPCServer struct {
}

UnimplementedRPCServer must be embedded to have forward compatible implementations.

func (*UnimplementedRPCServer) MessageStream

type UtxoEntry

type UtxoEntry struct {
	Amount          uint64           `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	ScriptPublicKey *ScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"`
	BlockBlueScore  uint64           `protobuf:"varint,3,opt,name=blockBlueScore,proto3" json:"blockBlueScore,omitempty"`
	IsCoinbase      bool             `protobuf:"varint,4,opt,name=isCoinbase,proto3" json:"isCoinbase,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoEntry) Descriptor deprecated

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

Deprecated: Use UtxoEntry.ProtoReflect.Descriptor instead.

func (*UtxoEntry) GetAmount

func (x *UtxoEntry) GetAmount() uint64

func (*UtxoEntry) GetBlockBlueScore

func (x *UtxoEntry) GetBlockBlueScore() uint64

func (*UtxoEntry) GetIsCoinbase

func (x *UtxoEntry) GetIsCoinbase() bool

func (*UtxoEntry) GetScriptPublicKey

func (x *UtxoEntry) GetScriptPublicKey() *ScriptPublicKey

func (*UtxoEntry) ProtoMessage

func (*UtxoEntry) ProtoMessage()

func (*UtxoEntry) ProtoReflect

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

func (*UtxoEntry) Reset

func (x *UtxoEntry) Reset()

func (*UtxoEntry) String

func (x *UtxoEntry) String() string

type UtxosByAddressesEntry

type UtxosByAddressesEntry struct {
	Address   string        `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Outpoint  *RpcOutpoint  `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	UtxoEntry *RpcUtxoEntry `protobuf:"bytes,3,opt,name=utxoEntry,proto3" json:"utxoEntry,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxosByAddressesEntry) Descriptor deprecated

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

Deprecated: Use UtxosByAddressesEntry.ProtoReflect.Descriptor instead.

func (*UtxosByAddressesEntry) GetAddress

func (x *UtxosByAddressesEntry) GetAddress() string

func (*UtxosByAddressesEntry) GetOutpoint

func (x *UtxosByAddressesEntry) GetOutpoint() *RpcOutpoint

func (*UtxosByAddressesEntry) GetUtxoEntry

func (x *UtxosByAddressesEntry) GetUtxoEntry() *RpcUtxoEntry

func (*UtxosByAddressesEntry) ProtoMessage

func (*UtxosByAddressesEntry) ProtoMessage()

func (*UtxosByAddressesEntry) ProtoReflect

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

func (*UtxosByAddressesEntry) Reset

func (x *UtxosByAddressesEntry) Reset()

func (*UtxosByAddressesEntry) String

func (x *UtxosByAddressesEntry) String() string

type UtxosChangedNotificationMessage

type UtxosChangedNotificationMessage struct {
	Added   []*UtxosByAddressesEntry `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"`
	Removed []*UtxosByAddressesEntry `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"`
	// contains filtered or unexported fields
}

UtxosChangedNotificationMessage is sent whenever the UTXO index had been updated.

See: NotifyUtxosChangedRequestMessage

func (*UtxosChangedNotificationMessage) Descriptor deprecated

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

Deprecated: Use UtxosChangedNotificationMessage.ProtoReflect.Descriptor instead.

func (*UtxosChangedNotificationMessage) GetAdded

func (*UtxosChangedNotificationMessage) GetRemoved

func (*UtxosChangedNotificationMessage) ProtoMessage

func (*UtxosChangedNotificationMessage) ProtoMessage()

func (*UtxosChangedNotificationMessage) ProtoReflect

func (*UtxosChangedNotificationMessage) Reset

func (*UtxosChangedNotificationMessage) String

type VerackMessage

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

func (*VerackMessage) Descriptor deprecated

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

Deprecated: Use VerackMessage.ProtoReflect.Descriptor instead.

func (*VerackMessage) ProtoMessage

func (*VerackMessage) ProtoMessage()

func (*VerackMessage) ProtoReflect

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

func (*VerackMessage) Reset

func (x *VerackMessage) Reset()

func (*VerackMessage) String

func (x *VerackMessage) String() string

type VersionMessage

type VersionMessage struct {
	ProtocolVersion uint32        `protobuf:"varint,1,opt,name=protocolVersion,proto3" json:"protocolVersion,omitempty"`
	Services        uint64        `protobuf:"varint,2,opt,name=services,proto3" json:"services,omitempty"`
	Timestamp       int64         `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Address         *NetAddress   `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Id              []byte        `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	UserAgent       string        `protobuf:"bytes,6,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
	DisableRelayTx  bool          `protobuf:"varint,8,opt,name=disableRelayTx,proto3" json:"disableRelayTx,omitempty"`
	SubnetworkId    *SubnetworkId `protobuf:"bytes,9,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"`
	Network         string        `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionMessage) Descriptor deprecated

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

Deprecated: Use VersionMessage.ProtoReflect.Descriptor instead.

func (*VersionMessage) GetAddress

func (x *VersionMessage) GetAddress() *NetAddress

func (*VersionMessage) GetDisableRelayTx

func (x *VersionMessage) GetDisableRelayTx() bool

func (*VersionMessage) GetId

func (x *VersionMessage) GetId() []byte

func (*VersionMessage) GetNetwork

func (x *VersionMessage) GetNetwork() string

func (*VersionMessage) GetProtocolVersion

func (x *VersionMessage) GetProtocolVersion() uint32

func (*VersionMessage) GetServices

func (x *VersionMessage) GetServices() uint64

func (*VersionMessage) GetSubnetworkId

func (x *VersionMessage) GetSubnetworkId() *SubnetworkId

func (*VersionMessage) GetTimestamp

func (x *VersionMessage) GetTimestamp() int64

func (*VersionMessage) GetUserAgent

func (x *VersionMessage) GetUserAgent() string

func (*VersionMessage) ProtoMessage

func (*VersionMessage) ProtoMessage()

func (*VersionMessage) ProtoReflect

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

func (*VersionMessage) Reset

func (x *VersionMessage) Reset()

func (*VersionMessage) String

func (x *VersionMessage) String() string

type VirtualSelectedParentBlueScoreChangedNotificationMessage

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

VirtualSelectedParentBlueScoreChangedNotificationMessage is sent whenever the blue score of the virtual's selected parent changes.

See NotifyVirtualSelectedParentBlueScoreChangedRequestMessage

func (*VirtualSelectedParentBlueScoreChangedNotificationMessage) Descriptor deprecated

Deprecated: Use VirtualSelectedParentBlueScoreChangedNotificationMessage.ProtoReflect.Descriptor instead.

func (*VirtualSelectedParentBlueScoreChangedNotificationMessage) GetVirtualSelectedParentBlueScore

func (x *VirtualSelectedParentBlueScoreChangedNotificationMessage) GetVirtualSelectedParentBlueScore() uint64

func (*VirtualSelectedParentBlueScoreChangedNotificationMessage) ProtoMessage

func (*VirtualSelectedParentBlueScoreChangedNotificationMessage) ProtoReflect

func (*VirtualSelectedParentBlueScoreChangedNotificationMessage) Reset

func (*VirtualSelectedParentBlueScoreChangedNotificationMessage) String

type VirtualSelectedParentChainChangedNotificationMessage

type VirtualSelectedParentChainChangedNotificationMessage struct {

	// The chain blocks that were removed, in high-to-low order
	RemovedChainBlockHashes []string `protobuf:"bytes,1,rep,name=removedChainBlockHashes,proto3" json:"removedChainBlockHashes,omitempty"`
	// The chain blocks that were added, in low-to-high order
	AddedChainBlocks []*ChainBlock `protobuf:"bytes,2,rep,name=addedChainBlocks,proto3" json:"addedChainBlocks,omitempty"`
	// contains filtered or unexported fields
}

VirtualSelectedParentChainChangedNotificationMessage is sent whenever the DAG's selected parent chain had changed.

See: NotifyVirtualSelectedParentChainChangedRequestMessage

func (*VirtualSelectedParentChainChangedNotificationMessage) Descriptor deprecated

Deprecated: Use VirtualSelectedParentChainChangedNotificationMessage.ProtoReflect.Descriptor instead.

func (*VirtualSelectedParentChainChangedNotificationMessage) GetAddedChainBlocks

func (*VirtualSelectedParentChainChangedNotificationMessage) GetRemovedChainBlockHashes

func (x *VirtualSelectedParentChainChangedNotificationMessage) GetRemovedChainBlockHashes() []string

func (*VirtualSelectedParentChainChangedNotificationMessage) ProtoMessage

func (*VirtualSelectedParentChainChangedNotificationMessage) ProtoReflect

func (*VirtualSelectedParentChainChangedNotificationMessage) Reset

func (*VirtualSelectedParentChainChangedNotificationMessage) String

Source Files

Jump to

Keyboard shortcuts

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