lntest+itest: start flattening the multi-hop tests

Starting from this commit, we begin the process of flattening the
multi-hop itests to make them easier to be maintained. The tests are
refactored into their own test cases, with each test focusing on testing
one channel type. This is necessary to save effort for future
development.

These tests are also updated to reflect the new `blockbeat` behavior.
This commit is contained in:
yyforyongyu committed 2024-12-20 17:54:09 +08:00
1 parent e45005b310
commit 9ab9cd5f99
5 files changed
+554 -246

No files matched your search

+34
View File
@@ -41,6 +41,40 @@ var (
btcdExecutable = flag.String(
"btcdexec", "", "full path to btcd binary",
)
// CfgLegacy specifies the config used to create a node that uses the
// legacy channel format.
CfgLegacy = []string{"--protocol.legacy.committweak"}
// CfgStaticRemoteKey specifies the config used to create a node that
// uses the static remote key feature.
CfgStaticRemoteKey = []string{}
// CfgAnchor specifies the config used to create a node that uses the
// anchor output feature.
CfgAnchor = []string{"--protocol.anchors"}
// CfgLeased specifies the config used to create a node that uses the
// leased channel feature.
CfgLeased = []string{
"--protocol.anchors",
"--protocol.script-enforced-lease",
}
// CfgSimpleTaproot specifies the config used to create a node that
// uses the simple taproot feature.
CfgSimpleTaproot = []string{
"--protocol.anchors",
"--protocol.simple-taproot-chans",
}
// CfgZeroConf specifies the config used to create a node that uses the
// zero-conf channel feature.
CfgZeroConf = []string{
"--protocol.anchors",
"--protocol.option-scid-alias",
"--protocol.zero-conf",
}
)
type DatabaseBackend int