sputn1ck
a34f22c443
make fmt
2 years ago
Harsha Goli
7a16e3b25d
multi: bump btcec/v2 and btcutil to new versions
3 years ago
Oliver Gugger
2c6e035235
multi: bump lnd compile time dependency to v0.14.0-beta.rc1
3 years ago
yyforyongyu
d8f45b645c
cmd: increase max miner fee multiplier
4 years ago
yyforyongyu
82401ff1ba
cmd: prettify loop quote in/out responses
4 years ago
Oliver Gugger
fcdd5fe9f8
cmd/loop: add initiator to swap requests
4 years ago
carla
ed95c16ae4
loop: add set params command
4 years ago
carla
8931fd370c
loop: rename setparam command to setrule
...
As we add more paramters to the liqudity manager, it will become more
difficult to include them in a single cli endpoint with rules. This
commit renames the existing setparam command (which is only used for
rules at present), so that we can have a dedicated paramters cli
command for all the new values we are adding.
4 years ago
Oliver Gugger
8ecd9673f2
cmd/loop: add macaroon params to CLI
4 years ago
Oliver Gugger
dc99df0bfb
cmd/loop: return error in readMacaroon
...
As we only use the readMacaroon function inside getClientConn where we
have an error return value anyway, we might as well pass the error along
correctly instead of failing hard directly.
4 years ago
Oliver Gugger
39d1121c4b
cmd/loop: add TLS params to CLI
4 years ago
carla
d54d7055fa
loop: add swap suggestions command
4 years ago
carla
81e4005bd2
loop: add get and set parameters endpoints
...
Add the ability to get and set our liquidity paramters to the cli. A
separate rule command is added to keep the cli simple.
4 years ago
carla
a9849bb317
multi: add failure reason to swap client server
...
To provide more information about swaps, we add a failure reason field
to our swaps. We do not extend our existing state enum to remain
backwards compatible.
4 years ago
Joost Jager
8d1ec50fa7
looprpc: split quote message
4 years ago
Oliver Gugger
3a38f8faa4
cmd/loopd: add tlsCertPath and macaroonPath flags
4 years ago
Andras Banki-Horvath
5215222ced
cmd: print both htlc addresses when monitoring a loop-in
4 years ago
Oliver Gugger
3b630667a5
cmd/loop: improve displayed limits
4 years ago
Alex Bosworth
933f1b81d1
cmd/loop: bump rate maximum
...
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
5 years ago
Oliver Gugger
acdd2a22b2
cmd/loop: warn user if fee estimation fails
5 years ago
Oliver Gugger
2dc7d465fa
mod+cli: default to hex encoding for byte slices
5 years ago
Oliver Gugger
26c0c17dbd
loopd+cli: set max gRPC message receive size
5 years ago
Oliver Gugger
d446d68eeb
cmd/loop: add listswaps and swapinfo commands
5 years ago
Oliver Gugger
fa62caa891
cmd/loop: add command to list tokens
5 years ago
Johan T. Halseth
7ea0e35299
cmd/loop: delay swap by 30 minutes by default, add --fast to loopout command
...
We now delay the swap by up to 30 minutes by deafult. To keep the
current imemdiate swap, --fast flag is added.
5 years ago
Oliver Gugger
69f2af9fdc
loop+cmd: extract types into swap module
5 years ago
Oliver Gugger
36838cf7f4
multi: fix most obvious linter errors
5 years ago
Oliver Gugger
c00f831675
cmd/loop: handle external loop in flag
5 years ago
Joost Jager
6aa9071c4d
looprpc+loop: report swap cost over rpc
5 years ago
Alex Bosworth
cdd5a7eea0
cmd/loop: reduce off-chain payment max-fee
6 years ago
Joost Jager
f7676c3489
loop: show correct swap type
6 years ago
Joost Jager
3e960b8b54
multi: loop in swap
6 years ago
Francisco Calderón
c9e482e58f
Change loopd global option parameter to rpcserver
6 years ago
Olaoluwa Osuntokun
f089ff3484
cmd/loop: use loop.Version() for loop cli version
6 years ago
Olaoluwa Osuntokun
48d34ed398
cmd/loop: add command for quote
6 years ago
Joost Jager
e70fc169f3
loop: configurable loopd address
6 years ago
Olaoluwa Osuntokun
94f347e673
multi: finalize rename from uncharge to loop out
6 years ago
Olaoluwa Osuntokun
925b52e01f
multi: rename swapcli to loop, swapd to loopd
6 years ago