Oliver Gugger
d287884ff4
Merge pull request #6332 from bhandras/invoice_registry_deadlock
...
invoices: fix deadlock in invoice registry
2022-03-17 15:55:08 +01:00
Olaoluwa Osuntokun
f13399bc49
Merge pull request #6190 from ErikEk/listunspent-deafult-values
...
walletrpc: add default values to listunspent
2022-03-16 16:16:45 -07:00
Oliver Gugger
6c80a30da2
Merge pull request #6278 from Crypt-iQ/network_ann_refactor
...
discovery: refactor processNetworkAnnouncement into smaller functions
2022-03-16 11:23:46 +01:00
eugene
d44d92e4dc
release-notes: update release notes for 0.15.0
2022-03-15 14:35:28 -04:00
eugene
932c5f1a7b
discovery: move ann sig handling to handleAnnSig
2022-03-15 14:35:27 -04:00
eugene
1e9220dab6
discovery: move channel update handling to handleChanUpdate
2022-03-15 14:35:27 -04:00
eugene
914c96d2cf
discovery: move channel ann handling to handleChanAnnouncement
2022-03-15 14:35:27 -04:00
eugene
3bdf0a437d
discovery: move node ann code to handleNodeAnnouncement
2022-03-15 14:35:25 -04:00
Joost Jager
169f0c0bf4
routerrpc+htlcswitch: move intercepted htlc tracking to switch
...
In this commit we move the tracking of the outstanding intercepted htlcs
to InterceptableSwitch. This is a preparation for making the htlc
interceptor required.
Required interception involves tracking outstanding htlcs across
multiple grpc client sessions. The per-session routerrpc
forwardInterceptor object is therefore no longer the best place for
that.
2022-03-15 08:44:57 +01:00
Andras Banki-Horvath
95d8fd8007
docs: update release notes 0.15.0
2022-03-14 15:16:01 +01:00
Andras Banki-Horvath
c548a70e0d
invoices: fix deadlock in invoice registry
2022-03-14 15:15:58 +01:00
Oliver Gugger
95c270d1f8
Merge pull request #6217 from liviu-ln/psbt-finalize-check
...
walletrpc: return an error when finalizing an already complete PSBT
2022-03-14 10:45:24 +01:00
Oliver Gugger
41b91bd5be
Merge pull request #6314 from yyforyongyu/fix-sig-len
...
lnwire: add length validation in NewSigFromRawSignature
2022-03-11 09:44:11 +01:00
yyforyongyu
74c44da315
docs: update release notes for sig length check
2022-03-11 12:31:51 +08:00
yyforyongyu
0e242bae82
netann: create testSigBytes for unit test
2022-03-11 12:31:51 +08:00
yyforyongyu
19b2236570
lnwire: add length validation in NewSigFromRawSignature
2022-03-11 12:31:49 +08:00
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
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
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