Olaoluwa Osuntokun
28389fe38c
Merge pull request #6295 from Roasbeef/strfmt-update
...
build: update go-pretty v6
2022-03-01 15:03:04 -08:00
Olaoluwa Osuntokun
4a15de05aa
build: update go-pretty v6 [skip ci]
...
In this commit we update go-pretty to use the latest v6 version of the
library. The existing version we used had a reported vulnerability.
Updating to this newest version also helped to shrink our set of
indirect dependencies.
In the future we can use
https://github.com/lightningnetwork/lnd/pull/5870 to detect/flag these
issues automatically.
Fixes #6293
2022-03-01 15:02:23 -08:00
Olaoluwa Osuntokun
4d9a05c2f4
Merge pull request #6221 from Crypt-iQ/link_handoff
...
multi: reliable hand-off from htlcswitch to contractcourt
2022-02-24 17:01:36 -08:00
Olaoluwa Osuntokun
10fba3d859
Merge pull request #6214 from yyforyongyu/server-start-order
...
server: start htlcswitch early in the pipeline
2022-02-24 15:32:46 -08:00
eugene
ff4d037ff6
release-notes: update 0.15.0 notes
2022-02-24 13:36:13 -05:00
eugene
8607e8c28a
multi: reliable hand-off from htlcswitch to contractcourt
...
This is achieved by changing the 1-way handoff to a 2-way handoff
with a done channel.
2022-02-24 13:35:15 -05:00
Oliver Gugger
e7505c3e6b
Merge pull request #6284 from guggero/tlv-1.0.1
...
mod: bump tlv version to v1.0.1 [skip ci]
2022-02-22 09:16:39 +01:00
Oliver Gugger
0db2c6a244
Merge pull request #6289 from yyforyongyu/fix-fee-service-panic
...
itest: check feeService against nil upon shutdown [skip ci]
2022-02-22 09:12:19 +01:00
yyforyongyu
e4d9551a6a
itest: check feeService against nil upon shutdown [skip ci]
2022-02-22 13:16:06 +08:00
Oliver Gugger
b4b524903c
mod: bump tlv version to v1.0.1 [skip ci]
...
Apparently we already pushed a tag named tlv/v1.0.0 a while ago (which
points to a commit not in master)...
We need to bump the version of the tag to v1.0.1 since we cannot replace
old tags (without causing a lot of caching problems).
2022-02-21 15:30:07 +01:00
Oliver Gugger
4df7dbdc58
Merge pull request #6283 from guggero/tlv-module
...
mod+tlv: refactor tlv package into its own submodule
2022-02-21 15:24:52 +01:00
Oliver Gugger
d9b657ccb6
docs: update release notes
2022-02-21 13:49:30 +01:00
Oliver Gugger
96b960455f
mod+tlv: make tlv its own submodule
2022-02-21 13:49:30 +01:00
Oliver Gugger
67f5957c5e
tlv+watchtower: move bench test
...
The benchmark tests import both the tlv and watchtower packages. To make
it possible to extract the tlv package into its own submodule, this test
is better located in the watchtower package.
2022-02-21 13:48:31 +01:00
Oliver Gugger
3ed8b90c21
Merge pull request #6280 from guggero/remove-halseth
...
Remove expired or soon to expire PGP keys from signing script
2022-02-21 12:54:30 +01:00
Oliver Gugger
a6282ab08e
scripts: remove expiring key for cfromknecht [skip ci]
...
The user cfromknecht isn't an active contributor anymore and the key
will expire in less than two weeks.
2022-02-21 10:26:48 +01:00
Oliver Gugger
d46e9d2d29
scripts: remove expired key for halseth
...
Fixes #6272 .
The user halseth isn't an active contributor anymore and the key
expired.
2022-02-21 10:21:54 +01:00
Olaoluwa Osuntokun
9a50cc95b7
Merge pull request #6224 from Roasbeef/prometheus-latency-histograms
...
monitoring+cfg: add new option to export gRPC perf metrics
2022-02-16 16:38:51 -08:00
Olaoluwa Osuntokun
1fd8a78537
docs/release-notes: add entry for gRPC perf flag
2022-02-16 16:20:38 -08:00
Oliver Gugger
0aa0831619
Merge pull request #6270 from guggero/enable-whitespace-linter
...
ci: enable whitespace linter
2022-02-15 18:21:04 +01:00
Oliver Gugger
eb366a64e6
docs: add release notes
2022-02-15 18:13:03 +01:00
Oliver Gugger
13f187046b
multi: fix issues reported by whitespace linter
2022-02-15 16:26:08 +01:00
Oliver Gugger
8d83778314
tools+golangci-lint: enable fixed version of whitespace linter
2022-02-15 11:16:19 +01:00
yyforyongyu
72548ea463
server: start htlcSwitch before chainArb
2022-02-11 21:17:03 +08:00
yyforyongyu
1aaa1d89bb
funding: fix make lint
2022-02-11 21:17:03 +08:00
yyforyongyu
1ad6bbfbc2
multi: add logs when subservers are starting
...
Also unified the log messages.
2022-02-11 21:17:03 +08:00
Oliver Gugger
2891dc7399
Merge pull request #6248 from guggero/lint-dockerize
...
make+tools: dockerize linting [skip ci]
2022-02-11 10:10:56 +01:00
Oliver Gugger
09406f613a
make+tools: dockerize linting
2022-02-10 16:03:00 +01:00
Oliver Gugger
28ea2736a0
Merge pull request #6244 from guggero/linter-upgrade
...
Move tools dependencies into submodule, upgrade `golangci-lint`
2022-02-10 15:11:20 +01:00
Oliver Gugger
67eae60bcc
docs: add release notes
2022-02-10 11:04:54 +01:00
Oliver Gugger
895a2e497b
multi: formatting and comment fixes
2022-02-10 11:02:02 +01:00
Oliver Gugger
ffee7d1bcf
multi: fix newly detected linter issues
2022-02-10 11:02:02 +01:00
Oliver Gugger
369627901f
lint+tools: bump version of golangci-lint
2022-02-10 11:02:01 +01:00
naveen
192cee494f
mod+tools+Makefile:separate tools different module
...
Separated the tools to different go module to avoid having tools
dependencies on the main module.
2022-02-10 11:02:01 +01:00
Oliver Gugger
dfdc2bff8b
multi: run gosimports
2022-02-10 11:02:01 +01:00
Oliver Gugger
d1b512ff92
mod+make: replace goimports with gosimports
2022-02-10 11:02:00 +01:00
Oliver Gugger
3107c807a9
Merge pull request #6239 from BTCparadigm/UpdateLicenses
...
multi: Update licenses to 2022 [skip ci]
2022-02-09 14:31:45 +01:00
Rafe
62dc1b5323
multi: Update Licenses to 2022 [skip ci]
2022-02-09 00:25:20 +02:00
Oliver Gugger
0bef42e93c
Merge pull request #6233 from guggero/sign-psbt-utxo-error-message
...
rpcwallet: disallow empty UTXO pk script [skip ci]
2022-02-08 09:39:09 +01:00
Olaoluwa Osuntokun
5084d2a4e5
Merge pull request #6236 from carlaKC/6225-hophintlimit
...
invoicesrpc: limit first pass of hop hint selection
2022-02-07 10:46:45 -08:00
carla
46e048af31
docs: add pr to release notes
2022-02-07 09:07:10 +02:00
carla
0092c731e5
lnrpc: limit hop hint selection in both passes by amount + count
...
Previously, we'd always add up to the maximum number of hop hints
(and beyond!) when selecting hop hints in our first pass. This
change updates hop hint selection to always stick to our hop hint
limit, and to the "hop hint factor" that we scale our invoices by.
This change will result in selecting fewer channels in our first
pass if their total inbound capacity reaches our hop hint factor.
This prevents us from revealing as many private channels as
before, but has the downside of providing fewer options for
payers.
2022-02-07 09:04:30 +02:00
carla
5836d58a99
lnrpc: add unit test covering too many hop hints
2022-02-07 09:03:10 +02:00
carla
4ac6f82b5e
itest: fix lack of hop hint coverage in hold invoice test
...
Update our test to assert that we have hop hints present when we
expect them, and fix the "alice is a private node" issue that was
previously preventing us from adding hop hints. Asserting that we
have hop hints present in this itest ensures that we'll fail our
itests if a change to SelectHopHints results in our no longer
having hints in this secnario.
2022-02-07 09:03:09 +02:00
Olaoluwa Osuntokun
f6ba5be351
Merge pull request #6234 from Roasbeef/increase-legacy-api-fee-limit
...
lnwallet: increase legacy fee limit threshold to 1k sats
2022-02-03 12:17:20 -08:00
Olaoluwa Osuntokun
80e304573c
lnwallet: increase legacy fee limit threshold to 1k sats
...
In this commit, we increase the legacy fee limit threshold (the amount
below which we'll allow 100% of funds to go to fees for the non-v2 RPC
calls) from 50 sats to 1k sats.
2022-02-03 11:54:01 -08:00
Oliver Gugger
75016a176c
rpcwallet: disallow empty UTXO pk script [skip ci]
...
If we're signing for an UTXO that isn't known to the wallet, then the
UTXO's pk script _must_ be set in the sign descriptor. Otherwise we run
into a generic PSBT serialization error when running in a remote signing
setup.
2022-02-03 17:34:14 +01:00
Oliver Gugger
04bbbea9a7
Merge pull request #6228 from guggero/contribution-guidelines
...
docs: rewrite and regroup formatting rules [skip ci]
2022-02-03 10:02:02 +01:00
Olaoluwa Osuntokun
5891643269
Merge pull request #6226 from guggero/fee-limit-fix
...
Fix default value for fee limit
2022-02-02 12:53:11 -08:00
Oliver Gugger
84c8c18a9e
docs: update release notes
2022-02-02 17:29:55 +01:00