SimpleLocal creates a basic LocalCfg with the given parameters and defaults
(id string, key state.NyPrivateKey)
| 546 | |
| 547 | // SimpleLocal creates a basic LocalCfg with the given parameters and defaults |
| 548 | func SimpleLocal(id string, key state.NyPrivateKey) state.LocalCfg { |
| 549 | return state.LocalCfg{ |
| 550 | Id: state.NodeId(id), |
| 551 | Key: key, |
| 552 | Port: 57175, |
| 553 | NoNetConfigure: false, |
| 554 | InterfaceName: "nylon0", |
| 555 | } |
| 556 | } |