Commit Graph

9250 Commits

Author SHA1 Message Date
97da7b3444 multi: support config bitcoind fee estimate mode 2020-03-25 14:59:23 +08:00
9e1cdb78e7 lnrpc: deprecate unused pending closing channels field
The pending closing channels field was present to cover an edge case
where coperatively closed channels were closed before upgrade and
confirmed after the upgrade. This commit deprecates the field and adds
a warning log to cover these edge cases.
2020-03-25 08:48:19 +02:00
8b83c1f7f9 lnrpc: add commit fees to WaitingPendingClose 2020-03-25 08:45:08 +02:00
fd6b397496 lnrpc: add initiator bool to PendingChannel message 2020-03-25 08:42:26 +02:00
4bc7524410 Merge pull request #4112 from guggero/bump-queue
mod: bump version of cert and queue packages
2020-03-24 19:24:36 +01:00
36e1b92e0c routing: log reported success amount 2020-03-24 19:02:40 +01:00
2d07756263 routing: log amount for probability 2020-03-24 19:02:38 +01:00
6a36ed44f8 routing: extract mission control state
Preparation for unit testing just the state logic.
2020-03-24 16:48:35 +01:00
4726c674db Merge pull request #4110 from halseth/itest-abandonchannel-flake
itest: wait for file writing in wait predicate
2020-03-24 15:33:37 +01:00
ce7970ec4a mod: bump version of cert package
To fix external projects depending on lind, we need to bump the cert
package to a new version for the changes to be picked up.
2020-03-24 14:58:45 +01:00
45a59345e7 mod: bump version of queue package
To fix external projects depending on lnd, we need to bump the queue
package to a new version for the changes to be picked up.
2020-03-24 14:51:08 +01:00
1d2985ce33 Merge pull request #4108 from jnewbery/2020-03-min-htlc-comment
[Docs] fix defaultBitcoinMinHTLCInMSat comment
cert/v1.0.1 queue/v1.0.3
2020-03-24 13:02:04 +01:00
8dc5a3c144 itest: wait for file writing in wait predicate 2020-03-24 12:18:42 +01:00
81730e6444 mod: update btcwallet dependency to fix neutrino flake 2020-03-24 10:01:28 +01:00
770c80635c lntest: give async payments enough time to complete 2020-03-24 10:00:59 +01:00
eb531d0449 htlcswitch: add causing error to log and err msg 2020-03-24 10:00:59 +01:00
a101c8eeed lntest: fix timing issue with auto reconnect 2020-03-24 10:00:58 +01:00
95a6796778 lnwallet/btcwallet: use fast scrypt options in itest 2020-03-24 09:52:40 +01:00
847d27f8a6 macaroons: use fast scrypt options in itest and unit tests 2020-03-24 09:52:39 +01:00
466294ed4c aezeed: use fast scrypt options in itest 2020-03-24 09:52:39 +01:00
8623bfac22 Merge pull request #4103 from halseth/itest-multi-hop-move
[itests] multi hop test move
2020-03-24 09:37:53 +01:00
2c0fdbadde Merge pull request #3969 from Crypt-iQ/wt_fuzz_0108
fuzz/wtwire: adding wtwire fuzzers
2020-03-23 17:55:17 -07:00
75abb3f41f Merge pull request #4081 from Roasbeef/frozen-chans
multi: introduce new frozen channel variant for external funding
2020-03-23 17:37:40 -07:00
625d62e007 lntest/itest: update external funding test to exercise frozen chans 2020-03-23 16:57:09 -07:00
1ac7550e3f chancloser: deny co-op close initiated by the chan initiator for frozen chans 2020-03-23 16:57:03 -07:00
c85f6bb364 lnwallet: mark channel as frozen based on ShimIntent
In this commit, we make the internal channel funding flow aware of
frozen channels. We also update the testSingleFunderReservationWorkflow
method to ensure that the created channels have the proper type bit set.
2020-03-23 16:57:00 -07:00
8bce48d3cc lnwallet/chanfunding: add new ThawHeight() method to ShimIntent+CannedAssembler
As frozen channels can only be created via the non-default channel
assembler, we extend both the ShimIntent and CannedAssembler to also
accept and expose this new channel status along with the thaw height.
2020-03-23 16:56:57 -07:00
dbc485f724 lnrpc: add thaw_height to Channel and ChanPointShim 2020-03-23 16:56:54 -07:00
421d73b72e channeldb: add new frozen channel type bit and thaw height
In this commit, we add a new channel type bit: a frozen channel. A
frozen channel is one that can only be cooperatively closed by the
responder, but not the initiator. This channel type is useful for
certain classes of channel factory like protocols. We then add a new key
on the channel bucket level to store the height after which this
restriction no longer applies.
2020-03-23 16:56:48 -07:00
8fd5d13c75 Merge pull request #4064 from breez/optimistic-batch-limit
Use batch for historical confirmations filters request.
2020-03-23 13:59:10 -07:00
4e793497c8 Merge pull request #2669 from cfromknecht/use-netann-in-discovery
netann+discovery+server: consolidate network announcements to netann pkg
2020-03-23 13:38:06 -07:00
6e4bbc75a0 [Docs] fix defaultBitcoinMinHTLCInMSat comment
Comment says default value is 0, when it is in fact 1.
2020-03-23 12:28:28 -04:00
b4ea34037a lntest: move multi-hop root test case and common utils to own file 2020-03-23 11:19:18 +01:00
1ade912361 itest: run multi-hop claim tests for all commit types 2020-03-23 11:16:29 +01:00
6ed0c83d11 itest: spin up new nodes for multi-hop tests
This will let us set their commitment type for the subtest.
2020-03-23 11:13:27 +01:00
1ce4abc0a9 itest: extract multi-hop tests into sub tests 2020-03-23 11:13:26 +01:00
5a0f2d004a itest: update multi hop test case docs
To make clear whcih sweep scenarios are actually being tested
2020-03-23 11:11:25 +01:00
4b5d91d24d itest: move multi hop tests to own files
PURE CODE MOVE.
2020-03-23 11:10:33 +01:00
d81c8bbda7 itest: run force closure test for all commit types
Now that the force closure test has been extracted, spin up new nodes
for each commit type, and ensure the test succeed for all types.
2020-03-23 11:10:31 +01:00
651bb09c25 itest: extract channel force closure test into subtest
To make it possible to run the for close test for multiple commit types,
we extract it into a subtest, where the two nodes get passed in.
2020-03-23 11:07:36 +01:00
538f3baac8 itest: print wrong balance in correct format 2020-03-23 11:05:40 +01:00
ceb454aa16 neutrinonotify: use batch for historical confirmations.
This commit introduces an optimization for the chain scanning
used in historical confirmations notifications.
It now uses batch request instead of requesting filters one by one.
2020-03-23 09:51:13 +02:00
c3ffdb7af4 Merge pull request #4095 from carlaKC/4036-surfacepushamounts
lnrpc: Add push amount to listchannels
2020-03-23 08:44:53 +02:00
42638183d8 Merge pull request #4105 from carlaKC/lnrpc-formatroutingprotos
routerrpc: run rpc-format on routerrpc
2020-03-20 20:57:42 +01:00
5516a53728 routerrpc: run rpc-format on routerrpc 2020-03-20 11:11:45 +02:00
5cf3c08d95 Merge pull request #4104 from chokoboko/config-defaults-fix
[trivial] config: remove default values from flag descriptions
2020-03-19 20:15:03 -07:00
090d56b3a2 config: remove default values from flag descriptions 2020-03-20 01:07:47 +02:00
92456d063d discovery: remove unused updateChanPolicies struct 2020-03-19 13:43:57 -07:00
5c2fc4a2d6 discovery/gossiper: use netann pkg for signing channel updates 2020-03-19 13:43:39 -07:00
c1d00a0c9b Merge pull request #4101 from ErikEk/typo_fixes_trivial
trivial: typo fixes
2020-03-19 21:36:38 +01:00