ffranr
9345eb247d
chainntnfs: export NotifierOptions and internal field for interface use
...
Export NotifierOptions and its internal field to enable external
satisfaction of the protofsm.DaemonAdapters interface.
2025-07-04 09:03:41 +02:00
Oliver Gugger
8a185a12d1
server: fix rebase issue
2025-07-03 17:54:17 +02:00
Oliver Gugger
1cd42b62bd
Merge branch '0-19-2-branch-rc1-10012' into 0-19-2-branch-rc1
2025-07-03 16:18:04 +02:00
ziggie
be7c2b0cc7
docs: add release-notes
2025-07-03 16:18:04 +02:00
ziggie
db7e9e1c53
brontide: remove async goroutine to process gossip process result
...
We cannot rely on a response currently so we avoid spawning
goroutines. This is just a temporary fix to avoid the goroutine
leak.
2025-07-03 16:18:04 +02:00
ziggie
a68dec8c19
discovery: add comments
2025-07-03 16:18:03 +02:00
Oliver Gugger
99ef37f450
Merge branch '0-19-2-branch-rc1-9980' into 0-19-2-branch-rc1
2025-07-02 16:52:06 +02:00
George Tsagkarelis
2460bd17ac
docs: add release note
2025-07-02 16:52:06 +02:00
George Tsagkarelis
128b23e813
htlcswitch+routing: PaymentBandwidth accepts channel peer pubkey argument
2025-07-02 16:52:06 +02:00
George Tsagkarelis
ab036990b5
routing+htlcswitch: ProduceHtlcExtraData uses first hop pub key
2025-07-02 16:52:05 +02:00
Oliver Gugger
c91753eda1
Merge branch '0-19-2-branch-rc1-10016' into 0-19-2-branch-rc1
2025-07-01 20:11:05 +02:00
Elle Mouton
6bbc438077
server: make use of structured logging for peer connections
2025-07-01 20:09:43 +02:00
Elle Mouton
f6c41565d1
accessman: fix structured logging formatting
2025-07-01 20:09:07 +02:00
Oliver Gugger
5398229079
Merge branch '0-19-2-branch-rc1-10004' into 0-19-2-branch-rc1
2025-07-01 20:08:26 +02:00
Elle Mouton
2a578737f6
server: ensure newer node announcement timestamp
...
On startup, we currently blindly overwrite our node announcement info
for our source node. This includes overwriting the existing LastUpdate
timestamp. This can cause an issue with our new SQL backends in the case
that the new timestamp is not greater than the previously written
timestamp. So here, we first fetch the source node and make sure to use
a timestamp that is greater than the previosly set one.
2025-07-01 20:08:15 +02:00
Elle Mouton
9b877b94c3
multi: use the "errors" package everywhere
...
Replace all usages of the "github.com/go-errors/errors" and
"github.com/pkg/errors" packages with the standard lib's "errors"
package. This ensures that error wrapping and `errors.Is` checks will
work as expected.
2025-07-01 20:08:12 +02:00
Oliver Gugger
72d4ae0faa
Merge branch '0-19-2-branch-rc1-10009' into 0-19-2-branch-rc1
2025-07-01 08:46:29 +02:00
Elle Mouton
4efcb075de
discovery: fix log line panic
...
If a method returns an error, we should assume all other parameters to
be nil unless the documentation explicitly says otherwise. So here, we
fix a log line where a dereference is made to an object that will be nil
due to an error being returned.
2025-07-01 08:46:28 +02:00
Oliver Gugger
d90781e36a
Merge branch '0-19-2-branch-rc1-9996' into 0-19-2-branch-rc1
2025-06-27 12:32:33 +02:00
Calvin Zachman
a3e36133af
docs: update release notes
2025-06-27 12:32:33 +02:00
Calvin Zachman
09bcce5ba5
chainreg: use new lseed service
...
This points lnd at the new deployment of the lseed
service used to provide candidate peers during initial
network bootstrap.
2025-06-27 12:32:32 +02:00
Oliver Gugger
bc982499bd
Merge branch '0-19-2-branch-rc1-9978' into 0-19-2-branch-rc1
2025-06-26 08:49:21 +02:00
ziggie
d7b79eff38
lnd: improve code comment
2025-06-26 08:49:10 +02:00
ziggie
78313e3436
lnd: rename removePeer to removePeerUnsafe
...
rename `removePeer` to highlight that the mutex has to be acquired
before calling it.
2025-06-26 08:49:10 +02:00
ziggie
a656f2c8a6
docs: add release-notes
2025-06-26 08:49:08 +02:00
ziggie
67e7e29413
multi: fix deadlock in p2p race condition
...
In case we cannot guarantee that the peers has started up
completely we launch the disconnect method asynchronously.
2025-06-26 08:48:39 +02:00
Oliver Gugger
ddbd2e0c34
Merge branch '0-19-2-branch-rc1-9989' into 0-19-2-branch-rc1
2025-06-25 14:57:30 +02:00
Slyghtning
45b26cf2d4
docs: update release notes
2025-06-25 14:57:18 +02:00
Slyghtning
2937837fc0
chainfee: method to round up the fee for a given transaction weight
2025-06-25 14:56:47 +02:00
Oliver Gugger
911fbae52f
Merge branch '0-19-2-branch-rc1-9991' into 0-19-2-branch-rc1
2025-06-25 14:52:07 +02:00
ziggie
3565df870b
routerrpc: rename var and add more comments
2025-06-25 14:52:06 +02:00
ziggie
4f72354385
routerrpc: add log line for probing the invoice request
2025-06-25 14:52:06 +02:00
Oliver Gugger
4afa5e44b3
Merge branch '0-19-2-branch-rc1-9973' into 0-19-2-branch-rc1
2025-06-24 18:24:22 +02:00
ZZiigguurraatt
397984a9f2
sqldb: clarify native sql options
2025-06-24 18:24:21 +02:00
Olaoluwa Osuntokun
b48e2763a7
docs/release-notes: update release notes w/ all contributors and notes
2025-06-23 16:20:57 -07:00
Olaoluwa Osuntokun
a50a52865e
Merge branch '0-19-2-branch-rc1-9945' into 0-19-2-branch-rc1
2025-06-23 16:20:27 -07:00
ziggie
970f789e85
docs: add release-notes
2025-06-23 16:20:27 -07:00
ziggie
988e78177a
multi: Add decayedlog db migration code
...
This commit adds the migration code for the decayedlog db which
is optional and will default to true.
2025-06-23 16:20:27 -07:00
ziggie
684da273b0
channeldb: update optional migration code for multiple versions
2025-06-23 16:20:27 -07:00
ziggie
ef5ae79623
channeldb: add migration34
...
Migration34 garbage collects the decayed log database. This commit
only adds the migration code and does not use it.
2025-06-23 16:20:27 -07:00
Olaoluwa Osuntokun
bcd854cbf9
Merge branch '0-19-2-branch-rc1-9880' into 0-19-2-branch-rc1
2025-06-20 15:51:11 -07:00
yyforyongyu
f7af9701cc
config: update docs for num-restricted-slots
2025-06-20 15:50:45 -07:00
yyforyongyu
da13c7ab66
lnd: remove peer from peerChanInfo
when necessary
...
We now remove the peer from `peerChanInfo` if this peer doesn't have
channels with us. Also patched a unit test for `removePeerAccess`.
2025-06-20 15:50:45 -07:00
yyforyongyu
ceeb123925
channeldb+lnd: rename peerCounts
to peerChanInfo
for clarity
2025-06-20 15:50:45 -07:00
yyforyongyu
a8d1985fd6
funding+lnd: make sure accessman
won't interrupt funding flow
...
If there's an error occured when updating the peer's status after the
channel status is changed, we now make sure we log the error instead of
letting it interrupt the channel open/close flow.
2025-06-20 15:50:45 -07:00
yyforyongyu
107b74d81d
accessman+lnd: rename checkIncomingConnBanScore
for clarity
2025-06-20 15:50:45 -07:00
yyforyongyu
c23c90ee9b
docs: add release notes for improved accessman
2025-06-20 15:50:44 -07:00
yyforyongyu
c4116e1438
itest+lntest: add more itest for accessman
2025-06-20 15:50:25 -07:00
yyforyongyu
0b0513d88c
accessman: make sure to decrement PendingOpenCount
2025-06-20 15:50:25 -07:00
yyforyongyu
d9e3412ed5
accessman: skip incrementing num of slots for existing peer
...
When a peer is already existing, we should skip incrementing the
`numRestricted` count.
Also patched unit test for method `addPeerAccess`.
2025-06-20 15:50:25 -07:00