yyforyongyu
c3d1d3c4f1
multi: make SubBatchDelay
configurable
...
This commit adds a new config option `--gossip.sub-batch-delay` so we
can speed up our itest.
2023-02-17 14:10:09 +08:00
bitromortac
2ccdfb1151
lncli+routerrpc: adapt mc api to dynamic estimator
...
The active probability estimator can be switched dynamically using the
`Set/GetMissionControl` API, maintaining backward compatibility. The
lncli commands `setmccfg` and `getmccfg` are updated around this
functionality. Note that deprecated configuration parameters were
removed from the commands.
2023-02-14 13:34:25 +01:00
Oliver Gugger
58d0707a77
itest: test both MuSig2 versions
2023-02-06 10:50:30 +01:00
Chris Geihsler
a5eaabf548
multi: add sqlite option to itests and github job
2023-01-25 14:16:56 +02:00
ziggie
28bceb23c8
walletrpc: add test sign/verify methods
...
Test the introduced methods sign/verify messages for single addresses
2023-01-24 09:23:42 +01:00
yyforyongyu
692cd4bc4f
lnutils+lntemp: move SyncMap
to lnutils
...
This commit moves the `SyncMap` from `lntemp/node` into `lnutils` so it
can be used by other packages.
2023-01-19 07:08:18 +08:00
yyforyongyu
107404dfb8
itest+lntemp: refactor testCustomMessage
2023-01-18 10:53:59 +08:00
yyforyongyu
7bd8ae08c0
lntest: fix completePaymentRequestsAssertStatus
...
This commit moves the assertion `AssertPaymentStatusFromStream` outside
of the goroutine so the test won't fail after the case is finished.
2023-01-18 10:53:58 +08:00
yyforyongyu
178e4b0103
lntemp+lntest: fix make lint
2023-01-18 10:53:58 +08:00
yyforyongyu
f3ad66b363
lntest+lntest: inherit node's public states when restarting it
...
This commit changes how a node's state is created during startup. When
it already has states, only its internal states are reset since these
info are only useful for the finished test. The name `InitRPCClients` is
changed to `Initialize` to reflect the fact that it's more than
initializing RPC clients.
2023-01-18 10:53:58 +08:00
yyforyongyu
0b0c0f12ee
lntemp+lntest: refactor testOpenChannelUpdateFeePolicy
2023-01-18 10:53:58 +08:00
yyforyongyu
1cb7ea1a0c
itest+lntemp: refactor testTrackPayments
2023-01-18 10:53:58 +08:00
yyforyongyu
38eaa36d90
lntemp+itest: refactor testRemoteSigner
2023-01-18 10:53:57 +08:00
yyforyongyu
b8566359da
lntemp+itest: refactor testAsyncPayments
2023-01-18 10:53:57 +08:00
yyforyongyu
0176d58b85
itest: refactor testTaproot
2023-01-18 10:53:57 +08:00
yyforyongyu
8ba5f399d3
lntemp: prepare assertions for testTaproot
2023-01-18 10:53:57 +08:00
yyforyongyu
d78af3cec6
lntemp+itest: refactor testSignPsbt
2023-01-18 10:53:56 +08:00
yyforyongyu
08dfebbd6c
lntemp+rpc: refactor testSignVerifyMessage
2023-01-18 10:53:56 +08:00
yyforyongyu
20e454b229
lntemp+itest: refactor testSignOutputRaw
2023-01-18 10:53:56 +08:00
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
6b82676ca2
lntemp+itest: refactor testOptionScidAlias
2023-01-18 10:53:55 +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
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
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
23ec7b23e1
lntemp: make sure mempool is synced when funding nodes
2023-01-17 07:26:58 +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
8a4d2741a3
lntemp+itest: refactor testStatelessInit
2023-01-17 07:26:57 +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
25b6ff3336
itest: refactor testSendToRouteErrorPropagation
2023-01-17 07:26:55 +08:00
yyforyongyu
c5785967aa
lntemp+itest: refactor testSingleHopSendToRoute
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
89727ed1d7
lntemp+itest: refactor testResHandoff
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
yyforyongyu
f1f3d22a81
lntemp+itest: refactor testMultiHopPayments
2023-01-16 16:49:17 +08:00
yyforyongyu
130c4e325a
lntemp+itest: refactor testHtlcErrorPropagation
2023-01-16 16:49:17 +08:00
yyforyongyu
16bac64ecb
lntemp+itest: refactor testHoldInvoicePersistence
2023-01-16 16:49:17 +08:00
yyforyongyu
984d3ece12
lntemp+itest: refactor testHoldInvoiceForceClose
2023-01-16 16:49:16 +08:00
yyforyongyu
c1b3481354
lntemp+itest: refactor testEtcdFailover
2023-01-16 16:49:16 +08:00
ErikEk
cc08271c5f
itest: add neutrinoclient to harnessnode
2023-01-12 13:24:44 +07:00