Slyghtning
84bf30301f
loop: client calls getInfo rpc
2023-05-24 17:50:26 +02:00
Andras Banki-Horvath
88956455b4
multi: completely remove support for NP2WSH htlcs
...
This commit removes all code related to NP2WSH htlcs. These were
historically used when segwit adoption was very sporadic and are not
used anywhere anymore. Some historical swaps stored in the DB may be
listed with incorrect htlc adresses from here on.
2022-11-04 17:14:53 +01:00
Andras Banki-Horvath
901a935514
loopin: enable p2tr htlcs without keyspend
2022-06-30 16:59:55 +02:00
sputn1ck
a34f22c443
make fmt
2022-05-20 10:16:47 +02:00
Harsha Goli
7a16e3b25d
multi: bump btcec/v2 and btcutil to new versions
2022-03-25 11:00:16 +01:00
Oliver Gugger
2c6e035235
multi: bump lnd compile time dependency to v0.14.0-beta.rc1
2021-11-03 19:31:21 +01:00
yyforyongyu
d8f45b645c
cmd: increase max miner fee multiplier
2021-04-08 05:04:48 +08:00
yyforyongyu
82401ff1ba
cmd: prettify loop quote in/out responses
2021-03-08 20:08:49 +08:00
Oliver Gugger
fcdd5fe9f8
cmd/loop: add initiator to swap requests
2020-11-09 12:57:33 +01:00
carla
ed95c16ae4
loop: add set params command
2020-09-30 12:46:37 +02:00
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.
2020-09-30 12:46:36 +02:00
Oliver Gugger
8ecd9673f2
cmd/loop: add macaroon params to CLI
2020-09-11 12:25:35 +02:00
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.
2020-09-03 14:20:18 +02:00
Oliver Gugger
39d1121c4b
cmd/loop: add TLS params to CLI
2020-09-03 14:19:55 +02:00
carla
d54d7055fa
loop: add swap suggestions command
2020-09-03 10:36:45 +02:00
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.
2020-09-02 11:59:57 +02:00
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.
2020-07-30 09:15:42 +02:00
Joost Jager
8d1ec50fa7
looprpc: split quote message
2020-07-14 19:26:30 +02:00
Oliver Gugger
3a38f8faa4
cmd/loopd: add tlsCertPath and macaroonPath flags
2020-05-28 12:34:41 +02:00
Andras Banki-Horvath
5215222ced
cmd: print both htlc addresses when monitoring a loop-in
2020-05-05 15:49:06 +02:00
Oliver Gugger
3b630667a5
cmd/loop: improve displayed limits
2020-04-21 15:53:18 +02:00
Alex Bosworth
933f1b81d1
cmd/loop: bump rate maximum
...
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
2020-03-13 14:03:20 -07:00
Oliver Gugger
acdd2a22b2
cmd/loop: warn user if fee estimation fails
2020-03-06 10:13:17 +01:00
Oliver Gugger
2dc7d465fa
mod+cli: default to hex encoding for byte slices
2020-01-31 13:57:29 +01:00
Oliver Gugger
26c0c17dbd
loopd+cli: set max gRPC message receive size
2020-01-31 13:57:26 +01:00
Oliver Gugger
d446d68eeb
cmd/loop: add listswaps and swapinfo commands
2020-01-31 13:57:25 +01:00
Oliver Gugger
fa62caa891
cmd/loop: add command to list tokens
2019-12-06 09:23:52 +01:00
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.
2019-11-21 18:47:01 +01:00
Oliver Gugger
69f2af9fdc
loop+cmd: extract types into swap module
2019-10-09 16:14:06 +02:00
Oliver Gugger
36838cf7f4
multi: fix most obvious linter errors
2019-10-09 14:35:41 +02:00
Oliver Gugger
c00f831675
cmd/loop: handle external loop in flag
2019-09-23 10:30:01 +02:00
Joost Jager
6aa9071c4d
looprpc+loop: report swap cost over rpc
2019-05-20 13:57:20 +02:00
Alex Bosworth
cdd5a7eea0
cmd/loop: reduce off-chain payment max-fee
2019-04-18 15:29:39 -07:00
Joost Jager
f7676c3489
loop: show correct swap type
2019-04-02 10:54:12 +02:00
Joost Jager
3e960b8b54
multi: loop in swap
2019-03-28 11:56:49 +01:00
Francisco Calderón
c9e482e58f
Change loopd global option parameter to rpcserver
2019-03-22 14:53:37 -03:00
Olaoluwa Osuntokun
f089ff3484
cmd/loop: use loop.Version() for loop cli version
2019-03-20 17:16:38 -07:00
Olaoluwa Osuntokun
48d34ed398
cmd/loop: add command for quote
2019-03-15 16:27:44 -07:00
Joost Jager
e70fc169f3
loop: configurable loopd address
2019-03-07 11:48:55 +01:00
Olaoluwa Osuntokun
94f347e673
multi: finalize rename from uncharge to loop out
2019-03-06 20:34:04 -08:00
Olaoluwa Osuntokun
925b52e01f
multi: rename swapcli to loop, swapd to loopd
2019-03-06 15:57:43 -08:00