Commit Graph

960 Commits

Author SHA1 Message Date
Oliver Gugger
b1645ec46d
Merge pull request #6783 from ErikEk/itest-neutrino-sub-server
itest: neutrino sub-server
2023-01-12 12:20:58 +01:00
ErikEk
20fd630465 itest: test neutrino sub server 2023-01-12 13:43:41 +07:00
ErikEk
cc08271c5f itest: add neutrinoclient to harnessnode 2023-01-12 13:24:44 +07:00
Carla Kirk-Cohen
1b1bc642bc
lntest/itest: add custom messaging itest including new override feature 2023-01-05 12:06:24 -05:00
Olaoluwa Osuntokun
8a18824851
Merge pull request #7243 from guggero/ghost-utxo-fix
wallet: fix ghost UTXOs not being detected
2022-12-13 20:00:31 -08:00
bitromortac
454c115b6e
routing+routerrpc: add capacity in rpcs
FetchPairCapacity is used by the following endpoints to introduce the
capacity for probability calculations:

* QueryProbability
* QueryRoutes
2022-12-12 13:22:29 +01:00
yyforyongyu
289e2db2ee
itest+lntemp: add ChainKitClient RPCs and refactor testChainKit 2022-12-09 23:52:40 +08:00
Oliver Gugger
f26a9a84d7
lntest: fix rescan test to show correct behavior
Now that we have patched the btcwallet version to the one that includes
the fix, we can adjust the rescan test to show the correct and expected
behavior.
2022-12-09 00:56:49 +01:00
Oliver Gugger
2221d0ccb1
lntest+lntemp: add itest case for wallet rescan problem
In this commit we add a test that demonstrates the problem of ghost
UTXOs lingering in the wallet after a re-scan, even if they were spent.

NOTE: This test shows the incorrect behavior and will be adjusted in a
follow-up commit to show the correct behavior after patching the
btcwallet version.
2022-12-09 00:56:49 +01:00
ffranr
1345b3c0aa
itest: add chainkit test
This test covers GetBlock, GetBestBlock, and GetBlockHash.
2022-12-07 14:50:15 +00:00
yyforyongyu
29652d88ee
lntest: add itest for timestamp filters 2022-12-05 20:04:47 +08:00
Olaoluwa Osuntokun
51f131b019
build: update to latest version of btcutil+btcwallet 2022-11-22 13:44:54 +01:00
Oliver Gugger
55b53555e9
multi: improve readability of goroutine defers
This commit fixes the readability of some of the defer calls in
goroutines by making sure the defer stands out properly.
2022-11-21 13:54:24 +01:00
Oliver Gugger
ad8e25cbc9
multi: don't access loop variables in goroutines
This commit makes sure that no loop variables or other temporary
variables are accessed directly in a goroutine but are instead passed
into the goroutine through a parameter. This makes sure a copy of the
value is put on the stack and is not changed while the outside loop
continues.
2022-11-21 13:54:23 +01:00
Oliver Gugger
f1124a0ff9
itest: fix taproot itest timeout issue 2022-11-18 11:10:12 +01:00
yyforyongyu
aafe4c38fc
lntest: fix flake in channel backup related tests
This commit fixes the channel backup tests by decreasing the recovery
window used from 1000 to 100 to speed up the startup of node Dave.
2022-11-17 21:06:13 +08:00
yyforyongyu
3d7aae42b3
lntest: increase node start timeout 2022-11-17 21:06:13 +08:00
yyforyongyu
60da823396
itest: fix make lint 2022-11-17 21:06:12 +08:00
yyforyongyu
966e037d53
itest: refactor testFailingChannel 2022-11-17 21:06:12 +08:00
yyforyongyu
008ef964fc
lntemp+itest: refactor testChannelForceClosure 2022-11-17 21:06:12 +08:00
yyforyongyu
61364c0d9d
lntemp+itest: refactor testCommitmentTransactionDeadline 2022-11-17 21:06:12 +08:00
yyforyongyu
f7f259b92a
itest: refactor testChannelUnsettledBalance 2022-11-17 21:06:11 +08:00
yyforyongyu
8f472bf063
itest: refactor testChannelBalance 2022-11-17 21:06:11 +08:00
yyforyongyu
876bb5c066
itest: refactor testExportChannelBackup 2022-11-17 21:06:11 +08:00
yyforyongyu
40a5f94ef7
lntemp+itest: refactor testChannelBackupUpdates 2022-11-17 21:06:11 +08:00
yyforyongyu
4e821a6e3d
lntemp+itest: refactor testInvoiceSubscriptions 2022-11-17 21:06:11 +08:00
yyforyongyu
d260ac1ab5
itest: refactor testPaymentFollowingChannelOpen 2022-11-17 21:06:11 +08:00
yyforyongyu
e963506f7d
lntemp+itest: refactor testListPayments 2022-11-17 21:06:10 +08:00
yyforyongyu
fc9c6c426e
lntemp+itest: refactor testUpdateNodeAnnouncement 2022-11-17 21:06:10 +08:00
yyforyongyu
c990e053c6
itest: refactor testNodeAnnouncement 2022-11-17 21:06:10 +08:00
yyforyongyu
7029698c16
lntemp+itest: refactor testGraphTopologyNotifications 2022-11-17 21:06:10 +08:00
yyforyongyu
1084e32f0e
itest: refactor testUnannouncedChannels 2022-11-17 21:06:10 +08:00
yyforyongyu
a211e60936
itest: refactor testAddPeerConfig 2022-11-17 21:06:08 +08:00
yyforyongyu
cc1d5f5f8d
lntemp+itest: refactor testReconnectAfterIPChange 2022-11-17 21:05:35 +08:00
yyforyongyu
4c16e053bf
lntemp+itest: refactor testNetworkConnectionTimeout 2022-11-17 21:05:33 +08:00
yyforyongyu
6b943a042c
itest: refactor testUpdateChannelPolicyFeeRateAccuracy 2022-11-17 20:58:06 +08:00
yyforyongyu
cd7f02c866
lntemp+itest: refactor testUpdateChannelPolicyForPrivateChannel 2022-11-17 20:58:06 +08:00
yyforyongyu
b579ed72d9
lntemp+itest: refactor testSendUpdateDisableChannel 2022-11-17 20:58:06 +08:00
yyforyongyu
22f8f83412
multi: refactor testUpdateChannelPolicy 2022-11-17 20:58:05 +08:00
yyforyongyu
1d7c568fcf
lntemp+itest: refactor testBatchChanFunding 2022-11-17 20:29:52 +08:00
yyforyongyu
21097feb85
multi: refactor testFundingPersistence
This commit refactors the test `testFundingPersistence`. In addition, it
also changes the old `OpenChannelAssertPending` method and adds a new
method `OpenChannelAssertStream` for clarity.
2022-11-17 20:29:52 +08:00
yyforyongyu
6a66f3984f
lntemp+itest: refactir testUnconfirmedChannelFunding 2022-11-17 20:29:52 +08:00
yyforyongyu
6a42270ba6
itest: refactor testChannelFundingInputTypes 2022-11-17 20:29:52 +08:00
yyforyongyu
5208c501a2
itest: refactor testOnchainFundRecovery 2022-11-17 20:29:52 +08:00
yyforyongyu
b4d288cc10
lntemp+itest: refactor testGetRecoveryInfo 2022-11-17 20:29:51 +08:00
yyforyongyu
b1b989afae
lntemp+itest: refactor testAbandonChannel 2022-11-17 20:29:51 +08:00
yyforyongyu
2c12c8a77c
multi: refactor testListAddresses 2022-11-17 20:29:51 +08:00
yyforyongyu
4104a72b3a
lntemp+itest: refactor testNodeSignVerify 2022-11-17 20:29:51 +08:00
yyforyongyu
1938e42f4e
itest: refactor testRejectHTLC 2022-11-17 20:29:51 +08:00
yyforyongyu
0c8bce0c1c
itest: refactor testGarbageCollectLinkNodes 2022-11-17 20:29:51 +08:00