Commit Graph

1124 Commits (ca032b1f1ddc592d4b6f095485223019c756feb2)
 

Author SHA1 Message Date
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
Konstantin Nick eaad220800
Merge pull request #599 from lightninglabs/dependabot/go_modules/github.com/docker/docker-20.10.24incompatible
build(deps): bump github.com/docker/docker from 20.10.13+incompatible to 20.10.24+incompatible
11 months ago
dependabot[bot] d722690266
build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.13+incompatible to 20.10.24+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v20.10.13...v20.10.24)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
Konstantin Nick 0781cafbfb
Merge pull request #585 from sputn1ck/sqlite
Migrate from boltdb to sql
11 months ago
sputn1ck b41752f110
build: add sqlite/postgres releasenotes 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 69b4df0d9b
loopdb: add migrator
This commit adds a migrator to the loopdb package that manages migrating
between 2 databases
11 months ago
sputn1ck 9d7f3bf2fa
build: add postgres unit tests to makefile and CI 11 months ago
sputn1ck 3ee5bb6365
loopdb: add postgres store
This commit adds a postgres store to the loopdb package.
Ths postgres migrator uses a replacer filesystem to replace the
sqlite types to postgres types in the migration.
11 months ago
sputn1ck ab8923fc38
loopdb: add sqlite test files 11 months ago
sputn1ck 9278c18768
loopdb: add nil check to boltdb liquidity test
This commit adds a nil check to the boltdb liquidity test. There was
a difference between the sqlite and boltdb implementation. This test
covers that.
11 months ago
sputn1ck 0826b748f5
loopdb: add sqlite store implementation 11 months ago
sputn1ck f8c65bbc4c
loopdb: create base sqlite store 11 months ago
sputn1ck 206e463db7
loopdb: generate sqlc files 11 months ago
sputn1ck 85a757f635
loopdb: implement sqlite queries 11 months ago
sputn1ck 3c58e98a0f
loopdb: add loopdb sqlite migrations 11 months ago
sputn1ck 5c07c20d16
tools: add sqlc generation tools 11 months ago
sputn1ck 5d9d7c5c6e
loopdb: add batch insert
This commit adds a batch insert to the interface. This greatly reduces
the time the migration will take. It is not implemented for the boltdb, as
we will not be supporting migrating to the boltdb.
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.
12 months ago
George Tsagkarelis 0be05a99cc
Merge pull request #596 from GeorgeTsagk/autoloop-false-positive-check
liquidity: add false-positive checks on autoloop tests
12 months ago
George Tsagkarelis afca558817
liquidity: add false-positive checks on autoloop tests 12 months ago
George Tsagkarelis 9847f3ab3b
Merge pull request #595 from GeorgeTsagk/easy-autoloop-feeppm-param
Easy autoloop feeppm parameter
12 months ago
George Tsagkarelis 13da22428c
docs: add easyautoloop comment for custom feeppm 12 months ago
George Tsagkarelis dbb49cfa05
liquidity: test low feeppm case for easyautoloop 12 months ago
George Tsagkarelis 64d2cbe5d6
liquidity: respect feeppm if set for easyautoloop 12 months ago
George Tsagkarelis 319a519309
Merge pull request #591 from GeorgeTsagk/autoloop-easy-tag
Autoloop easy tag
12 months ago
George Tsagkarelis 5e2cb14ff1
Merge pull request #594 from GeorgeTsagk/autoloop-in-flake-fix
Autoloop-in flake fix
1 year ago
George Tsagkarelis dcc28936ce
liquidity: bump miner multiplier in autoloop-in test
After the FeePPM miner fee fix there has probably been a race condition
in this test. The test would expect only one of the two quotes to work,
as one had a marginally high miner fee. After the FeePPM fix that miner
fee was considered valid and we dispatched two swaps instead of one,
with the test setup examining the first one that reached the go channel.
1 year ago
George Tsagkarelis 1f72dcc095
liquidity: use easy autoloop labels 1 year ago
George Tsagkarelis 5cdf31bfc8
labels: add easy autoloop labels 1 year ago
George Tsagkarelis f4419aa424
Merge pull request #590 from GeorgeTsagk/autoloop-bool-fix
liquidity: get autoloop flag directly from params
1 year ago
George Tsagkarelis 12ce45a3ec
Merge pull request #593 from bhandras/autoloop-doc-correction 1 year ago
Andras Banki-Horvath 3be484488d
docs: correct autobudgetrefreshperiod example 1 year 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
Alex Bosworth 52a08eb1f4
Merge pull request #589 from lightninglabs/update-to-v0.24.1-beta
version: bump version to v0.24.1-beta
1 year ago
Alex Bosworth 507364d09b
version: bump version to v0.24.1-beta 1 year ago
András Bánki-Horváth 1eb52a05e4
Merge pull request #588 from hieblmi/getinfo-rest-docs
looprpc: add rest entries for getinfo rpc
1 year ago
Slyghtning d84af7065c looprpc: add rest entries for getinfo rpc 1 year ago
Alex Bosworth 62eced626a
Merge pull request #587 from lightninglabs/update-to-v0.24.0-beta
version: bump version to v0.24.0-beta
1 year ago
Alex Bosworth 3cf9d616d6
version: bump version to v0.24.0-beta 1 year ago
András Bánki-Horváth 037966b3ca
Merge pull request #586 from hieblmi/getinfo-rpc
`getInfo` rpc for `loopd`
1 year ago
Slyghtning 84bf30301f loop: client calls getInfo rpc 1 year ago
Slyghtning 043f780198 loopd: adding getInfo rpc call 1 year ago
Slyghtning 7f6f265db3 looprpc: request and response params for new getInfo rpc 1 year ago
George Tsagkarelis cb8975d605
Merge pull request #567 from GeorgeTsagk/autoloop-rework
Autoloop rework -- easy autoloop
1 year ago
George Tsagkarelis 5edc39dff3
loop: update docs and release notes 1 year ago
George Tsagkarelis 9a9766775a
liquidity: add easy autoloop test 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
George Tsagkarelis cd9f6f142b
cmd+looprpc: add new parameters for easy autoloop
This commit introduces the new parameters to the protofiles and the
cmd interface. If easy autoloop is enabled we just ignore the rest of
the rules and use the defaults of easy autoloop.
1 year ago