pb

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WinnerType_name = map[int32]string{
		0: "GENESIS_SIGNER",
		1: "TXN_SIGNER",
		2: "BLOCK_SIGNER",
	}
	WinnerType_value = map[string]int32{
		"GENESIS_SIGNER": 0,
		"TXN_SIGNER":     1,
		"BLOCK_SIGNER":   2,
	}
)

Enum value maps for WinnerType.

View Source
var (
	ClientMessageType_name = map[int32]string{
		0: "OUTBOUND_MESSAGE",
		1: "INBOUND_MESSAGE",
		2: "RECEIPT",
	}
	ClientMessageType_value = map[string]int32{
		"OUTBOUND_MESSAGE": 0,
		"INBOUND_MESSAGE":  1,
		"RECEIPT":          2,
	}
)

Enum value maps for ClientMessageType.

View Source
var (
	CompressionType_name = map[int32]string{
		0: "COMPRESSION_NONE",
		1: "COMPRESSION_ZLIB",
	}
	CompressionType_value = map[string]int32{
		"COMPRESSION_NONE": 0,
		"COMPRESSION_ZLIB": 1,
	}
)

Enum value maps for CompressionType.

View Source
var (
	SyncState_name = map[int32]string{
		0: "WAIT_FOR_SYNCING",
		1: "SYNC_STARTED",
		2: "SYNC_FINISHED",
		3: "PERSIST_FINISHED",
	}
	SyncState_value = map[string]int32{
		"WAIT_FOR_SYNCING": 0,
		"SYNC_STARTED":     1,
		"SYNC_FINISHED":    2,
		"PERSIST_FINISHED": 3,
	}
)

Enum value maps for SyncState.

View Source
var (
	MessageType_name = map[int32]string{
		0:  "MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE",
		1:  "VOTE",
		2:  "I_HAVE_BLOCK_PROPOSAL",
		3:  "REQUEST_BLOCK_PROPOSAL",
		4:  "REQUEST_BLOCK_PROPOSAL_REPLY",
		5:  "GET_CONSENSUS_STATE",
		6:  "GET_CONSENSUS_STATE_REPLY",
		7:  "GET_BLOCK_HEADERS",
		8:  "GET_BLOCK_HEADERS_REPLY",
		9:  "GET_BLOCKS",
		10: "GET_BLOCKS_REPLY",
		11: "RELAY",
		12: "TRANSACTIONS",
		13: "BACKTRACK_SIGNATURE_CHAIN",
		14: "REQUEST_PROPOSAL_TRANSACTIONS",
		15: "REQUEST_PROPOSAL_TRANSACTIONS_REPLY",
		16: "I_HAVE_SIGNATURE_CHAIN_TRANSACTION",
		17: "REQUEST_SIGNATURE_CHAIN_TRANSACTION",
		18: "REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY",
		19: "PIN_SIGNATURE_CHAIN",
		20: "SIGNATURE_CHAIN_OBJECTION",
		21: "GET_STATES",
		22: "GET_STATES_REPLY",
	}
	MessageType_value = map[string]int32{
		"MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE":       0,
		"VOTE":                                      1,
		"I_HAVE_BLOCK_PROPOSAL":                     2,
		"REQUEST_BLOCK_PROPOSAL":                    3,
		"REQUEST_BLOCK_PROPOSAL_REPLY":              4,
		"GET_CONSENSUS_STATE":                       5,
		"GET_CONSENSUS_STATE_REPLY":                 6,
		"GET_BLOCK_HEADERS":                         7,
		"GET_BLOCK_HEADERS_REPLY":                   8,
		"GET_BLOCKS":                                9,
		"GET_BLOCKS_REPLY":                          10,
		"RELAY":                                     11,
		"TRANSACTIONS":                              12,
		"BACKTRACK_SIGNATURE_CHAIN":                 13,
		"REQUEST_PROPOSAL_TRANSACTIONS":             14,
		"REQUEST_PROPOSAL_TRANSACTIONS_REPLY":       15,
		"I_HAVE_SIGNATURE_CHAIN_TRANSACTION":        16,
		"REQUEST_SIGNATURE_CHAIN_TRANSACTION":       17,
		"REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18,
		"PIN_SIGNATURE_CHAIN":                       19,
		"SIGNATURE_CHAIN_OBJECTION":                 20,
		"GET_STATES":                                21,
		"GET_STATES_REPLY":                          22,
	}
)

Enum value maps for MessageType.

View Source
var (
	AllowedSignedMessageType_name = map[int32]string{
		0: "ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE",
	}
	AllowedSignedMessageType_value = map[string]int32{
		"ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE": 0,
	}
)

Enum value maps for AllowedSignedMessageType.

View Source
var (
	AllowedUnsignedMessageType_name = map[int32]string{
		0:  "ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE",
		1:  "ALLOW_UNSIGNED_VOTE",
		2:  "ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL",
		3:  "ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL",
		4:  "ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY",
		5:  "ALLOW_UNSIGNED_GET_CONSENSUS_STATE",
		6:  "ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY",
		7:  "ALLOW_UNSIGNED_GET_BLOCK_HEADERS",
		8:  "ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY",
		9:  "ALLOW_UNSIGNED_GET_BLOCKS",
		10: "ALLOW_UNSIGNED_GET_BLOCKS_REPLY",
		11: "ALLOW_UNSIGNED_RELAY",
		12: "ALLOW_UNSIGNED_TRANSACTIONS",
		13: "ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN",
		14: "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS",
		15: "ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY",
		16: "ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION",
		17: "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION",
		18: "ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY",
		19: "ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN",
		20: "ALLOW_UNSIGNED_SIGNATURE_CHAIN_OBJECTION",
		21: "ALLOW_UNSIGNED_GET_STATES",
		22: "ALLOW_UNSIGNED_GET_STATES_REPLY",
	}
	AllowedUnsignedMessageType_value = map[string]int32{
		"ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE":                    0,
		"ALLOW_UNSIGNED_VOTE":                                      1,
		"ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL":                     2,
		"ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL":                    3,
		"ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY":                       4,
		"ALLOW_UNSIGNED_GET_CONSENSUS_STATE":                       5,
		"ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY":                 6,
		"ALLOW_UNSIGNED_GET_BLOCK_HEADERS":                         7,
		"ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY":                   8,
		"ALLOW_UNSIGNED_GET_BLOCKS":                                9,
		"ALLOW_UNSIGNED_GET_BLOCKS_REPLY":                          10,
		"ALLOW_UNSIGNED_RELAY":                                     11,
		"ALLOW_UNSIGNED_TRANSACTIONS":                              12,
		"ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN":                 13,
		"ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS":             14,
		"ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY":       15,
		"ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION":        16,
		"ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION":       17,
		"ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18,
		"ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN":                       19,
		"ALLOW_UNSIGNED_SIGNATURE_CHAIN_OBJECTION":                 20,
		"ALLOW_UNSIGNED_GET_STATES":                                21,
		"ALLOW_UNSIGNED_GET_STATES_REPLY":                          22,
	}
)

Enum value maps for AllowedUnsignedMessageType.

View Source
var (
	AllowedDirectMessageType_name = map[int32]string{
		0:  "ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE",
		1:  "ALLOW_DIRECT_VOTE",
		2:  "ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL",
		3:  "ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL",
		4:  "ALLOW_DIRECT_REQUEST_BLOCK_REPLY",
		5:  "ALLOW_DIRECT_GET_CONSENSUS_STATE",
		6:  "ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY",
		7:  "ALLOW_DIRECT_GET_BLOCK_HEADERS",
		8:  "ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY",
		9:  "ALLOW_DIRECT_GET_BLOCKS",
		10: "ALLOW_DIRECT_GET_BLOCKS_REPLY",
		13: "ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN",
		14: "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS",
		15: "ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY",
		16: "ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION",
		17: "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION",
		18: "ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY",
		19: "ALLOW_DIRECT_PIN_SIGNATURE_CHAIN",
		20: "ALLOW_DIRECT_SIGNATURE_CHAIN_OBJECTION",
		21: "ALLOW_DIRECT_GET_STATES",
		22: "ALLOW_DIRECT_GET_STATES_REPLY",
	}
	AllowedDirectMessageType_value = map[string]int32{
		"ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE":                    0,
		"ALLOW_DIRECT_VOTE":                                      1,
		"ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL":                     2,
		"ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL":                    3,
		"ALLOW_DIRECT_REQUEST_BLOCK_REPLY":                       4,
		"ALLOW_DIRECT_GET_CONSENSUS_STATE":                       5,
		"ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY":                 6,
		"ALLOW_DIRECT_GET_BLOCK_HEADERS":                         7,
		"ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY":                   8,
		"ALLOW_DIRECT_GET_BLOCKS":                                9,
		"ALLOW_DIRECT_GET_BLOCKS_REPLY":                          10,
		"ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN":                 13,
		"ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS":             14,
		"ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY":       15,
		"ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION":        16,
		"ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION":       17,
		"ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY": 18,
		"ALLOW_DIRECT_PIN_SIGNATURE_CHAIN":                       19,
		"ALLOW_DIRECT_SIGNATURE_CHAIN_OBJECTION":                 20,
		"ALLOW_DIRECT_GET_STATES":                                21,
		"ALLOW_DIRECT_GET_STATES_REPLY":                          22,
	}
)

Enum value maps for AllowedDirectMessageType.

View Source
var (
	AllowedRelayMessageType_name = map[int32]string{
		0:  "ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE",
		11: "ALLOW_RELAY_RELAY",
	}
	AllowedRelayMessageType_value = map[string]int32{
		"ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE": 0,
		"ALLOW_RELAY_RELAY":                  11,
	}
)

Enum value maps for AllowedRelayMessageType.

View Source
var (
	AllowedBroadcastPushMessageType_name = map[int32]string{
		0:  "ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE",
		12: "ALLOW_BROADCAST_PUSH_TRANSACTIONS",
	}
	AllowedBroadcastPushMessageType_value = map[string]int32{
		"ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE": 0,
		"ALLOW_BROADCAST_PUSH_TRANSACTIONS":           12,
	}
)

Enum value maps for AllowedBroadcastPushMessageType.

View Source
var (
	AllowedBroadcastPullMessageType_name = map[int32]string{
		0: "ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE",
	}
	AllowedBroadcastPullMessageType_value = map[string]int32{
		"ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE": 0,
	}
)

Enum value maps for AllowedBroadcastPullMessageType.

View Source
var (
	AllowedBroadcastTreeMessageType_name = map[int32]string{
		0:  "ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE",
		12: "ALLOW_BROADCAST_TREE_TRANSACTIONS",
	}
	AllowedBroadcastTreeMessageType_value = map[string]int32{
		"ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE": 0,
		"ALLOW_BROADCAST_TREE_TRANSACTIONS":           12,
	}
)

Enum value maps for AllowedBroadcastTreeMessageType.

View Source
var (
	RequestTransactionType_name = map[int32]string{
		0: "REQUEST_FULL_TRANSACTION",
		1: "REQUEST_TRANSACTION_HASH",
		2: "REQUEST_TRANSACTION_SHORT_HASH",
	}
	RequestTransactionType_value = map[string]int32{
		"REQUEST_FULL_TRANSACTION":       0,
		"REQUEST_TRANSACTION_HASH":       1,
		"REQUEST_TRANSACTION_SHORT_HASH": 2,
	}
)

Enum value maps for RequestTransactionType.

View Source
var (
	SigAlgo_name = map[int32]string{
		0: "SIGNATURE",
		1: "HASH",
	}
	SigAlgo_value = map[string]int32{
		"SIGNATURE": 0,
		"HASH":      1,
	}
)

Enum value maps for SigAlgo.

View Source
var (
	PayloadType_name = map[int32]string{
		0:  "COINBASE_TYPE",
		1:  "TRANSFER_ASSET_TYPE",
		2:  "SIG_CHAIN_TXN_TYPE",
		3:  "REGISTER_NAME_TYPE",
		4:  "TRANSFER_NAME_TYPE",
		5:  "DELETE_NAME_TYPE",
		6:  "SUBSCRIBE_TYPE",
		7:  "UNSUBSCRIBE_TYPE",
		8:  "GENERATE_ID_TYPE",
		9:  "NANO_PAY_TYPE",
		10: "ISSUE_ASSET_TYPE",
		11: "GENERATE_ID_2_TYPE",
		12: "SWAP_ASSET_TYPE",
		13: "SWAP_RDC_ASSET_TYPE",
		14: "TRANSFER_RDC_ASSET_TYPE",
	}
	PayloadType_value = map[string]int32{
		"COINBASE_TYPE":           0,
		"TRANSFER_ASSET_TYPE":     1,
		"SIG_CHAIN_TXN_TYPE":      2,
		"REGISTER_NAME_TYPE":      3,
		"TRANSFER_NAME_TYPE":      4,
		"DELETE_NAME_TYPE":        5,
		"SUBSCRIBE_TYPE":          6,
		"UNSUBSCRIBE_TYPE":        7,
		"GENERATE_ID_TYPE":        8,
		"NANO_PAY_TYPE":           9,
		"ISSUE_ASSET_TYPE":        10,
		"GENERATE_ID_2_TYPE":      11,
		"SWAP_ASSET_TYPE":         12,
		"SWAP_RDC_ASSET_TYPE":     13,
		"TRANSFER_RDC_ASSET_TYPE": 14,
	}
)

Enum value maps for PayloadType.

View Source
var File_pb_block_proto protoreflect.FileDescriptor
View Source
var File_pb_clientmessage_proto protoreflect.FileDescriptor
View Source
var File_pb_node_proto protoreflect.FileDescriptor
View Source
var File_pb_nodemessage_proto protoreflect.FileDescriptor
View Source
var File_pb_sigchain_proto protoreflect.FileDescriptor
View Source
var File_pb_transaction_proto protoreflect.FileDescriptor

Functions

func ComputeSignatureHash

func ComputeSignatureHash(lastRelayHash []byte, sigChainLen int, height uint32, leftShiftBit int) []byte

Types

type AllowedBroadcastPullMessageType

type AllowedBroadcastPullMessageType int32

Message type that can be sent as broadcast_pull message Name doesn't matter, but value needs to match the value in MessageType

const (
	AllowedBroadcastPullMessageType_ALLOW_BROADCAST_PULL_PLACEHOLDER_DO_NOT_USE AllowedBroadcastPullMessageType = 0 // Placeholder, do not use or change
)

func (AllowedBroadcastPullMessageType) Descriptor

func (AllowedBroadcastPullMessageType) Enum

func (AllowedBroadcastPullMessageType) EnumDescriptor deprecated

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

Deprecated: Use AllowedBroadcastPullMessageType.Descriptor instead.

func (AllowedBroadcastPullMessageType) Number

func (AllowedBroadcastPullMessageType) String

func (AllowedBroadcastPullMessageType) Type

type AllowedBroadcastPushMessageType

type AllowedBroadcastPushMessageType int32

Message type that can be sent as broadcast_push message Name doesn't matter, but value needs to match the value in MessageType

const (
	AllowedBroadcastPushMessageType_ALLOW_BROADCAST_PUSH_PLACEHOLDER_DO_NOT_USE AllowedBroadcastPushMessageType = 0 // Placeholder, do not use or change
	AllowedBroadcastPushMessageType_ALLOW_BROADCAST_PUSH_TRANSACTIONS           AllowedBroadcastPushMessageType = 12
)

func (AllowedBroadcastPushMessageType) Descriptor

func (AllowedBroadcastPushMessageType) Enum

func (AllowedBroadcastPushMessageType) EnumDescriptor deprecated

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

Deprecated: Use AllowedBroadcastPushMessageType.Descriptor instead.

func (AllowedBroadcastPushMessageType) Number

func (AllowedBroadcastPushMessageType) String

func (AllowedBroadcastPushMessageType) Type

type AllowedBroadcastTreeMessageType

type AllowedBroadcastTreeMessageType int32

Message type that can be sent as broadcast_tree message Name doesn't matter, but value needs to match the value in MessageType

const (
	AllowedBroadcastTreeMessageType_ALLOW_BROADCAST_TREE_PLACEHOLDER_DO_NOT_USE AllowedBroadcastTreeMessageType = 0 // Placeholder, do not use or change
	AllowedBroadcastTreeMessageType_ALLOW_BROADCAST_TREE_TRANSACTIONS           AllowedBroadcastTreeMessageType = 12
)

func (AllowedBroadcastTreeMessageType) Descriptor

func (AllowedBroadcastTreeMessageType) Enum

func (AllowedBroadcastTreeMessageType) EnumDescriptor deprecated

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

Deprecated: Use AllowedBroadcastTreeMessageType.Descriptor instead.

func (AllowedBroadcastTreeMessageType) Number

func (AllowedBroadcastTreeMessageType) String

func (AllowedBroadcastTreeMessageType) Type

type AllowedDirectMessageType

type AllowedDirectMessageType int32

Message type that can be sent as direct message Name doesn't matter, but value needs to match the value in MessageType

const (
	AllowedDirectMessageType_ALLOW_DIRECT_PLACEHOLDER_DO_NOT_USE                    AllowedDirectMessageType = 0 // Placeholder, do not use or change
	AllowedDirectMessageType_ALLOW_DIRECT_VOTE                                      AllowedDirectMessageType = 1
	AllowedDirectMessageType_ALLOW_DIRECT_I_HAVE_BLOCK_PROPOSAL                     AllowedDirectMessageType = 2
	AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_BLOCK_PROPOSAL                    AllowedDirectMessageType = 3
	AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_BLOCK_REPLY                       AllowedDirectMessageType = 4
	AllowedDirectMessageType_ALLOW_DIRECT_GET_CONSENSUS_STATE                       AllowedDirectMessageType = 5
	AllowedDirectMessageType_ALLOW_DIRECT_GET_CONSENSUS_STATE_REPLY                 AllowedDirectMessageType = 6
	AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCK_HEADERS                         AllowedDirectMessageType = 7
	AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCK_HEADERS_REPLY                   AllowedDirectMessageType = 8
	AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCKS                                AllowedDirectMessageType = 9
	AllowedDirectMessageType_ALLOW_DIRECT_GET_BLOCKS_REPLY                          AllowedDirectMessageType = 10
	AllowedDirectMessageType_ALLOW_DIRECT_BACKTRACK_SIGNATURE_CHAIN                 AllowedDirectMessageType = 13
	AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS             AllowedDirectMessageType = 14
	AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_PROPOSAL_TRANSACTIONS_REPLY       AllowedDirectMessageType = 15
	AllowedDirectMessageType_ALLOW_DIRECT_I_HAVE_SIGNATURE_CHAIN_TRANSACTION        AllowedDirectMessageType = 16
	AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION       AllowedDirectMessageType = 17
	AllowedDirectMessageType_ALLOW_DIRECT_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY AllowedDirectMessageType = 18
	AllowedDirectMessageType_ALLOW_DIRECT_PIN_SIGNATURE_CHAIN                       AllowedDirectMessageType = 19
	AllowedDirectMessageType_ALLOW_DIRECT_SIGNATURE_CHAIN_OBJECTION                 AllowedDirectMessageType = 20
	AllowedDirectMessageType_ALLOW_DIRECT_GET_STATES                                AllowedDirectMessageType = 21
	AllowedDirectMessageType_ALLOW_DIRECT_GET_STATES_REPLY                          AllowedDirectMessageType = 22
)

func (AllowedDirectMessageType) Descriptor

func (AllowedDirectMessageType) Enum

func (AllowedDirectMessageType) EnumDescriptor deprecated

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

Deprecated: Use AllowedDirectMessageType.Descriptor instead.

func (AllowedDirectMessageType) Number

func (AllowedDirectMessageType) String

func (x AllowedDirectMessageType) String() string

func (AllowedDirectMessageType) Type

type AllowedRelayMessageType

type AllowedRelayMessageType int32

Message type that can be sent as relay message Name doesn't matter, but value needs to match the value in MessageType

const (
	AllowedRelayMessageType_ALLOW_RELAY_PLACEHOLDER_DO_NOT_USE AllowedRelayMessageType = 0 // Placeholder, do not use or change
	AllowedRelayMessageType_ALLOW_RELAY_RELAY                  AllowedRelayMessageType = 11
)

func (AllowedRelayMessageType) Descriptor

func (AllowedRelayMessageType) Enum

func (AllowedRelayMessageType) EnumDescriptor deprecated

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

Deprecated: Use AllowedRelayMessageType.Descriptor instead.

func (AllowedRelayMessageType) Number

func (AllowedRelayMessageType) String

func (x AllowedRelayMessageType) String() string

func (AllowedRelayMessageType) Type

type AllowedSignedMessageType

type AllowedSignedMessageType int32

Message type that can be signed message Name doesn't matter, but value needs to match the value in MessageType

const (
	AllowedSignedMessageType_ALLOW_SIGNED_PLACEHOLDER_DO_NOT_USE AllowedSignedMessageType = 0 // Placeholder, do not use or change
)

func (AllowedSignedMessageType) Descriptor

func (AllowedSignedMessageType) Enum

func (AllowedSignedMessageType) EnumDescriptor deprecated

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

Deprecated: Use AllowedSignedMessageType.Descriptor instead.

func (AllowedSignedMessageType) Number

func (AllowedSignedMessageType) String

func (x AllowedSignedMessageType) String() string

func (AllowedSignedMessageType) Type

type AllowedUnsignedMessageType

type AllowedUnsignedMessageType int32

Message type that can be unsigned message Name doesn't matter, but value needs to match the value in MessageType

const (
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_PLACEHOLDER_DO_NOT_USE                    AllowedUnsignedMessageType = 0 // Placeholder, do not use or change
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_VOTE                                      AllowedUnsignedMessageType = 1
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_I_HAVE_BLOCK_PROPOSAL                     AllowedUnsignedMessageType = 2
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_BLOCK_PROPOSAL                    AllowedUnsignedMessageType = 3
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_BLOCK_REPLY                       AllowedUnsignedMessageType = 4
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_CONSENSUS_STATE                       AllowedUnsignedMessageType = 5
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_CONSENSUS_STATE_REPLY                 AllowedUnsignedMessageType = 6
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCK_HEADERS                         AllowedUnsignedMessageType = 7
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCK_HEADERS_REPLY                   AllowedUnsignedMessageType = 8
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCKS                                AllowedUnsignedMessageType = 9
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_BLOCKS_REPLY                          AllowedUnsignedMessageType = 10
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_RELAY                                     AllowedUnsignedMessageType = 11
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_TRANSACTIONS                              AllowedUnsignedMessageType = 12
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_BACKTRACK_SIGNATURE_CHAIN                 AllowedUnsignedMessageType = 13
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS             AllowedUnsignedMessageType = 14
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_PROPOSAL_TRANSACTIONS_REPLY       AllowedUnsignedMessageType = 15
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_I_HAVE_SIGNATURE_CHAIN_TRANSACTION        AllowedUnsignedMessageType = 16
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION       AllowedUnsignedMessageType = 17
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY AllowedUnsignedMessageType = 18
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_PIN_SIGNATURE_CHAIN                       AllowedUnsignedMessageType = 19
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_SIGNATURE_CHAIN_OBJECTION                 AllowedUnsignedMessageType = 20
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_STATES                                AllowedUnsignedMessageType = 21
	AllowedUnsignedMessageType_ALLOW_UNSIGNED_GET_STATES_REPLY                          AllowedUnsignedMessageType = 22
)

func (AllowedUnsignedMessageType) Descriptor

func (AllowedUnsignedMessageType) Enum

func (AllowedUnsignedMessageType) EnumDescriptor deprecated

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

Deprecated: Use AllowedUnsignedMessageType.Descriptor instead.

func (AllowedUnsignedMessageType) Number

func (AllowedUnsignedMessageType) String

func (AllowedUnsignedMessageType) Type

type BacktrackSignatureChain

type BacktrackSignatureChain struct {
	SigChainElems []*SigChainElem `protobuf:"bytes,1,rep,name=sig_chain_elems,json=sigChainElems,proto3" json:"sig_chain_elems,omitempty"`
	Hash          []byte          `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*BacktrackSignatureChain) Descriptor deprecated

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

Deprecated: Use BacktrackSignatureChain.ProtoReflect.Descriptor instead.

func (*BacktrackSignatureChain) GetHash

func (x *BacktrackSignatureChain) GetHash() []byte

func (*BacktrackSignatureChain) GetSigChainElems

func (x *BacktrackSignatureChain) GetSigChainElems() []*SigChainElem

func (*BacktrackSignatureChain) ProtoMessage

func (*BacktrackSignatureChain) ProtoMessage()

func (*BacktrackSignatureChain) ProtoReflect

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

func (*BacktrackSignatureChain) Reset

func (x *BacktrackSignatureChain) Reset()

func (*BacktrackSignatureChain) String

func (x *BacktrackSignatureChain) String() string

type Block

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

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetHeader

func (x *Block) GetHeader() *Header

func (*Block) GetTransactions

func (x *Block) GetTransactions() []*Transaction

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type ClientMessage

type ClientMessage struct {
	MessageType     ClientMessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=pb.ClientMessageType" json:"message_type,omitempty"`
	Message         []byte            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	CompressionType CompressionType   `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ClientMessage) Descriptor deprecated

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

Deprecated: Use ClientMessage.ProtoReflect.Descriptor instead.

func (*ClientMessage) GetCompressionType

func (x *ClientMessage) GetCompressionType() CompressionType

func (*ClientMessage) GetMessage

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

func (*ClientMessage) GetMessageType

func (x *ClientMessage) GetMessageType() ClientMessageType

func (*ClientMessage) ProtoMessage

func (*ClientMessage) ProtoMessage()

func (*ClientMessage) ProtoReflect

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

func (*ClientMessage) Reset

func (x *ClientMessage) Reset()

func (*ClientMessage) String

func (x *ClientMessage) String() string

type ClientMessageType

type ClientMessageType int32
const (
	ClientMessageType_OUTBOUND_MESSAGE ClientMessageType = 0
	ClientMessageType_INBOUND_MESSAGE  ClientMessageType = 1
	ClientMessageType_RECEIPT          ClientMessageType = 2
)

func (ClientMessageType) Descriptor

func (ClientMessageType) Enum

func (ClientMessageType) EnumDescriptor deprecated

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

Deprecated: Use ClientMessageType.Descriptor instead.

func (ClientMessageType) Number

func (ClientMessageType) String

func (x ClientMessageType) String() string

func (ClientMessageType) Type

type Coinbase

type Coinbase struct {
	Sender                                   []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient_PoP_Challengers                []byte `` /* 132-byte string literal not displayed */
	Recipient_PoP_Challengess                []byte `` /* 132-byte string literal not displayed */
	Recipient_Revos_Token_Corporate_Treasury []byte `` /* 175-byte string literal not displayed */
	Recipient_Revos_Token_Sales              []byte `` /* 137-byte string literal not displayed */
	Recipient_PoN_Connectivity_Utilization   []byte `` /* 170-byte string literal not displayed */
	Recipient_PoN_Compute_Utilization        []byte `` /* 155-byte string literal not displayed */
	Recipient_PoN_Storage_Utilization        []byte `` /* 155-byte string literal not displayed */
	Amount                                   int64  `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"`
	Amount_PoP_Challengers                   int64  `protobuf:"varint,10,opt,name=amount_PoP_Challengers,json=amountPoPChallengers,proto3" json:"amount_PoP_Challengers,omitempty"`
	Amount_PoP_Challengess                   int64  `protobuf:"varint,11,opt,name=amount_PoP_Challengess,json=amountPoPChallengess,proto3" json:"amount_PoP_Challengess,omitempty"`
	Amount_Revos_Token_Corporate_Treasury    int64  `` /* 168-byte string literal not displayed */
	Amount_Revos_Token_Sales                 int64  `` /* 130-byte string literal not displayed */
	Amount_PoN_Connectivity_Utilization      int64  `` /* 163-byte string literal not displayed */
	Amount_PoN_Compute_Utilization           int64  `` /* 148-byte string literal not displayed */
	Amount_PoN_Storage_Utilization           int64  `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Coinbase) Descriptor deprecated

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

Deprecated: Use Coinbase.ProtoReflect.Descriptor instead.

func (*Coinbase) GetAmount

func (x *Coinbase) GetAmount() int64

func (*Coinbase) GetAmount_PoN_Compute_Utilization

func (x *Coinbase) GetAmount_PoN_Compute_Utilization() int64

func (*Coinbase) GetAmount_PoN_Connectivity_Utilization

func (x *Coinbase) GetAmount_PoN_Connectivity_Utilization() int64

func (*Coinbase) GetAmount_PoN_Storage_Utilization

func (x *Coinbase) GetAmount_PoN_Storage_Utilization() int64

func (*Coinbase) GetAmount_PoP_Challengers

func (x *Coinbase) GetAmount_PoP_Challengers() int64

func (*Coinbase) GetAmount_PoP_Challengess

func (x *Coinbase) GetAmount_PoP_Challengess() int64

func (*Coinbase) GetAmount_Revos_Token_Corporate_Treasury

func (x *Coinbase) GetAmount_Revos_Token_Corporate_Treasury() int64

func (*Coinbase) GetAmount_Revos_Token_Sales

func (x *Coinbase) GetAmount_Revos_Token_Sales() int64

func (*Coinbase) GetRecipient_PoN_Compute_Utilization

func (x *Coinbase) GetRecipient_PoN_Compute_Utilization() []byte

func (*Coinbase) GetRecipient_PoN_Connectivity_Utilization

func (x *Coinbase) GetRecipient_PoN_Connectivity_Utilization() []byte

func (*Coinbase) GetRecipient_PoN_Storage_Utilization

func (x *Coinbase) GetRecipient_PoN_Storage_Utilization() []byte

func (*Coinbase) GetRecipient_PoP_Challengers

func (x *Coinbase) GetRecipient_PoP_Challengers() []byte

func (*Coinbase) GetRecipient_PoP_Challengess

func (x *Coinbase) GetRecipient_PoP_Challengess() []byte

func (*Coinbase) GetRecipient_Revos_Token_Corporate_Treasury

func (x *Coinbase) GetRecipient_Revos_Token_Corporate_Treasury() []byte

func (*Coinbase) GetRecipient_Revos_Token_Sales

func (x *Coinbase) GetRecipient_Revos_Token_Sales() []byte

func (*Coinbase) GetSender

func (x *Coinbase) GetSender() []byte

func (*Coinbase) ProtoMessage

func (*Coinbase) ProtoMessage()

func (*Coinbase) ProtoReflect

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

func (*Coinbase) Reset

func (x *Coinbase) Reset()

func (*Coinbase) String

func (x *Coinbase) String() string

func (*Coinbase) ToMap

func (m *Coinbase) ToMap() map[string]interface{}

type CompressionType

type CompressionType int32
const (
	CompressionType_COMPRESSION_NONE CompressionType = 0
	CompressionType_COMPRESSION_ZLIB CompressionType = 1
)

func (CompressionType) Descriptor

func (CompressionType) Enum

func (x CompressionType) Enum() *CompressionType

func (CompressionType) EnumDescriptor deprecated

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

Deprecated: Use CompressionType.Descriptor instead.

func (CompressionType) Number

func (CompressionType) String

func (x CompressionType) String() string

func (CompressionType) Type

type DeleteName

type DeleteName struct {
	Registrant []byte `protobuf:"bytes,1,opt,name=registrant,proto3" json:"registrant,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteName) Descriptor deprecated

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

Deprecated: Use DeleteName.ProtoReflect.Descriptor instead.

func (*DeleteName) GetName

func (x *DeleteName) GetName() string

func (*DeleteName) GetRegistrant

func (x *DeleteName) GetRegistrant() []byte

func (*DeleteName) ProtoMessage

func (*DeleteName) ProtoMessage()

func (*DeleteName) ProtoReflect

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

func (*DeleteName) Reset

func (x *DeleteName) Reset()

func (*DeleteName) String

func (x *DeleteName) String() string

type GenerateID

type GenerateID struct {
	PublicKey       []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	RegistrationFee int64  `protobuf:"varint,2,opt,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"`
	Sender          []byte `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Version         int32  `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateID) Descriptor deprecated

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

Deprecated: Use GenerateID.ProtoReflect.Descriptor instead.

func (*GenerateID) GetPublicKey

func (x *GenerateID) GetPublicKey() []byte

func (*GenerateID) GetRegistrationFee

func (x *GenerateID) GetRegistrationFee() int64

func (*GenerateID) GetSender

func (x *GenerateID) GetSender() []byte

func (*GenerateID) GetVersion

func (x *GenerateID) GetVersion() int32

func (*GenerateID) ProtoMessage

func (*GenerateID) ProtoMessage()

func (*GenerateID) ProtoReflect

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

func (*GenerateID) Reset

func (x *GenerateID) Reset()

func (*GenerateID) String

func (x *GenerateID) String() string

func (*GenerateID) ToMap

func (m *GenerateID) ToMap() map[string]interface{}

type GetBlockHeaders

type GetBlockHeaders struct {
	StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	EndHeight   uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockHeaders) Descriptor deprecated

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

Deprecated: Use GetBlockHeaders.ProtoReflect.Descriptor instead.

func (*GetBlockHeaders) GetEndHeight

func (x *GetBlockHeaders) GetEndHeight() uint32

func (*GetBlockHeaders) GetStartHeight

func (x *GetBlockHeaders) GetStartHeight() uint32

func (*GetBlockHeaders) ProtoMessage

func (*GetBlockHeaders) ProtoMessage()

func (*GetBlockHeaders) ProtoReflect

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

func (*GetBlockHeaders) Reset

func (x *GetBlockHeaders) Reset()

func (*GetBlockHeaders) String

func (x *GetBlockHeaders) String() string

type GetBlockHeadersReply

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

func (*GetBlockHeadersReply) Descriptor deprecated

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

Deprecated: Use GetBlockHeadersReply.ProtoReflect.Descriptor instead.

func (*GetBlockHeadersReply) GetBlockHeaders

func (x *GetBlockHeadersReply) GetBlockHeaders() []*Header

func (*GetBlockHeadersReply) ProtoMessage

func (*GetBlockHeadersReply) ProtoMessage()

func (*GetBlockHeadersReply) ProtoReflect

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

func (*GetBlockHeadersReply) Reset

func (x *GetBlockHeadersReply) Reset()

func (*GetBlockHeadersReply) String

func (x *GetBlockHeadersReply) String() string

type GetBlocks

type GetBlocks struct {
	StartHeight uint32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	EndHeight   uint32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlocks) Descriptor deprecated

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

Deprecated: Use GetBlocks.ProtoReflect.Descriptor instead.

func (*GetBlocks) GetEndHeight

func (x *GetBlocks) GetEndHeight() uint32

func (*GetBlocks) GetStartHeight

func (x *GetBlocks) GetStartHeight() uint32

func (*GetBlocks) ProtoMessage

func (*GetBlocks) ProtoMessage()

func (*GetBlocks) ProtoReflect

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

func (*GetBlocks) Reset

func (x *GetBlocks) Reset()

func (*GetBlocks) String

func (x *GetBlocks) String() string

type GetBlocksReply

type GetBlocksReply struct {
	Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlocksReply) Descriptor deprecated

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

Deprecated: Use GetBlocksReply.ProtoReflect.Descriptor instead.

func (*GetBlocksReply) GetBlocks

func (x *GetBlocksReply) GetBlocks() []*Block

func (*GetBlocksReply) ProtoMessage

func (*GetBlocksReply) ProtoMessage()

func (*GetBlocksReply) ProtoReflect

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

func (*GetBlocksReply) Reset

func (x *GetBlocksReply) Reset()

func (*GetBlocksReply) String

func (x *GetBlocksReply) String() string

type GetConsensusState

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

func (*GetConsensusState) Descriptor deprecated

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

Deprecated: Use GetConsensusState.ProtoReflect.Descriptor instead.

func (*GetConsensusState) ProtoMessage

func (*GetConsensusState) ProtoMessage()

func (*GetConsensusState) ProtoReflect

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

func (*GetConsensusState) Reset

func (x *GetConsensusState) Reset()

func (*GetConsensusState) String

func (x *GetConsensusState) String() string

type GetConsensusStateReply

type GetConsensusStateReply struct {
	LedgerBlockHash     []byte    `protobuf:"bytes,2,opt,name=ledger_block_hash,json=ledgerBlockHash,proto3" json:"ledger_block_hash,omitempty"`
	LedgerHeight        uint32    `protobuf:"varint,1,opt,name=ledger_height,json=ledgerHeight,proto3" json:"ledger_height,omitempty"`
	ConsensusHeight     uint32    `protobuf:"varint,3,opt,name=consensus_height,json=consensusHeight,proto3" json:"consensus_height,omitempty"`
	MinVerifiableHeight uint32    `protobuf:"varint,5,opt,name=min_verifiable_height,json=minVerifiableHeight,proto3" json:"min_verifiable_height,omitempty"`
	SyncState           SyncState `protobuf:"varint,4,opt,name=sync_state,json=syncState,proto3,enum=pb.SyncState" json:"sync_state,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConsensusStateReply) Descriptor deprecated

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

Deprecated: Use GetConsensusStateReply.ProtoReflect.Descriptor instead.

func (*GetConsensusStateReply) GetConsensusHeight

func (x *GetConsensusStateReply) GetConsensusHeight() uint32

func (*GetConsensusStateReply) GetLedgerBlockHash

func (x *GetConsensusStateReply) GetLedgerBlockHash() []byte

func (*GetConsensusStateReply) GetLedgerHeight

func (x *GetConsensusStateReply) GetLedgerHeight() uint32

func (*GetConsensusStateReply) GetMinVerifiableHeight

func (x *GetConsensusStateReply) GetMinVerifiableHeight() uint32

func (*GetConsensusStateReply) GetSyncState

func (x *GetConsensusStateReply) GetSyncState() SyncState

func (*GetConsensusStateReply) ProtoMessage

func (*GetConsensusStateReply) ProtoMessage()

func (*GetConsensusStateReply) ProtoReflect

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

func (*GetConsensusStateReply) Reset

func (x *GetConsensusStateReply) Reset()

func (*GetConsensusStateReply) String

func (x *GetConsensusStateReply) String() string

type GetStates

type GetStates struct {
	Reqs []*StateRequest `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStates) Descriptor deprecated

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

Deprecated: Use GetStates.ProtoReflect.Descriptor instead.

func (*GetStates) GetReqs

func (x *GetStates) GetReqs() []*StateRequest

func (*GetStates) ProtoMessage

func (*GetStates) ProtoMessage()

func (*GetStates) ProtoReflect

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

func (*GetStates) Reset

func (x *GetStates) Reset()

func (*GetStates) String

func (x *GetStates) String() string

type GetStatesReply

type GetStatesReply struct {
	Nodes []*StateNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatesReply) Descriptor deprecated

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

Deprecated: Use GetStatesReply.ProtoReflect.Descriptor instead.

func (*GetStatesReply) GetNodes

func (x *GetStatesReply) GetNodes() []*StateNode

func (*GetStatesReply) ProtoMessage

func (*GetStatesReply) ProtoMessage()

func (*GetStatesReply) ProtoReflect

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

func (*GetStatesReply) Reset

func (x *GetStatesReply) Reset()

func (*GetStatesReply) String

func (x *GetStatesReply) String() string
type Header struct {
	UnsignedHeader *UnsignedHeader `protobuf:"bytes,1,opt,name=unsigned_header,json=unsignedHeader,proto3" json:"unsigned_header,omitempty"`
	Signature      []byte          `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetSignature

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

func (*Header) GetUnsignedHeader

func (x *Header) GetUnsignedHeader() *UnsignedHeader

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type IHaveBlockProposal

type IHaveBlockProposal struct {
	Height    uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*IHaveBlockProposal) Descriptor deprecated

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

Deprecated: Use IHaveBlockProposal.ProtoReflect.Descriptor instead.

func (*IHaveBlockProposal) GetBlockHash

func (x *IHaveBlockProposal) GetBlockHash() []byte

func (*IHaveBlockProposal) GetHeight

func (x *IHaveBlockProposal) GetHeight() uint32

func (*IHaveBlockProposal) ProtoMessage

func (*IHaveBlockProposal) ProtoMessage()

func (*IHaveBlockProposal) ProtoReflect

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

func (*IHaveBlockProposal) Reset

func (x *IHaveBlockProposal) Reset()

func (*IHaveBlockProposal) String

func (x *IHaveBlockProposal) String() string

type IHaveSignatureChainTransaction

type IHaveSignatureChainTransaction struct {
	Height        uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	SignatureHash []byte `protobuf:"bytes,2,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*IHaveSignatureChainTransaction) Descriptor deprecated

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

Deprecated: Use IHaveSignatureChainTransaction.ProtoReflect.Descriptor instead.

func (*IHaveSignatureChainTransaction) GetHeight

func (x *IHaveSignatureChainTransaction) GetHeight() uint32

func (*IHaveSignatureChainTransaction) GetSignatureHash

func (x *IHaveSignatureChainTransaction) GetSignatureHash() []byte

func (*IHaveSignatureChainTransaction) ProtoMessage

func (*IHaveSignatureChainTransaction) ProtoMessage()

func (*IHaveSignatureChainTransaction) ProtoReflect

func (*IHaveSignatureChainTransaction) Reset

func (x *IHaveSignatureChainTransaction) Reset()

func (*IHaveSignatureChainTransaction) String

type InboundMessage

type InboundMessage struct {
	Src      string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	Payload  []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	PrevHash []byte `protobuf:"bytes,3,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*InboundMessage) Descriptor deprecated

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

Deprecated: Use InboundMessage.ProtoReflect.Descriptor instead.

func (*InboundMessage) GetPayload

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

func (*InboundMessage) GetPrevHash

func (x *InboundMessage) GetPrevHash() []byte

func (*InboundMessage) GetSrc

func (x *InboundMessage) GetSrc() string

func (*InboundMessage) ProtoMessage

func (*InboundMessage) ProtoMessage()

func (*InboundMessage) ProtoReflect

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

func (*InboundMessage) Reset

func (x *InboundMessage) Reset()

func (*InboundMessage) String

func (x *InboundMessage) String() string

type IssueAsset

type IssueAsset struct {
	Sender      []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Symbol      string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	TotalSupply int64  `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"`
	Precision   uint32 `protobuf:"varint,5,opt,name=precision,proto3" json:"precision,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueAsset) Descriptor deprecated

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

Deprecated: Use IssueAsset.ProtoReflect.Descriptor instead.

func (*IssueAsset) GetName

func (x *IssueAsset) GetName() string

func (*IssueAsset) GetPrecision

func (x *IssueAsset) GetPrecision() uint32

func (*IssueAsset) GetSender

func (x *IssueAsset) GetSender() []byte

func (*IssueAsset) GetSymbol

func (x *IssueAsset) GetSymbol() string

func (*IssueAsset) GetTotalSupply

func (x *IssueAsset) GetTotalSupply() int64

func (*IssueAsset) ProtoMessage

func (*IssueAsset) ProtoMessage()

func (*IssueAsset) ProtoReflect

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

func (*IssueAsset) Reset

func (x *IssueAsset) Reset()

func (*IssueAsset) String

func (x *IssueAsset) String() string

type MessageType

type MessageType int32
const (
	MessageType_MESSAGE_TYPE_PLACEHOLDER_DO_NOT_USE       MessageType = 0 // Placeholder, do not use or change
	MessageType_VOTE                                      MessageType = 1
	MessageType_I_HAVE_BLOCK_PROPOSAL                     MessageType = 2
	MessageType_REQUEST_BLOCK_PROPOSAL                    MessageType = 3
	MessageType_REQUEST_BLOCK_PROPOSAL_REPLY              MessageType = 4
	MessageType_GET_CONSENSUS_STATE                       MessageType = 5
	MessageType_GET_CONSENSUS_STATE_REPLY                 MessageType = 6
	MessageType_GET_BLOCK_HEADERS                         MessageType = 7
	MessageType_GET_BLOCK_HEADERS_REPLY                   MessageType = 8
	MessageType_GET_BLOCKS                                MessageType = 9
	MessageType_GET_BLOCKS_REPLY                          MessageType = 10
	MessageType_RELAY                                     MessageType = 11
	MessageType_TRANSACTIONS                              MessageType = 12
	MessageType_BACKTRACK_SIGNATURE_CHAIN                 MessageType = 13
	MessageType_REQUEST_PROPOSAL_TRANSACTIONS             MessageType = 14
	MessageType_REQUEST_PROPOSAL_TRANSACTIONS_REPLY       MessageType = 15
	MessageType_I_HAVE_SIGNATURE_CHAIN_TRANSACTION        MessageType = 16
	MessageType_REQUEST_SIGNATURE_CHAIN_TRANSACTION       MessageType = 17
	MessageType_REQUEST_SIGNATURE_CHAIN_TRANSACTION_REPLY MessageType = 18
	MessageType_PIN_SIGNATURE_CHAIN                       MessageType = 19
	MessageType_SIGNATURE_CHAIN_OBJECTION                 MessageType = 20
	MessageType_GET_STATES                                MessageType = 21
	MessageType_GET_STATES_REPLY                          MessageType = 22
)

func (MessageType) Descriptor

func (MessageType) Enum

func (x MessageType) Enum() *MessageType

func (MessageType) EnumDescriptor deprecated

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

Deprecated: Use MessageType.Descriptor instead.

func (MessageType) Number

func (x MessageType) Number() protoreflect.EnumNumber

func (MessageType) String

func (x MessageType) String() string

func (MessageType) Type

type NanoPay

type NanoPay struct {
	Sender            []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient         []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Id                uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	Amount            int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	TxnExpiration     uint32 `protobuf:"varint,5,opt,name=txn_expiration,json=txnExpiration,proto3" json:"txn_expiration,omitempty"`
	NanoPayExpiration uint32 `protobuf:"varint,6,opt,name=nano_pay_expiration,json=nanoPayExpiration,proto3" json:"nano_pay_expiration,omitempty"`
	// contains filtered or unexported fields
}

func (*NanoPay) Descriptor deprecated

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

Deprecated: Use NanoPay.ProtoReflect.Descriptor instead.

func (*NanoPay) GetAmount

func (x *NanoPay) GetAmount() int64

func (*NanoPay) GetId

func (x *NanoPay) GetId() uint64

func (*NanoPay) GetNanoPayExpiration

func (x *NanoPay) GetNanoPayExpiration() uint32

func (*NanoPay) GetRecipient

func (x *NanoPay) GetRecipient() []byte

func (*NanoPay) GetSender

func (x *NanoPay) GetSender() []byte

func (*NanoPay) GetTxnExpiration

func (x *NanoPay) GetTxnExpiration() uint32

func (*NanoPay) ProtoMessage

func (*NanoPay) ProtoMessage()

func (*NanoPay) ProtoReflect

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

func (*NanoPay) Reset

func (x *NanoPay) Reset()

func (*NanoPay) String

func (x *NanoPay) String() string

func (*NanoPay) ToMap

func (m *NanoPay) ToMap() map[string]interface{}

type NodeData

type NodeData struct {
	PublicKey          []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	WebsocketPort      uint32 `protobuf:"varint,2,opt,name=websocket_port,json=websocketPort,proto3" json:"websocket_port,omitempty"`
	JsonRpcPort        uint32 `protobuf:"varint,3,opt,name=json_rpc_port,json=jsonRpcPort,proto3" json:"json_rpc_port,omitempty"`
	ProtocolVersion    uint32 `protobuf:"varint,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	TlsWebsocketDomain string `protobuf:"bytes,5,opt,name=tls_websocket_domain,json=tlsWebsocketDomain,proto3" json:"tls_websocket_domain,omitempty"`
	TlsWebsocketPort   uint32 `protobuf:"varint,6,opt,name=tls_websocket_port,json=tlsWebsocketPort,proto3" json:"tls_websocket_port,omitempty"`
	TlsJsonRpcDomain   string `protobuf:"bytes,7,opt,name=tls_json_rpc_domain,json=tlsJsonRpcDomain,proto3" json:"tls_json_rpc_domain,omitempty"`
	TlsJsonRpcPort     uint32 `protobuf:"varint,8,opt,name=tls_json_rpc_port,json=tlsJsonRpcPort,proto3" json:"tls_json_rpc_port,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeData) Descriptor deprecated

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

Deprecated: Use NodeData.ProtoReflect.Descriptor instead.

func (*NodeData) GetJsonRpcPort

func (x *NodeData) GetJsonRpcPort() uint32

func (*NodeData) GetProtocolVersion

func (x *NodeData) GetProtocolVersion() uint32

func (*NodeData) GetPublicKey

func (x *NodeData) GetPublicKey() []byte

func (*NodeData) GetTlsJsonRpcDomain

func (x *NodeData) GetTlsJsonRpcDomain() string

func (*NodeData) GetTlsJsonRpcPort

func (x *NodeData) GetTlsJsonRpcPort() uint32

func (*NodeData) GetTlsWebsocketDomain

func (x *NodeData) GetTlsWebsocketDomain() string

func (*NodeData) GetTlsWebsocketPort

func (x *NodeData) GetTlsWebsocketPort() uint32

func (*NodeData) GetWebsocketPort

func (x *NodeData) GetWebsocketPort() uint32

func (*NodeData) ProtoMessage

func (*NodeData) ProtoMessage()

func (*NodeData) ProtoReflect

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

func (*NodeData) Reset

func (x *NodeData) Reset()

func (*NodeData) String

func (x *NodeData) String() string

type OutboundMessage

type OutboundMessage struct {
	Dest              string   `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"`
	Payload           []byte   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Dests             []string `protobuf:"bytes,3,rep,name=dests,proto3" json:"dests,omitempty"`
	MaxHoldingSeconds uint32   `protobuf:"varint,4,opt,name=max_holding_seconds,json=maxHoldingSeconds,proto3" json:"max_holding_seconds,omitempty"`
	Nonce             uint32   `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BlockHash         []byte   `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Signatures        [][]byte `protobuf:"bytes,7,rep,name=signatures,proto3" json:"signatures,omitempty"`
	Payloads          [][]byte `protobuf:"bytes,8,rep,name=payloads,proto3" json:"payloads,omitempty"`
	// contains filtered or unexported fields
}

func (*OutboundMessage) Descriptor deprecated

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

Deprecated: Use OutboundMessage.ProtoReflect.Descriptor instead.

func (*OutboundMessage) GetBlockHash

func (x *OutboundMessage) GetBlockHash() []byte

func (*OutboundMessage) GetDest

func (x *OutboundMessage) GetDest() string

func (*OutboundMessage) GetDests

func (x *OutboundMessage) GetDests() []string

func (*OutboundMessage) GetMaxHoldingSeconds

func (x *OutboundMessage) GetMaxHoldingSeconds() uint32

func (*OutboundMessage) GetNonce

func (x *OutboundMessage) GetNonce() uint32

func (*OutboundMessage) GetPayload

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

func (*OutboundMessage) GetPayloads

func (x *OutboundMessage) GetPayloads() [][]byte

func (*OutboundMessage) GetSignatures

func (x *OutboundMessage) GetSignatures() [][]byte

func (*OutboundMessage) ProtoMessage

func (*OutboundMessage) ProtoMessage()

func (*OutboundMessage) ProtoReflect

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

func (*OutboundMessage) Reset

func (x *OutboundMessage) Reset()

func (*OutboundMessage) String

func (x *OutboundMessage) String() string

type Payload

type Payload struct {
	Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.PayloadType" json:"type,omitempty"`
	Data []byte      `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) Deserialize

func (p *Payload) Deserialize(r io.Reader) error

func (*Payload) GetData

func (x *Payload) GetData() []byte

func (*Payload) GetType

func (x *Payload) GetType() PayloadType

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

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

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) Serialize

func (p *Payload) Serialize(w io.Writer) error

func (*Payload) String

func (x *Payload) String() string

type PayloadType

type PayloadType int32
const (
	PayloadType_COINBASE_TYPE           PayloadType = 0
	PayloadType_TRANSFER_ASSET_TYPE     PayloadType = 1
	PayloadType_SIG_CHAIN_TXN_TYPE      PayloadType = 2
	PayloadType_REGISTER_NAME_TYPE      PayloadType = 3
	PayloadType_TRANSFER_NAME_TYPE      PayloadType = 4
	PayloadType_DELETE_NAME_TYPE        PayloadType = 5
	PayloadType_SUBSCRIBE_TYPE          PayloadType = 6
	PayloadType_UNSUBSCRIBE_TYPE        PayloadType = 7
	PayloadType_GENERATE_ID_TYPE        PayloadType = 8
	PayloadType_NANO_PAY_TYPE           PayloadType = 9
	PayloadType_ISSUE_ASSET_TYPE        PayloadType = 10
	PayloadType_GENERATE_ID_2_TYPE      PayloadType = 11
	PayloadType_SWAP_ASSET_TYPE         PayloadType = 12
	PayloadType_SWAP_RDC_ASSET_TYPE     PayloadType = 13
	PayloadType_TRANSFER_RDC_ASSET_TYPE PayloadType = 14
)

func (PayloadType) Descriptor

func (PayloadType) Enum

func (x PayloadType) Enum() *PayloadType

func (PayloadType) EnumDescriptor deprecated

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

Deprecated: Use PayloadType.Descriptor instead.

func (PayloadType) Number

func (x PayloadType) Number() protoreflect.EnumNumber

func (PayloadType) String

func (x PayloadType) String() string

func (PayloadType) Type

type PinSignatureChain

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

func (*PinSignatureChain) Descriptor deprecated

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

Deprecated: Use PinSignatureChain.ProtoReflect.Descriptor instead.

func (*PinSignatureChain) GetHash

func (x *PinSignatureChain) GetHash() []byte

func (*PinSignatureChain) ProtoMessage

func (*PinSignatureChain) ProtoMessage()

func (*PinSignatureChain) ProtoReflect

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

func (*PinSignatureChain) Reset

func (x *PinSignatureChain) Reset()

func (*PinSignatureChain) String

func (x *PinSignatureChain) String() string

type Program

type Program struct {
	Code      []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Parameter []byte `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// contains filtered or unexported fields
}

func (*Program) Descriptor deprecated

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

Deprecated: Use Program.ProtoReflect.Descriptor instead.

func (*Program) Deserialize

func (p *Program) Deserialize(w io.Reader) error

Deserialize the Program

func (*Program) GetCode

func (x *Program) GetCode() []byte

func (*Program) GetParameter

func (x *Program) GetParameter() []byte

func (*Program) MarshalJson

func (p *Program) MarshalJson() ([]byte, error)

func (*Program) ProtoMessage

func (*Program) ProtoMessage()

func (*Program) ProtoReflect

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

func (*Program) Reset

func (x *Program) Reset()

func (*Program) Serialize

func (p *Program) Serialize(w io.Writer) error

Serialize the Program

func (*Program) String

func (x *Program) String() string

func (*Program) UnmarshalJson

func (p *Program) UnmarshalJson(data []byte) error

type Receipt

type Receipt struct {
	PrevHash  []byte `protobuf:"bytes,1,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"`
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Receipt) Descriptor deprecated

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

Deprecated: Use Receipt.ProtoReflect.Descriptor instead.

func (*Receipt) GetPrevHash

func (x *Receipt) GetPrevHash() []byte

func (*Receipt) GetSignature

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

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) ProtoReflect

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

func (*Receipt) Reset

func (x *Receipt) Reset()

func (*Receipt) String

func (x *Receipt) String() string

type RegisterName

type RegisterName struct {
	Registrant      []byte `protobuf:"bytes,1,opt,name=registrant,proto3" json:"registrant,omitempty"`
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RegistrationFee int64  `protobuf:"varint,3,opt,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterName) Descriptor deprecated

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

Deprecated: Use RegisterName.ProtoReflect.Descriptor instead.

func (*RegisterName) GetName

func (x *RegisterName) GetName() string

func (*RegisterName) GetRegistrant

func (x *RegisterName) GetRegistrant() []byte

func (*RegisterName) GetRegistrationFee

func (x *RegisterName) GetRegistrationFee() int64

func (*RegisterName) ProtoMessage

func (*RegisterName) ProtoMessage()

func (*RegisterName) ProtoReflect

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

func (*RegisterName) Reset

func (x *RegisterName) Reset()

func (*RegisterName) String

func (x *RegisterName) String() string

func (*RegisterName) ToMap

func (m *RegisterName) ToMap() map[string]interface{}

type Relay

type Relay struct {
	SrcIdentifier     string `protobuf:"bytes,1,opt,name=src_identifier,json=srcIdentifier,proto3" json:"src_identifier,omitempty"`
	SrcPubkey         []byte `protobuf:"bytes,6,opt,name=src_pubkey,json=srcPubkey,proto3" json:"src_pubkey,omitempty"`
	DestId            []byte `protobuf:"bytes,2,opt,name=dest_id,json=destId,proto3" json:"dest_id,omitempty"`
	Payload           []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	MaxHoldingSeconds uint32 `protobuf:"varint,5,opt,name=max_holding_seconds,json=maxHoldingSeconds,proto3" json:"max_holding_seconds,omitempty"`
	// It is important to use block hash instead of block height here to allow
	// node in syncing state to be able to sign the sigchain elem.
	BlockHash   []byte `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	LastHash    []byte `protobuf:"bytes,8,opt,name=last_hash,json=lastHash,proto3" json:"last_hash,omitempty"`
	SigChainLen uint32 `protobuf:"varint,9,opt,name=sig_chain_len,json=sigChainLen,proto3" json:"sig_chain_len,omitempty"`
	// contains filtered or unexported fields
}

func (*Relay) Descriptor deprecated

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

Deprecated: Use Relay.ProtoReflect.Descriptor instead.

func (*Relay) GetBlockHash

func (x *Relay) GetBlockHash() []byte

func (*Relay) GetDestId

func (x *Relay) GetDestId() []byte

func (*Relay) GetLastHash

func (x *Relay) GetLastHash() []byte

func (*Relay) GetMaxHoldingSeconds

func (x *Relay) GetMaxHoldingSeconds() uint32

func (*Relay) GetPayload

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

func (*Relay) GetSigChainLen

func (x *Relay) GetSigChainLen() uint32

func (*Relay) GetSrcIdentifier

func (x *Relay) GetSrcIdentifier() string

func (*Relay) GetSrcPubkey

func (x *Relay) GetSrcPubkey() []byte

func (*Relay) ProtoMessage

func (*Relay) ProtoMessage()

func (*Relay) ProtoReflect

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

func (*Relay) Reset

func (x *Relay) Reset()

func (*Relay) String

func (x *Relay) String() string

type RequestBlockProposal

type RequestBlockProposal struct {
	BlockHash     []byte                 `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Type          RequestTransactionType `protobuf:"varint,2,opt,name=type,proto3,enum=pb.RequestTransactionType" json:"type,omitempty"`
	ShortHashSalt []byte                 `protobuf:"bytes,3,opt,name=short_hash_salt,json=shortHashSalt,proto3" json:"short_hash_salt,omitempty"`
	ShortHashSize uint32                 `protobuf:"varint,4,opt,name=short_hash_size,json=shortHashSize,proto3" json:"short_hash_size,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBlockProposal) Descriptor deprecated

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

Deprecated: Use RequestBlockProposal.ProtoReflect.Descriptor instead.

func (*RequestBlockProposal) GetBlockHash

func (x *RequestBlockProposal) GetBlockHash() []byte

func (*RequestBlockProposal) GetShortHashSalt

func (x *RequestBlockProposal) GetShortHashSalt() []byte

func (*RequestBlockProposal) GetShortHashSize

func (x *RequestBlockProposal) GetShortHashSize() uint32

func (*RequestBlockProposal) GetType

func (*RequestBlockProposal) ProtoMessage

func (*RequestBlockProposal) ProtoMessage()

func (*RequestBlockProposal) ProtoReflect

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

func (*RequestBlockProposal) Reset

func (x *RequestBlockProposal) Reset()

func (*RequestBlockProposal) String

func (x *RequestBlockProposal) String() string

type RequestBlockProposalReply

type RequestBlockProposalReply struct {
	Block            *Block   `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	TransactionsHash [][]byte `protobuf:"bytes,2,rep,name=transactions_hash,json=transactionsHash,proto3" json:"transactions_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBlockProposalReply) Descriptor deprecated

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

Deprecated: Use RequestBlockProposalReply.ProtoReflect.Descriptor instead.

func (*RequestBlockProposalReply) GetBlock

func (x *RequestBlockProposalReply) GetBlock() *Block

func (*RequestBlockProposalReply) GetTransactionsHash

func (x *RequestBlockProposalReply) GetTransactionsHash() [][]byte

func (*RequestBlockProposalReply) ProtoMessage

func (*RequestBlockProposalReply) ProtoMessage()

func (*RequestBlockProposalReply) ProtoReflect

func (*RequestBlockProposalReply) Reset

func (x *RequestBlockProposalReply) Reset()

func (*RequestBlockProposalReply) String

func (x *RequestBlockProposalReply) String() string

type RequestProposalTransactions

type RequestProposalTransactions struct {
	BlockHash        []byte                 `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Type             RequestTransactionType `protobuf:"varint,2,opt,name=type,proto3,enum=pb.RequestTransactionType" json:"type,omitempty"`
	ShortHashSalt    []byte                 `protobuf:"bytes,3,opt,name=short_hash_salt,json=shortHashSalt,proto3" json:"short_hash_salt,omitempty"`
	ShortHashSize    uint32                 `protobuf:"varint,4,opt,name=short_hash_size,json=shortHashSize,proto3" json:"short_hash_size,omitempty"`
	TransactionsHash [][]byte               `protobuf:"bytes,5,rep,name=transactions_hash,json=transactionsHash,proto3" json:"transactions_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestProposalTransactions) Descriptor deprecated

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

Deprecated: Use RequestProposalTransactions.ProtoReflect.Descriptor instead.

func (*RequestProposalTransactions) GetBlockHash

func (x *RequestProposalTransactions) GetBlockHash() []byte

func (*RequestProposalTransactions) GetShortHashSalt

func (x *RequestProposalTransactions) GetShortHashSalt() []byte

func (*RequestProposalTransactions) GetShortHashSize

func (x *RequestProposalTransactions) GetShortHashSize() uint32

func (*RequestProposalTransactions) GetTransactionsHash

func (x *RequestProposalTransactions) GetTransactionsHash() [][]byte

func (*RequestProposalTransactions) GetType

func (*RequestProposalTransactions) ProtoMessage

func (*RequestProposalTransactions) ProtoMessage()

func (*RequestProposalTransactions) ProtoReflect

func (*RequestProposalTransactions) Reset

func (x *RequestProposalTransactions) Reset()

func (*RequestProposalTransactions) String

func (x *RequestProposalTransactions) String() string

type RequestProposalTransactionsReply

type RequestProposalTransactionsReply struct {
	Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestProposalTransactionsReply) Descriptor deprecated

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

Deprecated: Use RequestProposalTransactionsReply.ProtoReflect.Descriptor instead.

func (*RequestProposalTransactionsReply) GetTransactions

func (x *RequestProposalTransactionsReply) GetTransactions() []*Transaction

func (*RequestProposalTransactionsReply) ProtoMessage

func (*RequestProposalTransactionsReply) ProtoMessage()

func (*RequestProposalTransactionsReply) ProtoReflect

func (*RequestProposalTransactionsReply) Reset

func (*RequestProposalTransactionsReply) String

type RequestSignatureChainTransaction

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

func (*RequestSignatureChainTransaction) Descriptor deprecated

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

Deprecated: Use RequestSignatureChainTransaction.ProtoReflect.Descriptor instead.

func (*RequestSignatureChainTransaction) GetSignatureHash

func (x *RequestSignatureChainTransaction) GetSignatureHash() []byte

func (*RequestSignatureChainTransaction) ProtoMessage

func (*RequestSignatureChainTransaction) ProtoMessage()

func (*RequestSignatureChainTransaction) ProtoReflect

func (*RequestSignatureChainTransaction) Reset

func (*RequestSignatureChainTransaction) String

type RequestSignatureChainTransactionReply

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

func (*RequestSignatureChainTransactionReply) Descriptor deprecated

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

Deprecated: Use RequestSignatureChainTransactionReply.ProtoReflect.Descriptor instead.

func (*RequestSignatureChainTransactionReply) GetTransaction

func (*RequestSignatureChainTransactionReply) ProtoMessage

func (*RequestSignatureChainTransactionReply) ProtoMessage()

func (*RequestSignatureChainTransactionReply) ProtoReflect

func (*RequestSignatureChainTransactionReply) Reset

func (*RequestSignatureChainTransactionReply) String

type RequestTransactionType

type RequestTransactionType int32
const (
	RequestTransactionType_REQUEST_FULL_TRANSACTION       RequestTransactionType = 0
	RequestTransactionType_REQUEST_TRANSACTION_HASH       RequestTransactionType = 1
	RequestTransactionType_REQUEST_TRANSACTION_SHORT_HASH RequestTransactionType = 2
)

func (RequestTransactionType) Descriptor

func (RequestTransactionType) Enum

func (RequestTransactionType) EnumDescriptor deprecated

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

Deprecated: Use RequestTransactionType.Descriptor instead.

func (RequestTransactionType) Number

func (RequestTransactionType) String

func (x RequestTransactionType) String() string

func (RequestTransactionType) Type

type SigAlgo

type SigAlgo int32
const (
	SigAlgo_SIGNATURE SigAlgo = 0
	SigAlgo_HASH      SigAlgo = 1
)

func (SigAlgo) Descriptor

func (SigAlgo) Descriptor() protoreflect.EnumDescriptor

func (SigAlgo) Enum

func (x SigAlgo) Enum() *SigAlgo

func (SigAlgo) EnumDescriptor deprecated

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

Deprecated: Use SigAlgo.Descriptor instead.

func (SigAlgo) Number

func (x SigAlgo) Number() protoreflect.EnumNumber

func (SigAlgo) String

func (x SigAlgo) String() string

func (SigAlgo) Type

func (SigAlgo) Type() protoreflect.EnumType

type SigChain

type SigChain struct {
	Nonce      uint32          `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	DataSize   uint32          `protobuf:"varint,2,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
	BlockHash  []byte          `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	SrcId      []byte          `protobuf:"bytes,4,opt,name=src_id,json=srcId,proto3" json:"src_id,omitempty"`
	SrcPubkey  []byte          `protobuf:"bytes,5,opt,name=src_pubkey,json=srcPubkey,proto3" json:"src_pubkey,omitempty"`
	DestId     []byte          `protobuf:"bytes,6,opt,name=dest_id,json=destId,proto3" json:"dest_id,omitempty"`
	DestPubkey []byte          `protobuf:"bytes,7,opt,name=dest_pubkey,json=destPubkey,proto3" json:"dest_pubkey,omitempty"`
	Elems      []*SigChainElem `protobuf:"bytes,8,rep,name=elems,proto3" json:"elems,omitempty"`
	// contains filtered or unexported fields
}

func NewSigChain

func NewSigChain(nonce, dataSize uint32, blockHash, srcID, srcPubkey, destID, destPubkey, nextPubkey, signature []byte, algo SigAlgo, mining bool) (*SigChain, error)

func (*SigChain) Descriptor deprecated

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

Deprecated: Use SigChain.ProtoReflect.Descriptor instead.

func (*SigChain) GetBlockHash

func (x *SigChain) GetBlockHash() []byte

func (*SigChain) GetDataSize

func (x *SigChain) GetDataSize() uint32

func (*SigChain) GetDestId

func (x *SigChain) GetDestId() []byte

func (*SigChain) GetDestPubkey

func (x *SigChain) GetDestPubkey() []byte

func (*SigChain) GetElems

func (x *SigChain) GetElems() []*SigChainElem

func (*SigChain) GetMiner

func (sc *SigChain) GetMiner(height uint32, randomBeacon []byte) ([]byte, []byte, error)

func (*SigChain) GetNonce

func (x *SigChain) GetNonce() uint32

func (*SigChain) GetSignerIndex

func (sc *SigChain) GetSignerIndex(pubkey []byte) (int, error)

func (*SigChain) GetSrcId

func (x *SigChain) GetSrcId() []byte

func (*SigChain) GetSrcPubkey

func (x *SigChain) GetSrcPubkey() []byte

func (*SigChain) IsComplete

func (sc *SigChain) IsComplete() bool

func (*SigChain) LastRelayHash

func (sc *SigChain) LastRelayHash() ([]byte, error)

func (*SigChain) Length

func (sc *SigChain) Length() int

Length returns element num in current signature chain

func (*SigChain) ProtoMessage

func (*SigChain) ProtoMessage()

func (*SigChain) ProtoReflect

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

func (*SigChain) Reset

func (x *SigChain) Reset()

func (*SigChain) SerializationMetadata

func (sc *SigChain) SerializationMetadata(w io.Writer) error

func (*SigChain) SignatureHash

func (sc *SigChain) SignatureHash(height uint32, leftShiftBit int) ([]byte, error)

func (*SigChain) String

func (x *SigChain) String() string

func (*SigChain) ToMap

func (sc *SigChain) ToMap() map[string]interface{}

type SigChainElem

type SigChainElem struct {
	Id         []byte  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NextPubkey []byte  `protobuf:"bytes,2,opt,name=next_pubkey,json=nextPubkey,proto3" json:"next_pubkey,omitempty"`
	Mining     bool    `protobuf:"varint,3,opt,name=mining,proto3" json:"mining,omitempty"`
	Signature  []byte  `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	SigAlgo    SigAlgo `protobuf:"varint,5,opt,name=sig_algo,json=sigAlgo,proto3,enum=pb.SigAlgo" json:"sig_algo,omitempty"`
	Vrf        []byte  `protobuf:"bytes,6,opt,name=vrf,proto3" json:"vrf,omitempty"`
	Proof      []byte  `protobuf:"bytes,7,opt,name=proof,proto3" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

func NewSigChainElem

func NewSigChainElem(id, nextPubkey, signature, vrf, proof []byte, mining bool, sigAlgo SigAlgo) *SigChainElem

func (*SigChainElem) Descriptor deprecated

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

Deprecated: Use SigChainElem.ProtoReflect.Descriptor instead.

func (*SigChainElem) GetId

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

func (*SigChainElem) GetMining

func (x *SigChainElem) GetMining() bool

func (*SigChainElem) GetNextPubkey

func (x *SigChainElem) GetNextPubkey() []byte

func (*SigChainElem) GetProof

func (x *SigChainElem) GetProof() []byte

func (*SigChainElem) GetSigAlgo

func (x *SigChainElem) GetSigAlgo() SigAlgo

func (*SigChainElem) GetSignature

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

func (*SigChainElem) GetVrf

func (x *SigChainElem) GetVrf() []byte

func (*SigChainElem) Hash

func (sce *SigChainElem) Hash(prevHash []byte) ([]byte, error)

func (*SigChainElem) ProtoMessage

func (*SigChainElem) ProtoMessage()

func (*SigChainElem) ProtoReflect

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

func (*SigChainElem) Reset

func (x *SigChainElem) Reset()

func (*SigChainElem) SerializationUnsigned

func (sce *SigChainElem) SerializationUnsigned(w io.Writer) error

func (*SigChainElem) String

func (x *SigChainElem) String() string

func (*SigChainElem) ToMap

func (sce *SigChainElem) ToMap() map[string]interface{}

type SigChainTxn

type SigChainTxn struct {
	SigChain  []byte `protobuf:"bytes,1,opt,name=sig_chain,json=sigChain,proto3" json:"sig_chain,omitempty"`
	Submitter []byte `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// contains filtered or unexported fields
}

func (*SigChainTxn) Descriptor deprecated

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

Deprecated: Use SigChainTxn.ProtoReflect.Descriptor instead.

func (*SigChainTxn) GetSigChain

func (x *SigChainTxn) GetSigChain() []byte

func (*SigChainTxn) GetSubmitter

func (x *SigChainTxn) GetSubmitter() []byte

func (*SigChainTxn) ProtoMessage

func (*SigChainTxn) ProtoMessage()

func (*SigChainTxn) ProtoReflect

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

func (*SigChainTxn) Reset

func (x *SigChainTxn) Reset()

func (*SigChainTxn) String

func (x *SigChainTxn) String() string

func (*SigChainTxn) ToMap

func (m *SigChainTxn) ToMap() map[string]interface{}

type SignatureChainObjectionSigned

type SignatureChainObjectionSigned struct {
	Message   []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SignatureChainObjectionSigned) Descriptor deprecated

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

Deprecated: Use SignatureChainObjectionSigned.ProtoReflect.Descriptor instead.

func (*SignatureChainObjectionSigned) GetMessage

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

func (*SignatureChainObjectionSigned) GetSignature

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

func (*SignatureChainObjectionSigned) ProtoMessage

func (*SignatureChainObjectionSigned) ProtoMessage()

func (*SignatureChainObjectionSigned) ProtoReflect

func (*SignatureChainObjectionSigned) Reset

func (x *SignatureChainObjectionSigned) Reset()

func (*SignatureChainObjectionSigned) String

type SignatureChainObjectionUnsigned

type SignatureChainObjectionUnsigned struct {
	Height         uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	SignatureHash  []byte `protobuf:"bytes,2,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"`
	ReporterPubkey []byte `protobuf:"bytes,3,opt,name=reporter_pubkey,json=reporterPubkey,proto3" json:"reporter_pubkey,omitempty"`
	// contains filtered or unexported fields
}

func (*SignatureChainObjectionUnsigned) Descriptor deprecated

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

Deprecated: Use SignatureChainObjectionUnsigned.ProtoReflect.Descriptor instead.

func (*SignatureChainObjectionUnsigned) GetHeight

func (x *SignatureChainObjectionUnsigned) GetHeight() uint32

func (*SignatureChainObjectionUnsigned) GetReporterPubkey

func (x *SignatureChainObjectionUnsigned) GetReporterPubkey() []byte

func (*SignatureChainObjectionUnsigned) GetSignatureHash

func (x *SignatureChainObjectionUnsigned) GetSignatureHash() []byte

func (*SignatureChainObjectionUnsigned) ProtoMessage

func (*SignatureChainObjectionUnsigned) ProtoMessage()

func (*SignatureChainObjectionUnsigned) ProtoReflect

func (*SignatureChainObjectionUnsigned) Reset

func (*SignatureChainObjectionUnsigned) String

type SignedMessage

type SignedMessage struct {
	Message   []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedMessage) Descriptor deprecated

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

Deprecated: Use SignedMessage.ProtoReflect.Descriptor instead.

func (*SignedMessage) GetMessage

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

func (*SignedMessage) GetSignature

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

func (*SignedMessage) ProtoMessage

func (*SignedMessage) ProtoMessage()

func (*SignedMessage) ProtoReflect

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

func (*SignedMessage) Reset

func (x *SignedMessage) Reset()

func (*SignedMessage) String

func (x *SignedMessage) String() string

type StateNode

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

func (*StateNode) Descriptor deprecated

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

Deprecated: Use StateNode.ProtoReflect.Descriptor instead.

func (*StateNode) GetNode

func (x *StateNode) GetNode() []byte

func (*StateNode) ProtoMessage

func (*StateNode) ProtoMessage()

func (*StateNode) ProtoReflect

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

func (*StateNode) Reset

func (x *StateNode) Reset()

func (*StateNode) String

func (x *StateNode) String() string

type StateRequest

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

func (*StateRequest) Descriptor deprecated

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

Deprecated: Use StateRequest.ProtoReflect.Descriptor instead.

func (*StateRequest) GetHash

func (x *StateRequest) GetHash() []byte

func (*StateRequest) ProtoMessage

func (*StateRequest) ProtoMessage()

func (*StateRequest) ProtoReflect

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

func (*StateRequest) Reset

func (x *StateRequest) Reset()

func (*StateRequest) String

func (x *StateRequest) String() string

type Subscribe

type Subscribe struct {
	Subscriber []byte `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"`
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Topic      string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
	// Deprecated: Do not use.
	Bucket   uint32 `protobuf:"varint,4,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Duration uint32 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"`
	Meta     []byte `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*Subscribe) Descriptor deprecated

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

Deprecated: Use Subscribe.ProtoReflect.Descriptor instead.

func (*Subscribe) GetBucket deprecated

func (x *Subscribe) GetBucket() uint32

Deprecated: Do not use.

func (*Subscribe) GetDuration

func (x *Subscribe) GetDuration() uint32

func (*Subscribe) GetIdentifier

func (x *Subscribe) GetIdentifier() string

func (*Subscribe) GetMeta

func (x *Subscribe) GetMeta() []byte

func (*Subscribe) GetSubscriber

func (x *Subscribe) GetSubscriber() []byte

func (*Subscribe) GetTopic

func (x *Subscribe) GetTopic() string

func (*Subscribe) ProtoMessage

func (*Subscribe) ProtoMessage()

func (*Subscribe) ProtoReflect

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

func (*Subscribe) Reset

func (x *Subscribe) Reset()

func (*Subscribe) String

func (x *Subscribe) String() string

func (*Subscribe) ToMap

func (m *Subscribe) ToMap() map[string]interface{}

type SwapAsset

type SwapAsset struct {
	Sender    []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount    int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapAsset) Descriptor deprecated

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

Deprecated: Use SwapAsset.ProtoReflect.Descriptor instead.

func (*SwapAsset) GetAmount

func (x *SwapAsset) GetAmount() int64

func (*SwapAsset) GetRecipient

func (x *SwapAsset) GetRecipient() []byte

func (*SwapAsset) GetSender

func (x *SwapAsset) GetSender() []byte

func (*SwapAsset) ProtoMessage

func (*SwapAsset) ProtoMessage()

func (*SwapAsset) ProtoReflect

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

func (*SwapAsset) Reset

func (x *SwapAsset) Reset()

func (*SwapAsset) String

func (x *SwapAsset) String() string

func (*SwapAsset) ToMap

func (m *SwapAsset) ToMap() map[string]interface{}

type SyncState

type SyncState int32
const (
	SyncState_WAIT_FOR_SYNCING SyncState = 0
	SyncState_SYNC_STARTED     SyncState = 1
	SyncState_SYNC_FINISHED    SyncState = 2
	SyncState_PERSIST_FINISHED SyncState = 3
)

func (SyncState) Descriptor

func (SyncState) Descriptor() protoreflect.EnumDescriptor

func (SyncState) Enum

func (x SyncState) Enum() *SyncState

func (SyncState) EnumDescriptor deprecated

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

Deprecated: Use SyncState.Descriptor instead.

func (SyncState) Number

func (x SyncState) Number() protoreflect.EnumNumber

func (SyncState) String

func (x SyncState) String() string

func (SyncState) Type

type Transaction

type Transaction struct {
	UnsignedTx *UnsignedTx `protobuf:"bytes,1,opt,name=unsigned_tx,json=unsignedTx,proto3" json:"unsigned_tx,omitempty"`
	Programs   []*Program  `protobuf:"bytes,2,rep,name=programs,proto3" json:"programs,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetPrograms

func (x *Transaction) GetPrograms() []*Program

func (*Transaction) GetUnsignedTx

func (x *Transaction) GetUnsignedTx() *UnsignedTx

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type Transactions

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

func (*Transactions) Descriptor deprecated

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

Deprecated: Use Transactions.ProtoReflect.Descriptor instead.

func (*Transactions) GetTransactions

func (x *Transactions) GetTransactions() []*Transaction

func (*Transactions) ProtoMessage

func (*Transactions) ProtoMessage()

func (*Transactions) ProtoReflect

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

func (*Transactions) Reset

func (x *Transactions) Reset()

func (*Transactions) String

func (x *Transactions) String() string

type TransferAsset

type TransferAsset struct {
	Sender    []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient []byte `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount    int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferAsset) Descriptor deprecated

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

Deprecated: Use TransferAsset.ProtoReflect.Descriptor instead.

func (*TransferAsset) GetAmount

func (x *TransferAsset) GetAmount() int64

func (*TransferAsset) GetRecipient

func (x *TransferAsset) GetRecipient() []byte

func (*TransferAsset) GetSender

func (x *TransferAsset) GetSender() []byte

func (*TransferAsset) ProtoMessage

func (*TransferAsset) ProtoMessage()

func (*TransferAsset) ProtoReflect

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

func (*TransferAsset) Reset

func (x *TransferAsset) Reset()

func (*TransferAsset) String

func (x *TransferAsset) String() string

func (*TransferAsset) ToMap

func (m *TransferAsset) ToMap() map[string]interface{}

type TransferName

type TransferName struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Registrant []byte `protobuf:"bytes,2,opt,name=registrant,proto3" json:"registrant,omitempty"`
	Recipient  []byte `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferName) Descriptor deprecated

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

Deprecated: Use TransferName.ProtoReflect.Descriptor instead.

func (*TransferName) GetName

func (x *TransferName) GetName() string

func (*TransferName) GetRecipient

func (x *TransferName) GetRecipient() []byte

func (*TransferName) GetRegistrant

func (x *TransferName) GetRegistrant() []byte

func (*TransferName) ProtoMessage

func (*TransferName) ProtoMessage()

func (*TransferName) ProtoReflect

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

func (*TransferName) Reset

func (x *TransferName) Reset()

func (*TransferName) String

func (x *TransferName) String() string

type UnsignedHeader

type UnsignedHeader struct {
	Version          uint32     `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	PrevBlockHash    []byte     `protobuf:"bytes,2,opt,name=prev_block_hash,json=prevBlockHash,proto3" json:"prev_block_hash,omitempty"`
	TransactionsRoot []byte     `protobuf:"bytes,3,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"`
	StateRoot        []byte     `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	Timestamp        int64      `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Height           uint32     `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	RandomBeacon     []byte     `protobuf:"bytes,7,opt,name=random_beacon,json=randomBeacon,proto3" json:"random_beacon,omitempty"`
	WinnerHash       []byte     `protobuf:"bytes,8,opt,name=winner_hash,json=winnerHash,proto3" json:"winner_hash,omitempty"`
	WinnerType       WinnerType `protobuf:"varint,9,opt,name=winner_type,json=winnerType,proto3,enum=pb.WinnerType" json:"winner_type,omitempty"`
	SignerPk         []byte     `protobuf:"bytes,10,opt,name=signer_pk,json=signerPk,proto3" json:"signer_pk,omitempty"`
	SignerId         []byte     `protobuf:"bytes,11,opt,name=signer_id,json=signerId,proto3" json:"signer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsignedHeader) Descriptor deprecated

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

Deprecated: Use UnsignedHeader.ProtoReflect.Descriptor instead.

func (*UnsignedHeader) GetHeight

func (x *UnsignedHeader) GetHeight() uint32

func (*UnsignedHeader) GetPrevBlockHash

func (x *UnsignedHeader) GetPrevBlockHash() []byte

func (*UnsignedHeader) GetRandomBeacon

func (x *UnsignedHeader) GetRandomBeacon() []byte

func (*UnsignedHeader) GetSignerId

func (x *UnsignedHeader) GetSignerId() []byte

func (*UnsignedHeader) GetSignerPk

func (x *UnsignedHeader) GetSignerPk() []byte

func (*UnsignedHeader) GetStateRoot

func (x *UnsignedHeader) GetStateRoot() []byte

func (*UnsignedHeader) GetTimestamp

func (x *UnsignedHeader) GetTimestamp() int64

func (*UnsignedHeader) GetTransactionsRoot

func (x *UnsignedHeader) GetTransactionsRoot() []byte

func (*UnsignedHeader) GetVersion

func (x *UnsignedHeader) GetVersion() uint32

func (*UnsignedHeader) GetWinnerHash

func (x *UnsignedHeader) GetWinnerHash() []byte

func (*UnsignedHeader) GetWinnerType

func (x *UnsignedHeader) GetWinnerType() WinnerType

func (*UnsignedHeader) ProtoMessage

func (*UnsignedHeader) ProtoMessage()

func (*UnsignedHeader) ProtoReflect

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

func (*UnsignedHeader) Reset

func (x *UnsignedHeader) Reset()

func (*UnsignedHeader) String

func (x *UnsignedHeader) String() string

type UnsignedMessage

type UnsignedMessage struct {
	MessageType MessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=pb.MessageType" json:"message_type,omitempty"`
	Message     []byte      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsignedMessage) Descriptor deprecated

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

Deprecated: Use UnsignedMessage.ProtoReflect.Descriptor instead.

func (*UnsignedMessage) GetMessage

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

func (*UnsignedMessage) GetMessageType

func (x *UnsignedMessage) GetMessageType() MessageType

func (*UnsignedMessage) ProtoMessage

func (*UnsignedMessage) ProtoMessage()

func (*UnsignedMessage) ProtoReflect

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

func (*UnsignedMessage) Reset

func (x *UnsignedMessage) Reset()

func (*UnsignedMessage) String

func (x *UnsignedMessage) String() string

type UnsignedTx

type UnsignedTx struct {
	Payload    *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Nonce      uint64   `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Fee        int64    `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	Attributes []byte   `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsignedTx) Descriptor deprecated

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

Deprecated: Use UnsignedTx.ProtoReflect.Descriptor instead.

func (*UnsignedTx) GetAttributes

func (x *UnsignedTx) GetAttributes() []byte

func (*UnsignedTx) GetFee

func (x *UnsignedTx) GetFee() int64

func (*UnsignedTx) GetNonce

func (x *UnsignedTx) GetNonce() uint64

func (*UnsignedTx) GetPayload

func (x *UnsignedTx) GetPayload() *Payload

func (*UnsignedTx) ProtoMessage

func (*UnsignedTx) ProtoMessage()

func (*UnsignedTx) ProtoReflect

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

func (*UnsignedTx) Reset

func (x *UnsignedTx) Reset()

func (*UnsignedTx) String

func (x *UnsignedTx) String() string

type Unsubscribe

type Unsubscribe struct {
	Subscriber []byte `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"`
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Topic      string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
	// contains filtered or unexported fields
}

func (*Unsubscribe) Descriptor deprecated

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

Deprecated: Use Unsubscribe.ProtoReflect.Descriptor instead.

func (*Unsubscribe) GetIdentifier

func (x *Unsubscribe) GetIdentifier() string

func (*Unsubscribe) GetSubscriber

func (x *Unsubscribe) GetSubscriber() []byte

func (*Unsubscribe) GetTopic

func (x *Unsubscribe) GetTopic() string

func (*Unsubscribe) ProtoMessage

func (*Unsubscribe) ProtoMessage()

func (*Unsubscribe) ProtoReflect

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

func (*Unsubscribe) Reset

func (x *Unsubscribe) Reset()

func (*Unsubscribe) String

func (x *Unsubscribe) String() string

func (*Unsubscribe) ToMap

func (m *Unsubscribe) ToMap() map[string]interface{}

type Vote

type Vote struct {
	Height    uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Vote) Descriptor deprecated

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

Deprecated: Use Vote.ProtoReflect.Descriptor instead.

func (*Vote) GetBlockHash

func (x *Vote) GetBlockHash() []byte

func (*Vote) GetHeight

func (x *Vote) GetHeight() uint32

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) ProtoReflect

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

func (*Vote) Reset

func (x *Vote) Reset()

func (*Vote) String

func (x *Vote) String() string

type WinnerType

type WinnerType int32
const (
	WinnerType_GENESIS_SIGNER WinnerType = 0
	WinnerType_TXN_SIGNER     WinnerType = 1
	WinnerType_BLOCK_SIGNER   WinnerType = 2
)

func (WinnerType) Descriptor

func (WinnerType) Descriptor() protoreflect.EnumDescriptor

func (WinnerType) Enum

func (x WinnerType) Enum() *WinnerType

func (WinnerType) EnumDescriptor deprecated

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

Deprecated: Use WinnerType.Descriptor instead.

func (WinnerType) Number

func (x WinnerType) Number() protoreflect.EnumNumber

func (WinnerType) String

func (x WinnerType) String() string

func (WinnerType) Type

Jump to

Keyboard shortcuts

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