mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
commit
7fb745954b
9 changed files with 97 additions and 2659 deletions
7
Makefile
7
Makefile
|
|
@ -135,8 +135,11 @@ mod-tidy:
|
|||
|
||||
mod-check:
|
||||
@$(call print, "Checking modules.")
|
||||
$(GOMOD) tidy
|
||||
if test -n "$$(git status | grep -e "go.mod\|go.sum")"; then echo "Running go mod tidy changes go.mod/go.sum"; git status; git diff; exit 1; fi
|
||||
GOPROXY=direct $(GOMOD) tidy
|
||||
cd swapserverrpc/ && GOPROXY=direct $(GOMOD) tidy
|
||||
cd looprpc/ && GOPROXY=direct $(GOMOD) tidy
|
||||
cd tools/ && GOPROXY=direct $(GOMOD) tidy
|
||||
if test -n "$$(git status --porcelain)"; then echo "Running go mod tidy changes go.mod/go.sum"; git status; git diff; exit 1; fi
|
||||
|
||||
sqlc:
|
||||
@$(call print, "Generating sql models and queries in Go")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: common.proto
|
||||
|
||||
|
|
@ -199,7 +199,7 @@ func file_common_proto_rawDescGZIP() []byte {
|
|||
}
|
||||
|
||||
var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_common_proto_goTypes = []interface{}{
|
||||
var file_common_proto_goTypes = []any{
|
||||
(*HopHint)(nil), // 0: looprpc.HopHint
|
||||
(*RouteHint)(nil), // 1: looprpc.RouteHint
|
||||
}
|
||||
|
|
@ -218,7 +218,7 @@ func file_common_proto_init() {
|
|||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_common_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*HopHint); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -230,7 +230,7 @@ func file_common_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_common_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RouteHint); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
|
|||
|
|
@ -5,4 +5,12 @@ require (
|
|||
google.golang.org/protobuf v1.34.2
|
||||
)
|
||||
|
||||
go 1.16
|
||||
require (
|
||||
github.com/golang/protobuf v1.5.3 // indirect
|
||||
golang.org/x/net v0.9.0 // indirect
|
||||
golang.org/x/sys v0.7.0 // indirect
|
||||
golang.org/x/text v0.9.0 // indirect
|
||||
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
|
||||
)
|
||||
|
||||
go 1.18
|
||||
|
|
|
|||
1504
swapserverrpc/go.sum
1504
swapserverrpc/go.sum
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: instantout.proto
|
||||
|
||||
|
|
@ -992,7 +992,7 @@ func file_instantout_proto_rawDescGZIP() []byte {
|
|||
|
||||
var file_instantout_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_instantout_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_instantout_proto_goTypes = []interface{}{
|
||||
var file_instantout_proto_goTypes = []any{
|
||||
(InstantOutProtocolVersion)(0), // 0: looprpc.InstantOutProtocolVersion
|
||||
(*InstantLoopOutRequest)(nil), // 1: looprpc.InstantLoopOutRequest
|
||||
(*InstantLoopOutResponse)(nil), // 2: looprpc.InstantLoopOutResponse
|
||||
|
|
@ -1038,7 +1038,7 @@ func file_instantout_proto_init() {
|
|||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_instantout_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*InstantLoopOutRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1050,7 +1050,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*InstantLoopOutResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1062,7 +1062,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PollPaymentAcceptedRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1074,7 +1074,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PollPaymentAcceptedResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1086,7 +1086,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*InitHtlcSigRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1098,7 +1098,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*InitHtlcSigResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1110,7 +1110,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushHtlcSigRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1122,7 +1122,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushHtlcSigResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1134,7 +1134,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushPreimageRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1146,7 +1146,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushPreimageResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1158,7 +1158,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CancelInstantSwapRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1170,7 +1170,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CancelInstantSwapResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1182,7 +1182,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetInstantOutQuoteRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1194,7 +1194,7 @@ func file_instantout_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_instantout_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_instantout_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*GetInstantOutQuoteResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: reservation.proto
|
||||
|
||||
|
|
@ -386,7 +386,7 @@ func file_reservation_proto_rawDescGZIP() []byte {
|
|||
|
||||
var file_reservation_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_reservation_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_reservation_proto_goTypes = []interface{}{
|
||||
var file_reservation_proto_goTypes = []any{
|
||||
(ReservationProtocolVersion)(0), // 0: looprpc.ReservationProtocolVersion
|
||||
(*ReservationNotificationRequest)(nil), // 1: looprpc.ReservationNotificationRequest
|
||||
(*ServerReservationNotification)(nil), // 2: looprpc.ServerReservationNotification
|
||||
|
|
@ -413,7 +413,7 @@ func file_reservation_proto_init() {
|
|||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_reservation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_reservation_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReservationNotificationRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -425,7 +425,7 @@ func file_reservation_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_reservation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_reservation_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerReservationNotification); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -437,7 +437,7 @@ func file_reservation_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_reservation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_reservation_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerOpenReservationRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -449,7 +449,7 @@ func file_reservation_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_reservation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_reservation_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerOpenReservationResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: server.proto
|
||||
|
||||
|
|
@ -3525,7 +3525,7 @@ func file_server_proto_rawDescGZIP() []byte {
|
|||
|
||||
var file_server_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
|
||||
var file_server_proto_msgTypes = make([]protoimpl.MessageInfo, 38)
|
||||
var file_server_proto_goTypes = []interface{}{
|
||||
var file_server_proto_goTypes = []any{
|
||||
(ProtocolVersion)(0), // 0: looprpc.ProtocolVersion
|
||||
(ServerSwapState)(0), // 1: looprpc.ServerSwapState
|
||||
(RoutePaymentType)(0), // 2: looprpc.RoutePaymentType
|
||||
|
|
@ -3651,7 +3651,7 @@ func file_server_proto_init() {
|
|||
file_common_proto_init()
|
||||
file_reservation_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3663,7 +3663,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3675,7 +3675,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutQuoteRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3687,7 +3687,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutQuote); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3699,7 +3699,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutTermsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3711,7 +3711,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutTerms); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3723,7 +3723,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopInRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3735,7 +3735,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopInResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3747,7 +3747,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopInQuoteRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3759,7 +3759,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopInQuoteResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3771,7 +3771,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopInTermsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3783,7 +3783,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopInTerms); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3795,7 +3795,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutPushPreimageRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3807,7 +3807,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerLoopOutPushPreimageResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3819,7 +3819,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[14].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SubscribeUpdatesRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3831,7 +3831,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[15].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SubscribeLoopOutUpdatesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3843,7 +3843,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[16].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SubscribeLoopInUpdatesResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3855,7 +3855,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[17].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RouteCancel); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3867,7 +3867,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[18].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*HtlcAttempt); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3879,7 +3879,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[19].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CancelLoopOutSwapRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3891,7 +3891,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[20].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CancelLoopOutSwapResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3903,7 +3903,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[21].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerProbeRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3915,7 +3915,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[22].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerProbeResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3927,7 +3927,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[23].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RecommendRoutingPluginReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3939,7 +3939,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[24].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*RecommendRoutingPluginRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3951,7 +3951,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[25].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReportRoutingResultReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3963,7 +3963,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[26].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ReportRoutingResultRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3975,7 +3975,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[27].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MuSig2SignSweepReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3987,7 +3987,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[28].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PrevoutInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -3999,7 +3999,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[29].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MuSig2SignSweepRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4011,7 +4011,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[30].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerPushKeyReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4023,7 +4023,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[31].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerPushKeyRes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4035,7 +4035,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[32].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*FetchL402Request); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4047,7 +4047,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[33].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*FetchL402Response); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4059,7 +4059,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[34].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SubscribeNotificationsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4071,7 +4071,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[35].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SubscribeNotificationsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4083,7 +4083,7 @@ func file_server_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_server_proto_msgTypes[36].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerStaticLoopInSweepNotification); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -4096,10 +4096,10 @@ func file_server_proto_init() {
|
|||
}
|
||||
}
|
||||
}
|
||||
file_server_proto_msgTypes[19].OneofWrappers = []interface{}{
|
||||
file_server_proto_msgTypes[19].OneofWrappers = []any{
|
||||
(*CancelLoopOutSwapRequest_RouteCancel)(nil),
|
||||
}
|
||||
file_server_proto_msgTypes[35].OneofWrappers = []interface{}{
|
||||
file_server_proto_msgTypes[35].OneofWrappers = []any{
|
||||
(*SubscribeNotificationsResponse_ReservationNotification)(nil),
|
||||
(*SubscribeNotificationsResponse_StaticLoopInSweep)(nil),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.30.0
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: staticaddr.proto
|
||||
|
||||
|
|
@ -1213,7 +1213,7 @@ func file_staticaddr_proto_rawDescGZIP() []byte {
|
|||
|
||||
var file_staticaddr_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_staticaddr_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||||
var file_staticaddr_proto_goTypes = []interface{}{
|
||||
var file_staticaddr_proto_goTypes = []any{
|
||||
(StaticAddressProtocolVersion)(0), // 0: looprpc.StaticAddressProtocolVersion
|
||||
(*ServerNewAddressRequest)(nil), // 1: looprpc.ServerNewAddressRequest
|
||||
(*ServerNewAddressResponse)(nil), // 2: looprpc.ServerNewAddressResponse
|
||||
|
|
@ -1269,7 +1269,7 @@ func file_staticaddr_proto_init() {
|
|||
}
|
||||
file_server_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_staticaddr_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerNewAddressRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1281,7 +1281,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerNewAddressResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1293,7 +1293,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerAddressParameters); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1305,7 +1305,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerWithdrawRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1317,7 +1317,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerWithdrawResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1329,7 +1329,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerStaticAddressLoopInRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1341,7 +1341,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerStaticAddressLoopInResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1353,7 +1353,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerHtlcSigningInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1365,7 +1365,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushStaticAddressHtlcSigsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1377,7 +1377,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ClientHtlcSigningInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1389,7 +1389,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushStaticAddressHtlcSigsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1401,7 +1401,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushStaticAddressSweeplessSigsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1413,7 +1413,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ClientSweeplessSigningInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
@ -1425,7 +1425,7 @@ func file_staticaddr_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_staticaddr_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_staticaddr_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PushStaticAddressSweeplessSigsResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue