Matt Morehouse
0f5ee7cc1e
htlcswitch: update fuzzPayload for route blinding
...
Route blinding added some new fields to hop.Payload and route.Hop, which
we need to copy over to the fuzzPayload tests.
2024-01-16 11:12:11 -06:00
Yong
1bc1295fc0
Merge pull request #8350 from ziggie1984/rename-bumpclosefee
...
Minor improvements in the lncli api regarding channel closures.
2024-01-17 00:41:29 +08:00
ziggie
2db5752f99
docs: add release-notes.
2024-01-16 14:10:22 +01:00
ziggie
4db5b2266f
lncli: remove default cltv delta for buildroute.
...
Now the default of the lnd backend is used instead of providing
the default value via the caller of the buildroute rpc cmd.
2024-01-16 14:10:22 +01:00
ziggie
79fb45074b
routerrpc: use cltv delta default for buildroute.
...
This commit uses the default timelock delta (cltv delta) when
no value is provided for the buildroute rpc cmd.
Moreover it enhances the docs.
2024-01-16 14:08:51 +01:00
Oliver Gugger
76ae3e457b
Merge pull request #8382 from ellemouton/bumpTlv
...
go.mod: update TLV package tag
2024-01-15 16:24:50 +01:00
Elle Mouton
9208083db3
go.mod: update TLV package tag
...
To v1.2.1
2024-01-15 14:29:57 +02:00
Yong
26c466aa80
Merge pull request #8372 from mohamedawnallah/deep-copy-transactions-GetBlock
...
routing: deep copy any transaction we obtain from `GetBlock` call.
2024-01-15 20:13:00 +08:00
Mohamed Awnallah
99908ed2dc
routing: deep copy any transaciton we obtain from GetBlock
call.
2024-01-15 11:35:55 +02:00
Oliver Gugger
a2986f96da
Merge pull request #8373 from hieblmi/fix-funding-logs
...
funding: fix funding flow log
2024-01-15 09:24:50 +01:00
Oliver Gugger
cc5fcb8135
Merge pull request #8375 from ProofOfKeags/chore/typo-fix
...
lnrpc: fix typo in rpc docs
2024-01-12 18:56:46 +01:00
Elle
2824fe27d1
Merge pull request #8233 from ellemouton/unackedUpdatesBug
...
wtclient: handle un-acked updates for exhausted sessions
2024-01-12 09:49:20 +02:00
Elle Mouton
b14b30ff52
docs: update release notes
2024-01-12 08:25:28 +02:00
Elle Mouton
1daec3e890
wtclient: use the new filter options to fix the demo'd bug
...
In this commit, we use the newly added session listing options to ensure
that we only see a session as exhausted if it does not have any un-acked
updates on disk. This fixes the bug previously demonstrated.
2024-01-12 08:25:28 +02:00
Elle Mouton
776f2a026c
wtdb: supply commited update count to PostEvaluateFilterFn
...
In this commit, we adjust the PostEvaluateFilterFn to also take in a
count representing the number of committed updates (ie, persisted
un-acked updates) that the session has. This will be made use of in an
upcoming commit.
2024-01-12 08:23:02 +02:00
Olaoluwa Osuntokun
ba1725f161
Merge pull request #8376 from ProofOfKeags/feature/unsafe-from-some
...
fn: add UnsafeFromSome to Option API
2024-01-11 17:22:33 -08:00
Keagan McClelland
2499813414
fn: add UnsafeFromSome to Option API
2024-01-11 16:40:48 -08:00
Keagan McClelland
ec854e4dae
lnrpc: fix typo in rpc docs
2024-01-11 14:08:31 -08:00
Keagan McClelland
721463c7c7
docs: update release notes
2024-01-11 13:58:01 -08:00
Keagan McClelland
109265c77a
multi: make static remote key compulsory
2024-01-11 13:58:01 -08:00
Keagan McClelland
d47338cd45
feature: fixup making data loss protection compulsory
2024-01-11 13:58:01 -08:00
Keagan McClelland
717facc202
feature: make gossip queries compulsory
2024-01-11 13:57:56 -08:00
Slyghtning
a6b4135781
funding: fix logs
2024-01-11 19:39:11 +01:00
Keagan McClelland
239103c2b3
multi: make tlv onion compulsory
2024-01-11 09:43:31 -08:00
Oliver Gugger
2ae6b586e3
Merge pull request #8361 from calvinrzachman/remote-signer-itest
...
lntest: standby test nodes in remote signing configuration
2024-01-11 16:57:08 +01:00
Elle Mouton
bdf9ec1423
wtclient: demonstrate "tower has un-acked updates" bug
...
This commit adds a test to demonstrate an edge case that can result in
the "tower has un-acked updates" error being thrown when a user is
attempting to remove a tower. This will be fixed in an upcoming commit.
2024-01-11 15:13:02 +02:00
Calvin Zachman
2209badfe8
lntest: standby test nodes in remote signing configuration
...
Add the ability to create a test harness with nodes in a
remote signing configuration.
2024-01-10 09:18:30 -06:00
Oliver Gugger
9afe1b72dc
Merge pull request #8188 from guggero/debug-rpcs
...
rpcserver+lncli: add ability to create encrypted debug information package
2024-01-09 16:28:03 +01:00
Oliver Gugger
ad34f80c85
docs: add release notes
2024-01-09 12:43:44 +01:00
Oliver Gugger
0da35edc48
cmd/lncli: add flags for more info to encryptdebugpackage
...
This commit adds three optional command line flags to the
encryptdebugpackage: --peers, --onchain and --channels.
Each of them adds the output of extra commands to the encrypted debug
package.
2024-01-09 12:43:42 +01:00
Oliver Gugger
d4f49cb04b
cmd/lncli: add {encrypt,decrypt}debugpackage commands
2024-01-09 12:40:39 +01:00
Oliver Gugger
b6abede4a3
lnencrypt: add ECDHEncryptor
...
With this commit we add a new way to encrypt and decrypt a sensitive
payload: By using Diffie-Hellman over a local and remote key to derive
at a shared secret key.
2024-01-09 12:32:38 +01:00
Oliver Gugger
375bc6950c
cmd/lncli: add new getdebuginfo command
2024-01-09 12:32:37 +01:00
Oliver Gugger
8a2c3a3d85
lnrpc+rpcserver: add new GetDebugInfo RPC method
2024-01-09 12:32:37 +01:00
Oliver Gugger
becbe7085d
config: create helper for dumping config
...
With this commit we add a new helper function that recursively turns the
runtime configuration into a flat key/value map that is human-readable,
using the dot notation for nested values that is also used in the config
file or command line flags.
2024-01-09 12:32:01 +01:00
Oliver Gugger
2b54774721
Merge pull request #8339 from mani2310/mani2310-Wrong-documentation-on-lncli
...
Wrong documentation on lncli
2024-01-09 08:29:06 +01:00
ziggie
90f5dc3efe
docs: update release-docs.
2024-01-09 01:23:58 +01:00
ziggie
1bdc7ce165
lncli: add max_fee_rate to closechannel cmd.
2024-01-09 01:19:10 +01:00
ziggie
7481ed0a43
walletrpc-lncli: add new bumpforceclosefee cmd.
...
Replace (hide) the old bumpclosefee cmd with the new
bumpforceclosefee cmd to avoid confusion which closing
transactions can be bumped.
2024-01-09 01:15:43 +01:00
ziggie
81dd631935
walletrpc: add status to BumpFeeResponse type.
...
BumpFee now returns a status signaling the success of the operation.
2024-01-09 01:15:42 +01:00
Yong
34af399a5b
Merge pull request #8096 from ziggie1984/fix-dip-below-reserve
...
lnwallet: Introduce a fee buffer.
2024-01-09 01:52:04 +08:00
Oliver Gugger
7cb53020ee
Merge pull request #8346 from yyforyongyu/remove-error-return
...
routing+routerrpc: remove redudant error check
2024-01-08 17:41:32 +01:00
ziggie
320108a424
docs: add release-notes.
2024-01-08 16:47:48 +01:00
ziggie
1aa1e18b9f
routing: add log message.
2024-01-08 16:47:48 +01:00
ziggie
a1678fa9b7
itest: multi part payments test fix.
...
Because we need to account for an addtional fee buffer we need to
increase channel capacities for the multi payment tests.
2024-01-08 16:47:47 +01:00
Oliver Gugger
8d0abc01c1
Merge pull request #8353 from mohamedawnallah/fix-typo-code-formatting-rules
...
docs: fix typo "paren" to "parenthesis" in `code_formatting_rules.md` [skip ci]
2024-01-08 15:51:32 +01:00
Mohamed Awnallah
39d9252c96
docs: fix typo "paren" to "parenthesis" [skip ci]
2024-01-07 14:49:26 +02:00
ziggie
51c56d2825
lnwallet: add underflow check when computing balance.
2024-01-06 20:52:46 +01:00
ziggie
0b63989f3a
lnwallet+htlcswitch: Introduce a fee buffer.
...
We take into account a fee buffer of twice the current fee rate
of the commitment transaction plus an additional htlc output
when we are the opener of the channel hence pay when publishing the
commitment transaction. This buffer is not consensus critical
because we only consider it when we are in control of adding a
new htlc to the state. The goal is to prevent situations
where we push our local balance below our channel reserve due to
parallel adding of htlcs to the state. Its not a panacea for these
situations but until we have __option_simplified_update__ deployed
widely on the network its a good precaution to protect against
fee spikes and parallel adding of htlcs to the update log.
Moreover the way the available balance for a channel changed.
We now need to account for a fee buffer when we are the channel
opener. Therefore all the tests had to be adopted.
2024-01-06 20:52:46 +01:00
Olaoluwa Osuntokun
2f04ce7c6e
Merge pull request #8334 from lightningnetwork/tlv-record-enchancements
...
tlv: various enhancements to the new RecordT type
2024-01-05 13:57:55 -08:00