AddrBookFile returns the full path to the address book
()
| 633 | |
| 634 | // AddrBookFile returns the full path to the address book |
| 635 | func (cfg *P2PConfig) AddrBookFile() string { |
| 636 | return rootify(cfg.AddrBook, cfg.RootDir) |
| 637 | } |
| 638 | |
| 639 | // ValidateBasic performs basic validation (checking param bounds, etc.) and |
| 640 | // returns an error if any check fails. |