Commit graph

17724 commits

Author SHA1 Message Date
Keagan McClelland
a085b59814
lnd: implement new Quiesce RPC with link operation stub 2024-11-26 13:51:57 -07:00
Keagan McClelland
99f5ca4018
lnrpc add new RPC 'Quiesce' to protobuf definitions 2024-11-26 13:51:57 -07:00
Keagan McClelland
7a5b55a473
lnwire: signal that we support quiescence 2024-11-26 13:51:56 -07:00
Keagan McClelland
6d30ab6c4f
htlcswitch: drop connection if link updates after stfu 2024-11-26 13:51:56 -07:00
Keagan McClelland
44c87ef1d7
htlcswitch: bounce packets when quiescent 2024-11-26 13:51:56 -07:00
Keagan McClelland
c9debea408
lnwire: add IsChannelUpdate function to distinguish channel updates 2024-11-26 13:51:56 -07:00
Keagan McClelland
2ece1fdc54
htlcswitch: implement stfu response
htlcswitch: use quiescer SendOwedStfu method in link stfu implementation
2024-11-26 13:51:56 -07:00
Keagan McClelland
f5b7866287
htlcswitch: define state machine for quiescence
htlcswitch: add sendOwedStfu method to quiescer
2024-11-26 13:51:46 -07:00
Elle
fbeab726e1
Merge pull request #8390 from carlaKC/7883-experimental-endorsement
Add Experimental Endorsement Signalling
2024-11-26 09:43:22 +02:00
Oliver Gugger
66940024ac
Merge pull request #9290 from w3irdrobot/broadcast-misspelling
docs: fix broadcast misspelling
2024-11-25 12:25:51 +01:00
Oliver Gugger
7e8dc2d389
Merge pull request #9301 from chuangjinglu/master
multi: fix some function names in interface comment
2024-11-25 11:59:01 +01:00
chuangjinglu
bcfd8d5b47 multi: fix some function names in interface comment
Signed-off-by: chuangjinglu <chuangjinglu@outlook.com>
2024-11-25 10:49:00 +08:00
w3irdrobot
d3bff47167
docs: fix broadcast misspelling 2024-11-22 16:20:02 -05:00
Carla Kirk-Cohen
a8c159b1c7
docs: add experimental endorsement 2024-11-22 09:31:47 -05:00
Carla Kirk-Cohen
7a876e8898
itest: add coverage for experimental endorsement 2024-11-22 09:31:46 -05:00
Carla Kirk-Cohen
f02bb58486
multi: add experimental endorsement feature bit and disable option 2024-11-22 09:16:58 -05:00
Carla Kirk-Cohen
4bb5b0c27c
lnrpc: set a zero value endorsement signal on sender outgoing htlc
Before we have sufficient signaling in the network to relay this
signal, set a zero value experimental endorsement value on the sender's
outgoing htlc. Once the network is relaying this signal and a flag day
has been set, we'll be able to set a non-zero value here.
2024-11-22 09:16:57 -05:00
Carla Kirk-Cohen
774bfa740a
htlcswitch: relay experimental endorsement signal with update_add_htlc 2024-11-22 09:16:56 -05:00
Oliver Gugger
94f7ed46de
Merge pull request #8998 from Abdulkbk/trx-pagination
pagination: add pagination to wallet transactions
2024-11-22 09:30:11 +01:00
Oliver Gugger
38ec1a1c64
Merge pull request #8805 from breez/jssdwt-insert-edge-when-not-found
localchans: recreate missing edge if not found
2024-11-22 08:42:51 +01:00
Abdullahi Yunus
1c6790bd9b add release note 2024-11-22 08:23:58 +01:00
Abdullahi Yunus
6ee8d2c9b9 lnwallettest: test for tranasctions pagination
In this commit, we test for different values of index_offset and
max_transactions settings when getting transactions to make sure
the right number of transactions are returned along with the right
first and last indices.
2024-11-22 08:23:58 +01:00
Abdullahi Yunus
762d01536b multi: return txns first and last indices
In this commit we introduce first and last indices for the
tranasctions returned which can be used to seek for further
transactions in a pagination style.

Signed-off-by: Abdullahi Yunus <abdoollahikbk@gmail.com>
2024-11-22 08:22:55 +01:00
Abdullahi Yunus
cd1df4ac34 multi: modify listtxn definition
This commit modifies listtransactiondetails method definition to
take in additional params: index_offset and maxTxn
2024-11-22 08:21:27 +01:00
Oliver Gugger
41c2521e8a
Merge pull request #9291 from yyforyongyu/fix-log-unit
lnwallet: log the amounts in the same unit
2024-11-21 14:46:46 +01:00
yyforyongyu
b243394049
lnwallet: log the amounts in the same unit 2024-11-21 20:42:47 +08:00
Jesse de Wit
266531271b
localchans: do error if an edge policy is missing 2024-11-21 10:57:54 +01:00
Oliver Gugger
9fc6c998ba
Merge pull request #9292 from yyforyongyu/fix-graphbuiler-shutdown
lnd: stop `graphBuilder` during shutdown
2024-11-21 10:33:52 +01:00
Oliver Gugger
8b99d71f93
Merge pull request #9284 from ProofOfKeags/update/fn2
fn: update go.mod to v2
2024-11-21 09:53:05 +01:00
yyforyongyu
57084804d4
lnd: stop graphBuilder during shutdown 2024-11-21 15:37:49 +08:00
Keagan McClelland
a3e87cfebd
fn: update fn/go.mod to v2 2024-11-20 10:28:55 -07:00
Abdullahi Yunus
037db4278a lnrpc: modify gettransaction parameters
This commit adds index_offset and max_transactions to the list
of parameters passed during gettransactions call. index_offset
specify transactions to skip and max_transactions the total
transactions returned
2024-11-20 18:02:00 +01:00
Oliver Gugger
a4195fa2ce
Merge pull request #9288 from lightningnetwork/channel-acceptor-commitment-type
[custom channels]: add taproot overlay channel type to channel acceptor
2024-11-20 15:29:30 +01:00
Oliver Gugger
4b563e6f49
Merge pull request #9253 from ziggie1984/fix-chanArb-deadlock
fix chanArb deadlock
2024-11-20 10:41:03 +01:00
Oliver Gugger
1c3caf47bb
docs: add release notes 2024-11-20 10:37:55 +01:00
Oliver Gugger
c809340095
chanacceptor: add custom channel commitment type 2024-11-20 10:37:55 +01:00
ziggie
879041b75e
docs: add release notes 2024-11-20 09:19:09 +01:00
ziggie
ed6a246439
rpcserver: add robustness check 2024-11-20 09:18:25 +01:00
ziggie
5486f32444
multi: introduce an option for resolutions
We don't always need the resolutions in the local force close
summary so we make it an option.
2024-11-20 09:18:24 +01:00
Oliver Gugger
a10195042e
Merge pull request #9283 from guggero/fix-release-notes
docs: fix release notes
2024-11-19 21:20:43 +01:00
Oliver Gugger
ea72db711c
docs: fix release notes 2024-11-19 21:09:15 +01:00
Olaoluwa Osuntokun
ab3b3c848c
Merge pull request #9258 from yyforyongyu/fix-notification
chainntnfs: fix missing notifications
2024-11-19 10:43:25 -08:00
Olaoluwa Osuntokun
c3fac0eb92
Merge pull request #8337 from lightningnetwork/protofsm
[1/4] - protofsm: add new package for driving generic protocol FSMs
2024-11-19 10:41:49 -08:00
Oliver Gugger
e1df8e9161
Merge pull request #9281 from ziggie1984/export-towerclientdb-version
wtdb: export versions of wtclient.db
2024-11-19 17:53:14 +01:00
Oliver Gugger
9519a23a97
Merge pull request #9278 from starius/debuglevel-show-no-checks
config: fix "lnd --debuglevel show" command
2024-11-19 17:53:00 +01:00
Boris Nagaev
64c660c19e
itest: test "lnd --debuglevel=show" command
Tests that "lnd --debuglevel=show" command works and prints the list of
supported subsystems.
2024-11-19 12:44:57 -03:00
Boris Nagaev
3360d285fb
config: improve error message
Previously, the error message had one missing space:
"... either --bitcoin.mainnet, or bitcoin.testnet,bitcoin.simnet, ..."

I added a space after "bitcoin.testnet,".
2024-11-19 12:44:57 -03:00
Boris Nagaev
1bc25c1136
config: fix "lnd --debuglevel show" command
Previously, "lnd --debuglevel show" complained that bitcoin backend is not
configured:

$ lnd --debuglevel show
failed to load config: ValidateConfig: either --bitcoin.mainnet, or ...

To make it working, the user had to specify --bitcoin.mainnet and configure one
of the backends, e.g. "--bitcoin.node neutrino".

With this fix, the command works without any additional flags.
2024-11-19 12:44:55 -03:00
ziggie
aaa0abc8a9
wtdb: export versions of wtclient.db
We now make it possible to get the current db version of the
wtclient.db. Moreover we can now fetch the latest available
migration version for the client db. This allows us to compare
whether the client.db has all the expected migrations applied.
2024-11-19 16:42:52 +01:00
Oliver Gugger
411ad1d9cd
Merge pull request #9271 from morehouse/simplify_fuzz_wtwire
wtwire: simply fuzz targets
2024-11-19 12:57:34 +01:00