Oliver Gugger
d8eb6dab82
Merge pull request #7649 from morehouse/fuzz_lnwire_signature
...
lnwire: signature parsing/conversion fuzz tests
2023-05-12 18:35:06 +02:00
Matt Morehouse
55aa7a7bb2
docs: release note for #7649
2023-05-12 11:08:54 -05:00
Matt Morehouse
e198e6693f
lnwire: add FuzzConvertFixedSignature test
...
Test conversion of fixed 64-byte signatures to DER-encoded signatures.
2023-05-12 11:07:57 -05:00
Matt Morehouse
a6a7066454
lnwire: add FuzzParseRawSignature test
...
Test parsing and serialization of raw DER-encoded signatures.
2023-05-12 11:07:54 -05:00
Oliver Gugger
c2d2d448fb
Merge pull request #7486 from sangaman/amt-paid-accepted
...
lnrpc: update docs for invoice amt_paid
2023-05-12 12:26:15 +02:00
Oliver Gugger
58a73bae39
Merge pull request #7049 from MStreet3/bug/fix-race-neutrinotest
...
Bug/fix race neutrinotest
2023-05-12 09:23:14 +02:00
Michael Street
5e33e790c5
docs: adds release notes
2023-05-11 18:30:38 -04:00
Michael Street
e73f54ec5d
deps: bumps btcwallet version
2023-05-11 18:24:18 -04:00
Oliver Gugger
71c4e72fad
Merge pull request #7659 from guggero/lncli-json-hex-replacement
...
lncli: replace deprecated fork for serializing protobuf as JSON with new one
2023-05-12 00:17:29 +02:00
Oliver Gugger
301be1bb08
docs: add release notes
2023-05-11 22:52:52 +02:00
Oliver Gugger
5583926fb9
lint: allow security replace directives
2023-05-11 22:52:52 +02:00
Oliver Gugger
b5d23bba06
mod+lnrpc: use hex encoding jsonpb fork
2023-05-11 22:52:52 +02:00
Oliver Gugger
9615ce20d6
mod: bump github.com/ulikunitz/xz to v0.5.11
...
There is a CVE (CVE-2021-29482) out there for versions previous to
v0.5.11 of the xz library.
2023-05-11 22:52:51 +02:00
Oliver Gugger
451f033855
mod: remove unused replace directive
...
With recent updates to some of our dependencies, the
github.com/dgrijalva/jwt-go package is not referenced in any transitive
dependency anymore which allows us to remove one of the replace
directives which was added as a security precaution before.
2023-05-11 22:52:51 +02:00
Oliver Gugger
ea8fe6f3f3
mod+lnrpc: bump google.golang.org/protobuf to v1.30.0
2023-05-11 22:52:00 +02:00
Oliver Gugger
f9436ec05d
mod+cmd/lncli: use google.golang.org/protobuf package
2023-05-11 22:51:16 +02:00
Oliver Gugger
fd9adaf6ce
Merge pull request #7646 from yyforyongyu/itest-reduce-blocks
...
itest: mine less blocks to speed up tests
2023-05-10 13:09:12 +02:00
Oliver Gugger
ae30581c3f
Merge pull request #7356 from ziggie1984/benchmarking-fundinglocked
...
Fix Benchmark Test (BenchmarkReadMessage/Funding_Locked) in the lnwire package
2023-05-10 10:22:28 +02:00
yyforyongyu
1dc66302cd
itest: fix test flake in testHtlcTimeoutResolverExtractPreimageRemote
2023-05-10 02:01:54 +08: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
yyforyongyu
3f2675f10d
itest: remove potential parallel usage of the watchtower default port
2023-05-09 21:41:53 +08:00
yyforyongyu
4bbb4ed978
lntest: skip killing dead process
2023-05-09 21:41:53 +08:00
yyforyongyu
cdc6f63f17
itest: reorder test cases to even out blocks per tranche
2023-05-09 21:41:53 +08:00
yyforyongyu
e018c02d40
itest: refactor createThreeHopNetwork
to open channels async
...
This will save us 6 blocks each time we call this function.
2023-05-09 21:41:53 +08:00
Oliver Gugger
8df4edef1b
Merge pull request #7624 from ellemouton/marshalBytesAndStringTxid
...
multi: populate both string and byte TXID in lnrpc.Outpoint
2023-05-08 17:32:54 +02:00
Oliver Gugger
eaa8aa7496
Merge pull request #7678 from erikarvstedt/fix-cert-key-plaintext-detection
...
Restore support for `PKCS8`-encoded cert private keys
2023-05-08 15:12:41 +02:00
Erik Arvstedt
d21abf9fc0
docs: update release notes
2023-05-08 10:29:06 +02:00
Erik Arvstedt
3004deb045
lnd: Restore support for PKCS8
-encoded cert private keys
...
c0f44a17b7
, available since `v0.16.x`,
broke support for certificate private keys encoded in the widely-used
`PKCS8` format.
2023-05-08 07:33:25 +02:00
Olaoluwa Osuntokun
04314d3254
Merge pull request #7667 from ziggie1984/log-fix-typo
...
[skip ci] htlcswitch: fix double sat/kw output
2023-05-04 11:59:54 -05:00
Oliver Gugger
728452636a
Merge pull request #7568 from carlaKC/7094-updatefeaturemanager
...
Add config options for custom feature bits
2023-05-04 18:35:23 +02:00
Carla Kirk-Cohen
820920a749
docs: add release notes
2023-05-04 10:42:44 -04:00
Carla Kirk-Cohen
ad6ccb415f
lncli: fix typo in updatenodeannouncement
2023-05-04 10:42:37 -04:00
Carla Kirk-Cohen
019da315a8
itest: add coverage for custom features
2023-05-04 10:42:17 -04:00
Carla Kirk-Cohen
fe7cad2695
features: disallow unsetting of config-set features
2023-05-04 10:35:49 -04:00
Carla Kirk-Cohen
4e36e2fd2b
multi: add custom feature bits to config options
2023-05-04 10:35:48 -04:00
Carla Kirk-Cohen
4e98f4da5e
feature/refactor: unexport set raw
2023-05-04 10:35:47 -04:00
Carla Kirk-Cohen
e41c65785f
multi: update node announcement features in feature manager first
...
Move merge of our features into the feature manager, rather than
updating our node announcement then retrospectively setting the
feature manger's set to the new vector. This allows us to use the
feature vector as our single source of truth for announcements.
2023-05-04 10:35:46 -04:00
Carla Kirk-Cohen
019127c4f4
multi: add restriction on maximum feature bit in invoices
...
Base 32 encoded bolt 11 invoices only allow 10 bits to express the
length of the feature vector in a tagged field, so there is a much
lower limit on the values invoice custom features can hold.
Other places in the protocol are theoretically limited by the maximum
message size, but since we express a feature bit as u16 we don't need
to be concerned about this.
The decision is made to track maximum per-set in the feature manager,
which is conceptually aware of sets and then validate in lnwire/features
against some arbitrary maximum value provided to the caller to keep
the base features package unaware of sets.
2023-05-04 10:35:45 -04:00
Carla Kirk-Cohen
5a139fd297
feature: add update function for safe feature update
...
Disallow update of any features that are defined by LND (since
just updating the feature, but not the functionality will result in
strange behavior). All known feature bits should be toggled using
protocol config options.
2023-05-04 10:35:44 -04:00
Carla Kirk-Cohen
1a9d743e18
lnwire: add feature vector update validation helpers
2023-05-04 10:35:43 -04:00
Carla Kirk-Cohen
3f9f0ea5d1
multi/refactor: separate methods for get and set node announcement
...
In preparation for a more complex function signature for set node
announcement, separate get and set so that readonly callers don't need
to handle the extra arguments.
2023-05-04 10:35:42 -04:00
Carla Kirk-Cohen
c6263c2fe6
multi/refactor: move node ann modification outside of sign method
...
In preparation for moving feature bit modification inside of the
feature manager, separate node modification from signing.
2023-05-04 10:35:41 -04:00
ziggie
1519742f8a
[skip ci] htlcswitch: fix double sat/kw output
2023-05-04 15:38:51 +02:00
Oliver Gugger
c6b736b169
Merge pull request #7631 from hieblmi/sendoutputs-reserve
...
rpc: anchor reserve check for `SendOutputs`
2023-05-04 10:30:32 +02:00
Slyghtning
79a06d1918
docs: update release notes
2023-04-29 22:44:26 +02:00
Slyghtning
77322dddb8
itest: anchor reserve test for SendOutputs
2023-04-29 22:44:26 +02:00
Slyghtning
8f5910bf91
rpc: fix code style
2023-04-29 22:44:26 +02:00
Slyghtning
903b5dde89
rpc: SendOutputs considers anchor reserve
2023-04-29 22:44:23 +02:00