Commit Graph

1506 Commits

Author SHA1 Message Date
Elle Mouton
ece157b40b graph/db: implement ForEachNodeChannel
Which lets us then run `TestIncompleteChannelPolicies` and
`BenchmarkForEachChannel` against our SQL backends.
2025-06-18 16:55:00 +02:00
Oliver Gugger
31c74f20fa Merge pull request #9962 from yyforyongyu/fix-panic
chainio: use package logger instead of instance logger
2025-06-18 15:09:07 +02:00
yyforyongyu
b0aa4ae2de chainio: use package logger instead of instance logger
There's no guarantee that the `b.beat` is initialized when the
dispatcher shuts down, especially with the case in the remote signer
where no chainbackend is created.
2025-06-18 19:43:27 +08:00
Elle Mouton
f89e3ceced graph/db+sqldb: implement ForEachSourceNodeChannel
In this commit, the ForEachSourceNodeChannel implementation of the
SQLStore is added. Since this is the first method of the SQLStore that
fetches channel and policy info, it also adds all the helpers that are
required to do so. These will be re-used in upcoming commits as more
"For"-type methods are added.

With this implementation, we convert the `TestForEachSourceNodeChannel`
such that it is run against SQL backends.
2025-06-18 08:43:56 +02:00
Oliver Gugger
c1740c14ba Merge pull request #9887 from ellemouton/graphSQL9-chan-policies-schema
graph/db+sqldb: channel policy SQL schemas, queries and upsert CRUD
2025-06-17 16:30:23 +02:00
yyforyongyu
2defb116cc docs: update release notes 2025-06-17 21:44:15 +08:00
Yong
a5c4a7c547 Merge pull request #9921 from yyforyongyu/fix-notification
Use spent height as the rescan start height in `RegisterSpendNtfn`
2025-06-16 20:50:53 +08:00
Mohamed Awnallah
e7d30e0790 docs: update release notes 2025-06-14 14:31:57 +00:00
Yong
fe405426ca Merge pull request #9356 from funyug/add-filters-fwdhistory
lnrpc: add incoming/outgoing channel ids filter to forwarding history request
2025-06-14 08:36:51 +08:00
Elle Mouton
4e2750e179 sqldb: channel policy tables
Define the SQL tables for representing channel policies. Namely:

- channel_policies
- channel_policy_extra_types
2025-06-12 07:16:18 +02:00
yyforyongyu
adf27196d2 docs: update release notes 2025-06-12 08:30:55 +08:00
Shivam Chawla
bfe1edf4ec lnrpc: add filters to forwardhistoryrequest
This commit adds incoming and outgoing channel ids filter to forwarding history request to filter events received/forwarded from/to a particular channel
2025-06-11 09:10:13 +05:30
Elle Mouton
6fb90c88ca docs: update release notes 2025-06-10 20:10:36 +02:00
Elle Mouton
6141bcd851 docs: update release notes 2025-06-09 08:44:50 +02:00
Oliver Gugger
a0f658b44d Merge pull request #9889 from yyforyongyu/fix-htlcindex
Use `BigSizeT` for `HtlcIndex` in retribution log
2025-06-06 15:50:50 +02:00
yyforyongyu
2cd97fcd6d docs: add release note entry 2025-06-06 19:55:59 +08:00
Abdullahi Yunus
ccf3a282d0 docs: add release note 2025-06-06 12:21:46 +01:00
Oliver Gugger
fc906f2a65 Merge pull request #9127 from MPins/issue-8993
Add the option on path creator to specify the incoming channel on blinded path
2025-06-05 08:47:05 +02:00
Oliver Gugger
aec16eee97 Merge pull request #9876 from yyforyongyu/fix-accessman
accessman: remove restrictions on protected/temporary peers
2025-06-04 09:53:13 +02:00
ziggie
6f45735d55 docs: add release notes for 19.1 2025-06-03 21:18:19 +02:00
yyforyongyu
e0b6acb584 docs: update release notes 2025-06-03 22:43:34 +08:00
ziggie
a59666455b docs: update release-notes 2025-06-03 13:06:28 +02:00
ziggie
329c571d5a docs: add release notes 2025-05-29 10:19:28 +02:00
Oliver Gugger
8e96bd0308 Merge pull request #9866 from ellemouton/graphSQL7-nodes-tables
sqldb+graph/db: add node related tables and implement some node CRUD
2025-05-28 08:45:33 +02:00
Elle Mouton
efc04b9918 docs: update release notes 2025-05-27 18:37:00 +02:00
yyforyongyu
142e8dfe26 docs: add release notes 19.1 2025-05-26 21:02:05 +08:00
yyforyongyu
1a877463c7 docs: add release notes template 2025-05-26 19:41:25 +08:00
Oliver Gugger
b1b3c64410 Merge pull request #9721 from appilon/appilon/6601
feat(lncli): Add --route_hints flag to sendpayment and queryroutes
2025-05-26 09:13:01 +02:00
Alex Pilon
0437850089 docs: Update release notes for --route_hints flag 2025-05-24 20:01:48 -04:00
Elle Mouton
9d54dbcd64 docs: add release notes for 0.19.1 2025-05-24 14:10:35 +02:00
Elle Mouton
7cef62f999 docs: update release notes 2025-05-22 14:17:43 +02:00
Elle Mouton
1410a0949d lnwire: validate that gossip messages contain valid TLV
In this commit, we check that the extra bytes appended to gossip
messages contain valid TLV streams. We do this here for:
- channel_announcement
- channel_announcement_2
- channel_update
- channel_update_2
- node_announcement

This is in preparation for the SQL version of the graph store which will
normalise TLV streams at persistence time.
2025-05-22 14:14:41 +02:00
Elle Mouton
52018dbbec graph/db: introduce the V1Store interface
In this commit, we introduce the `V1Store` interface which the existing
`graphdb.KVStore` implements today. The idea is to eventually create a
SQL DB backed implementation of this interface.
2025-05-22 14:14:40 +02:00
⚡️2FakTor⚡️
2680715832 Update release-notes-0.19.0.md 2025-05-20 16:59:59 +02:00
ziggie
468c527556 docs: update release notes for 19.
The `lncli listchannels` command was changed and might cause breaking
changes for people relying on the `chan_id` return value in their
automation scripts.
2025-05-16 09:41:36 +02:00
Olaoluwa Osuntokun
e2c56af519 docs/release-notes: add release notes entry for pong default change 2025-05-15 16:36:38 +02:00
MPins
6fb2d47e84 doc: release-notes-0.20.0 2025-05-13 19:42:54 -03:00
Elle Mouton
0155d5d7b0 graph/db: handle topology updates in a single location
In this commit, we ensure that any topology update is forced to go via
the `handleTopologySubscriptions` handler so that client subscriptions
and updates are handled correctly and in the correct order.

This removes a bug that could result from a client missing a
notification about a channel being closed if the client is subscribed
and shortly after, `PruneGraph` is called which would notify all
subscribed clients and possibly do so before the client subscription has
actually been persisted.
2025-05-12 14:42:22 +02:00
Oliver Gugger
ee25c228e9 Merge pull request #8330 from bitromortac/2401-bimodal-improvements
bimodal pathfinding probability improvements
2025-05-08 21:35:49 +02:00
bitromortac
86249fbe6c docs: update release notes 2025-05-08 18:31:31 +02:00
bitromortac
306df7048f docs: update release notes 2025-05-06 11:16:36 +02:00
bitromortac
aaccc2bcaa docs: update release notes 2025-05-05 15:02:55 +02:00
Oliver Gugger
334a7d1123 Merge pull request #9770 from bitromortac/2504-mc-migration-fix
routing+migration: fix mission control migration with nil failure msg
2025-05-02 14:22:59 +02:00
bitromortac
5020e1f98b docs: update release notes 2025-05-02 08:43:04 +02:00
saubyk
52e1764e0a docs: update release notes with more detail on the RBF coop close section 2025-04-29 21:07:51 -07:00
yyforyongyu
b610678703 docs: update release notes 2025-04-29 14:15:36 +08:00
ZZiigguurraatt
cc3615c0a8 docs/release-notes: fix indentation in RBF close section 2025-04-25 15:06:57 -04:00
Boris Nagaev
dc2cad9b0f docs: update release-notes for 0.19.0 2025-04-23 11:53:30 -03:00
Oliver Gugger
a35ace7371 Merge pull request #9739 from ellemouton/rpcInterceptorMD
lnrpc+rpcperms: add ctx metadata pairs to RPCMiddlewareRequest
2025-04-23 11:21:32 +02:00
Elle Mouton
0417877038 docs: update release notes 2025-04-22 15:03:40 +02:00