Commit Graph

229 Commits (master)

Author SHA1 Message Date
Slyghtning 636f8b611b
daemon: fix wrapped errors and typos 3 days ago
Boris Nagaev 5a1f79557d
loopd: re-add GetLsatTokens method in gRPC
This is needed not to break existing client binaries, e.g. `loop listauth`,
Terminal Web, RTL.

The API should be removed in a couple of releases. For now, GetLsatTokens
just prints a warning message about the API being deprecated and that the
client binary should be updated, and calls GetL402Tokens API, as a wrapper.

Type LsatToken used by GetLsatTokens in the past was renamed to L402Token,
but this does not affect binary encoding, so type L402Token can be used
(as part of TokensResponse) without breaking backward compatibility.

Updated release_notes.md.

See https://github.com/lightninglabs/loop/pull/730#discussion_r1579251294
5 days ago
Boris Nagaev 7bb04ae6ac
loopd: recorgnize maxlsatcost and maxlsatfee flags
The flags were re-added in hidden mode so that users who specified them
could start the daemon after upgrading. If a flag is used, a deprecation
warning is printed.

Updated release_notes.md.
1 week ago
Boris Nagaev 0e7927ac96
multi: replace LSAT with L402
git mv ./cmd/loop/lsat.go ./cmd/loop/l402.go
sed 's@lsat@l402@g' -i `git grep -l lsat`
sed 's@Lsat@L402@g' -i `git grep -l Lsat`
sed 's@LSAT@L402@g' -i `git grep -l LSAT`
make rpc

Updated release_notes.md.
1 week ago
Boris Nagaev bfc3f44aa1
update aperture to include lsat to l402 renaming
Fix the build:
go mod tidy
sed 's@\<lsat\>@l402@g' -i `git grep -l -w aperture/lsat`
make rpc
1 week ago
Boris Nagaev e30cb5f2a8
multi: apply make fmt 2 weeks ago
sputn1ck 1f211e5647
swapclientserver: add listinstantouts 2 months ago
sputn1ck 6a62be0d09
instantout: add addr to send funds to 2 months ago
Slyghtning 5214da8822
loopd: cleanup db utils func 2 months ago
Slyghtning 755d5dc68e
loopd: new loopin state for incorrect amount sweeps 3 months ago
András Bánki-Horváth 8ca08455dd
Merge pull request #700 from bhandras/lnd-17-4
build: bump lnd dependency to v0.17.4-beta
3 months ago
Andras Banki-Horvath 12f7956fd8
build: bump lnd dependency to v0.17.4-beta 3 months ago
sputn1ck b3fe9a9c61
loopd: add instantout quote 3 months ago
sputn1ck 7cafbe957d
loopd: add instantout handling 3 months ago
George Tsagkarelis 0914074b10
loop: integrate sweepbatcher to loopout flow 3 months ago
George Tsagkarelis 56784ab921
sweepbatcher: add sweep batch 3 months ago
George Tsagkarelis b43fa11cc1
utils: add htlc & swap related helpers 3 months ago
George Tsagkarelis a9be69b281
multi: use isExternalAddr flag 3 months ago
sputn1ck f00329d7c7
loopd: hide reservation manager behind flag. 4 months ago
sputn1ck 49c40d9173
loopd: add reservation handling 4 months ago
sputn1ck a38e817b49
swapserver: add listswaps filtering 4 months ago
Slyghtning 0bd4b7cf89
loopdb: state insufficient confirmed funds 5 months ago
Slyghtning 378d817f20
cmd: abandon api support 5 months ago
Slyghtning 5e91c446b8
loopd: abandon loop-ins 5 months ago
Slyghtning 427251d176
loopd: fix error checks and format 6 months ago
Slyghtning 79063d788a
db: refactor db opening 7 months ago
Oliver Gugger 08026dab93
multi: update linter, fix issues 7 months ago
sputn1ck 20db07dccf
fsm: add fsm module
This commit adds a module for a finite state machine. The goal of the
module is to provide a simple, easy to use, and easy to understand
finite state machine. The module is designed to be used in future
loop subsystems. Additionally a state visualizer is provided to
help with understanding the state machine.
8 months ago
Andras Banki-Horvath cc24bebea8
loopd: always skip migration if loop_sqlite.db file already exists
This commit ensures that we don't even check for the existence of
the loop.db file if loop_sqlite.db already present. This is to ensure
that on systems that may by any trigger restore deleted files we don't
try to re-run migration which would otherwise make loopd unable to start
up properly.
9 months ago
Slyghtning 20316042d9
trivial: clean up typos and comments 9 months ago
sputn1ck be9ca71bf2
loopd: convert unix millisecond timestamps to seconds 9 months ago
George Tsagkarelis 921f4d06e7
multi: integrate initiator string to various calls 9 months ago
Konstantin Nick 8986763470
Merge pull request #614 from gcaracuel/tlsvalidity_flag
Allow loopd autogenerated TLS cert validity override with a new flag
9 months ago
Guillermo Caracuel 7b31f1f64d
Update loopd/config.go
Co-authored-by: George Tsagkarelis <34623190+GeorgeTsagk@users.noreply.github.com>
9 months ago
gcaracuel 123d531c8b
Allow loopd autogenerated TLS cert validity override with a new loopd flag
Co-authored-by: George Tsagkarelis <34623190+GeorgeTsagk@users.noreply.github.com>
9 months ago
Slyghtning ca933f843c
loopd: xpub support for loop out 9 months ago
sputn1ck ca032b1f1d
multi: expose l402 id in grpc interface
This commit adds an additional field to the tokens in order to fetch the
relevant l402 ids for the users tokens.
11 months ago
sputn1ck 270bc3104e
multi: add sql stores to loopd
This commit adds the ability to choose between different sql stores
for loopd. The default is sqlite, but it can be changed to postgres.
11 months ago
sputn1ck a2abcd07d8
loopd: Run migration if boltdb exists 11 months ago
sputn1ck becc8a38d8
multi: use context in loopdb call
This commit adds a context to our loopdb interface, which we should use
in the sqlite migration.
11 months ago
George Tsagkarelis a48924a664
liquidity: get autoloop flag directly from params
Previously we would exclusively pass the autoloop boolean to multiple
functions while they had directly access to the manager's parameters.
With this commit we remove this explicit flag from the various function
interfaces and retrieve the value directly from the parameters.
11 months ago
Slyghtning 043f780198 loopd: adding getInfo rpc call 12 months ago
George Tsagkarelis fad9f40ae3
liquidity+loopd: add easy autoloop
Adds the easy autoloop function which executes a budget update and the
best easy-autoloop swap. The easy-autoloop function re-uses functions
used in the normal autoloop that relate to on-going swaps and traffic
summary.
12 months ago
sputn1ck ec2ed79f48
loopd: fix macaroons typo
This commit fixes a typo which leads to a broken macaroon store.
1 year ago
Andras Banki-Horvath 451311d582
build: bump lnd dep to v0.16.0-beta 1 year ago
George Tsagkarelis aca6428b0e
liquidity+loopd: move last budget refresh to parameters 1 year ago
George Tsagkarelis af7a470aea
liquidity+loopd: add sticky loop out swap with amount backoff 1 year ago
George Tsagkarelis b025b9ae37
multi: add recurring autoloop budget 1 year ago
Andras Banki-Horvath 4ab6c65186
dep+build: bump LND dependency to include GenCertPair fix 1 year ago
Andras Banki-Horvath 476f47275b
loopd: set minimum LND version to 0.15.99-beta 1 year ago