Add rpc port sanity checks, fix tests
This commit is contained in:
@ -47,8 +47,7 @@ fn new_response<T>(bank: &Bank, value: T) -> RpcResponse<T> {
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct JsonRpcConfig {
|
||||
pub rpc_ports: Option<(u16, u16)>, // (API, PubSub)
|
||||
pub enable_validator_exit: bool, // Enable the 'validatorExit' command
|
||||
pub enable_validator_exit: bool, // Enable the 'validatorExit' command
|
||||
pub faucet_addr: Option<SocketAddr>,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user