yyforyongyu
6bd8baea38
lntest+itest: continue removing direct call to Miner
2024-07-23 21:30:07 +08:00
yyforyongyu
976bb37972
lntest+itest: add method AssertNumTxsInMempool
and AssertTxInBlock
...
in harness
Prepare to make `HarnessTest.Miner` a private instance to sync height.
2024-07-23 21:30:07 +08:00
yyforyongyu
e553895ddd
lntest+itest: strictly define the behavior of MineBlocks
...
This commit adds more assertion to `MineBlocks` so the caller won't
misuse it.
2024-07-23 21:30:07 +08:00
yyforyongyu
91b20e661b
lntest: move mining methods into one file
2024-07-23 21:30:07 +08:00
yyforyongyu
a881477404
lntest: create new package lntest/miner
for itest miner
...
This commit moves the `HarnessMiner` into a new package to avoid
confusion about incoming changes.
2024-07-23 21:30:07 +08:00
erik
caf2419ff6
multi: replace ioutil.ReadDir
2024-04-25 11:24:17 +02:00
yyforyongyu
d4de6dd236
itest+lntest: fix onchain tests
2024-04-19 21:33:37 +08:00
yyforyongyu
a1a480a81c
itest+lntest: add itest testSweepHTLCs
to check HTLC sweepings
2024-04-19 21:33:36 +08:00
yyforyongyu
29124dd3b4
itest+lntest: add helper methods to manage temp miners
...
This commit adds several methods to easily spawn a temp miner and
connect/disconnect it from the original miner.
2023-06-19 14:04:24 +08:00
yyforyongyu
774db0dfe1
lntest: add more methods to assert mempool state
2023-04-19 01:18:19 +08:00
yyforyongyu
28744d89c7
lntest: fix linter stylecheck
and containedctx
2023-02-24 01:35:16 +08:00
yyforyongyu
17f08a87db
lntest+itest: remove assertion while iterating mempool
2023-02-23 21:56:10 +08:00
yyforyongyu
2bc6aabf96
itest: fix make lint
...
This commit fixes the issues reported by the linter.
2023-02-23 21:56:10 +08:00
yyforyongyu
9d1d629001
itest+lntest: migrate lntemp
to lntest
...
This commit performs the takeover that `lntemp` is now promoted to be
`lntest`, and the scaffolding is now removed as all the refactoring is
finished!
2023-02-23 21:56:09 +08:00
yyforyongyu
94c64a886e
lntemp+itest: remove unused code to prepare lntemp
's takeover
...
This commit removes the old code living in `lntest` to prepare
`lntemp`'s takeover.
2023-02-23 21:56:08 +08:00
yyforyongyu
587273174e
itest: start using harness miner in harness net
...
This commit replaces the old miner with the new HarnessMiner and cleans
harness_node.go by moving methods into the test_common.go.
2022-01-05 13:10:06 +08:00
yyforyongyu
337aa6670b
itest: introduce harness miner
...
This commit adds a new component, harness miner, to the itest. This
newly added component is responsible for checking the mempool and blocks
for the itest.
2022-01-05 13:10:06 +08:00