2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-16 00:12:52 +00:00
Commit Graph

1192 Commits

Author SHA1 Message Date
Andras Banki-Horvath
32d55dc814
loopout: do not report prepays and fix plugin type if acquire fails 2022-02-18 08:42:42 +01:00
Yong
f650071bca
Merge pull request #461 from yyforyongyu/add-server-state
swapserverrpc: update server swap state
2022-02-14 20:31:06 +08:00
yyforyongyu
dfbd01988e
swapserverrpc: update server swap state 2022-02-14 20:27:21 +08:00
András Bánki-Horváth
bf67b14595
Merge pull request #439 from bhandras/ignore_cheap_paths
loopout: using server recommended routing plugins + low/high router
2022-02-14 11:17:26 +01:00
Andras Banki-Horvath
312819c8c6
docs: update release notes 2022-02-14 10:14:48 +01:00
Andras Banki-Horvath
01bf94ad11
tests: add unit tests for the low/high routing plugin 2022-02-14 10:14:47 +01:00
Andras Banki-Horvath
ffd52aba2f
loopout: add low/high routing plugin 2022-02-14 10:14:47 +01:00
Andras Banki-Horvath
1d1354d2cb
config: make total payment timeout and retries configurable 2022-02-14 10:14:47 +01:00
Andras Banki-Horvath
1943edfd78
loopout: use optional routing plugin for the main swap invoice 2022-02-14 10:14:46 +01:00
Andras Banki-Horvath
04ebc8d568
routing: add routing plugin inteface and skeleton 2022-02-14 10:14:46 +01:00
Andras Banki-Horvath
0f002733f6
loop: extend server protocol for routing plugin recommendations
This commits extends the server protocol with routing plugin
recommendations and routing result reporting.
2022-02-14 10:14:42 +01:00
Alex Bosworth
7e8e5a2f67
Merge pull request #458 from lightninglabs/update-to-v0.17.0
version: bump version to v0.17.0-beta
2022-02-07 08:44:25 -08:00
Alex Bosworth
74c9f1073e
version: bump version to v0.17.0-beta 2022-02-07 08:17:53 -08:00
András Bánki-Horváth
c92eeab01e
Merge pull request #455 from bhandras/lnd-selecthophints-integration
loopin: integrate LND's recently exposed `SelectHopHints` in favor of the reimplemention
2022-02-03 20:20:05 +01:00
Andras Banki-Horvath
3237a2cf81
docs: update release notes 2022-02-01 15:09:55 +01:00
Andras Banki-Horvath
31f7b5947a
utils: use SelectHopHints from LND 2022-02-01 15:09:55 +01:00
Andras Banki-Horvath
db2fba6f0d
mod: bump LND 2022-02-01 15:09:51 +01:00
Marnix
490a544702
Update LICENSE
Update LICENSE to 2022
2022-01-30 12:07:04 +00:00
Carla Kirk-Cohen
44e734c575
Merge pull request #453 from ellemouton/macaroonService
multi: use lndclient MacaroonService
2022-01-25 09:48:01 +02:00
Elle Mouton
2d7745ecf4 loopd/daemon: rename createDefaultMacaroonFile
Rename createDefaultMacaroonFile to withMacaroonService since this is
now a more appropriate name.
2022-01-17 16:13:19 +02:00
Elle Mouton
ad7cdc8ed2 multi: use lndclient MacaroonService
Since the code for creating and using a macaroon service is the same for
multiple projects (pool, loop, litd etc), the code has been unified in
lndclient. So this commit removes the macaroon service code and instead
uses the lndclient code.
2022-01-17 16:13:19 +02:00
Alex Bosworth
0d1cb3e5d6
Merge pull request #452 from suhailsaqan/patch-1
Fixed a typo in autoloop.md
2022-01-06 15:48:08 -08:00
Suhail Saqan
91673ab24b
Fixed a typo in autoloop.md 2022-01-06 15:30:59 -08:00
András Bánki-Horváth
5f0c118088
Merge pull request #450 from bhandras/daemon-stop-fix 2021-12-22 11:33:35 +01:00
Andras Banki-Horvath
c8a650842e
docs: update release notes 2021-12-22 10:33:43 +01:00
Andras Banki-Horvath
b3d8f5f096
loopd: close dbs when the daemon stops 2021-12-22 10:32:11 +01:00
Carla Kirk-Cohen
fa749d4f0c
Merge pull request #448 from carlaKC/rpc-makeserver
swapserverrpc: remove unnecessary vars in proto dockerfile
2021-12-20 13:42:24 +02:00
Harsha Goli
be6eae3bda
Merge pull request #419 from carlaKC/autoloop-4-loopin
liquidity: add loopin to autoloop
2021-12-15 15:34:48 -05:00
carla
8d0e9a2671
swapserverrpc: remove unnecessary vars in proto dockerfile 2021-12-15 09:17:24 +02:00
carla
23897a9a89
multi: update release notes and docs to make note of loop in 2021-12-15 09:11:49 +02:00
carla
2542038243
loop: allow setting swap type for individual rules 2021-12-15 09:11:49 +02:00
carla
5e24beb5a7
loop: add htlc conf target to set params 2021-12-15 09:11:48 +02:00
carla
16799838f7
multi: surface loop in parameters on rpc 2021-12-15 09:11:46 +02:00
carla
4689040333
multi: surface suggested loop in swap on rpc 2021-12-15 09:10:28 +02:00
carla
66d16f52a7
liquidity/test: add autoloop in tests 2021-12-15 09:01:23 +02:00
carla
5280721636
multi: add ability to autoloop in 2021-12-15 09:01:22 +02:00
carla
f6c3d77c51
liquidity/test: use mock for server restrictions
This change makes the test easier to change when we add loop in
restrictions as well.
2021-12-15 09:01:21 +02:00
carla
5e47a0c6e9
multi: add loop in swap builder implementation 2021-12-15 09:01:20 +02:00
Alex Bosworth
b09969e167
Merge pull request #447 from lightninglabs/bump-to-v0.16.0-beta
version: bump version to v0.16.0-beta
2021-12-14 09:28:23 -08:00
Alex Bosworth
0911db6418
version: bump version to v0.16.0-beta 2021-12-14 09:14:30 -08:00
Carla Kirk-Cohen
c523789f21
Merge pull request #446 from carlaKC/alias-imports
multi: always alias swapserverrpc import for use as a package
2021-12-14 11:57:32 +02:00
carla
213f5c7c8b
loopd: alias server rpc import with looprpc
Packages importing loopd can't import 2x looprpc packages (in the
form of swapserverrpc and looprpc). To get around this, we alias
each import with a different name, updating the server in this
commit.
2021-12-14 11:35:30 +02:00
carla
996b5e43ab
loopd: alias client rpc import with clientrpc
Packages importing loopd can't import 2x looprpc packages (in the
form of swapserverrpc and looprpc). To get around this, we alias
each import with a different name, starting with the client in this
commit.
2021-12-13 15:28:38 +02:00
carla
3b911cfd4f
loop: alias import for swapserverrpc in swap server client 2021-12-13 15:27:05 +02:00
carla
167cef4f6b
loopdb: alias swapserverrpc with looprpc
Packages importing loop can't import this package without aliasing
the import.
2021-12-13 15:23:36 +02:00
Carla Kirk-Cohen
85dc0b26be
Merge pull request #445 from carlaKC/module-swapserverrpc
swapserverrpc: add module for server protos
2021-12-13 14:03:42 +02:00
carla
a9e774898f
swapserverrpc: make swapserverrpc its own module
To make it possible to replace the swapserverrpc module in the server,
we declare it as its own submodule. This allows the server to make
changes to its local protos (and replace loop's copy with the local
version), to use changes that are not yet merged to the client repo.
2021-12-13 13:59:16 +02:00
carla
dad103530f
multi: move server proto files to their own directory
Protobuf does not allow naming conflicts for files within the same
process, because all proto messages register themselves in a global
registry.

This is problematic because the server's itests import the client's
looprpc package to make rpc queries to the loopd client, thus importing
duplicate common.proto and server.proto from the client's looprc package
(since they're both in there as well).

This change moves the server's proto files into their own directory so
that they are not imported when we want to use the client's files. We
cannot change the package name for the server, because that would be
a breaking change (the package name is included in URIS). Fortunately,
we have the go_package option which allows us to place generated files
in a different location.
2021-12-13 13:56:40 +02:00
Carla Kirk-Cohen
f01f440715
Merge pull request #444 from carlaKC/loopin-removeshadowedvar
multi: remove shadowed label variable in loopin swaps
2021-12-13 08:37:07 +02:00
carla
26886731d4
multi: remove shadowed label variable in loopin swaps
We already have a Label field in the embedded SwapContract
field for loop in swaps. This commit removes an erroneously
added Label field in LoopInContract which may be a cause of
ambiguity when referencing this field.
2021-12-09 13:40:34 +02:00