Documentation ¶
Index ¶
- Variables
- func RegisterChannelsServer(s *grpc.Server, srv ChannelsServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetAddress() *PublicKey
- func (m *Account) GetBalance() int64
- func (m *Account) Marshal() (dAtA []byte, err error)
- func (m *Account) MarshalTo(dAtA []byte) (int, error)
- func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) Size() (n int)
- func (m *Account) String() string
- func (m *Account) Unmarshal(dAtA []byte) error
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (*Account) XXX_MessageName() string
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type ChannelClosed
- func (*ChannelClosed) Descriptor() ([]byte, []int)
- func (m *ChannelClosed) GetState() *SignedChannelState
- func (m *ChannelClosed) Marshal() (dAtA []byte, err error)
- func (m *ChannelClosed) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelClosed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelClosed) ProtoMessage()
- func (m *ChannelClosed) Reset()
- func (m *ChannelClosed) Size() (n int)
- func (m *ChannelClosed) String() string
- func (m *ChannelClosed) Unmarshal(dAtA []byte) error
- func (m *ChannelClosed) XXX_DiscardUnknown()
- func (m *ChannelClosed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelClosed) XXX_Merge(src proto.Message)
- func (*ChannelClosed) XXX_MessageName() string
- func (m *ChannelClosed) XXX_Size() int
- func (m *ChannelClosed) XXX_Unmarshal(b []byte) error
- type ChannelCommit
- func (*ChannelCommit) Descriptor() ([]byte, []int)
- func (m *ChannelCommit) GetAmount() int64
- func (m *ChannelCommit) GetPayer() *PublicKey
- func (m *ChannelCommit) GetPayerId() int64
- func (m *ChannelCommit) GetRecipient() *PublicKey
- func (m *ChannelCommit) Marshal() (dAtA []byte, err error)
- func (m *ChannelCommit) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelCommit) ProtoMessage()
- func (m *ChannelCommit) Reset()
- func (m *ChannelCommit) Size() (n int)
- func (m *ChannelCommit) String() string
- func (m *ChannelCommit) Unmarshal(dAtA []byte) error
- func (m *ChannelCommit) XXX_DiscardUnknown()
- func (m *ChannelCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelCommit) XXX_Merge(src proto.Message)
- func (*ChannelCommit) XXX_MessageName() string
- func (m *ChannelCommit) XXX_Size() int
- func (m *ChannelCommit) XXX_Unmarshal(b []byte) error
- type ChannelID
- func (*ChannelID) Descriptor() ([]byte, []int)
- func (m *ChannelID) GetId() int64
- func (m *ChannelID) Marshal() (dAtA []byte, err error)
- func (m *ChannelID) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelID) ProtoMessage()
- func (m *ChannelID) Reset()
- func (m *ChannelID) Size() (n int)
- func (m *ChannelID) String() string
- func (m *ChannelID) Unmarshal(dAtA []byte) error
- func (m *ChannelID) XXX_DiscardUnknown()
- func (m *ChannelID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelID) XXX_Merge(src proto.Message)
- func (*ChannelID) XXX_MessageName() string
- func (m *ChannelID) XXX_Size() int
- func (m *ChannelID) XXX_Unmarshal(b []byte) error
- type ChannelInfo
- func (*ChannelInfo) Descriptor() ([]byte, []int)
- func (m *ChannelInfo) GetCloseSequence() int64
- func (m *ChannelInfo) GetFromAccount() *Account
- func (m *ChannelInfo) GetId() *ChannelID
- func (m *ChannelInfo) GetToAccount() *Account
- func (m *ChannelInfo) Marshal() (dAtA []byte, err error)
- func (m *ChannelInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelInfo) ProtoMessage()
- func (m *ChannelInfo) Reset()
- func (m *ChannelInfo) Size() (n int)
- func (m *ChannelInfo) String() string
- func (m *ChannelInfo) Unmarshal(dAtA []byte) error
- func (m *ChannelInfo) XXX_DiscardUnknown()
- func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelInfo) XXX_Merge(src proto.Message)
- func (*ChannelInfo) XXX_MessageName() string
- func (m *ChannelInfo) XXX_Size() int
- func (m *ChannelInfo) XXX_Unmarshal(b []byte) error
- type ChannelState
- func (*ChannelState) Descriptor() ([]byte, []int)
- func (m *ChannelState) GetFrom() *Account
- func (m *ChannelState) GetId() *ChannelID
- func (m *ChannelState) GetSequence() int64
- func (m *ChannelState) GetTo() *Account
- func (m *ChannelState) Marshal() (dAtA []byte, err error)
- func (m *ChannelState) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelState) ProtoMessage()
- func (m *ChannelState) Reset()
- func (m *ChannelState) Size() (n int)
- func (m *ChannelState) String() string
- func (m *ChannelState) Unmarshal(dAtA []byte) error
- func (m *ChannelState) XXX_DiscardUnknown()
- func (m *ChannelState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelState) XXX_Merge(src proto.Message)
- func (*ChannelState) XXX_MessageName() string
- func (m *ChannelState) XXX_Size() int
- func (m *ChannelState) XXX_Unmarshal(b []byte) error
- type ChannelsClient
- type ChannelsServer
- type ClosedChannelCursor
- func (*ClosedChannelCursor) Descriptor() ([]byte, []int)
- func (m *ClosedChannelCursor) GetCloseSequence() int64
- func (m *ClosedChannelCursor) GetPayer() *PublicKey
- func (m *ClosedChannelCursor) Marshal() (dAtA []byte, err error)
- func (m *ClosedChannelCursor) MarshalTo(dAtA []byte) (int, error)
- func (m *ClosedChannelCursor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClosedChannelCursor) ProtoMessage()
- func (m *ClosedChannelCursor) Reset()
- func (m *ClosedChannelCursor) Size() (n int)
- func (m *ClosedChannelCursor) String() string
- func (m *ClosedChannelCursor) Unmarshal(dAtA []byte) error
- func (m *ClosedChannelCursor) XXX_DiscardUnknown()
- func (m *ClosedChannelCursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClosedChannelCursor) XXX_Merge(src proto.Message)
- func (*ClosedChannelCursor) XXX_MessageName() string
- func (m *ClosedChannelCursor) XXX_Size() int
- func (m *ClosedChannelCursor) XXX_Unmarshal(b []byte) error
- type CreateAccountResult
- func (*CreateAccountResult) Descriptor() ([]byte, []int)
- func (m *CreateAccountResult) GetAccount() *Account
- func (m *CreateAccountResult) Marshal() (dAtA []byte, err error)
- func (m *CreateAccountResult) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateAccountResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateAccountResult) ProtoMessage()
- func (m *CreateAccountResult) Reset()
- func (m *CreateAccountResult) Size() (n int)
- func (m *CreateAccountResult) String() string
- func (m *CreateAccountResult) Unmarshal(dAtA []byte) error
- func (m *CreateAccountResult) XXX_DiscardUnknown()
- func (m *CreateAccountResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateAccountResult) XXX_Merge(src proto.Message)
- func (*CreateAccountResult) XXX_MessageName() string
- func (m *CreateAccountResult) XXX_Size() int
- func (m *CreateAccountResult) XXX_Unmarshal(b []byte) error
- type Null
- func (*Null) Descriptor() ([]byte, []int)
- func (m *Null) Marshal() (dAtA []byte, err error)
- func (m *Null) MarshalTo(dAtA []byte) (int, error)
- func (m *Null) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Null) ProtoMessage()
- func (m *Null) Reset()
- func (m *Null) Size() (n int)
- func (m *Null) String() string
- func (m *Null) Unmarshal(dAtA []byte) error
- func (m *Null) XXX_DiscardUnknown()
- func (m *Null) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Null) XXX_Merge(src proto.Message)
- func (*Null) XXX_MessageName() string
- func (m *Null) XXX_Size() int
- func (m *Null) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetKey() []byte
- func (m *PublicKey) Marshal() (dAtA []byte, err error)
- func (m *PublicKey) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) Size() (n int)
- func (m *PublicKey) String() string
- func (m *PublicKey) Unmarshal(dAtA []byte) error
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (*PublicKey) XXX_MessageName() string
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type SignedChannelCommit
- func (*SignedChannelCommit) Descriptor() ([]byte, []int)
- func (m *SignedChannelCommit) GetChannel() *ChannelCommit
- func (m *SignedChannelCommit) GetSignature() []byte
- func (m *SignedChannelCommit) Marshal() (dAtA []byte, err error)
- func (m *SignedChannelCommit) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedChannelCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedChannelCommit) ProtoMessage()
- func (m *SignedChannelCommit) Reset()
- func (m *SignedChannelCommit) Size() (n int)
- func (m *SignedChannelCommit) String() string
- func (m *SignedChannelCommit) Unmarshal(dAtA []byte) error
- func (m *SignedChannelCommit) XXX_DiscardUnknown()
- func (m *SignedChannelCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedChannelCommit) XXX_Merge(src proto.Message)
- func (*SignedChannelCommit) XXX_MessageName() string
- func (m *SignedChannelCommit) XXX_Size() int
- func (m *SignedChannelCommit) XXX_Unmarshal(b []byte) error
- type SignedChannelState
- func (*SignedChannelState) Descriptor() ([]byte, []int)
- func (m *SignedChannelState) GetChannel() *ChannelState
- func (m *SignedChannelState) GetFromSignature() []byte
- func (m *SignedChannelState) GetToSignature() []byte
- func (m *SignedChannelState) Marshal() (dAtA []byte, err error)
- func (m *SignedChannelState) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedChannelState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedChannelState) ProtoMessage()
- func (m *SignedChannelState) Reset()
- func (m *SignedChannelState) Size() (n int)
- func (m *SignedChannelState) String() string
- func (m *SignedChannelState) Unmarshal(dAtA []byte) error
- func (m *SignedChannelState) XXX_DiscardUnknown()
- func (m *SignedChannelState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedChannelState) XXX_Merge(src proto.Message)
- func (*SignedChannelState) XXX_MessageName() string
- func (m *SignedChannelState) XXX_Size() int
- func (m *SignedChannelState) XXX_Unmarshal(b []byte) error
- type SignedCreateAccountRequest
- func (*SignedCreateAccountRequest) Descriptor() ([]byte, []int)
- func (m *SignedCreateAccountRequest) GetClientVersionNumber() string
- func (m *SignedCreateAccountRequest) GetKey() *PublicKey
- func (m *SignedCreateAccountRequest) GetSignature() []byte
- func (m *SignedCreateAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *SignedCreateAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedCreateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedCreateAccountRequest) ProtoMessage()
- func (m *SignedCreateAccountRequest) Reset()
- func (m *SignedCreateAccountRequest) Size() (n int)
- func (m *SignedCreateAccountRequest) String() string
- func (m *SignedCreateAccountRequest) Unmarshal(dAtA []byte) error
- func (m *SignedCreateAccountRequest) XXX_DiscardUnknown()
- func (m *SignedCreateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedCreateAccountRequest) XXX_Merge(src proto.Message)
- func (*SignedCreateAccountRequest) XXX_MessageName() string
- func (m *SignedCreateAccountRequest) XXX_Size() int
- func (m *SignedCreateAccountRequest) XXX_Unmarshal(b []byte) error
- type SignedCreateAccountResult
- func (*SignedCreateAccountResult) Descriptor() ([]byte, []int)
- func (m *SignedCreateAccountResult) GetBalance() int64
- func (m *SignedCreateAccountResult) Marshal() (dAtA []byte, err error)
- func (m *SignedCreateAccountResult) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedCreateAccountResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedCreateAccountResult) ProtoMessage()
- func (m *SignedCreateAccountResult) Reset()
- func (m *SignedCreateAccountResult) Size() (n int)
- func (m *SignedCreateAccountResult) String() string
- func (m *SignedCreateAccountResult) Unmarshal(dAtA []byte) error
- func (m *SignedCreateAccountResult) XXX_DiscardUnknown()
- func (m *SignedCreateAccountResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedCreateAccountResult) XXX_Merge(src proto.Message)
- func (*SignedCreateAccountResult) XXX_MessageName() string
- func (m *SignedCreateAccountResult) XXX_Size() int
- func (m *SignedCreateAccountResult) XXX_Unmarshal(b []byte) error
- type SignedPublicKey
- func (*SignedPublicKey) Descriptor() ([]byte, []int)
- func (m *SignedPublicKey) GetKey() *PublicKey
- func (m *SignedPublicKey) GetSignature() []byte
- func (m *SignedPublicKey) Marshal() (dAtA []byte, err error)
- func (m *SignedPublicKey) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPublicKey) ProtoMessage()
- func (m *SignedPublicKey) Reset()
- func (m *SignedPublicKey) Size() (n int)
- func (m *SignedPublicKey) String() string
- func (m *SignedPublicKey) Unmarshal(dAtA []byte) error
- func (m *SignedPublicKey) XXX_DiscardUnknown()
- func (m *SignedPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPublicKey) XXX_Merge(src proto.Message)
- func (*SignedPublicKey) XXX_MessageName() string
- func (m *SignedPublicKey) XXX_Size() int
- func (m *SignedPublicKey) XXX_Unmarshal(b []byte) error
- type SignedPublicKeyPair
- func (*SignedPublicKeyPair) Descriptor() ([]byte, []int)
- func (m *SignedPublicKeyPair) GetNewKey() *PublicKey
- func (m *SignedPublicKeyPair) GetNewSignature() []byte
- func (m *SignedPublicKeyPair) GetOldKey() *PublicKey
- func (m *SignedPublicKeyPair) GetOldSignature() []byte
- func (m *SignedPublicKeyPair) Marshal() (dAtA []byte, err error)
- func (m *SignedPublicKeyPair) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPublicKeyPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPublicKeyPair) ProtoMessage()
- func (m *SignedPublicKeyPair) Reset()
- func (m *SignedPublicKeyPair) Size() (n int)
- func (m *SignedPublicKeyPair) String() string
- func (m *SignedPublicKeyPair) Unmarshal(dAtA []byte) error
- func (m *SignedPublicKeyPair) XXX_DiscardUnknown()
- func (m *SignedPublicKeyPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPublicKeyPair) XXX_Merge(src proto.Message)
- func (*SignedPublicKeyPair) XXX_MessageName() string
- func (m *SignedPublicKeyPair) XXX_Size() int
- func (m *SignedPublicKeyPair) XXX_Unmarshal(b []byte) error
- type SignedTransferRequest
- func (*SignedTransferRequest) Descriptor() ([]byte, []int)
- func (m *SignedTransferRequest) GetSignature() []byte
- func (m *SignedTransferRequest) GetTransferRequest() *TransferRequest
- func (m *SignedTransferRequest) Marshal() (dAtA []byte, err error)
- func (m *SignedTransferRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedTransferRequest) ProtoMessage()
- func (m *SignedTransferRequest) Reset()
- func (m *SignedTransferRequest) Size() (n int)
- func (m *SignedTransferRequest) String() string
- func (m *SignedTransferRequest) Unmarshal(dAtA []byte) error
- func (m *SignedTransferRequest) XXX_DiscardUnknown()
- func (m *SignedTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedTransferRequest) XXX_Merge(src proto.Message)
- func (*SignedTransferRequest) XXX_MessageName() string
- func (m *SignedTransferRequest) XXX_Size() int
- func (m *SignedTransferRequest) XXX_Unmarshal(b []byte) error
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)
- func (m *TransferRequest) GetAmount() int64
- func (m *TransferRequest) GetPayer() *PublicKey
- func (m *TransferRequest) GetRecipient() *PublicKey
- func (m *TransferRequest) Marshal() (dAtA []byte, err error)
- func (m *TransferRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferRequest) ProtoMessage()
- func (m *TransferRequest) Reset()
- func (m *TransferRequest) Size() (n int)
- func (m *TransferRequest) String() string
- func (m *TransferRequest) Unmarshal(dAtA []byte) error
- func (m *TransferRequest) XXX_DiscardUnknown()
- func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferRequest) XXX_Merge(src proto.Message)
- func (*TransferRequest) XXX_MessageName() string
- func (m *TransferRequest) XXX_Size() int
- func (m *TransferRequest) XXX_Unmarshal(b []byte) error
- type TransferResult
- func (*TransferResult) Descriptor() ([]byte, []int)
- func (m *TransferResult) GetBalance() int64
- func (m *TransferResult) Marshal() (dAtA []byte, err error)
- func (m *TransferResult) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferResult) ProtoMessage()
- func (m *TransferResult) Reset()
- func (m *TransferResult) Size() (n int)
- func (m *TransferResult) String() string
- func (m *TransferResult) Unmarshal(dAtA []byte) error
- func (m *TransferResult) XXX_DiscardUnknown()
- func (m *TransferResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferResult) XXX_Merge(src proto.Message)
- func (*TransferResult) XXX_MessageName() string
- func (m *TransferResult) XXX_Size() int
- func (m *TransferResult) XXX_Unmarshal(b []byte) error
- type UnimplementedChannelsServer
- func (*UnimplementedChannelsServer) CloseChannel(ctx context.Context, req *SignedChannelState) (*ChannelClosed, error)
- func (*UnimplementedChannelsServer) CreateAccount(ctx context.Context, req *PublicKey) (*CreateAccountResult, error)
- func (*UnimplementedChannelsServer) CreateChannel(ctx context.Context, req *SignedChannelCommit) (*ChannelID, error)
- func (*UnimplementedChannelsServer) GetChannelInfo(ctx context.Context, req *ChannelID) (*ChannelInfo, error)
- func (*UnimplementedChannelsServer) GetNextClosedChannel(ctx context.Context, req *ClosedChannelCursor) (*ChannelInfo, error)
- func (*UnimplementedChannelsServer) SignedCreateAccount(ctx context.Context, req *SignedCreateAccountRequest) (*SignedCreateAccountResult, error)
- func (*UnimplementedChannelsServer) Transfer(ctx context.Context, req *SignedTransferRequest) (*TransferResult, error)
- func (*UnimplementedChannelsServer) UpdateAccountPubKey(ctx context.Context, req *SignedPublicKeyPair) (*Null, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterChannelsServer ¶
func RegisterChannelsServer(s *grpc.Server, srv ChannelsServer)
Types ¶
type Account ¶
type Account struct { Address *PublicKey `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"` // Current available balance Balance int64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty" pg:"balance"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*Account) Descriptor ¶
func (*Account) GetAddress ¶
func (*Account) GetBalance ¶
func (*Account) MarshalToSizedBuffer ¶ added in v0.0.13
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_MessageName ¶ added in v0.0.13
func (*Account) XXX_Unmarshal ¶
type ChannelClosed ¶
type ChannelClosed struct { State *SignedChannelState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" pg:"state"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*ChannelClosed) Descriptor ¶
func (*ChannelClosed) Descriptor() ([]byte, []int)
func (*ChannelClosed) GetState ¶
func (m *ChannelClosed) GetState() *SignedChannelState
func (*ChannelClosed) Marshal ¶ added in v0.0.13
func (m *ChannelClosed) Marshal() (dAtA []byte, err error)
func (*ChannelClosed) MarshalTo ¶ added in v0.0.13
func (m *ChannelClosed) MarshalTo(dAtA []byte) (int, error)
func (*ChannelClosed) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *ChannelClosed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChannelClosed) ProtoMessage ¶
func (*ChannelClosed) ProtoMessage()
func (*ChannelClosed) Reset ¶
func (m *ChannelClosed) Reset()
func (*ChannelClosed) Size ¶ added in v0.0.13
func (m *ChannelClosed) Size() (n int)
func (*ChannelClosed) String ¶
func (m *ChannelClosed) String() string
func (*ChannelClosed) Unmarshal ¶ added in v0.0.13
func (m *ChannelClosed) Unmarshal(dAtA []byte) error
func (*ChannelClosed) XXX_DiscardUnknown ¶
func (m *ChannelClosed) XXX_DiscardUnknown()
func (*ChannelClosed) XXX_Marshal ¶
func (m *ChannelClosed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelClosed) XXX_Merge ¶
func (m *ChannelClosed) XXX_Merge(src proto.Message)
func (*ChannelClosed) XXX_MessageName ¶ added in v0.0.13
func (*ChannelClosed) XXX_MessageName() string
func (*ChannelClosed) XXX_Size ¶
func (m *ChannelClosed) XXX_Size() int
func (*ChannelClosed) XXX_Unmarshal ¶
func (m *ChannelClosed) XXX_Unmarshal(b []byte) error
type ChannelCommit ¶
type ChannelCommit struct { Payer *PublicKey `protobuf:"bytes,1,opt,name=payer,proto3" json:"payer,omitempty" pg:"payer"` Recipient *PublicKey `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty" pg:"recipient"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` PayerId int64 `protobuf:"varint,4,opt,name=payer_id,json=payerId,proto3" json:"payer_id,omitempty" pg:"payer_id"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*ChannelCommit) Descriptor ¶
func (*ChannelCommit) Descriptor() ([]byte, []int)
func (*ChannelCommit) GetAmount ¶
func (m *ChannelCommit) GetAmount() int64
func (*ChannelCommit) GetPayer ¶
func (m *ChannelCommit) GetPayer() *PublicKey
func (*ChannelCommit) GetPayerId ¶
func (m *ChannelCommit) GetPayerId() int64
func (*ChannelCommit) GetRecipient ¶
func (m *ChannelCommit) GetRecipient() *PublicKey
func (*ChannelCommit) Marshal ¶ added in v0.0.13
func (m *ChannelCommit) Marshal() (dAtA []byte, err error)
func (*ChannelCommit) MarshalTo ¶ added in v0.0.13
func (m *ChannelCommit) MarshalTo(dAtA []byte) (int, error)
func (*ChannelCommit) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *ChannelCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChannelCommit) ProtoMessage ¶
func (*ChannelCommit) ProtoMessage()
func (*ChannelCommit) Reset ¶
func (m *ChannelCommit) Reset()
func (*ChannelCommit) Size ¶ added in v0.0.13
func (m *ChannelCommit) Size() (n int)
func (*ChannelCommit) String ¶
func (m *ChannelCommit) String() string
func (*ChannelCommit) Unmarshal ¶ added in v0.0.13
func (m *ChannelCommit) Unmarshal(dAtA []byte) error
func (*ChannelCommit) XXX_DiscardUnknown ¶
func (m *ChannelCommit) XXX_DiscardUnknown()
func (*ChannelCommit) XXX_Marshal ¶
func (m *ChannelCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelCommit) XXX_Merge ¶
func (m *ChannelCommit) XXX_Merge(src proto.Message)
func (*ChannelCommit) XXX_MessageName ¶ added in v0.0.13
func (*ChannelCommit) XXX_MessageName() string
func (*ChannelCommit) XXX_Size ¶
func (m *ChannelCommit) XXX_Size() int
func (*ChannelCommit) XXX_Unmarshal ¶
func (m *ChannelCommit) XXX_Unmarshal(b []byte) error
type ChannelID ¶
type ChannelID struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" pg:"id"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*ChannelID) Descriptor ¶
func (*ChannelID) MarshalToSizedBuffer ¶ added in v0.0.13
func (*ChannelID) ProtoMessage ¶
func (*ChannelID) ProtoMessage()
func (*ChannelID) XXX_DiscardUnknown ¶
func (m *ChannelID) XXX_DiscardUnknown()
func (*ChannelID) XXX_Marshal ¶
func (*ChannelID) XXX_MessageName ¶ added in v0.0.13
func (*ChannelID) XXX_Unmarshal ¶
type ChannelInfo ¶
type ChannelInfo struct { Id *ChannelID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" pg:"id"` FromAccount *Account `protobuf:"bytes,2,opt,name=from_account,json=fromAccount,proto3" json:"from_account,omitempty" pg:"from_account"` ToAccount *Account `protobuf:"bytes,3,opt,name=to_account,json=toAccount,proto3" json:"to_account,omitempty" pg:"to_account"` CloseSequence int64 `protobuf:"varint,4,opt,name=close_sequence,json=closeSequence,proto3" json:"close_sequence,omitempty" pg:"close_sequence"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*ChannelInfo) Descriptor ¶
func (*ChannelInfo) Descriptor() ([]byte, []int)
func (*ChannelInfo) GetCloseSequence ¶
func (m *ChannelInfo) GetCloseSequence() int64
func (*ChannelInfo) GetFromAccount ¶
func (m *ChannelInfo) GetFromAccount() *Account
func (*ChannelInfo) GetId ¶
func (m *ChannelInfo) GetId() *ChannelID
func (*ChannelInfo) GetToAccount ¶
func (m *ChannelInfo) GetToAccount() *Account
func (*ChannelInfo) Marshal ¶ added in v0.0.13
func (m *ChannelInfo) Marshal() (dAtA []byte, err error)
func (*ChannelInfo) MarshalTo ¶ added in v0.0.13
func (m *ChannelInfo) MarshalTo(dAtA []byte) (int, error)
func (*ChannelInfo) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *ChannelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChannelInfo) ProtoMessage ¶
func (*ChannelInfo) ProtoMessage()
func (*ChannelInfo) Reset ¶
func (m *ChannelInfo) Reset()
func (*ChannelInfo) Size ¶ added in v0.0.13
func (m *ChannelInfo) Size() (n int)
func (*ChannelInfo) String ¶
func (m *ChannelInfo) String() string
func (*ChannelInfo) Unmarshal ¶ added in v0.0.13
func (m *ChannelInfo) Unmarshal(dAtA []byte) error
func (*ChannelInfo) XXX_DiscardUnknown ¶
func (m *ChannelInfo) XXX_DiscardUnknown()
func (*ChannelInfo) XXX_Marshal ¶
func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelInfo) XXX_Merge ¶
func (m *ChannelInfo) XXX_Merge(src proto.Message)
func (*ChannelInfo) XXX_MessageName ¶ added in v0.0.13
func (*ChannelInfo) XXX_MessageName() string
func (*ChannelInfo) XXX_Size ¶
func (m *ChannelInfo) XXX_Size() int
func (*ChannelInfo) XXX_Unmarshal ¶
func (m *ChannelInfo) XXX_Unmarshal(b []byte) error
type ChannelState ¶
type ChannelState struct { Id *ChannelID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" pg:"id"` Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty" pg:"sequence"` From *Account `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty" pg:"from"` To *Account `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty" pg:"to"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*ChannelState) Descriptor ¶
func (*ChannelState) Descriptor() ([]byte, []int)
func (*ChannelState) GetFrom ¶
func (m *ChannelState) GetFrom() *Account
func (*ChannelState) GetId ¶
func (m *ChannelState) GetId() *ChannelID
func (*ChannelState) GetSequence ¶
func (m *ChannelState) GetSequence() int64
func (*ChannelState) GetTo ¶
func (m *ChannelState) GetTo() *Account
func (*ChannelState) Marshal ¶ added in v0.0.13
func (m *ChannelState) Marshal() (dAtA []byte, err error)
func (*ChannelState) MarshalTo ¶ added in v0.0.13
func (m *ChannelState) MarshalTo(dAtA []byte) (int, error)
func (*ChannelState) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *ChannelState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChannelState) ProtoMessage ¶
func (*ChannelState) ProtoMessage()
func (*ChannelState) Reset ¶
func (m *ChannelState) Reset()
func (*ChannelState) Size ¶ added in v0.0.13
func (m *ChannelState) Size() (n int)
func (*ChannelState) String ¶
func (m *ChannelState) String() string
func (*ChannelState) Unmarshal ¶ added in v0.0.13
func (m *ChannelState) Unmarshal(dAtA []byte) error
func (*ChannelState) XXX_DiscardUnknown ¶
func (m *ChannelState) XXX_DiscardUnknown()
func (*ChannelState) XXX_Marshal ¶
func (m *ChannelState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelState) XXX_Merge ¶
func (m *ChannelState) XXX_Merge(src proto.Message)
func (*ChannelState) XXX_MessageName ¶ added in v0.0.13
func (*ChannelState) XXX_MessageName() string
func (*ChannelState) XXX_Size ¶
func (m *ChannelState) XXX_Size() int
func (*ChannelState) XXX_Unmarshal ¶
func (m *ChannelState) XXX_Unmarshal(b []byte) error
type ChannelsClient ¶
type ChannelsClient interface { // Creates a channel on the ledger and returns the ID of the ledger CreateChannel(ctx context.Context, in *SignedChannelCommit, opts ...grpc.CallOption) (*ChannelID, error) // Retrieves the state of a channel on the ledger. GetChannelInfo(ctx context.Context, in *ChannelID, opts ...grpc.CallOption) (*ChannelInfo, error) // Closes a channel on the ledger. CloseChannel(ctx context.Context, in *SignedChannelState, opts ...grpc.CallOption) (*ChannelClosed, error) // Retrieves the state of the next closed channel with the given payer // returns OUT_OF_RANGE status if there are no more closed channels GetNextClosedChannel(ctx context.Context, in *ClosedChannelCursor, opts ...grpc.CallOption) (*ChannelInfo, error) // Create an account and return CreateAccount(ctx context.Context, in *PublicKey, opts ...grpc.CallOption) (*CreateAccountResult, error) // Create an account, securely, and return SignedCreateAccount(ctx context.Context, in *SignedCreateAccountRequest, opts ...grpc.CallOption) (*SignedCreateAccountResult, error) // Update an account pub key (BIP 44 compatible) UpdateAccountPubKey(ctx context.Context, in *SignedPublicKeyPair, opts ...grpc.CallOption) (*Null, error) // Transfers funds from one off-chain account to another Transfer(ctx context.Context, in *SignedTransferRequest, opts ...grpc.CallOption) (*TransferResult, error) }
ChannelsClient is the client API for Channels service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChannelsClient ¶
func NewChannelsClient(cc *grpc.ClientConn) ChannelsClient
type ChannelsServer ¶
type ChannelsServer interface { // Creates a channel on the ledger and returns the ID of the ledger CreateChannel(context.Context, *SignedChannelCommit) (*ChannelID, error) // Retrieves the state of a channel on the ledger. GetChannelInfo(context.Context, *ChannelID) (*ChannelInfo, error) // Closes a channel on the ledger. CloseChannel(context.Context, *SignedChannelState) (*ChannelClosed, error) // Retrieves the state of the next closed channel with the given payer // returns OUT_OF_RANGE status if there are no more closed channels GetNextClosedChannel(context.Context, *ClosedChannelCursor) (*ChannelInfo, error) // Create an account and return CreateAccount(context.Context, *PublicKey) (*CreateAccountResult, error) // Create an account, securely, and return SignedCreateAccount(context.Context, *SignedCreateAccountRequest) (*SignedCreateAccountResult, error) // Update an account pub key (BIP 44 compatible) UpdateAccountPubKey(context.Context, *SignedPublicKeyPair) (*Null, error) // Transfers funds from one off-chain account to another Transfer(context.Context, *SignedTransferRequest) (*TransferResult, error) }
ChannelsServer is the server API for Channels service.
type ClosedChannelCursor ¶
type ClosedChannelCursor struct { Payer *PublicKey `protobuf:"bytes,1,opt,name=payer,proto3" json:"payer,omitempty" pg:"payer"` CloseSequence int64 `protobuf:"varint,2,opt,name=close_sequence,json=closeSequence,proto3" json:"close_sequence,omitempty" pg:"close_sequence"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*ClosedChannelCursor) Descriptor ¶
func (*ClosedChannelCursor) Descriptor() ([]byte, []int)
func (*ClosedChannelCursor) GetCloseSequence ¶
func (m *ClosedChannelCursor) GetCloseSequence() int64
func (*ClosedChannelCursor) GetPayer ¶
func (m *ClosedChannelCursor) GetPayer() *PublicKey
func (*ClosedChannelCursor) Marshal ¶ added in v0.0.13
func (m *ClosedChannelCursor) Marshal() (dAtA []byte, err error)
func (*ClosedChannelCursor) MarshalTo ¶ added in v0.0.13
func (m *ClosedChannelCursor) MarshalTo(dAtA []byte) (int, error)
func (*ClosedChannelCursor) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *ClosedChannelCursor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClosedChannelCursor) ProtoMessage ¶
func (*ClosedChannelCursor) ProtoMessage()
func (*ClosedChannelCursor) Reset ¶
func (m *ClosedChannelCursor) Reset()
func (*ClosedChannelCursor) Size ¶ added in v0.0.13
func (m *ClosedChannelCursor) Size() (n int)
func (*ClosedChannelCursor) String ¶
func (m *ClosedChannelCursor) String() string
func (*ClosedChannelCursor) Unmarshal ¶ added in v0.0.13
func (m *ClosedChannelCursor) Unmarshal(dAtA []byte) error
func (*ClosedChannelCursor) XXX_DiscardUnknown ¶
func (m *ClosedChannelCursor) XXX_DiscardUnknown()
func (*ClosedChannelCursor) XXX_Marshal ¶
func (m *ClosedChannelCursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClosedChannelCursor) XXX_Merge ¶
func (m *ClosedChannelCursor) XXX_Merge(src proto.Message)
func (*ClosedChannelCursor) XXX_MessageName ¶ added in v0.0.13
func (*ClosedChannelCursor) XXX_MessageName() string
func (*ClosedChannelCursor) XXX_Size ¶
func (m *ClosedChannelCursor) XXX_Size() int
func (*ClosedChannelCursor) XXX_Unmarshal ¶
func (m *ClosedChannelCursor) XXX_Unmarshal(b []byte) error
type CreateAccountResult ¶
type CreateAccountResult struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty" pg:"account"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*CreateAccountResult) Descriptor ¶
func (*CreateAccountResult) Descriptor() ([]byte, []int)
func (*CreateAccountResult) GetAccount ¶
func (m *CreateAccountResult) GetAccount() *Account
func (*CreateAccountResult) Marshal ¶ added in v0.0.13
func (m *CreateAccountResult) Marshal() (dAtA []byte, err error)
func (*CreateAccountResult) MarshalTo ¶ added in v0.0.13
func (m *CreateAccountResult) MarshalTo(dAtA []byte) (int, error)
func (*CreateAccountResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *CreateAccountResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateAccountResult) ProtoMessage ¶
func (*CreateAccountResult) ProtoMessage()
func (*CreateAccountResult) Reset ¶
func (m *CreateAccountResult) Reset()
func (*CreateAccountResult) Size ¶ added in v0.0.13
func (m *CreateAccountResult) Size() (n int)
func (*CreateAccountResult) String ¶
func (m *CreateAccountResult) String() string
func (*CreateAccountResult) Unmarshal ¶ added in v0.0.13
func (m *CreateAccountResult) Unmarshal(dAtA []byte) error
func (*CreateAccountResult) XXX_DiscardUnknown ¶
func (m *CreateAccountResult) XXX_DiscardUnknown()
func (*CreateAccountResult) XXX_Marshal ¶
func (m *CreateAccountResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateAccountResult) XXX_Merge ¶
func (m *CreateAccountResult) XXX_Merge(src proto.Message)
func (*CreateAccountResult) XXX_MessageName ¶ added in v0.0.13
func (*CreateAccountResult) XXX_MessageName() string
func (*CreateAccountResult) XXX_Size ¶
func (m *CreateAccountResult) XXX_Size() int
func (*CreateAccountResult) XXX_Unmarshal ¶
func (m *CreateAccountResult) XXX_Unmarshal(b []byte) error
type Null ¶
type Null struct { XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*Null) Descriptor ¶
func (*Null) MarshalToSizedBuffer ¶ added in v0.0.13
func (*Null) ProtoMessage ¶
func (*Null) ProtoMessage()
func (*Null) XXX_DiscardUnknown ¶
func (m *Null) XXX_DiscardUnknown()
func (*Null) XXX_MessageName ¶ added in v0.0.13
func (*Null) XXX_Unmarshal ¶
type PublicKey ¶
type PublicKey struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" pg:"key"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PublicKey) Descriptor ¶
func (*PublicKey) MarshalToSizedBuffer ¶ added in v0.0.13
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_MessageName ¶ added in v0.0.13
func (*PublicKey) XXX_Unmarshal ¶
type SignedChannelCommit ¶
type SignedChannelCommit struct { Channel *ChannelCommit `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty" pg:"channel"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedChannelCommit) Descriptor ¶
func (*SignedChannelCommit) Descriptor() ([]byte, []int)
func (*SignedChannelCommit) GetChannel ¶
func (m *SignedChannelCommit) GetChannel() *ChannelCommit
func (*SignedChannelCommit) GetSignature ¶
func (m *SignedChannelCommit) GetSignature() []byte
func (*SignedChannelCommit) Marshal ¶ added in v0.0.13
func (m *SignedChannelCommit) Marshal() (dAtA []byte, err error)
func (*SignedChannelCommit) MarshalTo ¶ added in v0.0.13
func (m *SignedChannelCommit) MarshalTo(dAtA []byte) (int, error)
func (*SignedChannelCommit) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedChannelCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedChannelCommit) ProtoMessage ¶
func (*SignedChannelCommit) ProtoMessage()
func (*SignedChannelCommit) Reset ¶
func (m *SignedChannelCommit) Reset()
func (*SignedChannelCommit) Size ¶ added in v0.0.13
func (m *SignedChannelCommit) Size() (n int)
func (*SignedChannelCommit) String ¶
func (m *SignedChannelCommit) String() string
func (*SignedChannelCommit) Unmarshal ¶ added in v0.0.13
func (m *SignedChannelCommit) Unmarshal(dAtA []byte) error
func (*SignedChannelCommit) XXX_DiscardUnknown ¶
func (m *SignedChannelCommit) XXX_DiscardUnknown()
func (*SignedChannelCommit) XXX_Marshal ¶
func (m *SignedChannelCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedChannelCommit) XXX_Merge ¶
func (m *SignedChannelCommit) XXX_Merge(src proto.Message)
func (*SignedChannelCommit) XXX_MessageName ¶ added in v0.0.13
func (*SignedChannelCommit) XXX_MessageName() string
func (*SignedChannelCommit) XXX_Size ¶
func (m *SignedChannelCommit) XXX_Size() int
func (*SignedChannelCommit) XXX_Unmarshal ¶
func (m *SignedChannelCommit) XXX_Unmarshal(b []byte) error
type SignedChannelState ¶
type SignedChannelState struct { Channel *ChannelState `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty" pg:"channel"` FromSignature []byte `protobuf:"bytes,2,opt,name=from_signature,json=fromSignature,proto3" json:"from_signature,omitempty" pg:"from_signature"` ToSignature []byte `protobuf:"bytes,3,opt,name=to_signature,json=toSignature,proto3" json:"to_signature,omitempty" pg:"to_signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedChannelState) Descriptor ¶
func (*SignedChannelState) Descriptor() ([]byte, []int)
func (*SignedChannelState) GetChannel ¶
func (m *SignedChannelState) GetChannel() *ChannelState
func (*SignedChannelState) GetFromSignature ¶
func (m *SignedChannelState) GetFromSignature() []byte
func (*SignedChannelState) GetToSignature ¶
func (m *SignedChannelState) GetToSignature() []byte
func (*SignedChannelState) Marshal ¶ added in v0.0.13
func (m *SignedChannelState) Marshal() (dAtA []byte, err error)
func (*SignedChannelState) MarshalTo ¶ added in v0.0.13
func (m *SignedChannelState) MarshalTo(dAtA []byte) (int, error)
func (*SignedChannelState) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedChannelState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedChannelState) ProtoMessage ¶
func (*SignedChannelState) ProtoMessage()
func (*SignedChannelState) Reset ¶
func (m *SignedChannelState) Reset()
func (*SignedChannelState) Size ¶ added in v0.0.13
func (m *SignedChannelState) Size() (n int)
func (*SignedChannelState) String ¶
func (m *SignedChannelState) String() string
func (*SignedChannelState) Unmarshal ¶ added in v0.0.13
func (m *SignedChannelState) Unmarshal(dAtA []byte) error
func (*SignedChannelState) XXX_DiscardUnknown ¶
func (m *SignedChannelState) XXX_DiscardUnknown()
func (*SignedChannelState) XXX_Marshal ¶
func (m *SignedChannelState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedChannelState) XXX_Merge ¶
func (m *SignedChannelState) XXX_Merge(src proto.Message)
func (*SignedChannelState) XXX_MessageName ¶ added in v0.0.13
func (*SignedChannelState) XXX_MessageName() string
func (*SignedChannelState) XXX_Size ¶
func (m *SignedChannelState) XXX_Size() int
func (*SignedChannelState) XXX_Unmarshal ¶
func (m *SignedChannelState) XXX_Unmarshal(b []byte) error
type SignedCreateAccountRequest ¶ added in v0.2.27
type SignedCreateAccountRequest struct { Key *PublicKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" pg:"key"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` // client version number ClientVersionNumber string `` /* 147-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedCreateAccountRequest) Descriptor ¶ added in v0.2.27
func (*SignedCreateAccountRequest) Descriptor() ([]byte, []int)
func (*SignedCreateAccountRequest) GetClientVersionNumber ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) GetClientVersionNumber() string
func (*SignedCreateAccountRequest) GetKey ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) GetKey() *PublicKey
func (*SignedCreateAccountRequest) GetSignature ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) GetSignature() []byte
func (*SignedCreateAccountRequest) Marshal ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) Marshal() (dAtA []byte, err error)
func (*SignedCreateAccountRequest) MarshalTo ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignedCreateAccountRequest) MarshalToSizedBuffer ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedCreateAccountRequest) ProtoMessage ¶ added in v0.2.27
func (*SignedCreateAccountRequest) ProtoMessage()
func (*SignedCreateAccountRequest) Reset ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) Reset()
func (*SignedCreateAccountRequest) Size ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) Size() (n int)
func (*SignedCreateAccountRequest) String ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) String() string
func (*SignedCreateAccountRequest) Unmarshal ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) Unmarshal(dAtA []byte) error
func (*SignedCreateAccountRequest) XXX_DiscardUnknown ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) XXX_DiscardUnknown()
func (*SignedCreateAccountRequest) XXX_Marshal ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedCreateAccountRequest) XXX_Merge ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) XXX_Merge(src proto.Message)
func (*SignedCreateAccountRequest) XXX_MessageName ¶ added in v0.2.27
func (*SignedCreateAccountRequest) XXX_MessageName() string
func (*SignedCreateAccountRequest) XXX_Size ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) XXX_Size() int
func (*SignedCreateAccountRequest) XXX_Unmarshal ¶ added in v0.2.27
func (m *SignedCreateAccountRequest) XXX_Unmarshal(b []byte) error
type SignedCreateAccountResult ¶ added in v0.0.7
type SignedCreateAccountResult struct { Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty" pg:"balance"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedCreateAccountResult) Descriptor ¶ added in v0.0.7
func (*SignedCreateAccountResult) Descriptor() ([]byte, []int)
func (*SignedCreateAccountResult) GetBalance ¶ added in v0.0.7
func (m *SignedCreateAccountResult) GetBalance() int64
func (*SignedCreateAccountResult) Marshal ¶ added in v0.0.13
func (m *SignedCreateAccountResult) Marshal() (dAtA []byte, err error)
func (*SignedCreateAccountResult) MarshalTo ¶ added in v0.0.13
func (m *SignedCreateAccountResult) MarshalTo(dAtA []byte) (int, error)
func (*SignedCreateAccountResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedCreateAccountResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedCreateAccountResult) ProtoMessage ¶ added in v0.0.7
func (*SignedCreateAccountResult) ProtoMessage()
func (*SignedCreateAccountResult) Reset ¶ added in v0.0.7
func (m *SignedCreateAccountResult) Reset()
func (*SignedCreateAccountResult) Size ¶ added in v0.0.13
func (m *SignedCreateAccountResult) Size() (n int)
func (*SignedCreateAccountResult) String ¶ added in v0.0.7
func (m *SignedCreateAccountResult) String() string
func (*SignedCreateAccountResult) Unmarshal ¶ added in v0.0.13
func (m *SignedCreateAccountResult) Unmarshal(dAtA []byte) error
func (*SignedCreateAccountResult) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *SignedCreateAccountResult) XXX_DiscardUnknown()
func (*SignedCreateAccountResult) XXX_Marshal ¶ added in v0.0.7
func (m *SignedCreateAccountResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedCreateAccountResult) XXX_Merge ¶ added in v0.0.7
func (m *SignedCreateAccountResult) XXX_Merge(src proto.Message)
func (*SignedCreateAccountResult) XXX_MessageName ¶ added in v0.0.13
func (*SignedCreateAccountResult) XXX_MessageName() string
func (*SignedCreateAccountResult) XXX_Size ¶ added in v0.0.7
func (m *SignedCreateAccountResult) XXX_Size() int
func (*SignedCreateAccountResult) XXX_Unmarshal ¶ added in v0.0.7
func (m *SignedCreateAccountResult) XXX_Unmarshal(b []byte) error
type SignedPublicKey ¶ added in v0.0.7
type SignedPublicKey struct { Key *PublicKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" pg:"key"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPublicKey) Descriptor ¶ added in v0.0.7
func (*SignedPublicKey) Descriptor() ([]byte, []int)
func (*SignedPublicKey) GetKey ¶ added in v0.0.7
func (m *SignedPublicKey) GetKey() *PublicKey
func (*SignedPublicKey) GetSignature ¶ added in v0.0.7
func (m *SignedPublicKey) GetSignature() []byte
func (*SignedPublicKey) Marshal ¶ added in v0.0.13
func (m *SignedPublicKey) Marshal() (dAtA []byte, err error)
func (*SignedPublicKey) MarshalTo ¶ added in v0.0.13
func (m *SignedPublicKey) MarshalTo(dAtA []byte) (int, error)
func (*SignedPublicKey) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedPublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPublicKey) ProtoMessage ¶ added in v0.0.7
func (*SignedPublicKey) ProtoMessage()
func (*SignedPublicKey) Reset ¶ added in v0.0.7
func (m *SignedPublicKey) Reset()
func (*SignedPublicKey) Size ¶ added in v0.0.13
func (m *SignedPublicKey) Size() (n int)
func (*SignedPublicKey) String ¶ added in v0.0.7
func (m *SignedPublicKey) String() string
func (*SignedPublicKey) Unmarshal ¶ added in v0.0.13
func (m *SignedPublicKey) Unmarshal(dAtA []byte) error
func (*SignedPublicKey) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *SignedPublicKey) XXX_DiscardUnknown()
func (*SignedPublicKey) XXX_Marshal ¶ added in v0.0.7
func (m *SignedPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPublicKey) XXX_Merge ¶ added in v0.0.7
func (m *SignedPublicKey) XXX_Merge(src proto.Message)
func (*SignedPublicKey) XXX_MessageName ¶ added in v0.0.13
func (*SignedPublicKey) XXX_MessageName() string
func (*SignedPublicKey) XXX_Size ¶ added in v0.0.7
func (m *SignedPublicKey) XXX_Size() int
func (*SignedPublicKey) XXX_Unmarshal ¶ added in v0.0.7
func (m *SignedPublicKey) XXX_Unmarshal(b []byte) error
type SignedPublicKeyPair ¶
type SignedPublicKeyPair struct { OldKey *PublicKey `protobuf:"bytes,1,opt,name=old_key,json=oldKey,proto3" json:"old_key,omitempty" pg:"old_key"` NewKey *PublicKey `protobuf:"bytes,2,opt,name=new_key,json=newKey,proto3" json:"new_key,omitempty" pg:"new_key"` OldSignature []byte `protobuf:"bytes,3,opt,name=old_signature,json=oldSignature,proto3" json:"old_signature,omitempty" pg:"old_signature"` NewSignature []byte `protobuf:"bytes,4,opt,name=new_signature,json=newSignature,proto3" json:"new_signature,omitempty" pg:"new_signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPublicKeyPair) Descriptor ¶
func (*SignedPublicKeyPair) Descriptor() ([]byte, []int)
func (*SignedPublicKeyPair) GetNewKey ¶
func (m *SignedPublicKeyPair) GetNewKey() *PublicKey
func (*SignedPublicKeyPair) GetNewSignature ¶
func (m *SignedPublicKeyPair) GetNewSignature() []byte
func (*SignedPublicKeyPair) GetOldKey ¶
func (m *SignedPublicKeyPair) GetOldKey() *PublicKey
func (*SignedPublicKeyPair) GetOldSignature ¶
func (m *SignedPublicKeyPair) GetOldSignature() []byte
func (*SignedPublicKeyPair) Marshal ¶ added in v0.0.13
func (m *SignedPublicKeyPair) Marshal() (dAtA []byte, err error)
func (*SignedPublicKeyPair) MarshalTo ¶ added in v0.0.13
func (m *SignedPublicKeyPair) MarshalTo(dAtA []byte) (int, error)
func (*SignedPublicKeyPair) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedPublicKeyPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPublicKeyPair) ProtoMessage ¶
func (*SignedPublicKeyPair) ProtoMessage()
func (*SignedPublicKeyPair) Reset ¶
func (m *SignedPublicKeyPair) Reset()
func (*SignedPublicKeyPair) Size ¶ added in v0.0.13
func (m *SignedPublicKeyPair) Size() (n int)
func (*SignedPublicKeyPair) String ¶
func (m *SignedPublicKeyPair) String() string
func (*SignedPublicKeyPair) Unmarshal ¶ added in v0.0.13
func (m *SignedPublicKeyPair) Unmarshal(dAtA []byte) error
func (*SignedPublicKeyPair) XXX_DiscardUnknown ¶
func (m *SignedPublicKeyPair) XXX_DiscardUnknown()
func (*SignedPublicKeyPair) XXX_Marshal ¶
func (m *SignedPublicKeyPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPublicKeyPair) XXX_Merge ¶
func (m *SignedPublicKeyPair) XXX_Merge(src proto.Message)
func (*SignedPublicKeyPair) XXX_MessageName ¶ added in v0.0.13
func (*SignedPublicKeyPair) XXX_MessageName() string
func (*SignedPublicKeyPair) XXX_Size ¶
func (m *SignedPublicKeyPair) XXX_Size() int
func (*SignedPublicKeyPair) XXX_Unmarshal ¶
func (m *SignedPublicKeyPair) XXX_Unmarshal(b []byte) error
type SignedTransferRequest ¶ added in v0.2.27
type SignedTransferRequest struct { TransferRequest *TransferRequest `` /* 128-byte string literal not displayed */ Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedTransferRequest) Descriptor ¶ added in v0.2.27
func (*SignedTransferRequest) Descriptor() ([]byte, []int)
func (*SignedTransferRequest) GetSignature ¶ added in v0.2.27
func (m *SignedTransferRequest) GetSignature() []byte
func (*SignedTransferRequest) GetTransferRequest ¶ added in v0.2.27
func (m *SignedTransferRequest) GetTransferRequest() *TransferRequest
func (*SignedTransferRequest) Marshal ¶ added in v0.2.27
func (m *SignedTransferRequest) Marshal() (dAtA []byte, err error)
func (*SignedTransferRequest) MarshalTo ¶ added in v0.2.27
func (m *SignedTransferRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignedTransferRequest) MarshalToSizedBuffer ¶ added in v0.2.27
func (m *SignedTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedTransferRequest) ProtoMessage ¶ added in v0.2.27
func (*SignedTransferRequest) ProtoMessage()
func (*SignedTransferRequest) Reset ¶ added in v0.2.27
func (m *SignedTransferRequest) Reset()
func (*SignedTransferRequest) Size ¶ added in v0.2.27
func (m *SignedTransferRequest) Size() (n int)
func (*SignedTransferRequest) String ¶ added in v0.2.27
func (m *SignedTransferRequest) String() string
func (*SignedTransferRequest) Unmarshal ¶ added in v0.2.27
func (m *SignedTransferRequest) Unmarshal(dAtA []byte) error
func (*SignedTransferRequest) XXX_DiscardUnknown ¶ added in v0.2.27
func (m *SignedTransferRequest) XXX_DiscardUnknown()
func (*SignedTransferRequest) XXX_Marshal ¶ added in v0.2.27
func (m *SignedTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedTransferRequest) XXX_Merge ¶ added in v0.2.27
func (m *SignedTransferRequest) XXX_Merge(src proto.Message)
func (*SignedTransferRequest) XXX_MessageName ¶ added in v0.2.27
func (*SignedTransferRequest) XXX_MessageName() string
func (*SignedTransferRequest) XXX_Size ¶ added in v0.2.27
func (m *SignedTransferRequest) XXX_Size() int
func (*SignedTransferRequest) XXX_Unmarshal ¶ added in v0.2.27
func (m *SignedTransferRequest) XXX_Unmarshal(b []byte) error
type TransferRequest ¶ added in v0.2.27
type TransferRequest struct { Payer *PublicKey `protobuf:"bytes,1,opt,name=payer,proto3" json:"payer,omitempty" pg:"payer"` Recipient *PublicKey `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty" pg:"recipient"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*TransferRequest) Descriptor ¶ added in v0.2.27
func (*TransferRequest) Descriptor() ([]byte, []int)
func (*TransferRequest) GetAmount ¶ added in v0.2.27
func (m *TransferRequest) GetAmount() int64
func (*TransferRequest) GetPayer ¶ added in v0.2.27
func (m *TransferRequest) GetPayer() *PublicKey
func (*TransferRequest) GetRecipient ¶ added in v0.2.27
func (m *TransferRequest) GetRecipient() *PublicKey
func (*TransferRequest) Marshal ¶ added in v0.2.27
func (m *TransferRequest) Marshal() (dAtA []byte, err error)
func (*TransferRequest) MarshalTo ¶ added in v0.2.27
func (m *TransferRequest) MarshalTo(dAtA []byte) (int, error)
func (*TransferRequest) MarshalToSizedBuffer ¶ added in v0.2.27
func (m *TransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferRequest) ProtoMessage ¶ added in v0.2.27
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) Reset ¶ added in v0.2.27
func (m *TransferRequest) Reset()
func (*TransferRequest) Size ¶ added in v0.2.27
func (m *TransferRequest) Size() (n int)
func (*TransferRequest) String ¶ added in v0.2.27
func (m *TransferRequest) String() string
func (*TransferRequest) Unmarshal ¶ added in v0.2.27
func (m *TransferRequest) Unmarshal(dAtA []byte) error
func (*TransferRequest) XXX_DiscardUnknown ¶ added in v0.2.27
func (m *TransferRequest) XXX_DiscardUnknown()
func (*TransferRequest) XXX_Marshal ¶ added in v0.2.27
func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferRequest) XXX_Merge ¶ added in v0.2.27
func (m *TransferRequest) XXX_Merge(src proto.Message)
func (*TransferRequest) XXX_MessageName ¶ added in v0.2.27
func (*TransferRequest) XXX_MessageName() string
func (*TransferRequest) XXX_Size ¶ added in v0.2.27
func (m *TransferRequest) XXX_Size() int
func (*TransferRequest) XXX_Unmarshal ¶ added in v0.2.27
func (m *TransferRequest) XXX_Unmarshal(b []byte) error
type TransferResult ¶ added in v0.2.27
type TransferResult struct { Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty" pg:"balance"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*TransferResult) Descriptor ¶ added in v0.2.27
func (*TransferResult) Descriptor() ([]byte, []int)
func (*TransferResult) GetBalance ¶ added in v0.2.27
func (m *TransferResult) GetBalance() int64
func (*TransferResult) Marshal ¶ added in v0.2.27
func (m *TransferResult) Marshal() (dAtA []byte, err error)
func (*TransferResult) MarshalTo ¶ added in v0.2.27
func (m *TransferResult) MarshalTo(dAtA []byte) (int, error)
func (*TransferResult) MarshalToSizedBuffer ¶ added in v0.2.27
func (m *TransferResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferResult) ProtoMessage ¶ added in v0.2.27
func (*TransferResult) ProtoMessage()
func (*TransferResult) Reset ¶ added in v0.2.27
func (m *TransferResult) Reset()
func (*TransferResult) Size ¶ added in v0.2.27
func (m *TransferResult) Size() (n int)
func (*TransferResult) String ¶ added in v0.2.27
func (m *TransferResult) String() string
func (*TransferResult) Unmarshal ¶ added in v0.2.27
func (m *TransferResult) Unmarshal(dAtA []byte) error
func (*TransferResult) XXX_DiscardUnknown ¶ added in v0.2.27
func (m *TransferResult) XXX_DiscardUnknown()
func (*TransferResult) XXX_Marshal ¶ added in v0.2.27
func (m *TransferResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferResult) XXX_Merge ¶ added in v0.2.27
func (m *TransferResult) XXX_Merge(src proto.Message)
func (*TransferResult) XXX_MessageName ¶ added in v0.2.27
func (*TransferResult) XXX_MessageName() string
func (*TransferResult) XXX_Size ¶ added in v0.2.27
func (m *TransferResult) XXX_Size() int
func (*TransferResult) XXX_Unmarshal ¶ added in v0.2.27
func (m *TransferResult) XXX_Unmarshal(b []byte) error
type UnimplementedChannelsServer ¶
type UnimplementedChannelsServer struct { }
UnimplementedChannelsServer can be embedded to have forward compatible implementations.
func (*UnimplementedChannelsServer) CloseChannel ¶
func (*UnimplementedChannelsServer) CloseChannel(ctx context.Context, req *SignedChannelState) (*ChannelClosed, error)
func (*UnimplementedChannelsServer) CreateAccount ¶
func (*UnimplementedChannelsServer) CreateAccount(ctx context.Context, req *PublicKey) (*CreateAccountResult, error)
func (*UnimplementedChannelsServer) CreateChannel ¶
func (*UnimplementedChannelsServer) CreateChannel(ctx context.Context, req *SignedChannelCommit) (*ChannelID, error)
func (*UnimplementedChannelsServer) GetChannelInfo ¶
func (*UnimplementedChannelsServer) GetChannelInfo(ctx context.Context, req *ChannelID) (*ChannelInfo, error)
func (*UnimplementedChannelsServer) GetNextClosedChannel ¶
func (*UnimplementedChannelsServer) GetNextClosedChannel(ctx context.Context, req *ClosedChannelCursor) (*ChannelInfo, error)
func (*UnimplementedChannelsServer) SignedCreateAccount ¶ added in v0.0.7
func (*UnimplementedChannelsServer) SignedCreateAccount(ctx context.Context, req *SignedCreateAccountRequest) (*SignedCreateAccountResult, error)
func (*UnimplementedChannelsServer) Transfer ¶ added in v0.2.27
func (*UnimplementedChannelsServer) Transfer(ctx context.Context, req *SignedTransferRequest) (*TransferResult, error)
func (*UnimplementedChannelsServer) UpdateAccountPubKey ¶
func (*UnimplementedChannelsServer) UpdateAccountPubKey(ctx context.Context, req *SignedPublicKeyPair) (*Null, error)
Click to show internal directories.
Click to hide internal directories.