Wilmer Paulino
4f45e339f1
discovery+routing: add FetchLightningNode to ChannelGraphSource interface
2018-11-11 17:48:05 -08:00
Johan T. Halseth
d4b042dc19
Merge pull request #2159 from halseth/integration-tests-net-aware-db
...
lntest: make DBPath aware of active net
2018-11-09 12:14:55 +01:00
Johan T. Halseth
715db90435
Merge pull request #2170 from AdamISZ/fix-typos-signer
...
fix two comment typos in signer.go
2018-11-09 11:44:02 +01:00
Johan T. Halseth
c694663d94
Merge pull request #2143 from ErikEk/improv_color_validation
...
Improving color validation
2018-11-09 09:58:41 +01:00
Johan T. Halseth
1516ceb37a
Merge pull request #2160 from halseth/integration-tests-mine-reorged-funding-tx
...
[Integration tests] mine reorged funding tx
2018-11-09 08:48:09 +01:00
Johan T. Halseth
9c3be96490
Merge pull request #2167 from joostjager/nursery-cleanup
...
utxonursery: clean up unused code
2018-11-09 08:44:44 +01:00
Johan T. Halseth
3df62268ea
Merge pull request #2158 from halseth/integration-tests-remove-externalip
...
[Trivial] lntest/node: remove extraneous externalip
2018-11-09 08:44:04 +01:00
Johan T. Halseth
b0c6f666f6
Merge pull request #2166 from joostjager/cnct-fixes
...
cnct: add todo for invalid expiry value handling
2018-11-09 08:43:43 +01:00
Johan T. Halseth
a2b553cf57
Merge pull request #2157 from halseth/integration-tests-remove-log
...
[Integration tests] remove log disabling hack
2018-11-09 08:42:35 +01:00
ErikEk
f36c58acd7
Improved color validation - now with fixes and a table driven test
2018-11-09 03:09:39 +01:00
AdamISZ
53b1b8837f
fix two comment typos in signer.go
2018-11-08 20:54:02 +01:00
Joost Jager
4cc255676b
utxonursery: use StaticFeeEstimator instead of mock in test
2018-11-07 15:33:36 +01:00
Joost Jager
3c1260941f
utxonursery: remove unused TxOut serialization funcs
2018-11-07 15:33:36 +01:00
Joost Jager
839752857f
cnct: add comment on expiry calculation
2018-11-07 15:29:57 +01:00
Joost Jager
c3560932b6
cnct: fix log line
2018-11-07 15:29:56 +01:00
Johan T. Halseth
3ff6055a62
Merge pull request #1782 from xsb/getinfo-inactive-channels
...
rpcserver: show inactive channels in GetInfo
2018-11-07 08:45:15 +01:00
Johan T. Halseth
1208c66a89
lnd_test: mine reorged out funding tx
2018-11-06 10:35:05 +01:00
Johan T. Halseth
cba0854230
lntest: make DBPath aware of active net
2018-11-06 10:32:32 +01:00
Johan T. Halseth
5a6b796664
lntest/node: remove extraneous externalip
2018-11-06 10:29:52 +01:00
Johan T. Halseth
6d91d816a9
lnd_test: remove log disabling hack
2018-11-06 10:27:47 +01:00
Johan T. Halseth
3bb9b398e5
lnd_test: define global test timeouts
...
In preparation for the added propagation delay by separating the miner
and the chain backend, we increase several timeouts throughout the test,
and extract them into constants that can easily be altered.
2018-11-05 22:16:32 +01:00
Johan T. Halseth
9b6055764a
lntest: define and export various test constants
2018-11-05 22:10:37 +01:00
Xavi Soler
ca9f572766
add num_inactive_channels field to docs
2018-11-05 09:11:01 +01:00
Xavi Soler
5fad3d1fbe
rpcserver: show inactive channels in GetInfo
2018-11-05 09:10:32 +01:00
Olaoluwa Osuntokun
c0fadcc89b
Merge pull request #1944 from joostjager/sendroute-pubkey
...
lnrpc: allow pubkey in SendToRoute
2018-11-04 20:12:19 -08:00
Olaoluwa Osuntokun
b600985063
Merge pull request #2135 from cfromknecht/isolate-gossip-rate-limiting
...
[discovery] Isolate gossip rate limiting
2018-11-02 20:13:29 -07:00
Olaoluwa Osuntokun
f60012b3f9
Merge pull request #2027 from mrwhythat/no-incoming-push-amounts-option
...
Option to disable incoming push amounts on channel opening
2018-11-02 17:08:05 -07:00
Olaoluwa Osuntokun
111d0ff542
Merge pull request #2136 from alexbosworth/patch-6
...
htlcswitch: Limit low-signal tps log statement to debug log
2018-11-02 14:58:07 -07:00
Olaoluwa Osuntokun
62778c61cc
lnd: update copyright notice
2018-11-02 14:49:36 -07:00
Alex Bosworth
2d8e239fe9
Move pewpew diff log into debug log
2018-11-01 17:46:03 -07:00
Conner Fromknecht
ef309f43d2
discovery: pass peer quit signal to ProcessQueryMsg
...
This commit passes the peer's quit signal to the
gossipSyncer when attempt to hand off gossip query
messages. This allows a rate-limited peer's read
handler to break out immediately, which would
otherwise remain stuck until the rate-limited
gossip syncer pulled the message.
2018-11-01 17:35:55 -07:00
Conner Fromknecht
96c47f7de4
discovery/gossiper: bypass main event loop for queries
...
This commit restructures the delivery of gossip
query related messages, such that they are delivered
directly to the gossip syncers. Gossip query rate
limiting was introduced in #1824 on a per-peer basis.
However, since all gossip query messages were being
delivered in the main event loop, the end result is
that one rate-limited peer could stall all other
peers.
In addition, since no other peers would be able to
submit gossip-related messages through the blocked
event loop, the back pressure would eventually rate
limit the read handlers of all peers as well.
The end result would be lengthy delays in reading
messages related to htlc forwarding.
The fix is to lift the delivery of gossip query
messages outside of the main event loop. With
this change, the rate limiting backpressure is
delivered only to the intended peer.
2018-11-01 17:28:20 -07:00
Conner Fromknecht
b0b2475660
peer: remove quit chan from AddMsg signature
2018-11-01 17:08:24 -07:00
whythat
6f3adcd490
fundingmanager test: add test for 'rejectpush' option
2018-11-02 01:55:18 +02:00
whythat
2c9a039845
config: add option to disable incoming push amounts in OpenChannel
...
This is useful for merchant-side prevention of accidental pushes
during channel opening.
2018-11-02 01:54:02 +02:00
Joost Jager
28ae028535
lnrpc: accept pubkey in hop message
...
By passing a pubkey into SendToRoute, it becomes unnecessary for lnd to
query the channel graph to retrieve the hop pubkey. This allows routes
over private channels that are not present in the graph.
2018-11-01 08:59:53 +01:00
Olaoluwa Osuntokun
c3546c280d
Merge pull request #2044 from wpaulino/enable-height-hint-cache
...
chainntnfs: re-enable height hint cache
2018-10-31 19:00:56 -07:00
Olaoluwa Osuntokun
fb4d3909a1
Merge pull request #2122 from cfromknecht/blob-variable-length-addr
...
[watchtower/blob] variable length sweep addr
2018-10-31 17:31:29 -07:00
Wilmer Paulino
e402a4e146
chainntnfs: dispatch conf/spend notifications after blocks
...
In this commit, we alter the different ChainNotifier implementations to
dispatch confirmation and spend notifications after blocks. We do this
to ensure the external consistency of our registered clients.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
770e005943
chainntnfs/txnotifer: prevent dispatching notifications within ConnectTip
...
In this commit, we modify the TxNotifier's ConnectTip method to no
longer dispatch notifications to any clients who had a request fulfilled
within the height connected. Instead, it will queue the notifications
for dispatch and we add a new method NotifyHeight, which will actually
dispatch them. We do this to allow the users of the TxNotifier to be
more flexible when dispatching notifications.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
9a025867d0
Revert "chainntnfs/btcdnotify: disable height hint cache in testing"
...
This reverts commit 98e7c968d4bf5900a5d7be7f557eab8f623633c0.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
5127f2aa82
Revert "chainntnfs/bitcoindnotify: disable height hints in testing"
...
This reverts commit ab28db5b0dc780a09b7474e187cefff809ac2714.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
7d94c65afc
Revert "chainregistry: disable height hint cache"
...
This reverts commit 0e29a457e1f38b2841019dc6664de1697aa84b34.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
c740b8b85f
Revert "lnwallet/interface_test: run tests with disabled hint cache"
...
This reverts commit 70ba3119b77151600d2b00c607ba89dfa6408254.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
35bfb79099
Revert "chainntnfs/interface_test: run tests w/ disabled cache"
...
This reverts commit 12761a4f435a033e8425dbcb3b407bb094fcae9f.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
88ac985c95
Revert "chainntnfs/height_hint_cache_test: add tests for disabled cache"
...
This reverts commit 45a2c9aca8f10f341848845e1f51261bd09fcb68.
2018-10-31 09:20:22 -07:00
Wilmer Paulino
716c20b18d
Revert "chainntnfs/height_hint_cache: add disable flag to hint cache"
...
This reverts commit 7df9ae026665de75175853e486143ab80122ce9d.
2018-10-31 09:20:22 -07:00
Johan T. Halseth
08c2ee05f6
Merge pull request #2107 from vwoo/grpc-ruby-doc-macaroon
...
gRPC ruby doc updates
2018-10-31 08:26:56 +01:00
Olaoluwa Osuntokun
67a9c4916f
Merge pull request #2112 from AdamISZ/LUW-include-max
...
Add a maxconfirms argument to ListUnspentWitness
2018-10-30 20:29:49 -07:00
Olaoluwa Osuntokun
9f0b008773
Merge pull request #2004 from wpaulino/spend-tx-notifier
...
chainntnfs: handle spend notifications within TxConfNotifier
2018-10-30 20:24:17 -07:00