Commit Graph

223 Commits (v0.28.1-beta)

Author SHA1 Message Date
sputn1ck 1f211e5647
swapclientserver: add listinstantouts 3 months ago
sputn1ck 6a62be0d09
instantout: add addr to send funds to 3 months ago
Slyghtning 5214da8822
loopd: cleanup db utils func 3 months ago
Slyghtning 755d5dc68e
loopd: new loopin state for incorrect amount sweeps 4 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
4 months ago
Andras Banki-Horvath 12f7956fd8
build: bump lnd dependency to v0.17.4-beta 4 months ago
sputn1ck b3fe9a9c61
loopd: add instantout quote 4 months ago
sputn1ck 7cafbe957d
loopd: add instantout handling 4 months ago
George Tsagkarelis 0914074b10
loop: integrate sweepbatcher to loopout flow 4 months ago
George Tsagkarelis 56784ab921
sweepbatcher: add sweep batch 4 months ago
George Tsagkarelis b43fa11cc1
utils: add htlc & swap related helpers 4 months ago
George Tsagkarelis a9be69b281
multi: use isExternalAddr flag 4 months ago
sputn1ck f00329d7c7
loopd: hide reservation manager behind flag. 5 months ago
sputn1ck 49c40d9173
loopd: add reservation handling 5 months ago
sputn1ck a38e817b49
swapserver: add listswaps filtering 5 months ago
Slyghtning 0bd4b7cf89
loopdb: state insufficient confirmed funds 6 months ago
Slyghtning 378d817f20
cmd: abandon api support 6 months ago
Slyghtning 5e91c446b8
loopd: abandon loop-ins 6 months ago
Slyghtning 427251d176
loopd: fix error checks and format 7 months ago
Slyghtning 79063d788a
db: refactor db opening 8 months ago
Oliver Gugger 08026dab93
multi: update linter, fix issues 8 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.
9 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.
10 months ago
Slyghtning 20316042d9
trivial: clean up typos and comments 10 months ago
sputn1ck be9ca71bf2
loopd: convert unix millisecond timestamps to seconds 10 months ago
George Tsagkarelis 921f4d06e7
multi: integrate initiator string to various calls 10 months ago
Konstantin Nick 8986763470
Merge pull request #614 from gcaracuel/tlsvalidity_flag
Allow loopd autogenerated TLS cert validity override with a new flag
10 months ago
Guillermo Caracuel 7b31f1f64d
Update loopd/config.go
Co-authored-by: George Tsagkarelis <34623190+GeorgeTsagk@users.noreply.github.com>
10 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>
10 months ago
Slyghtning ca933f843c
loopd: xpub support for loop out 10 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.
12 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.
12 months ago
sputn1ck a2abcd07d8
loopd: Run migration if boltdb exists 12 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.
12 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.
1 year ago
Slyghtning 043f780198 loopd: adding getInfo rpc call 1 year 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.
1 year 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
Andras Banki-Horvath a7451622e5
mod: bump LND and lndclient to include musig2 1.0rc2 changes
This commit bumps LND and lndclient to make it possible to upgrade
taproot HTLC construction with a MuSig2 version. This is required to
support both old (MuSig2 0.4) and new (MuSig2 1.0) clients.
1 year ago
George Tsagkarelis fa0393b331
multi: add OutAddr parameter for autoloop loop out 1 year ago
Andras Banki-Horvath 049b17ff96
misc: refactor loop tests to use require where possible 2 years ago
Andras Banki-Horvath bdb4b773ed
swap: refactor htlc construction to allow passing of internal keys
This commit is a refactor of how we construct htlcs to make it possible
to pass in internal keys for the sender and receiver when creating P2TR
htlcs. Furthermore the commit also cleans up constructors to not pass in
script versions and output types to make the code more readable.
2 years ago
Andras Banki-Horvath 105d3d1ab4
loopd: bump minimum lnd version to v0.15.4 2 years ago
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.
2 years ago