Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIpcServiceServer(s grpc.ServiceRegistrar, srv IpcServiceServer)
- type Address
- type AddressesCollection
- func (*AddressesCollection) Descriptor() ([]byte, []int)deprecated
- func (x *AddressesCollection) GetAddresses() []*Address
- func (*AddressesCollection) ProtoMessage()
- func (x *AddressesCollection) ProtoReflect() protoreflect.Message
- func (x *AddressesCollection) Reset()
- func (x *AddressesCollection) String() string
- type BoolResponse
- func (*BoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BoolResponse) GetError() string
- func (x *BoolResponse) GetSuccess() bool
- func (*BoolResponse) ProtoMessage()
- func (x *BoolResponse) ProtoReflect() protoreflect.Message
- func (x *BoolResponse) Reset()
- func (x *BoolResponse) String() string
- type CreateTransactionRequest
- func (*CreateTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTransactionRequest) GetFeeRate() int64
- func (x *CreateTransactionRequest) GetRecipients() []*TransactionRecipient
- func (*CreateTransactionRequest) ProtoMessage()
- func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTransactionRequest) Reset()
- func (x *CreateTransactionRequest) String() string
- type Empty
- type IpcServiceClient
- type IpcServiceServer
- type Mnemonic
- type NewLabelRequest
- type NewTransaction
- type NewWalletRequest
- func (*NewWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewWalletRequest) GetEncryptionPassword() string
- func (x *NewWalletRequest) GetSeedPassphrase() string
- func (*NewWalletRequest) ProtoMessage()
- func (x *NewWalletRequest) ProtoReflect() protoreflect.Message
- func (x *NewWalletRequest) Reset()
- func (x *NewWalletRequest) String() string
- type OwnedUTXO
- func (*OwnedUTXO) Descriptor() ([]byte, []int)deprecated
- func (x *OwnedUTXO) GetAmount() uint64
- func (x *OwnedUTXO) GetLabel() string
- func (x *OwnedUTXO) GetPubKey() []byte
- func (x *OwnedUTXO) GetTimestampConfirmed() *timestamppb.Timestamp
- func (x *OwnedUTXO) GetTxid() []byte
- func (x *OwnedUTXO) GetUtxoState() UTXOState
- func (x *OwnedUTXO) GetVout() uint32
- func (*OwnedUTXO) ProtoMessage()
- func (x *OwnedUTXO) ProtoReflect() protoreflect.Message
- func (x *OwnedUTXO) Reset()
- func (x *OwnedUTXO) String() string
- type PasswordRequest
- type RawTransaction
- type RescanRequest
- type Status
- type StatusResponse
- type SyncHeightResponse
- func (*SyncHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncHeightResponse) GetHeight() uint64
- func (*SyncHeightResponse) ProtoMessage()
- func (x *SyncHeightResponse) ProtoReflect() protoreflect.Message
- func (x *SyncHeightResponse) Reset()
- func (x *SyncHeightResponse) String() string
- type TransactionRecipient
- func (*TransactionRecipient) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRecipient) GetAddress() string
- func (x *TransactionRecipient) GetAmount() uint64
- func (x *TransactionRecipient) GetAnnotation() string
- func (*TransactionRecipient) ProtoMessage()
- func (x *TransactionRecipient) ProtoReflect() protoreflect.Message
- func (x *TransactionRecipient) Reset()
- func (x *TransactionRecipient) String() string
- type UTXOCollection
- type UTXOState
- type UnimplementedIpcServiceServer
- func (UnimplementedIpcServiceServer) BroadcastRawTx(context.Context, *RawTransaction) (*NewTransaction, error)
- func (UnimplementedIpcServiceServer) CreateNewLabel(context.Context, *NewLabelRequest) (*Address, error)
- func (UnimplementedIpcServiceServer) CreateNewWallet(context.Context, *NewWalletRequest) (*Mnemonic, error)
- func (UnimplementedIpcServiceServer) CreateTransaction(context.Context, *CreateTransactionRequest) (*RawTransaction, error)
- func (UnimplementedIpcServiceServer) CreateTransactionAndBroadcast(context.Context, *CreateTransactionRequest) (*NewTransaction, error)
- func (UnimplementedIpcServiceServer) ForceRescanFromHeight(context.Context, *RescanRequest) (*BoolResponse, error)
- func (UnimplementedIpcServiceServer) GetMnemonic(context.Context, *Empty) (*Mnemonic, error)
- func (UnimplementedIpcServiceServer) ListAddresses(context.Context, *Empty) (*AddressesCollection, error)
- func (UnimplementedIpcServiceServer) ListUTXOs(context.Context, *Empty) (*UTXOCollection, error)
- func (UnimplementedIpcServiceServer) SetMnemonic(context.Context, *Mnemonic) (*BoolResponse, error)
- func (UnimplementedIpcServiceServer) SetPassword(context.Context, *PasswordRequest) (*BoolResponse, error)
- func (UnimplementedIpcServiceServer) Shutdown(context.Context, *Empty) (*BoolResponse, error)
- func (UnimplementedIpcServiceServer) Status(context.Context, *Empty) (*StatusResponse, error)
- func (UnimplementedIpcServiceServer) SyncHeight(context.Context, *Empty) (*SyncHeightResponse, error)
- func (UnimplementedIpcServiceServer) Unlock(context.Context, *PasswordRequest) (*BoolResponse, error)
- type UnsafeIpcServiceServer
Constants ¶
const ( IpcService_Status_FullMethodName = "/ipc.IpcService/Status" IpcService_SyncHeight_FullMethodName = "/ipc.IpcService/SyncHeight" IpcService_Unlock_FullMethodName = "/ipc.IpcService/Unlock" IpcService_SetPassword_FullMethodName = "/ipc.IpcService/SetPassword" IpcService_Shutdown_FullMethodName = "/ipc.IpcService/Shutdown" IpcService_ListUTXOs_FullMethodName = "/ipc.IpcService/ListUTXOs" IpcService_ListAddresses_FullMethodName = "/ipc.IpcService/ListAddresses" IpcService_CreateNewLabel_FullMethodName = "/ipc.IpcService/CreateNewLabel" IpcService_CreateTransaction_FullMethodName = "/ipc.IpcService/CreateTransaction" IpcService_CreateTransactionAndBroadcast_FullMethodName = "/ipc.IpcService/CreateTransactionAndBroadcast" IpcService_BroadcastRawTx_FullMethodName = "/ipc.IpcService/BroadcastRawTx" IpcService_GetMnemonic_FullMethodName = "/ipc.IpcService/GetMnemonic" IpcService_SetMnemonic_FullMethodName = "/ipc.IpcService/SetMnemonic" IpcService_CreateNewWallet_FullMethodName = "/ipc.IpcService/CreateNewWallet" IpcService_ForceRescanFromHeight_FullMethodName = "/ipc.IpcService/ForceRescanFromHeight" )
Variables ¶
var ( Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_NO_WALLET", 2: "STATUS_STARTING", 3: "STATUS_LOCKED", 4: "STATUS_RUNNING", 5: "STATUS_SCANNING", 6: "STATUS_SHUTTING_DOWN", } Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_NO_WALLET": 1, "STATUS_STARTING": 2, "STATUS_LOCKED": 3, "STATUS_RUNNING": 4, "STATUS_SCANNING": 5, "STATUS_SHUTTING_DOWN": 6, } )
Enum value maps for Status.
var ( UTXOState_name = map[int32]string{ 0: "UNKNOWN", 1: "UNCONFIRMED", 2: "UNSPENT", 3: "SPENT", 4: "SPENT_UNCONFIRMED", } UTXOState_value = map[string]int32{ "UNKNOWN": 0, "UNCONFIRMED": 1, "UNSPENT": 2, "SPENT": 3, "SPENT_UNCONFIRMED": 4, } )
Enum value maps for UTXOState.
var File_ipc_proto protoreflect.FileDescriptor
var IpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ipc.IpcService", HandlerType: (*IpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Status", Handler: _IpcService_Status_Handler, }, { MethodName: "SyncHeight", Handler: _IpcService_SyncHeight_Handler, }, { MethodName: "Unlock", Handler: _IpcService_Unlock_Handler, }, { MethodName: "SetPassword", Handler: _IpcService_SetPassword_Handler, }, { MethodName: "Shutdown", Handler: _IpcService_Shutdown_Handler, }, { MethodName: "ListUTXOs", Handler: _IpcService_ListUTXOs_Handler, }, { MethodName: "ListAddresses", Handler: _IpcService_ListAddresses_Handler, }, { MethodName: "CreateNewLabel", Handler: _IpcService_CreateNewLabel_Handler, }, { MethodName: "CreateTransaction", Handler: _IpcService_CreateTransaction_Handler, }, { MethodName: "CreateTransactionAndBroadcast", Handler: _IpcService_CreateTransactionAndBroadcast_Handler, }, { MethodName: "BroadcastRawTx", Handler: _IpcService_BroadcastRawTx_Handler, }, { MethodName: "GetMnemonic", Handler: _IpcService_GetMnemonic_Handler, }, { MethodName: "SetMnemonic", Handler: _IpcService_SetMnemonic_Handler, }, { MethodName: "CreateNewWallet", Handler: _IpcService_CreateNewWallet_Handler, }, { MethodName: "ForceRescanFromHeight", Handler: _IpcService_ForceRescanFromHeight_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ipc.proto", }
IpcService_ServiceDesc is the grpc.ServiceDesc for IpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIpcServiceServer ¶
func RegisterIpcServiceServer(s grpc.ServiceRegistrar, srv IpcServiceServer)
Types ¶
type Address ¶
type Address struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetAddress ¶
func (*Address) GetComment ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type AddressesCollection ¶
type AddressesCollection struct { Addresses []*Address `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*AddressesCollection) Descriptor
deprecated
func (*AddressesCollection) Descriptor() ([]byte, []int)
Deprecated: Use AddressesCollection.ProtoReflect.Descriptor instead.
func (*AddressesCollection) GetAddresses ¶
func (x *AddressesCollection) GetAddresses() []*Address
func (*AddressesCollection) ProtoMessage ¶
func (*AddressesCollection) ProtoMessage()
func (*AddressesCollection) ProtoReflect ¶
func (x *AddressesCollection) ProtoReflect() protoreflect.Message
func (*AddressesCollection) Reset ¶
func (x *AddressesCollection) Reset()
func (*AddressesCollection) String ¶
func (x *AddressesCollection) String() string
type BoolResponse ¶
type BoolResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // only filled if success false // contains filtered or unexported fields }
todo remove BoolResponse - just returning an error from server overrides this
func (*BoolResponse) Descriptor
deprecated
func (*BoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use BoolResponse.ProtoReflect.Descriptor instead.
func (*BoolResponse) GetError ¶
func (x *BoolResponse) GetError() string
func (*BoolResponse) GetSuccess ¶
func (x *BoolResponse) GetSuccess() bool
func (*BoolResponse) ProtoMessage ¶
func (*BoolResponse) ProtoMessage()
func (*BoolResponse) ProtoReflect ¶
func (x *BoolResponse) ProtoReflect() protoreflect.Message
func (*BoolResponse) Reset ¶
func (x *BoolResponse) Reset()
func (*BoolResponse) String ¶
func (x *BoolResponse) String() string
type CreateTransactionRequest ¶
type CreateTransactionRequest struct { Recipients []*TransactionRecipient `protobuf:"bytes,1,rep,name=recipients,proto3" json:"recipients,omitempty"` FeeRate int64 `protobuf:"varint,2,opt,name=feeRate,proto3" json:"feeRate,omitempty"` // contains filtered or unexported fields }
func (*CreateTransactionRequest) Descriptor
deprecated
func (*CreateTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTransactionRequest.ProtoReflect.Descriptor instead.
func (*CreateTransactionRequest) GetFeeRate ¶
func (x *CreateTransactionRequest) GetFeeRate() int64
func (*CreateTransactionRequest) GetRecipients ¶
func (x *CreateTransactionRequest) GetRecipients() []*TransactionRecipient
func (*CreateTransactionRequest) ProtoMessage ¶
func (*CreateTransactionRequest) ProtoMessage()
func (*CreateTransactionRequest) ProtoReflect ¶
func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
func (*CreateTransactionRequest) Reset ¶
func (x *CreateTransactionRequest) Reset()
func (*CreateTransactionRequest) String ¶
func (x *CreateTransactionRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
This is an empty message
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type IpcServiceClient ¶
type IpcServiceClient interface { // Alive pings the daemon and returns true if the daemon is alive Status(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StatusResponse, error) SyncHeight(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SyncHeightResponse, error) Unlock(ctx context.Context, in *PasswordRequest, opts ...grpc.CallOption) (*BoolResponse, error) SetPassword(ctx context.Context, in *PasswordRequest, opts ...grpc.CallOption) (*BoolResponse, error) Shutdown(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BoolResponse, error) ListUTXOs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UTXOCollection, error) ListAddresses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AddressesCollection, error) CreateNewLabel(ctx context.Context, in *NewLabelRequest, opts ...grpc.CallOption) (*Address, error) CreateTransaction(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*RawTransaction, error) CreateTransactionAndBroadcast(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*NewTransaction, error) BroadcastRawTx(ctx context.Context, in *RawTransaction, opts ...grpc.CallOption) (*NewTransaction, error) GetMnemonic(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Mnemonic, error) SetMnemonic(ctx context.Context, in *Mnemonic, opts ...grpc.CallOption) (*BoolResponse, error) CreateNewWallet(ctx context.Context, in *NewWalletRequest, opts ...grpc.CallOption) (*Mnemonic, error) ForceRescanFromHeight(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (*BoolResponse, error) }
IpcServiceClient is the client API for IpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIpcServiceClient ¶
func NewIpcServiceClient(cc grpc.ClientConnInterface) IpcServiceClient
type IpcServiceServer ¶
type IpcServiceServer interface { // Alive pings the daemon and returns true if the daemon is alive Status(context.Context, *Empty) (*StatusResponse, error) SyncHeight(context.Context, *Empty) (*SyncHeightResponse, error) Unlock(context.Context, *PasswordRequest) (*BoolResponse, error) SetPassword(context.Context, *PasswordRequest) (*BoolResponse, error) Shutdown(context.Context, *Empty) (*BoolResponse, error) ListUTXOs(context.Context, *Empty) (*UTXOCollection, error) ListAddresses(context.Context, *Empty) (*AddressesCollection, error) CreateNewLabel(context.Context, *NewLabelRequest) (*Address, error) CreateTransaction(context.Context, *CreateTransactionRequest) (*RawTransaction, error) CreateTransactionAndBroadcast(context.Context, *CreateTransactionRequest) (*NewTransaction, error) BroadcastRawTx(context.Context, *RawTransaction) (*NewTransaction, error) GetMnemonic(context.Context, *Empty) (*Mnemonic, error) SetMnemonic(context.Context, *Mnemonic) (*BoolResponse, error) CreateNewWallet(context.Context, *NewWalletRequest) (*Mnemonic, error) ForceRescanFromHeight(context.Context, *RescanRequest) (*BoolResponse, error) // contains filtered or unexported methods }
IpcServiceServer is the server API for IpcService service. All implementations must embed UnimplementedIpcServiceServer for forward compatibility
type Mnemonic ¶
type Mnemonic struct { Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // contains filtered or unexported fields }
func (*Mnemonic) Descriptor
deprecated
func (*Mnemonic) GetMnemonic ¶
func (*Mnemonic) ProtoMessage ¶
func (*Mnemonic) ProtoMessage()
func (*Mnemonic) ProtoReflect ¶
func (x *Mnemonic) ProtoReflect() protoreflect.Message
type NewLabelRequest ¶
type NewLabelRequest struct { Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*NewLabelRequest) Descriptor
deprecated
func (*NewLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewLabelRequest.ProtoReflect.Descriptor instead.
func (*NewLabelRequest) GetComment ¶
func (x *NewLabelRequest) GetComment() string
func (*NewLabelRequest) ProtoMessage ¶
func (*NewLabelRequest) ProtoMessage()
func (*NewLabelRequest) ProtoReflect ¶
func (x *NewLabelRequest) ProtoReflect() protoreflect.Message
func (*NewLabelRequest) Reset ¶
func (x *NewLabelRequest) Reset()
func (*NewLabelRequest) String ¶
func (x *NewLabelRequest) String() string
type NewTransaction ¶
type NewTransaction struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // contains filtered or unexported fields }
func (*NewTransaction) Descriptor
deprecated
func (*NewTransaction) Descriptor() ([]byte, []int)
Deprecated: Use NewTransaction.ProtoReflect.Descriptor instead.
func (*NewTransaction) GetTxid ¶
func (x *NewTransaction) GetTxid() string
func (*NewTransaction) ProtoMessage ¶
func (*NewTransaction) ProtoMessage()
func (*NewTransaction) ProtoReflect ¶
func (x *NewTransaction) ProtoReflect() protoreflect.Message
func (*NewTransaction) Reset ¶
func (x *NewTransaction) Reset()
func (*NewTransaction) String ¶
func (x *NewTransaction) String() string
type NewWalletRequest ¶
type NewWalletRequest struct { EncryptionPassword string `protobuf:"bytes,1,opt,name=encryptionPassword,proto3" json:"encryptionPassword,omitempty"` // encryptionPassword encrypts the wallet data on disk SeedPassphrase string `protobuf:"bytes,2,opt,name=seedPassphrase,proto3" json:"seedPassphrase,omitempty"` // passphrase is added to the seed // contains filtered or unexported fields }
func (*NewWalletRequest) Descriptor
deprecated
func (*NewWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewWalletRequest.ProtoReflect.Descriptor instead.
func (*NewWalletRequest) GetEncryptionPassword ¶
func (x *NewWalletRequest) GetEncryptionPassword() string
func (*NewWalletRequest) GetSeedPassphrase ¶
func (x *NewWalletRequest) GetSeedPassphrase() string
func (*NewWalletRequest) ProtoMessage ¶
func (*NewWalletRequest) ProtoMessage()
func (*NewWalletRequest) ProtoReflect ¶
func (x *NewWalletRequest) ProtoReflect() protoreflect.Message
func (*NewWalletRequest) Reset ¶
func (x *NewWalletRequest) Reset()
func (*NewWalletRequest) String ¶
func (x *NewWalletRequest) String() string
type OwnedUTXO ¶
type OwnedUTXO struct { Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` Vout uint32 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` PubKey []byte `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` TimestampConfirmed *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_confirmed,json=timestampConfirmed,proto3" json:"timestamp_confirmed,omitempty"` UtxoState UTXOState `protobuf:"varint,6,opt,name=utxo_state,json=utxoState,proto3,enum=ipc.UTXOState" json:"utxo_state,omitempty"` Label *string `protobuf:"bytes,7,opt,name=label,proto3,oneof" json:"label,omitempty"` // contains filtered or unexported fields }
func (*OwnedUTXO) Descriptor
deprecated
func (*OwnedUTXO) GetTimestampConfirmed ¶
func (x *OwnedUTXO) GetTimestampConfirmed() *timestamppb.Timestamp
func (*OwnedUTXO) GetUtxoState ¶
func (*OwnedUTXO) ProtoMessage ¶
func (*OwnedUTXO) ProtoMessage()
func (*OwnedUTXO) ProtoReflect ¶
func (x *OwnedUTXO) ProtoReflect() protoreflect.Message
type PasswordRequest ¶
type PasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*PasswordRequest) Descriptor
deprecated
func (*PasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRequest.ProtoReflect.Descriptor instead.
func (*PasswordRequest) GetPassword ¶
func (x *PasswordRequest) GetPassword() string
func (*PasswordRequest) ProtoMessage ¶
func (*PasswordRequest) ProtoMessage()
func (*PasswordRequest) ProtoReflect ¶
func (x *PasswordRequest) ProtoReflect() protoreflect.Message
func (*PasswordRequest) Reset ¶
func (x *PasswordRequest) Reset()
func (*PasswordRequest) String ¶
func (x *PasswordRequest) String() string
type RawTransaction ¶
type RawTransaction struct { RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` // contains filtered or unexported fields }
func (*RawTransaction) Descriptor
deprecated
func (*RawTransaction) Descriptor() ([]byte, []int)
Deprecated: Use RawTransaction.ProtoReflect.Descriptor instead.
func (*RawTransaction) GetRawTx ¶
func (x *RawTransaction) GetRawTx() []byte
func (*RawTransaction) ProtoMessage ¶
func (*RawTransaction) ProtoMessage()
func (*RawTransaction) ProtoReflect ¶
func (x *RawTransaction) ProtoReflect() protoreflect.Message
func (*RawTransaction) Reset ¶
func (x *RawTransaction) Reset()
func (*RawTransaction) String ¶
func (x *RawTransaction) String() string
type RescanRequest ¶
type RescanRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*RescanRequest) Descriptor
deprecated
func (*RescanRequest) Descriptor() ([]byte, []int)
Deprecated: Use RescanRequest.ProtoReflect.Descriptor instead.
func (*RescanRequest) GetHeight ¶
func (x *RescanRequest) GetHeight() uint64
func (*RescanRequest) ProtoMessage ¶
func (*RescanRequest) ProtoMessage()
func (*RescanRequest) ProtoReflect ¶
func (x *RescanRequest) ProtoReflect() protoreflect.Message
func (*RescanRequest) Reset ¶
func (x *RescanRequest) Reset()
func (*RescanRequest) String ¶
func (x *RescanRequest) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type StatusResponse ¶
type StatusResponse struct { Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=ipc.Status" json:"status,omitempty"` // contains filtered or unexported fields }
The response message containing the greetings
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetStatus ¶
func (x *StatusResponse) GetStatus() Status
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type SyncHeightResponse ¶
type SyncHeightResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*SyncHeightResponse) Descriptor
deprecated
func (*SyncHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncHeightResponse.ProtoReflect.Descriptor instead.
func (*SyncHeightResponse) GetHeight ¶
func (x *SyncHeightResponse) GetHeight() uint64
func (*SyncHeightResponse) ProtoMessage ¶
func (*SyncHeightResponse) ProtoMessage()
func (*SyncHeightResponse) ProtoReflect ¶
func (x *SyncHeightResponse) ProtoReflect() protoreflect.Message
func (*SyncHeightResponse) Reset ¶
func (x *SyncHeightResponse) Reset()
func (*SyncHeightResponse) String ¶
func (x *SyncHeightResponse) String() string
type TransactionRecipient ¶
type TransactionRecipient struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Annotation string `protobuf:"bytes,3,opt,name=annotation,proto3" json:"annotation,omitempty"` // contains filtered or unexported fields }
func (*TransactionRecipient) Descriptor
deprecated
func (*TransactionRecipient) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRecipient.ProtoReflect.Descriptor instead.
func (*TransactionRecipient) GetAddress ¶
func (x *TransactionRecipient) GetAddress() string
func (*TransactionRecipient) GetAmount ¶
func (x *TransactionRecipient) GetAmount() uint64
func (*TransactionRecipient) GetAnnotation ¶
func (x *TransactionRecipient) GetAnnotation() string
func (*TransactionRecipient) ProtoMessage ¶
func (*TransactionRecipient) ProtoMessage()
func (*TransactionRecipient) ProtoReflect ¶
func (x *TransactionRecipient) ProtoReflect() protoreflect.Message
func (*TransactionRecipient) Reset ¶
func (x *TransactionRecipient) Reset()
func (*TransactionRecipient) String ¶
func (x *TransactionRecipient) String() string
type UTXOCollection ¶
type UTXOCollection struct { Utxos []*OwnedUTXO `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` // Array of OwnedUTXO // contains filtered or unexported fields }
func (*UTXOCollection) Descriptor
deprecated
func (*UTXOCollection) Descriptor() ([]byte, []int)
Deprecated: Use UTXOCollection.ProtoReflect.Descriptor instead.
func (*UTXOCollection) GetUtxos ¶
func (x *UTXOCollection) GetUtxos() []*OwnedUTXO
func (*UTXOCollection) ProtoMessage ¶
func (*UTXOCollection) ProtoMessage()
func (*UTXOCollection) ProtoReflect ¶
func (x *UTXOCollection) ProtoReflect() protoreflect.Message
func (*UTXOCollection) Reset ¶
func (x *UTXOCollection) Reset()
func (*UTXOCollection) String ¶
func (x *UTXOCollection) String() string
type UTXOState ¶
type UTXOState int32
func (UTXOState) Descriptor ¶
func (UTXOState) Descriptor() protoreflect.EnumDescriptor
func (UTXOState) EnumDescriptor
deprecated
func (UTXOState) Number ¶
func (x UTXOState) Number() protoreflect.EnumNumber
func (UTXOState) Type ¶
func (UTXOState) Type() protoreflect.EnumType
type UnimplementedIpcServiceServer ¶
type UnimplementedIpcServiceServer struct { }
UnimplementedIpcServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIpcServiceServer) BroadcastRawTx ¶
func (UnimplementedIpcServiceServer) BroadcastRawTx(context.Context, *RawTransaction) (*NewTransaction, error)
func (UnimplementedIpcServiceServer) CreateNewLabel ¶
func (UnimplementedIpcServiceServer) CreateNewLabel(context.Context, *NewLabelRequest) (*Address, error)
func (UnimplementedIpcServiceServer) CreateNewWallet ¶
func (UnimplementedIpcServiceServer) CreateNewWallet(context.Context, *NewWalletRequest) (*Mnemonic, error)
func (UnimplementedIpcServiceServer) CreateTransaction ¶
func (UnimplementedIpcServiceServer) CreateTransaction(context.Context, *CreateTransactionRequest) (*RawTransaction, error)
func (UnimplementedIpcServiceServer) CreateTransactionAndBroadcast ¶
func (UnimplementedIpcServiceServer) CreateTransactionAndBroadcast(context.Context, *CreateTransactionRequest) (*NewTransaction, error)
func (UnimplementedIpcServiceServer) ForceRescanFromHeight ¶
func (UnimplementedIpcServiceServer) ForceRescanFromHeight(context.Context, *RescanRequest) (*BoolResponse, error)
func (UnimplementedIpcServiceServer) GetMnemonic ¶
func (UnimplementedIpcServiceServer) ListAddresses ¶
func (UnimplementedIpcServiceServer) ListAddresses(context.Context, *Empty) (*AddressesCollection, error)
func (UnimplementedIpcServiceServer) ListUTXOs ¶
func (UnimplementedIpcServiceServer) ListUTXOs(context.Context, *Empty) (*UTXOCollection, error)
func (UnimplementedIpcServiceServer) SetMnemonic ¶
func (UnimplementedIpcServiceServer) SetMnemonic(context.Context, *Mnemonic) (*BoolResponse, error)
func (UnimplementedIpcServiceServer) SetPassword ¶
func (UnimplementedIpcServiceServer) SetPassword(context.Context, *PasswordRequest) (*BoolResponse, error)
func (UnimplementedIpcServiceServer) Shutdown ¶
func (UnimplementedIpcServiceServer) Shutdown(context.Context, *Empty) (*BoolResponse, error)
func (UnimplementedIpcServiceServer) Status ¶
func (UnimplementedIpcServiceServer) Status(context.Context, *Empty) (*StatusResponse, error)
func (UnimplementedIpcServiceServer) SyncHeight ¶
func (UnimplementedIpcServiceServer) SyncHeight(context.Context, *Empty) (*SyncHeightResponse, error)
func (UnimplementedIpcServiceServer) Unlock ¶
func (UnimplementedIpcServiceServer) Unlock(context.Context, *PasswordRequest) (*BoolResponse, error)
type UnsafeIpcServiceServer ¶
type UnsafeIpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IpcServiceServer will result in compilation errors.