From 1869ad670f59216ed00053186ad4e42dc99f6bf7 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Tue, 30 Jun 2020 14:10:33 +0200 Subject: [PATCH] looprpc: expose server message to clients --- client.go | 2 + cmd/loop/loopin.go | 3 + cmd/loop/loopout.go | 7 +- interface.go | 8 ++ loopd/swapclient_server.go | 2 + loopin.go | 6 +- loopout.go | 6 +- looprpc/client.pb.go | 206 +++++++++++++++++++----------------- looprpc/client.proto | 3 + looprpc/client.swagger.json | 4 + 10 files changed, 143 insertions(+), 104 deletions(-) diff --git a/client.go b/client.go index c33c6955f..72f5c135f 100644 --- a/client.go +++ b/client.go @@ -382,6 +382,7 @@ func (s *Client) LoopOut(globalCtx context.Context, return &LoopOutSwapInfo{ SwapHash: swap.hash, HtlcAddressP2WSH: swap.htlc.Address, + ServerMessage: initResult.serverMessage, }, nil } @@ -500,6 +501,7 @@ func (s *Client) LoopIn(globalCtx context.Context, SwapHash: swap.hash, HtlcAddressP2WSH: swap.htlcP2WSH.Address, HtlcAddressNP2WSH: swap.htlcNP2WSH.Address, + ServerMessage: initResult.serverMessage, } return swapInfo, nil } diff --git a/cmd/loop/loopin.go b/cmd/loop/loopin.go index ec0c79571..25cac98d4 100644 --- a/cmd/loop/loopin.go +++ b/cmd/loop/loopin.go @@ -157,6 +157,9 @@ func loopIn(ctx *cli.Context) error { fmt.Printf("HTLC address (NP2WSH): %v\n", resp.HtlcAddressNp2Wsh) } fmt.Printf("HTLC address (P2WSH): %v\n", resp.HtlcAddressP2Wsh) + if resp.ServerMessage != "" { + fmt.Printf("Server message: %v\n", resp.ServerMessage) + } fmt.Println() fmt.Printf("Run `loop monitor` to monitor progress.\n") diff --git a/cmd/loop/loopout.go b/cmd/loop/loopout.go index 3e83d44aa..9033ee2aa 100644 --- a/cmd/loop/loopout.go +++ b/cmd/loop/loopout.go @@ -180,8 +180,11 @@ func loopOut(ctx *cli.Context) error { } fmt.Printf("Swap initiated\n") - fmt.Printf("ID: %v\n", resp.Id) - fmt.Printf("HTLC address: %v\n", resp.HtlcAddress) + fmt.Printf("ID: %v\n", resp.Id) + fmt.Printf("HTLC address: %v\n", resp.HtlcAddress) + if resp.ServerMessage != "" { + fmt.Printf("Server message: %v\n", resp.ServerMessage) + } fmt.Println() fmt.Printf("Run `loop monitor` to monitor progress.\n") diff --git a/interface.go b/interface.go index e2154022f..f21c89bc9 100644 --- a/interface.go +++ b/interface.go @@ -248,6 +248,10 @@ type LoopInSwapInfo struct { // nolint // HtlcAddressNP2WSH contains the nested segwit swap htlc address, // where the loop-in funds may be paid. HtlcAddressNP2WSH btcutil.Address + + // ServerMessages is the human-readable message received from the loop + // server. + ServerMessage string } // LoopOutSwapInfo contains essential information of a loop-out swap after the @@ -259,6 +263,10 @@ type LoopOutSwapInfo struct { // nolint:golint // HtlcAddressP2WSH contains the native segwit swap htlc address that // the server will publish to. HtlcAddressP2WSH btcutil.Address + + // ServerMessages is the human-readable message received from the loop + // server. + ServerMessage string } // SwapInfoKit contains common swap info fields. diff --git a/loopd/swapclient_server.go b/loopd/swapclient_server.go index f01c9dc48..0059107ec 100644 --- a/loopd/swapclient_server.go +++ b/loopd/swapclient_server.go @@ -114,6 +114,7 @@ func (s *swapClientServer) LoopOut(ctx context.Context, IdBytes: info.SwapHash[:], HtlcAddress: info.HtlcAddressP2WSH.String(), HtlcAddressP2Wsh: info.HtlcAddressP2WSH.String(), + ServerMessage: info.ServerMessage, }, nil } @@ -456,6 +457,7 @@ func (s *swapClientServer) LoopIn(ctx context.Context, Id: swapInfo.SwapHash.String(), IdBytes: swapInfo.SwapHash[:], HtlcAddressP2Wsh: swapInfo.HtlcAddressP2WSH.String(), + ServerMessage: swapInfo.ServerMessage, } if req.ExternalHtlc { diff --git a/loopin.go b/loopin.go index 8645d3bc0..84f6c829a 100644 --- a/loopin.go +++ b/loopin.go @@ -65,7 +65,8 @@ type loopInSwap struct { // loopInInitResult contains information about a just-initiated loop in swap. type loopInInitResult struct { - swap *loopInSwap + swap *loopInSwap + serverMessage string } // newLoopInSwap initiates a new loop in swap. @@ -191,7 +192,8 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig, } return &loopInInitResult{ - swap: swap, + swap: swap, + serverMessage: swapResp.serverMessage, }, nil } diff --git a/loopout.go b/loopout.go index 40b423e0d..2d1406c04 100644 --- a/loopout.go +++ b/loopout.go @@ -75,7 +75,8 @@ type executeConfig struct { // loopOutInitResult contains information about a just-initiated loop out swap. type loopOutInitResult struct { - swap *loopOutSwap + swap *loopOutSwap + serverMessage string } // newLoopOutSwap initiates a new swap with the server and returns a @@ -186,7 +187,8 @@ func newLoopOutSwap(globalCtx context.Context, cfg *swapConfig, } return &loopOutInitResult{ - swap: swap, + swap: swap, + serverMessage: swapResp.serverMessage, }, nil } diff --git a/looprpc/client.pb.go b/looprpc/client.pb.go index f0b396120..2036d94a6 100644 --- a/looprpc/client.pb.go +++ b/looprpc/client.pb.go @@ -411,7 +411,9 @@ type SwapResponse struct { //* //The native segwit address of the on-chain htlc. //Used for both loop-in and loop-out. - HtlcAddressP2Wsh string `protobuf:"bytes,5,opt,name=htlc_address_p2wsh,json=htlcAddressP2wsh,proto3" json:"htlc_address_p2wsh,omitempty"` + HtlcAddressP2Wsh string `protobuf:"bytes,5,opt,name=htlc_address_p2wsh,json=htlcAddressP2wsh,proto3" json:"htlc_address_p2wsh,omitempty"` + // A human-readable message received from the loop server. + ServerMessage string `protobuf:"bytes,6,opt,name=server_message,json=serverMessage,proto3" json:"server_message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -479,6 +481,13 @@ func (m *SwapResponse) GetHtlcAddressP2Wsh() string { return "" } +func (m *SwapResponse) GetServerMessage() string { + if m != nil { + return m.ServerMessage + } + return "" +} + type MonitorRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1251,103 +1260,104 @@ func init() { func init() { proto.RegisterFile("client.proto", fileDescriptor_014de31d7ac8c57c) } var fileDescriptor_014de31d7ac8c57c = []byte{ - // 1533 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x4d, 0x72, 0xdb, 0x38, - 0x16, 0x0e, 0xf5, 0xaf, 0x27, 0x8a, 0xa2, 0xe0, 0xc4, 0x96, 0x35, 0x93, 0x8a, 0xc2, 0x99, 0xcc, - 0x28, 0xae, 0x94, 0x35, 0x71, 0x56, 0x93, 0x9a, 0x9a, 0x2a, 0x47, 0x56, 0x62, 0xb9, 0xfc, 0xa3, - 0xa1, 0xe4, 0x54, 0x25, 0x1b, 0x0e, 0x2c, 0xc2, 0x16, 0xab, 0x45, 0x82, 0x21, 0xa0, 0xd8, 0xae, - 0x54, 0x36, 0x7d, 0x85, 0xbe, 0x41, 0xdf, 0xa0, 0xd7, 0xbd, 0xeb, 0x65, 0xef, 0xba, 0xfa, 0x00, - 0xbd, 0xe9, 0x23, 0xf4, 0x01, 0xba, 0x00, 0x50, 0x14, 0x65, 0xcb, 0x59, 0x64, 0x27, 0x7e, 0xf8, - 0xf0, 0xe1, 0xe1, 0xbd, 0x87, 0x0f, 0x10, 0xe8, 0xe3, 0xa9, 0x47, 0x02, 0xbe, 0x1d, 0x46, 0x94, - 0x53, 0x54, 0x9c, 0x52, 0x1a, 0x46, 0xe1, 0xb8, 0xf9, 0xd7, 0x0b, 0x4a, 0x2f, 0xa6, 0xa4, 0x83, - 0x43, 0xaf, 0x83, 0x83, 0x80, 0x72, 0xcc, 0x3d, 0x1a, 0x30, 0x45, 0xb3, 0x7e, 0xce, 0x82, 0x71, - 0x48, 0x69, 0x78, 0x32, 0xe3, 0x36, 0xf9, 0x30, 0x23, 0x8c, 0x23, 0x13, 0xb2, 0xd8, 0xe7, 0x0d, - 0xad, 0xa5, 0xb5, 0xb3, 0xb6, 0xf8, 0x89, 0x10, 0xe4, 0x5c, 0xc2, 0x78, 0x23, 0xd3, 0xd2, 0xda, - 0x65, 0x5b, 0xfe, 0x46, 0x1d, 0xb8, 0xef, 0xe3, 0x2b, 0x87, 0x5d, 0xe2, 0xd0, 0x89, 0xe8, 0x8c, - 0x7b, 0xc1, 0x85, 0x73, 0x4e, 0x48, 0x23, 0x2b, 0xa7, 0xd5, 0x7d, 0x7c, 0x35, 0xbc, 0xc4, 0xa1, - 0xad, 0x46, 0x5e, 0x13, 0x82, 0x5e, 0xc0, 0xba, 0x98, 0x10, 0x46, 0x24, 0xc4, 0xd7, 0x4b, 0x53, - 0x72, 0x72, 0xca, 0x9a, 0x8f, 0xaf, 0x06, 0x72, 0x30, 0x35, 0xa9, 0x05, 0x7a, 0xb2, 0x8a, 0xa0, - 0xe6, 0x25, 0x15, 0x62, 0x75, 0xc1, 0xf8, 0x3b, 0x18, 0x29, 0x59, 0x11, 0x78, 0x41, 0x72, 0xf4, - 0x44, 0x6e, 0xd7, 0xe7, 0xc8, 0x82, 0xaa, 0x60, 0xf9, 0x5e, 0x40, 0x22, 0x29, 0x54, 0x94, 0xa4, - 0x8a, 0x8f, 0xaf, 0x8e, 0x04, 0x26, 0x94, 0x9e, 0x81, 0x29, 0x72, 0xe6, 0xd0, 0x19, 0x77, 0xc6, - 0x13, 0x1c, 0x04, 0x64, 0xda, 0x28, 0xb5, 0xb4, 0x76, 0xee, 0x55, 0xa6, 0xa1, 0xd9, 0xc6, 0x54, - 0x65, 0xa9, 0xab, 0x46, 0xd0, 0x16, 0xd4, 0xe9, 0x8c, 0x5f, 0x50, 0xb1, 0x09, 0xc1, 0x76, 0x18, - 0xe1, 0x8d, 0x4a, 0x2b, 0xdb, 0xce, 0xd9, 0xb5, 0xf9, 0x80, 0xe0, 0x0e, 0x09, 0x17, 0x5c, 0x76, - 0x49, 0x48, 0xe8, 0x8c, 0x69, 0x70, 0xee, 0x70, 0x1c, 0x5d, 0x10, 0xde, 0x28, 0xb7, 0xb4, 0x76, - 0xde, 0xae, 0xc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e8, 0x3d, 0x18, 0x6f, 0x08, - 0x57, 0xc5, 0xfe, 0xaa, 0xe8, 0x37, 0xe5, 0x12, 0x6b, 0xa8, 0x9e, 0x6a, 0x81, 0x38, 0xf8, 0xff, - 0xa7, 0xb4, 0xbf, 0x2a, 0xfc, 0x47, 0x52, 0x7b, 0x13, 0x6d, 0xa4, 0xb5, 0xd3, 0xd1, 0xbf, 0x83, - 0xaa, 0x58, 0x61, 0xee, 0x7b, 0x2c, 0xd5, 0xbf, 0x4b, 0xe6, 0xda, 0xdc, 0xb8, 0x85, 0x2f, 0x9f, - 0x09, 0x54, 0x93, 0x4b, 0x30, 0xcc, 0x3b, 0xca, 0x50, 0xcf, 0x0a, 0xf2, 0xff, 0xd5, 0x8b, 0x3f, - 0x03, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x9f, 0xce, 0xa4, 0x96, 0x0d, 0x00, 0x00, + // 1549 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xcd, 0x72, 0xdb, 0xb6, + 0x16, 0x0e, 0xf5, 0xaf, 0x23, 0x8a, 0xa2, 0xe0, 0xc4, 0x96, 0x75, 0x6f, 0x26, 0x0a, 0xef, 0x4d, + 0xab, 0x78, 0x32, 0x56, 0xe3, 0xac, 0x9a, 0xe9, 0x74, 0xc6, 0x91, 0x95, 0x58, 0x1e, 0xff, 0xa8, + 0x94, 0x9c, 0x99, 0x64, 0xc3, 0xc2, 0x22, 0x6c, 0x71, 0x2a, 0x12, 0x0c, 0x01, 0xc5, 0xf6, 0x64, + 0xb2, 0xe9, 0x2b, 0xf4, 0x0d, 0xfa, 0x06, 0x5d, 0xf7, 0x0d, 0xba, 0xeb, 0xf4, 0x01, 0xba, 0xe9, + 0xa6, 0xfb, 0x3e, 0x40, 0x07, 0x00, 0x45, 0x51, 0xfe, 0xc9, 0x22, 0x3b, 0xf1, 0xc3, 0x87, 0x0f, + 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, 0x24, 0xdb, 0x31, 0xc3, 0xfa, 0x35, 0x03, 0xe5, 0x04, 0x15, 0x19, 0x3f, 0xc1, 0x8c, + 0x38, 0x3e, 0x1e, 0xe3, 0x88, 0xd2, 0x20, 0xee, 0x2f, 0x5d, 0x80, 0x07, 0x31, 0x26, 0x0e, 0xca, + 0x7c, 0x1f, 0x13, 0xcc, 0x26, 0x32, 0x15, 0xba, 0x5d, 0x89, 0xb1, 0x5d, 0xcc, 0x26, 0xe8, 0x31, + 0x98, 0x73, 0x4a, 0x18, 0x11, 0xcf, 0x17, 0x06, 0xa9, 0x6c, 0xbc, 0x16, 0xe3, 0x83, 0x18, 0x16, + 0x36, 0xa2, 0xba, 0xcc, 0x09, 0xb1, 0xe7, 0x3a, 0x3e, 0xc3, 0x3c, 0x7e, 0x3f, 0x18, 0x0a, 0x1f, + 0x60, 0xcf, 0x3d, 0x60, 0x98, 0xa3, 0xa7, 0x70, 0x2f, 0xf5, 0xc8, 0x48, 0xd1, 0x55, 0x1b, 0xa3, + 0x28, 0x79, 0x65, 0x24, 0x53, 0x1e, 0x82, 0x2e, 0x7c, 0xc9, 0x19, 0x47, 0x04, 0x73, 0xe2, 0xc6, + 0x8d, 0x5c, 0x11, 0x58, 0x57, 0x41, 0xa8, 0x01, 0x45, 0x72, 0x11, 0x7a, 0x11, 0x71, 0xa5, 0x2f, + 0x95, 0xec, 0xf9, 0xa7, 0x98, 0xcc, 0x38, 0x8d, 0xf0, 0x19, 0x71, 0x02, 0xec, 0x13, 0x69, 0x19, + 0x65, 0xbb, 0x12, 0x63, 0x87, 0xd8, 0x27, 0x1b, 0x8f, 0xa0, 0x34, 0x37, 0x5a, 0xa4, 0x43, 0x69, + 0xff, 0xe8, 0x68, 0xe0, 0x1c, 0x1d, 0x8f, 0xcc, 0x3b, 0xa8, 0x02, 0x45, 0xf9, 0xd5, 0x3f, 0x34, + 0xb5, 0x0d, 0x06, 0xe5, 0xc4, 0x67, 0x51, 0x15, 0xca, 0xfd, 0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+ 0x79, 0xd3, 0xd0, 0x72, 0x58, 0xc8, 0x48, 0xc2, 0x92, 0xf6, 0x8b, 0x8e, 0x55, 0x99, 0x85, 0xfd, + 0xa2, 0xc6, 0xd2, 0xf2, 0x29, 0x47, 0xbe, 0x31, 0x30, 0xab, 0x29, 0x25, 0xef, 0x22, 0xb4, 0x24, + 0xd9, 0xf9, 0xe0, 0xb9, 0x1f, 0xd1, 0x1b, 0xd0, 0xe3, 0x02, 0x48, 0xa7, 0x46, 0x8b, 0x64, 0xa5, + 0x9d, 0xbc, 0xb9, 0x7a, 0x15, 0x8e, 0xa3, 0xbd, 0x2e, 0x4d, 0x67, 0xbc, 0xc3, 0xa5, 0x94, 0x93, + 0x48, 0x4b, 0x7f, 0x4b, 0x49, 0xa7, 0x4d, 0x39, 0x25, 0xbd, 0x64, 0x83, 0x56, 0x4b, 0x4a, 0x37, + 0x51, 0x63, 0x49, 0xfa, 0x9d, 0xe0, 0x74, 0x3e, 0x60, 0x9f, 0x7f, 0x44, 0x6f, 0xc1, 0x78, 0x45, + 0xb8, 0x2a, 0xf6, 0x67, 0x45, 0xbf, 0x2e, 0x97, 0x58, 0x41, 0xf5, 0x54, 0x0b, 0xc4, 0xc1, 0x7f, + 0x9f, 0xd2, 0xfe, 0xac, 0xf0, 0x1f, 0x48, 0xed, 0x75, 0xb4, 0x96, 0xd6, 0x4e, 0x47, 0xff, 0x06, + 0xaa, 0x62, 0x85, 0xb9, 0xef, 0xb1, 0x54, 0xff, 0x2e, 0x99, 0x6b, 0x73, 0xed, 0x1a, 0xbe, 0x7c, + 0x26, 0x50, 0x4d, 0x2e, 0xc1, 0x30, 0xef, 0x28, 0x43, 0x3d, 0x29, 0xc8, 0xbf, 0x61, 0xcf, 0xfe, + 0x0d, 0x00, 0x00, 0xff, 0xff, 0xba, 0x8f, 0xd4, 0xd8, 0xbd, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/looprpc/client.proto b/looprpc/client.proto index 95b97a4a9..1c3b333b8 100644 --- a/looprpc/client.proto +++ b/looprpc/client.proto @@ -272,6 +272,9 @@ message SwapResponse { Used for both loop-in and loop-out. */ string htlc_address_p2wsh = 5; + + // A human-readable message received from the loop server. + string server_message = 6; } message MonitorRequest { diff --git a/looprpc/client.swagger.json b/looprpc/client.swagger.json index 4d750c41e..4bea07ea1 100644 --- a/looprpc/client.swagger.json +++ b/looprpc/client.swagger.json @@ -524,6 +524,10 @@ "htlc_address_p2wsh": { "type": "string", "description": "*\nThe native segwit address of the on-chain htlc.\nUsed for both loop-in and loop-out." + }, + "server_message": { + "type": "string", + "description": "A human-readable message received from the loop server." } } },