Versions in this module Expand all Collapse all v0 v0.1.9 Jan 17, 2023 Changes in this version + const Subsystem + var FeatureSet_name = map[int32]string + var FeatureSet_value = map[string]int32 + var File_peersrpc_peers_proto protoreflect.FileDescriptor + var Peers_ServiceDesc = grpc.ServiceDesc + var UpdateAction_name = map[int32]string + var UpdateAction_value = map[string]int32 + func DisableLog() + func RegisterPeersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterPeersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PeersClient) error + func RegisterPeersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterPeersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PeersServer) error + func RegisterPeersJSONCallbacks(...) + func RegisterPeersServer(s grpc.ServiceRegistrar, srv PeersServer) + func UseLogger(logger btclog.Logger) + type Config struct + type FeatureSet int32 + const FeatureSet_SET_INIT + const FeatureSet_SET_INVOICE + const FeatureSet_SET_INVOICE_AMP + const FeatureSet_SET_LEGACY_GLOBAL + const FeatureSet_SET_NODE_ANN + func (FeatureSet) Descriptor() protoreflect.EnumDescriptor + func (FeatureSet) EnumDescriptor() ([]byte, []int) + func (FeatureSet) Type() protoreflect.EnumType + func (x FeatureSet) Enum() *FeatureSet + func (x FeatureSet) Number() protoreflect.EnumNumber + func (x FeatureSet) String() string + type NodeAnnouncementUpdateRequest struct + AddressUpdates []*UpdateAddressAction + Alias string + Color string + FeatureUpdates []*UpdateFeatureAction + func (*NodeAnnouncementUpdateRequest) Descriptor() ([]byte, []int) + func (*NodeAnnouncementUpdateRequest) ProtoMessage() + func (x *NodeAnnouncementUpdateRequest) GetAddressUpdates() []*UpdateAddressAction + func (x *NodeAnnouncementUpdateRequest) GetAlias() string + func (x *NodeAnnouncementUpdateRequest) GetColor() string + func (x *NodeAnnouncementUpdateRequest) GetFeatureUpdates() []*UpdateFeatureAction + func (x *NodeAnnouncementUpdateRequest) ProtoReflect() protoreflect.Message + func (x *NodeAnnouncementUpdateRequest) Reset() + func (x *NodeAnnouncementUpdateRequest) String() string + type NodeAnnouncementUpdateResponse struct + Ops []*lnrpc.Op + func (*NodeAnnouncementUpdateResponse) Descriptor() ([]byte, []int) + func (*NodeAnnouncementUpdateResponse) ProtoMessage() + func (x *NodeAnnouncementUpdateResponse) GetOps() []*lnrpc.Op + func (x *NodeAnnouncementUpdateResponse) ProtoReflect() protoreflect.Message + func (x *NodeAnnouncementUpdateResponse) Reset() + func (x *NodeAnnouncementUpdateResponse) String() string + type PeersClient interface + UpdateNodeAnnouncement func(ctx context.Context, in *NodeAnnouncementUpdateRequest, ...) (*NodeAnnouncementUpdateResponse, error) + func NewPeersClient(cc grpc.ClientConnInterface) PeersClient + type PeersServer interface + UpdateNodeAnnouncement func(context.Context, *NodeAnnouncementUpdateRequest) (*NodeAnnouncementUpdateResponse, error) + type UnimplementedPeersServer struct + func (UnimplementedPeersServer) UpdateNodeAnnouncement(context.Context, *NodeAnnouncementUpdateRequest) (*NodeAnnouncementUpdateResponse, error) + type UnsafePeersServer interface + type UpdateAction int32 + const UpdateAction_ADD + const UpdateAction_REMOVE + func (UpdateAction) Descriptor() protoreflect.EnumDescriptor + func (UpdateAction) EnumDescriptor() ([]byte, []int) + func (UpdateAction) Type() protoreflect.EnumType + func (x UpdateAction) Enum() *UpdateAction + func (x UpdateAction) Number() protoreflect.EnumNumber + func (x UpdateAction) String() string + type UpdateAddressAction struct + Action UpdateAction + Address string + func (*UpdateAddressAction) Descriptor() ([]byte, []int) + func (*UpdateAddressAction) ProtoMessage() + func (x *UpdateAddressAction) GetAction() UpdateAction + func (x *UpdateAddressAction) GetAddress() string + func (x *UpdateAddressAction) ProtoReflect() protoreflect.Message + func (x *UpdateAddressAction) Reset() + func (x *UpdateAddressAction) String() string + type UpdateFeatureAction struct + Action UpdateAction + FeatureBit lnrpc.FeatureBit + func (*UpdateFeatureAction) Descriptor() ([]byte, []int) + func (*UpdateFeatureAction) ProtoMessage() + func (x *UpdateFeatureAction) GetAction() UpdateAction + func (x *UpdateFeatureAction) GetFeatureBit() lnrpc.FeatureBit + func (x *UpdateFeatureAction) ProtoReflect() protoreflect.Message + func (x *UpdateFeatureAction) Reset() + func (x *UpdateFeatureAction) String() string