Versions in this module Expand all Collapse all v0 v0.12.2 Mar 18, 2021 Changes in this version + func DisableLog() + func RegisterAutopilotHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAutopilotHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AutopilotClient) error + func RegisterAutopilotHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAutopilotHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AutopilotServer) error + func RegisterAutopilotServer(s *grpc.Server, srv AutopilotServer) + func UseLogger(logger btclog.Logger) + type AutopilotClient interface + ModifyStatus func(ctx context.Context, in *ModifyStatusRequest, opts ...grpc.CallOption) (*ModifyStatusResponse, error) + QueryScores func(ctx context.Context, in *QueryScoresRequest, opts ...grpc.CallOption) (*QueryScoresResponse, error) + SetScores func(ctx context.Context, in *SetScoresRequest, opts ...grpc.CallOption) (*SetScoresResponse, error) + Status func(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) + func NewAutopilotClient(cc *grpc.ClientConn) AutopilotClient + type AutopilotServer interface + ModifyStatus func(context.Context, *ModifyStatusRequest) (*ModifyStatusResponse, error) + QueryScores func(context.Context, *QueryScoresRequest) (*QueryScoresResponse, error) + SetScores func(context.Context, *SetScoresRequest) (*SetScoresResponse, error) + Status func(context.Context, *StatusRequest) (*StatusResponse, error) + type Config struct + type ModifyStatusRequest struct + Enable bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ModifyStatusRequest) Descriptor() ([]byte, []int) + func (*ModifyStatusRequest) ProtoMessage() + func (m *ModifyStatusRequest) GetEnable() bool + func (m *ModifyStatusRequest) Reset() + func (m *ModifyStatusRequest) String() string + func (m *ModifyStatusRequest) XXX_DiscardUnknown() + func (m *ModifyStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ModifyStatusRequest) XXX_Merge(src proto.Message) + func (m *ModifyStatusRequest) XXX_Size() int + func (m *ModifyStatusRequest) XXX_Unmarshal(b []byte) error + type ModifyStatusResponse struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ModifyStatusResponse) Descriptor() ([]byte, []int) + func (*ModifyStatusResponse) ProtoMessage() + func (m *ModifyStatusResponse) Reset() + func (m *ModifyStatusResponse) String() string + func (m *ModifyStatusResponse) XXX_DiscardUnknown() + func (m *ModifyStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ModifyStatusResponse) XXX_Merge(src proto.Message) + func (m *ModifyStatusResponse) XXX_Size() int + func (m *ModifyStatusResponse) XXX_Unmarshal(b []byte) error + type QueryScoresRequest struct + IgnoreLocalState bool + Pubkeys []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryScoresRequest) Descriptor() ([]byte, []int) + func (*QueryScoresRequest) ProtoMessage() + func (m *QueryScoresRequest) GetIgnoreLocalState() bool + func (m *QueryScoresRequest) GetPubkeys() []string + func (m *QueryScoresRequest) Reset() + func (m *QueryScoresRequest) String() string + func (m *QueryScoresRequest) XXX_DiscardUnknown() + func (m *QueryScoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryScoresRequest) XXX_Merge(src proto.Message) + func (m *QueryScoresRequest) XXX_Size() int + func (m *QueryScoresRequest) XXX_Unmarshal(b []byte) error + type QueryScoresResponse struct + Results []*QueryScoresResponse_HeuristicResult + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryScoresResponse) Descriptor() ([]byte, []int) + func (*QueryScoresResponse) ProtoMessage() + func (m *QueryScoresResponse) GetResults() []*QueryScoresResponse_HeuristicResult + func (m *QueryScoresResponse) Reset() + func (m *QueryScoresResponse) String() string + func (m *QueryScoresResponse) XXX_DiscardUnknown() + func (m *QueryScoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryScoresResponse) XXX_Merge(src proto.Message) + func (m *QueryScoresResponse) XXX_Size() int + func (m *QueryScoresResponse) XXX_Unmarshal(b []byte) error + type QueryScoresResponse_HeuristicResult struct + Heuristic string + Scores map[string]float64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryScoresResponse_HeuristicResult) Descriptor() ([]byte, []int) + func (*QueryScoresResponse_HeuristicResult) ProtoMessage() + func (m *QueryScoresResponse_HeuristicResult) GetHeuristic() string + func (m *QueryScoresResponse_HeuristicResult) GetScores() map[string]float64 + func (m *QueryScoresResponse_HeuristicResult) Reset() + func (m *QueryScoresResponse_HeuristicResult) String() string + func (m *QueryScoresResponse_HeuristicResult) XXX_DiscardUnknown() + func (m *QueryScoresResponse_HeuristicResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryScoresResponse_HeuristicResult) XXX_Merge(src proto.Message) + func (m *QueryScoresResponse_HeuristicResult) XXX_Size() int + func (m *QueryScoresResponse_HeuristicResult) XXX_Unmarshal(b []byte) error + type SetScoresRequest struct + Heuristic string + Scores map[string]float64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SetScoresRequest) Descriptor() ([]byte, []int) + func (*SetScoresRequest) ProtoMessage() + func (m *SetScoresRequest) GetHeuristic() string + func (m *SetScoresRequest) GetScores() map[string]float64 + func (m *SetScoresRequest) Reset() + func (m *SetScoresRequest) String() string + func (m *SetScoresRequest) XXX_DiscardUnknown() + func (m *SetScoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SetScoresRequest) XXX_Merge(src proto.Message) + func (m *SetScoresRequest) XXX_Size() int + func (m *SetScoresRequest) XXX_Unmarshal(b []byte) error + type SetScoresResponse struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SetScoresResponse) Descriptor() ([]byte, []int) + func (*SetScoresResponse) ProtoMessage() + func (m *SetScoresResponse) Reset() + func (m *SetScoresResponse) String() string + func (m *SetScoresResponse) XXX_DiscardUnknown() + func (m *SetScoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SetScoresResponse) XXX_Merge(src proto.Message) + func (m *SetScoresResponse) XXX_Size() int + func (m *SetScoresResponse) XXX_Unmarshal(b []byte) error + type StatusRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StatusRequest) Descriptor() ([]byte, []int) + func (*StatusRequest) ProtoMessage() + func (m *StatusRequest) Reset() + func (m *StatusRequest) String() string + func (m *StatusRequest) XXX_DiscardUnknown() + func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatusRequest) XXX_Merge(src proto.Message) + func (m *StatusRequest) XXX_Size() int + func (m *StatusRequest) XXX_Unmarshal(b []byte) error + type StatusResponse struct + Active bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StatusResponse) Descriptor() ([]byte, []int) + func (*StatusResponse) ProtoMessage() + func (m *StatusResponse) GetActive() bool + func (m *StatusResponse) Reset() + func (m *StatusResponse) String() string + func (m *StatusResponse) XXX_DiscardUnknown() + func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatusResponse) XXX_Merge(src proto.Message) + func (m *StatusResponse) XXX_Size() int + func (m *StatusResponse) XXX_Unmarshal(b []byte) error + type UnimplementedAutopilotServer struct + func (*UnimplementedAutopilotServer) ModifyStatus(ctx context.Context, req *ModifyStatusRequest) (*ModifyStatusResponse, error) + func (*UnimplementedAutopilotServer) QueryScores(ctx context.Context, req *QueryScoresRequest) (*QueryScoresResponse, error) + func (*UnimplementedAutopilotServer) SetScores(ctx context.Context, req *SetScoresRequest) (*SetScoresResponse, error) + func (*UnimplementedAutopilotServer) Status(ctx context.Context, req *StatusRequest) (*StatusResponse, error)