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

1492 Commits

Author SHA1 Message Date
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
Oliver Gugger
dbfd32e349
mod: remove local replace for swapserverrpc 2023-03-29 20:01:47 +02:00
Oliver Gugger
6a3f731dc8
mod: bump swapserverrpc to latest tag 2023-03-29 20:01:29 +02:00
Alex Bosworth
d44fbcd575
Merge pull request #562 from lightninglabs/update-to-v0.22.0
version: bump version to v0.22.0-beta
2023-03-29 09:08:44 -07:00
Konstantin Nick
2955f92291
Merge pull request #558 from sputn1ck/fix_macaroon_aperture 2023-03-29 17:48:47 +03:00
Alex Bosworth
3ddb28d5c4
version: bump version to v0.22.0-beta 2023-03-29 07:45:56 -07:00
sputn1ck
ec2ed79f48
loopd: fix macaroons typo
This commit fixes a typo which leads to a broken macaroon store.
2023-03-29 16:19:08 +02:00
András Bánki-Horváth
2bf9b424ae
Merge pull request #561 from bhandras/lnd-v0.16.0-beta
build: bump lnd dep to v0.16.0-beta
2023-03-29 16:17:14 +02:00
Andras Banki-Horvath
4d34eb97ce
build: fixup new linter issues 2023-03-29 15:56:40 +02:00
Andras Banki-Horvath
451311d582
build: bump lnd dep to v0.16.0-beta 2023-03-29 15:39:14 +02:00
András Bánki-Horváth
7f19c43047
Merge pull request #547 from bhandras/musig-keyreveal
loop: Loop In MuSig2 support
2023-03-23 15:23:42 +01:00
Andras Banki-Horvath
cd91f90ed2
loop: use MuSig2 1.0 scheme for the new MuSig2 swaps 2023-03-20 20:08:43 +01:00
Andras Banki-Horvath
b47f67a6de
loopin: push the htlc internal key if the invoice is swept
This commit adds key reveal to MuSig2 loopin swaps' success path. In
this case the client reveals their internal HTLC key to the server when
the swap invoice is settled. With this key the server can sweep the swap
HTLC without any more interaction from the client. We'll do this every
block (after the invoice has been settled).
2023-03-20 20:08:43 +01:00
Andras Banki-Horvath
90ae922adf
loopin: generate and send internal key for MuSig2 swaps
This commit changes how we create loopin swaps if the client activates
the experimental MuSig2 features. When creating a new loopin swap the
client will create (and store) a new key that will be used as the
sender's internal key when constructing the HTLC. The client will send
the public part to the server and will also receive (and store) the
server's (receiver) internal public key.
2023-03-20 20:08:43 +01:00
Andras Banki-Horvath
da4bcbea10
loopdb: refactor the SwapContract to hold all HTLC keys
This commit adds a new struct to hold all HTLC keys and refactors the
SwapContract which is used by both loopin and loopout swaps to use this
new struct. The newly added internal keys will for now hold the script
keys to keep everything equivalent but are already stored and read back
if the protocol version is set to MuSig2.
2023-03-20 20:08:43 +01:00