MCPcopy Create free account
hub / github.com/tendermint/tendermint / SetWalFile

Method SetWalFile

config/config.go:1227–1229  ·  view source on GitHub ↗

SetWalFile sets the path to the write-ahead log file

(walFile string)

Source from the content-addressed store, hash-verified

1225
1226// SetWalFile sets the path to the write-ahead log file
1227func (cfg *ConsensusConfig) SetWalFile(walFile string) {
1228 cfg.walFile = walFile
1229}
1230
1231// ValidateBasic performs basic validation (checking param bounds, etc.) and
1232// returns an error if any check fails.

Callers 1

testHandshakeReplayFunction · 0.80

Calls

no outgoing calls

Tested by 1

testHandshakeReplayFunction · 0.64