yyforyongyu
8761a9a056
funding: wait for one sec if funding locked is not received
2022-11-02 02:02:49 +08:00
Oliver Gugger
31a803c931
Merge pull request #7100 from guggero/btcd-dep-update
...
mod+docs: bump btcd version to v0.23.3 on master branch
2022-11-01 17:32:50 +01:00
Oliver Gugger
b0673d06ea
docs: add release notes for 0.16.0-beta
2022-11-01 16:40:56 +01:00
Oliver Gugger
3013e939dd
docs: add release notes for 0.15.4-beta
2022-11-01 16:39:19 +01:00
Oliver Gugger
1628424c33
mod: bump btcd to v0.23.3
2022-11-01 16:38:36 +01:00
Oliver Gugger
84401f6f6c
Merge pull request #7039 from TonyGiorgio/sync-7034
...
Remove ErrSynchronizingChain
2022-10-31 08:35:48 +01:00
Oliver Gugger
b9d40a5123
Merge pull request #7070 from habibitcoin/master
...
doc: remove ⛰ emoji from commands
2022-10-28 19:35:51 +02:00
habibitcoin
04a1160939
docs: remove $ from multiline commands or frequently copied [skip ci]
2022-10-28 12:32:24 -05:00
habibitcoin
0b1e881d18
scripted-diff: replace ⛰ emoji with $ [skip ci]
...
-BEGIN VERIFY SCRIPT-
sed -i 's/⛰/$/g' $(git grep -l '⛰')
-END VERIFY SCRIPT-
2022-10-28 12:06:49 -04:00
Tony Giorgio
09537596fc
funding+lnwire: remove ErrSynchronizingChain
2022-10-28 10:06:59 -05:00
Oliver Gugger
e7f4b183ae
Merge pull request #7090 from Kodylow/fix-adming-typo
...
fixes adming typo
2022-10-28 11:20:31 +02:00
Kody Low
c89dd86a2e
fix typo
2022-10-27 16:26:47 -07:00
Oliver Gugger
81b17ef4fd
Merge pull request #6517 from bottlepay/lookup-htlc
...
htlcswitch: final settle signal
2022-10-27 17:52:37 +02:00
Joost Jager
3a89a84744
rpcserver: add LookupHtlc call
2022-10-27 16:43:09 +02:00
Joost Jager
511fb00777
htlcswitch: add final htlc event to notifier
2022-10-27 16:42:36 +02:00
Joost Jager
28256b7ea8
htlcswitch: keep final htlc outcome
2022-10-27 16:42:36 +02:00
Joost Jager
b85cda2a1d
routerrpc: add htlc notifier subscribed event
2022-10-27 16:42:35 +02:00
Oliver Gugger
281cdd4209
Merge pull request #7083 from hieblmi/fwdinghistory-alias-opt-in
...
rpcserver: opting-in to peer alias lookup in `ForwardingHistory`
2022-10-27 14:04:52 +02:00
Slyghtning
f8ef283589
docs: update release notes
2022-10-27 07:11:20 -04:00
Slyghtning
8e53996c52
itest: test ForwardingHistory peer lookup opt-in behavior
2022-10-27 07:11:20 -04:00
Slyghtning
46b8de35ac
lnrpc+lncli: rename skip_peer_alias_lookup to reflect opt-in behavior
2022-10-27 07:11:19 -04:00
Oliver Gugger
55d62f8bab
Merge pull request #6776 from yyforyongyu/2-new-itest
...
itest: continued itest refactor and fix - I
2022-10-26 21:59:42 +02:00
eugene
64b608bce0
routing: check pubkey when applying channel update
2022-10-27 03:09:02 +08:00
yyforyongyu
14f45d0722
lntemp+lntest: fix make lint
2022-10-27 01:11:35 +08:00
yyforyongyu
0d29f154db
docs: update release notes for itest refactor
2022-10-27 01:11:35 +08:00
yyforyongyu
5ed37166ef
contractcourt: return htlcResolution when currentHeight has reached expiry
...
Only create the sweep tx when the height has reached, otherwise we will
get a broadcast error. Previously it wasn't caught by itest due to the
blocks were mined very fast, so the lock time was always reached.
2022-10-27 01:11:35 +08:00
yyforyongyu
2285bfdf9f
contractcourt+brontide: fix typo and inaccurate logging
2022-10-27 01:11:35 +08:00
yyforyongyu
42eab93ba0
lntemp+lntest: use t.Cleanup
to register cleanup functions
2022-10-27 01:11:34 +08:00
yyforyongyu
ab62109865
lntemp+lntest: always wait for nodes sync after mining blocks
...
In this commit, we introduce two mining methods, `MineBlocks` and
`MineBlocksAndAssertNumTxes`, to `HarnessTest`. These methods are
different from the miner's methods as they would 1) mine the blocks
slowly and 2) assert all active nodes have synced. The miner's methods
are kept for future tests such as mining blocks really fast and see the
behavior of `lnd`.
2022-10-27 01:11:34 +08:00
yyforyongyu
f202d27324
itest: break testChannelBackupRestore
into smaller tests
...
This commit breaks the large `testChannelBackupRestore` into smaller
tests to take advantage of our parallel testing framework. A smaller
test also makes the debugging easier, hence better code health.
2022-10-27 01:11:34 +08:00
yyforyongyu
78de9dae05
itest: break testMultiHopHtlcClaims
into smaller test cases
...
This commit breaks the large `testMultiHopHtlcClaims` into independent
test cases to take the advantage of parallel testing. The old setup will
put the stress of creating and syncing new blocks into a single core,
which causes a much longer test time and sometimes times out.
2022-10-27 01:11:34 +08:00
yyforyongyu
3f14ee5870
itest: fix testMultiHopHtlcRemoteChainClaim
and linters
...
This commit makes sure the test `testMultiHopHtlcRemoteChainClaim` takes
account of the one block mined while closing the channel.
2022-10-27 01:11:34 +08:00
yyforyongyu
47279fb9af
itest: fix testMultiHopHtlcLocalChainClaim
2022-10-27 01:11:34 +08:00
yyforyongyu
4668193cfa
itest: fix testMultiHopLocalForceCloseOnChainHtlcTimeout
2022-10-27 01:11:34 +08:00
yyforyongyu
b6cc13417c
itest: move multi hop claim tests into one file
2022-10-27 01:11:33 +08:00
yyforyongyu
3b250b294c
rpcserver+lntemp: add more error logs to PendingChannels
...
This commit adds error logs to `PendingChannels` and changes how we
assert the num of pending force close channels, see the docs for more
info.
2022-10-27 01:11:33 +08:00
yyforyongyu
c3bc4d403c
itest: reduce blocks mined to save sync time
2022-10-27 01:11:33 +08:00
yyforyongyu
b463147595
itest: refactor testMultiHopHtlcAggregation
2022-10-27 01:11:33 +08:00
yyforyongyu
0115ec8719
itest: refactor testMultiHopHtlcRemoteChainClaim
2022-10-27 01:11:33 +08:00
yyforyongyu
200796b8e2
itest: refactor testMultiHopHtlcLocalChainClaim
2022-10-27 01:11:33 +08:00
yyforyongyu
f65002255c
itest: refactor testMultiHopRemoteForceCloseOnChainHtlcTimeout
2022-10-27 01:11:32 +08:00
yyforyongyu
6b5f4f407c
itest: refactor testMultiHopLocalForceCloseOnChainHtlcTimeout
2022-10-27 01:11:32 +08:00
yyforyongyu
d51f98efc6
itest: refactor testMultiHopReceiverChainClaim
2022-10-27 01:11:32 +08:00
yyforyongyu
5a7c6cea02
lntest+lntemp: refactor testMultiHopHtlcLocalTimeout
2022-10-27 01:11:32 +08:00
yyforyongyu
4a7f45b5d4
itest+lntemp: refactor testMultiHopHtlcClaims
2022-10-27 01:11:32 +08:00
yyforyongyu
e629a3b45a
itest: deprecate createThreeHopNetwork
2022-10-27 01:11:32 +08:00
yyforyongyu
36c84bbd43
itest: refactor testDataLossProtection
2022-10-27 01:11:32 +08:00
yyforyongyu
e8dc15dae4
lntemp: add supporting methods for testDataLossProtection
2022-10-27 01:11:31 +08:00
yyforyongyu
1fafabe012
itest: move testDataLossProtection
to backup test file
2022-10-27 01:11:31 +08:00
yyforyongyu
8cd5a9b6b1
itest: refactor testChannelBackupRestore
2022-10-27 01:11:31 +08:00