(cfg *CentralCfg, keyStore map[string]NyPrivateKey, node NodeId)
| 81 | } |
| 82 | |
| 83 | func SampleConfigState(cfg *CentralCfg, keyStore map[string]NyPrivateKey, node NodeId) ConfigState { |
| 84 | return ConfigState{ |
| 85 | CentralCfg: *cfg, |
| 86 | LocalCfg: LocalCfg{ |
| 87 | Key: keyStore[string(node)], |
| 88 | Id: node, |
| 89 | Port: 5000, |
| 90 | NoNetConfigure: false, |
| 91 | }, |
| 92 | } |
| 93 | } |