SetWalFile sets the path to the write-ahead log file
(walFile string)
| 1225 | |
| 1226 | // SetWalFile sets the path to the write-ahead log file |
| 1227 | func (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. |
no outgoing calls