2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-13 13:10:30 +00:00
Commit Graph

1106 Commits

Author SHA1 Message Date
sputn1ck
0826b748f5
loopdb: add sqlite store implementation 2023-06-20 18:59:23 +02:00
sputn1ck
f8c65bbc4c
loopdb: create base sqlite store 2023-06-20 17:31:40 +02:00
sputn1ck
206e463db7
loopdb: generate sqlc files 2023-06-20 17:31:40 +02:00
sputn1ck
85a757f635
loopdb: implement sqlite queries 2023-06-20 17:31:40 +02:00
sputn1ck
3c58e98a0f
loopdb: add loopdb sqlite migrations 2023-06-20 17:31:39 +02:00
sputn1ck
5c07c20d16
tools: add sqlc generation tools 2023-06-20 14:19:31 +02:00
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.
2023-06-20 14:06:05 +02:00
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.
2023-06-19 12:28:32 +02:00
George Tsagkarelis
319a519309
Merge pull request #591 from GeorgeTsagk/autoloop-easy-tag
Autoloop easy tag
2023-06-05 17:49:51 +03:00
George Tsagkarelis
5e2cb14ff1
Merge pull request #594 from GeorgeTsagk/autoloop-in-flake-fix
Autoloop-in flake fix
2023-06-02 17:16:37 +03:00
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.
2023-06-02 14:08:10 +03:00
George Tsagkarelis
1f72dcc095
liquidity: use easy autoloop labels 2023-06-02 14:00:58 +03:00
George Tsagkarelis
5cdf31bfc8
labels: add easy autoloop labels 2023-06-02 14:00:58 +03:00
George Tsagkarelis
f4419aa424
Merge pull request #590 from GeorgeTsagk/autoloop-bool-fix
liquidity: get autoloop flag directly from params
2023-06-01 12:57:59 +03:00
George Tsagkarelis
12ce45a3ec
Merge pull request #593 from bhandras/autoloop-doc-correction 2023-05-30 11:57:25 +03:00
Andras Banki-Horvath
3be484488d
docs: correct autobudgetrefreshperiod example 2023-05-30 09:50:33 +02:00
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.
2023-05-29 13:24:16 +03:00
Alex Bosworth
52a08eb1f4
Merge pull request #589 from lightninglabs/update-to-v0.24.1-beta
version: bump version to v0.24.1-beta
2023-05-26 06:54:07 -07:00
Alex Bosworth
507364d09b
version: bump version to v0.24.1-beta 2023-05-26 06:28:45 -07:00
András Bánki-Horváth
1eb52a05e4
Merge pull request #588 from hieblmi/getinfo-rest-docs
looprpc: add rest entries for getinfo rpc
2023-05-26 10:49:25 +02:00
Slyghtning
d84af7065c looprpc: add rest entries for getinfo rpc 2023-05-26 10:07:48 +02:00
Alex Bosworth
62eced626a
Merge pull request #587 from lightninglabs/update-to-v0.24.0-beta
version: bump version to v0.24.0-beta
2023-05-24 12:48:28 -07:00
Alex Bosworth
3cf9d616d6
version: bump version to v0.24.0-beta 2023-05-24 11:47:15 -07:00
András Bánki-Horváth
037966b3ca
Merge pull request #586 from hieblmi/getinfo-rpc
`getInfo` rpc for `loopd`
2023-05-24 18:06:00 +02:00
Slyghtning
84bf30301f loop: client calls getInfo rpc 2023-05-24 17:50:26 +02:00
Slyghtning
043f780198 loopd: adding getInfo rpc call 2023-05-24 17:50:24 +02:00
Slyghtning
7f6f265db3 looprpc: request and response params for new getInfo rpc 2023-05-24 17:32:23 +02:00
George Tsagkarelis
cb8975d605
Merge pull request #567 from GeorgeTsagk/autoloop-rework
Autoloop rework -- easy autoloop
2023-05-22 16:00:54 +03:00
George Tsagkarelis
5edc39dff3
loop: update docs and release notes 2023-05-22 15:48:48 +03:00
George Tsagkarelis
9a9766775a
liquidity: add easy autoloop test 2023-05-22 15:48:38 +03:00
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.
2023-05-22 15:48:38 +03:00
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.
2023-05-22 15:48:37 +03:00
George Tsagkarelis
0a19485409
Merge pull request #581 from GeorgeTsagk/fee-percentage-miner
liquidity: differentiate autoloop expected vs max miner fees
2023-05-19 15:47:48 +03:00
George Tsagkarelis
36f014ac0a
liquidity: fix tests to reflect new miner fee scaling 2023-05-12 14:21:39 +03:00
George Tsagkarelis
102d3cdd1a
liquidity: differentiate autoloop expected vs max miner fees 2023-05-12 14:21:39 +03:00
George Tsagkarelis
6a4aa8c102
Merge pull request #577 from sputn1ck/keyfamily_actual_value
swap: decide on actual keyfamily value
2023-04-26 20:00:47 +03:00
sputn1ck
5454442771
swap: decide on actual keyfamily value
This commit decides on the actual key family value.
2023-04-26 17:55:44 +02:00
Alex Bosworth
28421affb8
Merge pull request #576 from lightninglabs/update-to-v0.23.0-beta
version: bump version to v0.23.0-beta
2023-04-25 08:58:34 -07:00
Alex Bosworth
e8c2563082
version: bump version to v0.23.0-beta 2023-04-25 08:41:13 -07:00
George Tsagkarelis
f2d798c3b4
Merge pull request #574 from sputn1ck/musig2_default
protocol: set musig2 to be the stable version
2023-04-25 18:36:48 +03:00
sputn1ck
960a78be3d
protocol: set musig2 to be the stable version
This commit changes the stable protocol version to be the Musig2 protocol.
The experimental version is set to the stable version
in order for the flag to still work if a user has it set.
2023-04-25 17:26:01 +02:00
András Bánki-Horváth
39bb43c4e3
Merge pull request #568 from GeorgeTsagk/fee-percentage-fix
liquidity: exclude prepay from total swap fees
2023-04-25 14:43:10 +02:00
Alex Bosworth
3f316c9f01
Merge pull request #572 from lightninglabs/update-to-v0.22.1-beta
version: bump version to v0.22.1-beta
2023-04-24 13:06:56 -07:00
Alex Bosworth
2dea808cca
version: bump version to v0.22.1-beta 2023-04-24 12:38:01 -07:00
András Bánki-Horváth
21c85bcfee
Merge pull request #571 from bhandras/unrecorded-proto-version-fixup
loop: correct htlc script version for very old swaps
2023-04-20 14:09:43 +02:00
Andras Banki-Horvath
a8dd2dca07
loop: correct htlc script version for very old swaps 2023-04-20 08:12:09 +02:00
András Bánki-Horváth
843fe82d23
Merge pull request #570 from bhandras/bump-docker-golang
build: bump golang version in the main Dockerfile
2023-04-13 14:11:27 +02:00
Andras Banki-Horvath
6827f766c9
build: bump golang version in the main Dockerfile 2023-04-13 14:10:28 +02:00
George Tsagkarelis
bf4f72fd8d
liquidity: exclude prepay from total swap fees 2023-04-12 19:02:13 +03:00
András Bánki-Horváth
257b5f212d
Merge pull request #563 from guggero/remove-swapserverrpc-replace
Remove swapserverrpc replace
2023-03-29 20:46:41 +02:00