mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 14:34:17 +00:00
e2e: add generator tests (#7008)
This commit is contained in:
@@ -150,6 +150,11 @@ type ManifestNode struct {
|
||||
UseLegacyP2P bool `toml:"use_legacy_p2p"`
|
||||
}
|
||||
|
||||
// Stateless reports whether m is a node that does not own state, including light and seed nodes.
|
||||
func (m ManifestNode) Stateless() bool {
|
||||
return m.Mode == string(ModeLight) || m.Mode == string(ModeSeed)
|
||||
}
|
||||
|
||||
// Save saves the testnet manifest to a file.
|
||||
func (m Manifest) Save(file string) error {
|
||||
f, err := os.Create(file)
|
||||
|
||||
Reference in New Issue
Block a user