Alex Bosworth
4dff259727
version: bump version to v0.28.9-beta
2024-10-30 10:54:40 -07:00
Konstantin Nick
a54405428a
Merge pull request #841 from sputn1ck/better_ntfn_stream_l402
...
Notifications: Improve L402 handling
2024-10-30 17:26:07 +01:00
sputn1ck
7ca5dc81bc
cmd: add fetchl402 cli command
...
This commit adds a new command to the loop cli tool that fetches the
a l402 token from the swap server.
2024-10-30 17:18:35 +01:00
sputn1ck
830220af66
looprpc: add FetchL402 rpc
...
This commit adds the FetchL402 rpc to the client proto, which will allow
users to force fetching an L402 without doing a loop out or in.
2024-10-30 17:18:34 +01:00
sputn1ck
e9f1a1aef3
ntfn: use l402 store for tokens
...
This commit changes the way we fetch the l402 tokens for the
notification stream. Instead of fetching them from the server and
paying an invoice, we now look into our local store for the token.
This means that a loop client will not autofetch a token.
2024-10-30 17:12:28 +01:00
András Bánki-Horváth
15ee9789d9
Merge pull request #840 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.1.14
...
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14
2024-10-24 15:50:10 +02:00
Konstantin Nick
78fafbaeb4
Merge pull request #839 from sputn1ck/fsm_ctx
...
FSM: add ctx to SendEvent and Actions
2024-10-22 16:49:45 +02:00
sputn1ck
f2fb722901
reservation: add initchan
...
This fixes a flake in the unit tests
2024-10-22 11:46:31 +02:00
sputn1ck
246becb10a
instantout: update package to use new fsm context
...
This commit updates the instantout package to use the new fsm context
instead of the old fsm context. This is only a first step in the process
of migrating the instantout package to the new fsm context. The next
step should be to remove the stored context in the instantout manager.
2024-10-22 11:46:31 +02:00
sputn1ck
44306275f7
reservation: update package to use new fsm context
...
This commit updates the reservation package to use the new fsm context
instead of the old fsm context. This is only a first step in the process
of migrating the reservation package to the new fsm context. The next
step should be to remove the stored context in the reservation manager.
2024-10-22 11:46:30 +02:00
dependabot[bot]
ac4752f722
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.12...v1.1.14 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 07:25:23 +00:00
Oliver Gugger
1e8ae31ddc
Merge pull request #828 from lightninglabs/update-to-lnd-18-4
...
multi: bump lnd compile time dependency to v0.18.4-beta
2024-10-22 09:24:06 +02:00
Oliver Gugger
93525d3edf
multi: bump lnd compile time dependency to v0.18.4-beta
2024-10-22 09:12:31 +02:00
sputn1ck
7b00baeac6
fsm: add ctx to SendEvent and Actions
2024-10-21 21:17:56 +02:00
András Bánki-Horváth
b1719de5b9
Merge pull request #836 from lightninglabs/alexbosworth-patch-7
...
version: bump version to v0.28.8-beta
2024-10-21 15:23:19 +02:00
Slyghtning
32ab2626af
Merge pull request #837 from hieblmi/fsm-notif-context
...
fsm: add event context to notification struct
2024-10-16 20:53:13 +02:00
Slyghtning
93413ffbbb
fsm: add event context to notification struct
2024-10-16 20:39:11 +02:00
Alex Bosworth
465a6bf3ce
version: bump version to v0.28.8-beta
...
version: bump version to v0.28.8-beta
2024-10-16 06:46:41 -07:00
Konstantin Nick
0ab40fe5d0
Merge pull request #834 from sputn1ck/fix_select
...
reservations: check if channel is closing
2024-10-16 10:46:27 +02:00
sputn1ck
d6c7237b77
reservations: check if channel is closing
...
This commit adds a check to the runtime loop
of the reservation manager to check if the
channel is closing before trying to read
from it.
2024-10-15 20:26:05 +02:00
Boris Nagaev
2c32575c75
Merge pull request #833 from starius/sweepbatcher-feerate-grows
...
sweepbatcher: make sure feerate does not decrease
2024-10-15 12:43:56 -03:00
Boris Nagaev
864d7f24cd
sweepbatcher: make sure feerate does not decrease
...
Previous behaviour was to overwrite batch's feerate with minFeeRate of
its primary sweep, which could be lower that previus batch's feerate or
lower that feerate of some other sweep.
Instead, batch's feerate only grows and never declines and is at least as high
as the highest feerate of its sweeps.
Added a test to verify this.
2024-10-15 11:28:40 -03:00
Slyghtning
f0a25f9429
Merge pull request #832 from hieblmi/log-loop-validation
...
loopout: trace logs for hasBandwidth mpp check
2024-10-15 11:19:38 +02:00
Slyghtning
caa8cc850d
loopout: trace logs for hasBandwidth mpp check
2024-10-15 10:08:31 +02:00
Konstantin Nick
8bc6b61de1
Merge pull request #826 from sputn1ck/generalized_notif_stream
...
Generalized notif stream
2024-10-08 15:15:43 +02:00
sputn1ck
7409ae73c6
loopd: add notification manager
...
This commit adds the notification manager to the
loopd daemon.
2024-10-08 14:58:41 +02:00
sputn1ck
5df53cd81a
notifications: add notification manager
...
This commit adds a generic notification manager
that can be used to subscribe to different types
of notifications.
2024-10-08 14:58:41 +02:00
sputn1ck
6408ec8e7e
reservation: remove notifications from reservation
...
This commit removes the notification stream from
the reservation manager and replaces it with a
subscriber interface.
2024-10-08 14:58:37 +02:00
András Bánki-Horváth
61c0b45897
Merge pull request #829 from bhandras/cost-migration-rpc-batchsize
...
loopd: allow setting RPC batch size when running cost migration
2024-10-08 14:55:31 +02:00
Konstantin Nick
5be132290a
Merge pull request #830 from sputn1ck/rpc_ntfn_stream
...
swapserverrpc: refactor reservation notifications
2024-10-07 12:04:50 +02:00
sputn1ck
cc1d942c7a
swapserverrpc: refactor reservation notifications
...
This commit refactors the proto definitions of the
reservation notifications to use a more generic
mechanism that can be used for other types of
notifications as well.
2024-10-07 11:57:31 +02:00
Boris Nagaev
96d321ece7
Merge pull request #825 from starius/swapserverrpc-looprpc
...
multi: do not rename swapserverrpc to looprpc
2024-09-25 12:42:10 -03:00
Boris Nagaev
af81f3b2bf
swapserverrpc: sync with server types
2024-09-22 13:31:03 -03:00
Andras Banki-Horvath
0e2a36004a
loopd: allow setting RPC batch size when running cost migration
...
Previously we defaulted to fetching 1000 payments at a time when running
the cost migration however due to slowness on LND side this may prevent
the migration from completing due to RPC timeout kicking in. This commit
adds a new config value to give more control to the user by setting the
batch size as needed.
2024-09-20 10:13:48 +02:00
Boris Nagaev
8447f58ff9
multi: do not rename swapserverrpc to looprpc
...
Many imports renamed it, but it was not needed.
2024-09-10 09:54:17 -03:00
András Bánki-Horváth
6db2a39331
Merge pull request #816 from lightninglabs/dependabot/go_modules/github.com/jackc/pgx/v5-5.5.4
...
build(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4
2024-09-03 18:20:56 +02:00
András Bánki-Horváth
35d27fa0e2
Merge pull request #821 from bhandras/support-incomplete-mocks
2024-09-02 19:25:55 +02:00
Andras Banki-Horvath
a55c461a8f
test: support incomplete mocks
...
Updating the mocks to be complete implementation of the underlying
interfaces is not always possible due to cross dependency issues.
This commit embeds the interfaces into the mocks so we can at least
always compile them.
2024-09-02 18:49:22 +02:00
dependabot[bot]
d160112610
build(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.6.0
...
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx ) from 5.3.1 to 5.6.0.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.6.0 )
---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
dependency-type: indirect
...
The commit was updated by Boris to bump the version to 5.6.0.
2024-09-02 12:30:57 -03:00
Slyghtning
64b0e24419
Merge pull request #818 from hieblmi/in-batch-logging
...
sweepbatcher: log confirmed batch tx id
2024-09-02 16:00:53 +02:00
Slyghtning
3ee3963030
sweepbatcher: log confirmed batch tx id
2024-09-02 15:42:51 +02:00
András Bánki-Horváth
634fbbcba2
Merge pull request #819 from bhandras/store-mock-mx
...
loopdb: properly lock store mock for concurrent access
2024-09-02 14:23:41 +02:00
Andras Banki-Horvath
bd5418337c
loopdb: properly lock store mock for concurrent access
2024-09-02 13:35:38 +02:00
Boris Nagaev
8978afede9
Merge pull request #817 from starius/fix-typo
...
sweepbatcher: fix typo in log message
2024-09-01 22:07:26 -03:00
Boris Nagaev
dba3d15b02
sweepbatcher: fix typo in log message
2024-09-01 13:00:36 -03:00
Boris Nagaev
9751780fae
Merge pull request #815 from starius/publish-errors-handler
...
sweepbatcher: add option WithPublishErrorHandler
2024-08-28 13:12:38 -03:00
Boris Nagaev
7c93dff830
sweepbatcher: add option WithPublishErrorHandler
...
WithPublishErrorHandler sets the callback used to handle publish errors.
It can be used to filter out noisy messages.
2024-08-27 19:26:29 -03:00
Boris Nagaev
6b852c1c0b
go.mod: update btcwallet
...
Update it to the version having symbol chain.ErrInsufficientFee.
2024-08-27 19:26:29 -03:00
Boris Nagaev
54bf02294e
go.mod: update lnd to v0.18.3-beta.rc1
...
This is needed to update btcwallet dependency.
2024-08-27 19:26:29 -03:00
Boris Nagaev
898efbf2ae
sweepbatcher: fix godoc
2024-08-27 10:57:41 -03:00