Commit Graph

12845 Commits

Author SHA1 Message Date
Olaoluwa Osuntokun
1eefa2863c Merge pull request #6325 from thinkmassive/daily-build-tag
github: daily builds use a unique tag
2022-03-10 16:04:30 -08:00
Alex Miller
8c4a00853d github: daily builds use a unique tag 2022-03-10 14:41:24 -05:00
Oliver Gugger
262591c333 Merge pull request #6285 from guggero/btcec-v2-upgrade
Bump btcec to v2, use integrated btcutil module
cert/v1.1.1 healthcheck/v1.2.1 tlv/v1.0.2
2022-03-09 19:55:10 +01:00
Oliver Gugger
e84c7fb71c docs: add release notes 2022-03-09 19:05:44 +01:00
Oliver Gugger
4554c306fa mod: bump submodules after changes to them 2022-03-09 19:05:44 +01:00
Oliver Gugger
7dfe4018ce multi: use btcd's btcec/v2 and btcutil modules
This commit was previously split into the following parts to ease
review:
 - 2d746f68: replace imports
 - 4008f0fd: use ecdsa.Signature
 - 849e33d1: remove btcec.S256()
 - b8f6ebbd: use v2 library correctly
 - fa80bca9: bump go modules
2022-03-09 19:02:37 +01:00
Oliver Gugger
8ee9fc837b Merge pull request #6136 from bhandras/forall_etcd
etcd: add ForAll to speed up graph operations
kvdb/v1.3.1
2022-03-07 16:44:43 +01:00
Oliver Gugger
1d3d70b0ab Merge pull request #6066 from bitromortac/2111-graph-diameter
autopilot+lnrpc: add graph diameter calculation to getnetworkinfo
2022-03-07 14:18:36 +01:00
bitromortac
45a2dc80c8 autopilot: implement cached ChannelGraph
Using the cached implementation of a ChannelGraph greatly speeds up the
conversion of the channel database to a SimpleGraph.
2022-03-07 11:15:47 +01:00
bitromortac
52d56a8990 lnrpc+autopilot: add graph diameter calculation
* adds a brute force computation of the diameter
* adds a more efficient calculation of the diameter
2022-03-07 11:15:47 +01:00
Oliver Gugger
72aec1722b Merge pull request #6300 from 3nprob/docker-custom-source
docker: add git_url build-arg
2022-03-05 11:42:41 +01:00
Olaoluwa Osuntokun
791411cdb8 Merge pull request #6237 from sangaman/lncli-state-desc
lncli: update `lncli state` description
2022-03-02 17:08:22 -08:00
Olaoluwa Osuntokun
8b18c6c69d Merge pull request #6220 from Crypt-iQ/batch_ticker_clamp
config: clamp channel-commit-interval to reasonable time
2022-03-02 17:07:35 -08:00
Olaoluwa Osuntokun
a47da0a990 Merge pull request #6246 from Crypt-iQ/settle_pipeline_check
htlcswitch: only pipeline settle if add is locked-in
2022-03-02 17:07:14 -08:00
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
3np
7865384e85 docker: add git_url build-arg 2022-03-01 14:18:37 +01:00
Andras Banki-Horvath
d28c9000c5 docs: update release notes 0.15.0 2022-02-28 12:03:06 +01:00
Andras Banki-Horvath
bee5e7b761 docs: update etcd docs 2022-02-28 12:03:05 +01:00
Andras Banki-Horvath
1093683b47 etcd: set embedded etcd default max msg size and up txn limit 2022-02-28 12:03:05 +01:00
Andras Banki-Horvath
5e90193180 etcd: fix config clone 2022-02-28 12:03:05 +01:00
Andras Banki-Horvath
40af029413 etcd: extend kvdb_etcd with a real ForAll implementation 2022-02-28 12:03:04 +01:00
eugene
0ebfdc488c release-notes: update for 0.15.0 2022-02-25 12:07:17 -05:00
eugene
028dec80cb htlcswitch: only pipeline settle if add is locked-in
The counter-party shouldn't be doing this anyways as they would be
giving away a preimage for free. Them doing this would bork their
own channel due to open circuits not getting trimmed on startup.
Removing this faulty behavior also makes it easier to reason about
the circuit logic.
2022-02-25 12:07:17 -05: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
cac933df62 release-notes: update for 0.15 2022-02-24 13:41:32 -05:00
eugene
9d8ff1fae5 config: clamp channel-commit-interval to reasonable time 2022-02-24 13:41:31 -05: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
tlv/v1.0.1
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