Commit Graph
33 Commits
Author SHA1 Message Date
ziggie 160eab280a docs: add release-notes. 2023-08-15 11:23:13 +02:00
ziggie 87fc58ecfe multi: Add a channel.db migration.
The new migration removes the sweeper-last-tx top level bucket
from the channel.db database.
2023-08-15 10:00:30 +02:00
ziggie 07502a8fb0 sweep: Remove publishing last-tx logic.
We remove the publishing of the last published sweep tx during the
startup of the sweeper. This republishing can lead to situations
where funds of the default wallet might be locked for neutrino
backend clients.
Moreover all related tests are removed as well.
2023-08-15 10:00:29 +02:00
ziggie 87cfcea8a3 docs: add release-notes. 2023-08-08 09:32:39 +02:00
ziggie dd912911fa lnd: cancel rebroadcasting a tx.
When abandoning a channel we make sure we cancel the rebroadcasting
of the transaction.
2023-08-08 09:31:17 +02:00
ziggie 2708626d62 lnwallet: add CancelRebroadcast method.
Adding the ability to stop rebroadcasting a transaction. This is
useful when we want to abandon a channel and grantee that this
transaction will not confirm accidentally.
2023-08-08 09:31:16 +02:00
ziggie a9ad0e5208 docs: add release-notes for 0.17.0. 2023-07-26 00:18:08 +02:00
ziggie 521a67c795 lnd: define additional rebroadcaster function.
The MapCustomBroadcastError of the rebroadcaster is defined.
This let's us use the Rebroadcaster of the neutrino package (pushtx)
with other backends and guarantee a consistent behaviour. Prior
to this change the rebroadcaster would stop rebroadcasting
transactions because they did not meet the neutrino specific
broadcastErr type.
2023-07-26 00:18:08 +02:00
ziggie c88ff14477 contractcourt: add tests for mempool rejection.
Add a test where the channel arbitrator starts up correctly
when a prior unilateral close of a channel did not broadcast
for specific reasons.
Also add a test which ensures that when a crib output is
rejected by the bitcoin backend the startup works correctly
for specific errors.
2023-07-26 00:03:17 +02:00
ziggie 8314f0a879 contractcourt: handle mempool min fee error.
In case the mempool backend signals that our transaction does not
meet fee requirements when publishing it we will continue to
start up now. The transaction will be rebroadcasted in the
background and a specific log message will be printed to let the
user know that he could increase his mempool size to at least
have this transaction in his own mempool.
2023-07-25 01:13:24 +02:00
ziggie 54bacec422 lnwallet: add new ErrMempoolFee error. 2023-07-25 01:12:39 +02:00
ziggie 6da0f2a157 mod: bump version of neutrino and btcwallet. 2023-07-25 01:12:39 +02:00
ziggie 6cbb62a2df docs: update release-notes 2023-06-28 07:08:32 +02:00
ziggie 39f9673bc7 lnd: update defaultMaxLocalCSVDelay
Make sure our default local csv delay maximum is symetric
compared  to the remote default csv maximum.
2023-06-26 23:39:45 +02:00
ziggie 0c31eb72e7 docs: add release notes for 0.17.0 2023-05-09 16:53:30 +02:00
ziggie 469dfd5f42 make: add benchmark tests
Add benchmark tests as a separate test run besides the current
unit tests.
2023-05-09 16:47:47 +02:00
ziggie 8f4e9d68d0 lnwire_test: fix BenchmarkReadMessage test
The addition of AliasScid in the tlv_stream field of the
funding_locked msg made the requirement for testdata of the
ExtraOpaqueData part for the funding_locked msg type more strict.
Now the input testdata for the funding_locked test is more specific
and includes the new added AliasScid tlv record.
2023-05-09 16:47:44 +02:00
ziggie 1519742f8a [skip ci] htlcswitch: fix double sat/kw output 2023-05-04 15:38:51 +02:00
ziggie 461e5f4ac2 docs: update release notes 2023-04-18 09:46:00 +02:00
ziggie 58aae0757e netann: fix logging output 2023-04-18 09:44:37 +02:00
ziggie 71b8fac819 docs: add release-notes 2023-03-31 08:56:15 +02:00
ziggie b649b552e6 itest: add test when signing without UTXO data
Adds a testcase in the itest suite which tests that psbt
input data needs its corresponding UTXO data when signing.
2023-03-31 08:56:15 +02:00
ziggie 4da26fb65a btcwallet+rpcwallet: verify input data for psbt package
Use the new method in the psbt package InputsReadyToSign which
makes sure that each input has either nonWitness Utxo or
witness Utxo data specified.
2023-03-31 08:43:02 +02:00
ziggie e7f338fded mod: bump version for psbt and btcwallet package 2023-03-31 08:43:01 +02:00
ziggie bf368a3d43 docs: add 0.16.0 release notes 2023-01-24 18:21:46 +01:00
ziggie 5edf64f4c5 lncli: add sign/verify message with an address
adds the functionality in the lncli walletkit to sign and verify a
message with a single address. Signing works only with lnd default
wallet account. Verifying signature on messages with external addresses
is also supported.
2023-01-24 09:23:47 +01:00
ziggie 39b77edca1 btcwallet: fix typo 2023-01-24 09:23:47 +01:00
ziggie 28bceb23c8 walletrpc: add test sign/verify methods
Test the introduced methods sign/verify messages for single addresses
2023-01-24 09:23:42 +01:00
ziggie 7b68289a7a walletrpc: add sign/verify methods
Adding the grpc functionality to sign and verify messages with
single addresses
2023-01-24 09:22:05 +01:00
ziggie 4e3dc95d84 docs: add 0.16.0 release notes 2023-01-21 08:50:02 +01:00
ziggie 88a8c6618d lnwire: add custom message to fuzz tests 2023-01-21 08:46:55 +01:00
ziggie fce74db153 docs: update release note 2022-05-25 15:40:00 +02:00
ziggie 2ae5c9cef2 cmd/lncli: make hop hint inclusion opt-in for addholdinvoice 2022-05-25 14:49:32 +02:00