yyforyongyu
ab23421cd8
lntemp+itest: refactor testDeriveSharedKey
2023-01-18 10:53:56 +08:00
yyforyongyu
57e208c176
lntemp+itest: refactor testBasicChannelCreationAndUpdates
...
We also temporarily comment out the `testRemoteSigner` test and will
bring it back when its sub tests are refacted.
2023-01-18 10:53:55 +08:00
yyforyongyu
2b11a619db
lntemp+itest: refactor testNonstdSweep
2023-01-18 10:53:55 +08:00
yyforyongyu
c4ffd8b469
itest: refactor testOptionScidUpgrade
2023-01-18 10:53:55 +08:00
yyforyongyu
48aa84a08c
itest: refactor testUpdateChannelPolicyScidAlias
2023-01-18 10:53:55 +08:00
yyforyongyu
6b82676ca2
lntemp+itest: refactor testOptionScidAlias
2023-01-18 10:53:55 +08:00
yyforyongyu
15da2a3459
itest: refactor testZeroConfChannelOpen
2023-01-18 10:53:55 +08:00
yyforyongyu
dd7e59237b
itest: refactor testForwardInterceptorBasic
2023-01-18 10:53:54 +08:00
yyforyongyu
97a7638c50
lntemp+itest: refactor testForwardInterceptorDedupHtlc
2023-01-18 10:53:54 +08:00
yyforyongyu
707d888aa4
lntemp+itest: refactor testSendToRouteAMP
2023-01-18 10:53:54 +08:00
yyforyongyu
44b9068de5
itest: refactor testSendPaymentAMP
2023-01-18 10:53:54 +08:00
yyforyongyu
23e45a192e
itest: refactor testSendPaymentAMPInvoiceRepeat
2023-01-18 10:53:54 +08:00
yyforyongyu
780f2e84a3
itest: refactor testSendPaymentAMPInvoice
2023-01-18 10:53:54 +08:00
yyforyongyu
4292c05e04
itest: refactor testSendMultiPathPayment
2023-01-18 10:53:53 +08:00
yyforyongyu
1f1123523e
lntemp+itest: refactor testSendToRouteMultiPath
...
This commit also introduces `mppTestScenario` which replaces the old
`mppmppTestContext` to reduce the total blocks mined during the test.
For each test case it will save 35 blocks.
2023-01-18 10:53:53 +08:00
yyforyongyu
9943bb8539
itest: refactor testSwitchOfflineDeliveryOutgoingOffline
2023-01-18 10:53:53 +08:00
yyforyongyu
874689719e
itest: refactor testSwitchOfflineDeliveryPersistence
2023-01-18 10:53:53 +08:00
yyforyongyu
476434f546
lntemp+itest: refactor testSwitchOfflineDelivery
2023-01-18 10:53:53 +08:00
yyforyongyu
baeb78e2cc
lntemp+itest: refactor testSwitchCircuitPersistence
2023-01-18 10:53:52 +08:00
yyforyongyu
d4b2798570
itest: make sure SendToRoute stream is recieved with timeout
2023-01-17 07:34:48 +08:00
yyforyongyu
3353643006
itest: fix test testListPayments
2023-01-17 07:26:58 +08:00
yyforyongyu
fe376385d1
lntemp+lntest: fix make lint
2023-01-17 07:26:58 +08:00
yyforyongyu
bc0bdfefc2
itest: refactor testWipeForwardingPackages
2023-01-17 07:26:57 +08:00
yyforyongyu
05f198f34e
itest: refactor testSingleHopInvoice
2023-01-17 07:26:57 +08:00
yyforyongyu
8a4d2741a3
lntemp+itest: refactor testStatelessInit
2023-01-17 07:26:57 +08:00
yyforyongyu
4b469eb0c5
itest: refactor testDeleteMacaroonID
2023-01-17 07:26:57 +08:00
yyforyongyu
64bf6f4e26
itest: refactor testBakeMacaroon
2023-01-17 07:26:57 +08:00
yyforyongyu
9794dbd7b2
itest: refactor testMacaroonAuthentication
2023-01-17 07:26:56 +08:00
yyforyongyu
84278d6a49
lntemp+itest: refactor testRPCMiddlewareInterceptor
2023-01-17 07:26:56 +08:00
yyforyongyu
ad77a45112
lntemp+itest: refactor node restart process
...
This commit refactors how the node restart is done. It removes the usage
of `HasSeed` and replaces it with `SkipUnlock` for clarity.
2023-01-17 07:26:56 +08:00
yyforyongyu
368635ef95
lntemp+itest: refactor testRouteFeeCutoff
2023-01-17 07:26:56 +08:00
yyforyongyu
b2dc9d8393
lntemp+itest: refactor testQueryRoutes
2023-01-17 07:26:56 +08:00
yyforyongyu
ba6a722ad8
itest: refactor testMultiHopOverPrivateChannels
2023-01-17 07:26:56 +08:00
yyforyongyu
5536f16d4b
itest: refactor testInvoiceRoutingHints
2023-01-17 07:26:56 +08:00
yyforyongyu
2ce93afd70
itest: refactor testPrivateChannels
2023-01-17 07:26:55 +08:00
yyforyongyu
25b6ff3336
itest: refactor testSendToRouteErrorPropagation
2023-01-17 07:26:55 +08:00
yyforyongyu
787883870b
itest: refactor testMultiHopSendToRoute
2023-01-16 16:49:20 +08:00
yyforyongyu
c5785967aa
lntemp+itest: refactor testSingleHopSendToRoute
2023-01-16 16:49:19 +08:00
yyforyongyu
ede86cf08f
itest: send one more UTXO for neutrino backend
...
Send another UTXO if this is a neutrino backend. When sweeping anchors,
there are two transactions created, `local_sweep_tx` for sweeping
Alice's anchor on the local commitment, `remote_sweep_tx` for sweeping
her anchor on the remote commitment. Whenever the force close
transaction is published, Alice will always create these two
transactions to sweep her anchor.
On the other hand, when creating the sweep txes, the anchor itself is
not able to cover the fee, so another wallet UTXO is needed. In our
test case, there's a change output that can be used from the above
funding process. And it's used by both sweep txes - when `lnd` happens
to create the `remote_sweep_tx` first, it will receive an error since
its parent tx, the remote commitment, is not known, hence freeing the
change output to be used by `local_sweep_tx`. For neutrino client,
however, it will consider the transaction which sweeps the remote anchor
as an orphan tx, and it will neither send it to the mempool nor return
an error to free the change output. Thus, if the change output is
already used in `remote_sweep_tx`, we won't have UTXO to create
`local_sweep_tx`.
2023-01-16 16:49:19 +08:00
yyforyongyu
8df5de3e43
lntest+itest: make sure mempool is cleaned in watcher tower test
...
This commit adds the missing check for anchor sweep in test
`revoked_uncooperative_close_retribution_altruist_watchtower`, also
change the mempool check a bit so it's easier to track.
2023-01-16 16:49:19 +08:00
yyforyongyu
6792ca17b4
lntemp+itest: refactor testRevokedCloseRetributionAltruistWatchtower
2023-01-16 16:49:19 +08:00
yyforyongyu
211aa4c6f2
itest: refactor testRevokedCloseRetributionRemoteHodl
2023-01-16 16:49:19 +08:00
yyforyongyu
f590a96372
itest: refactor testRevokedCloseRetributionZeroValueRemoteOutput
2023-01-16 16:49:19 +08:00
yyforyongyu
222c06ca48
itest: refactor testRevokedCloseRetribution
2023-01-16 16:49:19 +08:00
yyforyongyu
f254851e01
itest: refactor testRestAPI
2023-01-16 16:49:18 +08:00
yyforyongyu
89727ed1d7
lntemp+itest: refactor testResHandoff
2023-01-16 16:49:18 +08:00
yyforyongyu
83ecc6285c
itest: refactor testPsbtChanFundingSingleStep
2023-01-16 16:49:18 +08:00
yyforyongyu
4a8cf91e53
itest: refactor testPsbtChanFundingExternal
2023-01-16 16:49:18 +08:00
yyforyongyu
68016c0b51
lntemp+itest: refactor testOpenChannelAfterReorg
2023-01-16 16:49:18 +08:00
yyforyongyu
9cb8b120ba
lntemp+itest: refactor testAnchorThirdPartySpend
2023-01-16 16:49:18 +08:00