Add basic, not-useful websocket server

This commit is contained in:
Paul Hauner
2019-09-14 10:34:03 -04:00
parent e1f6052d5e
commit 110e627d7b
6 changed files with 101 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ pub struct Config {
pub network: network::NetworkConfig,
pub rpc: rpc::RPCConfig,
pub rest_api: rest_api::ApiConfig,
pub websocket_server: websocket_server::Config,
}
/// Defines how the client should initialize a BeaconChain.
@@ -96,6 +97,7 @@ impl Default for Config {
network: NetworkConfig::new(),
rpc: <_>::default(),
rest_api: <_>::default(),
websocket_server: <_>::default(),
spec_constants: TESTNET_SPEC_CONSTANTS.into(),
beacon_chain_start_method: <_>::default(),
eth1_backend_method: <_>::default(),