Commit Graph

586 Commits (v0.10.0-beta)
 

Author SHA1 Message Date
Alex Bosworth 24523b569f
Merge pull request #302 from alexbosworth/v0.10.0-beta
version: bump to 0.10.0-beta
4 years ago
Oliver Gugger 649976fa48
Merge pull request #304 from guggero/user-agent-string
Send user agent string with each swap
4 years ago
Oliver Gugger 45ee44d8eb
release_notes: mention user agent string 4 years ago
Oliver Gugger 61b2387be7
looprpc+swap_client: add user agent string to swaps 4 years ago
Oliver Gugger f36b105135
version: add user agent string 4 years ago
Carla Kirk-Cohen 15a400b411
Merge pull request #303 from carlaKC/gosum-clean
go.sum: run go mod tidy to cleanup old dependencies
4 years ago
carla b1a4313fbb
go.sum: run go mod tidy to cleanup old dependencies 4 years ago
Alex Bosworth d72b8edef6
version: bump to 0.10.0-beta 4 years ago
Carla Kirk-Cohen a6956a4e06
Merge pull request #289 from carlaKC/205-restrictsuggestions
suggestions: add fee and ongoing swap restrictions
4 years ago
carla 14ccdc9b61
release_notes: add swap suggestions updates to release notes 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
carla f23a527927
looprpc: add fee and backoff parameters to rpc 4 years ago
carla 0212a41ed0
liquidity: make swap suggestions fee-aware 4 years ago
carla 1d8609bae3
liquidity: add sweep fee limit and confirmations to suggestions
To decide whether we event want to attempt a swap, we add a fee limit
that we check against our estimate for the current number of
confirmations we want our sweep to confirm in. If fees are higher than
this limit, we do not suggest swaps.
4 years ago
carla 64422ce26a
liquidity: exclude recently failed swaps from suggestions 4 years ago
carla 7740231bac
liquidity: make swap suggestions aware of ongoing swaps 4 years ago
carla 559abd1eea
liquidity: add default parameters struct 4 years ago
carla ad8b5d0552
liquidity: add clock for mocking time in tests 4 years ago
carla 7e9034b2ff
liquidity: return OutRequest from swap suggestions and set fees
This commit updates swap suggestions to return loop out requests with
sufficient fields populated so that a loop out can directly be
dispatched from a suggestion. This requires setting of fees an min
sweep conf targets (our htlc conf target and addresss will be set by
the daemon's client rpc server if we do not provide them). We also do
some test refactoring so that we can more easily test the suggest swaps
endpoint.
4 years ago
Oliver Gugger 48744e8a2f
Merge pull request #301 from carlaKC/macaroons-suggestionendpoint
loopd: add suggestions endpoints to macaroon permissions
4 years ago
carla ad2b37e709
loopd: add suggestions endpoints to macaroons 4 years ago
Olaoluwa Osuntokun 04af7f8bfc
Merge pull request #210 from joostjager/mpp-probe
loopin: mpp pre-swap probe
4 years ago
Oliver Gugger 4bb59f87bf
Merge pull request #298 from guggero/lnd-11.1
mod+loopd: bump to lnd v0.11.1-beta.rc3
4 years ago
Oliver Gugger 688659421b
mod+loopd: bump to lnd v0.11.1-beta.rc3
To make sure we can use the latest version of loop in LiT, we need to
make sure loop compiles against the actual v0.11.1 branch of lnd. There
were some conflicting changes to the macaroon service that didn't make
it to the branch that we need to roll back. Those changes don't affect
loop at all as we were always using the default root key ID anyway.
4 years ago
Joost Jager c8666caf20
loopin: mpp pre-swap probe 4 years ago
Oliver Gugger 4e1eaa365a
Merge pull request #297 from guggero/expand-macaroonpath
config: expand macaroonpath flag
4 years ago
Oliver Gugger 8c5bcf7c50
config: expand macaroonpath flag 4 years ago
Oliver Gugger 456a29c523
Merge pull request #294 from guggero/macaroons-rn
release_notes: add macaroons
4 years ago
Oliver Gugger b93b800986
release_notes: add macaroons 4 years ago
Oliver Gugger d638d07fe3
Merge pull request #281 from guggero/macaroons
[2/3] loopd: add macaroon authentication to the loop RPC server
4 years ago
Oliver Gugger 9adbd59a34
README: mention macaroons 4 years ago
Oliver Gugger 617964e25f
loopd: allow loopd to be used as external subserver
When loopd runs in the same process as lnd (in LiT), it hooks itself
into lnd's RPC server as an external subserver. But because the user
should still be able to use the default loop macaroon, the loop daemon
must be able to validate its own macaroons as lnd's macaroon service
doesn't know the root key for it.
4 years ago
Oliver Gugger 8ecd9673f2
cmd/loop: add macaroon params to CLI 4 years ago
Oliver Gugger 751c70e6c7
loopd: add macaroon authentication to the daemon's server connection
To secure access to loop's RPC server, we add a macaroon authentication
service and its gRPC interceptors to the daemon's server connection.
4 years ago
Oliver Gugger ff17553f3b
mod+loopd: update to lnd 0.11.1
We update to the newest version of lnd so we can use the updated
macaroon service.
NOTE: This is a compile time dependency update only, no RPC level update
is required.
4 years ago
Carla Kirk-Cohen ccb9e077d7
Merge pull request #293 from carlaKC/inrepo-releasenotes
mutli: add release notes file to track in-repo
4 years ago
carla a9f8682689
github: add pull request reminder to update release notes 4 years ago
carla da6bcce297
mutli: add release notes file to track in-repo 4 years ago
Alex Bosworth 845f72c32f
Merge pull request #292 from lightninglabs/v0.9.0-beta
version: bump to 0.9.0-beta
4 years ago
Andras Banki-Horvath 98bdbcddfb tests: extend tests to also test resuming with HTLC v2 4 years ago
Andras Banki-Horvath 133f3cac5f multi: integrate the new htlc v2 scripts to loop in/out
This commit bumps the current protocol version and integrates htlc v2
with loop in/out for new swaps, while keeping htlc v1 for any pending
swaps with previous protocol versions.
4 years ago
Andras Banki-Horvath 86db43a2cb loopdb: store protocol version alongside with swaps
This commit adds the protocol version to each stored swap. This will be
used to ensure that when swaps are resumed after a restart, they're
correctly handled given any breaking protocol changes.
4 years ago
Alex Bosworth 3f198746ad
version: bump to 0.9.0-beta
Increment version for new features
4 years ago
Carla Kirk-Cohen a41b7c8ddd
Merge pull request #287 from tdickman/docker-go-1-13
Upgrade docker image to golang 1.13
4 years ago
Tom Dickman 2f6973296c
Upgrade docker image to golang 1.13
Building the docker image currently fails due to a module that requires
a minimum golang version of 1.13.
4 years ago
Oliver Gugger fb5d374a1d
Merge pull request #286 from guggero/add-tls
[1/3] loopd: add TLS
4 years ago
Oliver Gugger 458ba7dc9e
README: mention TLS 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