walletrpc

package
v0.0.0-...-e703aee Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: ISC Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChangePassphraseRequest_Key_name = map[int32]string{
	0: "PRIVATE",
	1: "PUBLIC",
}
View Source
var ChangePassphraseRequest_Key_value = map[string]int32{
	"PRIVATE": 0,
	"PUBLIC":  1,
}
View Source
var ConstructTransactionRequest_OutputSelectionAlgorithm_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "ALL",
}
View Source
var ConstructTransactionRequest_OutputSelectionAlgorithm_value = map[string]int32{
	"UNSPECIFIED": 0,
	"ALL":         1,
}
View Source
var CreateSignatureRequest_SigHashType_name = map[int32]string{
	0:   "SIGHASH_OLD",
	1:   "SIGHASH_ALL",
	2:   "SIGHASH_NONE",
	3:   "SIGHASH_SINGLE",
	4:   "SIGHASH_ALLVALUE",
	128: "SIGHASH_ANYONECANPAY",
}
View Source
var CreateSignatureRequest_SigHashType_value = map[string]int32{
	"SIGHASH_OLD":          0,
	"SIGHASH_ALL":          1,
	"SIGHASH_NONE":         2,
	"SIGHASH_SINGLE":       3,
	"SIGHASH_ALLVALUE":     4,
	"SIGHASH_ANYONECANPAY": 128,
}
View Source
var DecodedTransaction_Input_TreeType_name = map[int32]string{
	0:  "REGULAR",
	-1: "UNKNOWN",
	1:  "STAKE",
}
View Source
var DecodedTransaction_Input_TreeType_value = map[string]int32{
	"REGULAR": 0,
	"UNKNOWN": -1,
	"STAKE":   1,
}
View Source
var DecodedTransaction_Output_ScriptClass_name = map[int32]string{
	0:  "NON_STANDARD",
	1:  "PUB_KEY",
	2:  "PUB_KEY_HASH",
	3:  "SCRIPT_HASH",
	4:  "MULTI_SIG",
	5:  "NULL_DATA",
	6:  "STAKE_SUBMISSION",
	7:  "STAKE_GEN",
	8:  "STAKE_REVOCATION",
	9:  "STAKE_SUB_CHANGE",
	10: "PUB_KEY_ALT",
	11: "PUB_KEY_HASH_ALT",
}
View Source
var DecodedTransaction_Output_ScriptClass_value = map[string]int32{
	"NON_STANDARD":     0,
	"PUB_KEY":          1,
	"PUB_KEY_HASH":     2,
	"SCRIPT_HASH":      3,
	"MULTI_SIG":        4,
	"NULL_DATA":        5,
	"STAKE_SUBMISSION": 6,
	"STAKE_GEN":        7,
	"STAKE_REVOCATION": 8,
	"STAKE_SUB_CHANGE": 9,
	"PUB_KEY_ALT":      10,
	"PUB_KEY_HASH_ALT": 11,
}
View Source
var GetTicketsResponse_TicketDetails_TicketStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "UNMINED",
	2: "IMMATURE",
	3: "LIVE",
	4: "VOTED",
	5: "MISSED",
	6: "EXPIRED",
	7: "REVOKED",
}
View Source
var GetTicketsResponse_TicketDetails_TicketStatus_value = map[string]int32{
	"UNKNOWN":  0,
	"UNMINED":  1,
	"IMMATURE": 2,
	"LIVE":     3,
	"VOTED":    4,
	"MISSED":   5,
	"EXPIRED":  6,
	"REVOKED":  7,
}
View Source
var NextAddressRequest_GapPolicy_name = map[int32]string{
	0: "GAP_POLICY_UNSPECIFIED",
	1: "GAP_POLICY_ERROR",
	2: "GAP_POLICY_IGNORE",
	3: "GAP_POLICY_WRAP",
}
View Source
var NextAddressRequest_GapPolicy_value = map[string]int32{
	"GAP_POLICY_UNSPECIFIED": 0,
	"GAP_POLICY_ERROR":       1,
	"GAP_POLICY_IGNORE":      2,
	"GAP_POLICY_WRAP":        3,
}
View Source
var NextAddressRequest_Kind_name = map[int32]string{
	0: "BIP0044_EXTERNAL",
	1: "BIP0044_INTERNAL",
}
View Source
var NextAddressRequest_Kind_value = map[string]int32{
	"BIP0044_EXTERNAL": 0,
	"BIP0044_INTERNAL": 1,
}
View Source
var SyncNotificationType_name = map[int32]string{
	0:  "SYNCED",
	1:  "UNSYNCED",
	2:  "PEER_CONNECTED",
	3:  "PEER_DISCONNECTED",
	4:  "FETCHED_MISSING_CFILTERS_STARTED",
	5:  "FETCHED_MISSING_CFILTERS_PROGRESS",
	6:  "FETCHED_MISSING_CFILTERS_FINISHED",
	7:  "FETCHED_HEADERS_STARTED",
	8:  "FETCHED_HEADERS_PROGRESS",
	9:  "FETCHED_HEADERS_FINISHED",
	10: "DISCOVER_ADDRESSES_STARTED",
	11: "DISCOVER_ADDRESSES_FINISHED",
	12: "RESCAN_STARTED",
	13: "RESCAN_PROGRESS",
	14: "RESCAN_FINISHED",
}
View Source
var SyncNotificationType_value = map[string]int32{
	"SYNCED":                            0,
	"UNSYNCED":                          1,
	"PEER_CONNECTED":                    2,
	"PEER_DISCONNECTED":                 3,
	"FETCHED_MISSING_CFILTERS_STARTED":  4,
	"FETCHED_MISSING_CFILTERS_PROGRESS": 5,
	"FETCHED_MISSING_CFILTERS_FINISHED": 6,
	"FETCHED_HEADERS_STARTED":           7,
	"FETCHED_HEADERS_PROGRESS":          8,
	"FETCHED_HEADERS_FINISHED":          9,
	"DISCOVER_ADDRESSES_STARTED":        10,
	"DISCOVER_ADDRESSES_FINISHED":       11,
	"RESCAN_STARTED":                    12,
	"RESCAN_PROGRESS":                   13,
	"RESCAN_FINISHED":                   14,
}
View Source
var TransactionDetails_TransactionType_name = map[int32]string{
	0: "REGULAR",
	4: "COINBASE",
	1: "TICKET_PURCHASE",
	2: "VOTE",
	3: "REVOCATION",
}
View Source
var TransactionDetails_TransactionType_value = map[string]int32{
	"REGULAR":         0,
	"COINBASE":        4,
	"TICKET_PURCHASE": 1,
	"VOTE":            2,
	"REVOCATION":      3,
}
View Source
var ValidateAddressResponse_ScriptType_name = map[int32]string{
	0:  "NonStandardTy",
	1:  "PubKeyTy",
	2:  "PubKeyHashTy",
	3:  "ScriptHashTy",
	4:  "MultiSigTy",
	5:  "NullDataTy",
	6:  "StakeSubmissionTy",
	7:  "StakeGenTy",
	8:  "StakeRevocationTy",
	9:  "StakeSubChangeTy",
	10: "PubkeyAltTy",
	11: "PubkeyHashAltTy",
}
View Source
var ValidateAddressResponse_ScriptType_value = map[string]int32{
	"NonStandardTy":     0,
	"PubKeyTy":          1,
	"PubKeyHashTy":      2,
	"ScriptHashTy":      3,
	"MultiSigTy":        4,
	"NullDataTy":        5,
	"StakeSubmissionTy": 6,
	"StakeGenTy":        7,
	"StakeRevocationTy": 8,
	"StakeSubChangeTy":  9,
	"PubkeyAltTy":       10,
	"PubkeyHashAltTy":   11,
}

Functions

func RegisterAgendaServiceServer

func RegisterAgendaServiceServer(s *grpc.Server, srv AgendaServiceServer)

func RegisterDecodeMessageServiceServer

func RegisterDecodeMessageServiceServer(s *grpc.Server, srv DecodeMessageServiceServer)

func RegisterMessageVerificationServiceServer

func RegisterMessageVerificationServiceServer(s *grpc.Server, srv MessageVerificationServiceServer)

func RegisterSeedServiceServer

func RegisterSeedServiceServer(s *grpc.Server, srv SeedServiceServer)

func RegisterTicketBuyerServiceServer

func RegisterTicketBuyerServiceServer(s *grpc.Server, srv TicketBuyerServiceServer)

func RegisterTicketBuyerV2ServiceServer

func RegisterTicketBuyerV2ServiceServer(s *grpc.Server, srv TicketBuyerV2ServiceServer)

func RegisterVersionServiceServer

func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)

func RegisterVotingServiceServer

func RegisterVotingServiceServer(s *grpc.Server, srv VotingServiceServer)

func RegisterWalletLoaderServiceServer

func RegisterWalletLoaderServiceServer(s *grpc.Server, srv WalletLoaderServiceServer)

func RegisterWalletServiceServer

func RegisterWalletServiceServer(s *grpc.Server, srv WalletServiceServer)

Types

type AccountBalance

type AccountBalance struct {
	Account              uint32   `protobuf:"varint,1,opt,name=account,proto3" json:"account,omitempty"`
	TotalBalance         int64    `protobuf:"varint,2,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountBalance) Descriptor

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

func (*AccountBalance) GetAccount

func (m *AccountBalance) GetAccount() uint32

func (*AccountBalance) GetTotalBalance

func (m *AccountBalance) GetTotalBalance() int64

func (*AccountBalance) ProtoMessage

func (*AccountBalance) ProtoMessage()

func (*AccountBalance) Reset

func (m *AccountBalance) Reset()

func (*AccountBalance) String

func (m *AccountBalance) String() string

func (*AccountBalance) XXX_DiscardUnknown

func (m *AccountBalance) XXX_DiscardUnknown()

func (*AccountBalance) XXX_Marshal

func (m *AccountBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountBalance) XXX_Merge

func (dst *AccountBalance) XXX_Merge(src proto.Message)

func (*AccountBalance) XXX_Size

func (m *AccountBalance) XXX_Size() int

func (*AccountBalance) XXX_Unmarshal

func (m *AccountBalance) XXX_Unmarshal(b []byte) error

type AccountNotificationsRequest

type AccountNotificationsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountNotificationsRequest) Descriptor

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

func (*AccountNotificationsRequest) ProtoMessage

func (*AccountNotificationsRequest) ProtoMessage()

func (*AccountNotificationsRequest) Reset

func (m *AccountNotificationsRequest) Reset()

func (*AccountNotificationsRequest) String

func (m *AccountNotificationsRequest) String() string

func (*AccountNotificationsRequest) XXX_DiscardUnknown

func (m *AccountNotificationsRequest) XXX_DiscardUnknown()

func (*AccountNotificationsRequest) XXX_Marshal

func (m *AccountNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountNotificationsRequest) XXX_Merge

func (dst *AccountNotificationsRequest) XXX_Merge(src proto.Message)

func (*AccountNotificationsRequest) XXX_Size

func (m *AccountNotificationsRequest) XXX_Size() int

func (*AccountNotificationsRequest) XXX_Unmarshal

func (m *AccountNotificationsRequest) XXX_Unmarshal(b []byte) error

type AccountNotificationsResponse

type AccountNotificationsResponse struct {
	AccountNumber        uint32   `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	AccountName          string   `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	ExternalKeyCount     uint32   `protobuf:"varint,3,opt,name=external_key_count,json=externalKeyCount,proto3" json:"external_key_count,omitempty"`
	InternalKeyCount     uint32   `protobuf:"varint,4,opt,name=internal_key_count,json=internalKeyCount,proto3" json:"internal_key_count,omitempty"`
	ImportedKeyCount     uint32   `protobuf:"varint,5,opt,name=imported_key_count,json=importedKeyCount,proto3" json:"imported_key_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountNotificationsResponse) Descriptor

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

func (*AccountNotificationsResponse) GetAccountName

func (m *AccountNotificationsResponse) GetAccountName() string

func (*AccountNotificationsResponse) GetAccountNumber

func (m *AccountNotificationsResponse) GetAccountNumber() uint32

func (*AccountNotificationsResponse) GetExternalKeyCount

func (m *AccountNotificationsResponse) GetExternalKeyCount() uint32

func (*AccountNotificationsResponse) GetImportedKeyCount

func (m *AccountNotificationsResponse) GetImportedKeyCount() uint32

func (*AccountNotificationsResponse) GetInternalKeyCount

func (m *AccountNotificationsResponse) GetInternalKeyCount() uint32

func (*AccountNotificationsResponse) ProtoMessage

func (*AccountNotificationsResponse) ProtoMessage()

func (*AccountNotificationsResponse) Reset

func (m *AccountNotificationsResponse) Reset()

func (*AccountNotificationsResponse) String

func (*AccountNotificationsResponse) XXX_DiscardUnknown

func (m *AccountNotificationsResponse) XXX_DiscardUnknown()

func (*AccountNotificationsResponse) XXX_Marshal

func (m *AccountNotificationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountNotificationsResponse) XXX_Merge

func (dst *AccountNotificationsResponse) XXX_Merge(src proto.Message)

func (*AccountNotificationsResponse) XXX_Size

func (m *AccountNotificationsResponse) XXX_Size() int

func (*AccountNotificationsResponse) XXX_Unmarshal

func (m *AccountNotificationsResponse) XXX_Unmarshal(b []byte) error