mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: expose server message to clients
This commit is contained in:
parent
8b215edaa2
commit
1869ad670f
10 changed files with 143 additions and 104 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue