WalDir returns the full path to the mempool's write-ahead log
()
| 763 | |
| 764 | // WalDir returns the full path to the mempool's write-ahead log |
| 765 | func (cfg *MempoolConfig) WalDir() string { |
| 766 | return rootify(cfg.WalPath, cfg.RootDir) |
| 767 | } |
| 768 | |
| 769 | // WalEnabled returns true if the WAL is enabled. |
| 770 | func (cfg *MempoolConfig) WalEnabled() bool { |