feat: add Web3 namespace RPC handler (#990)

This commit is contained in:
Aurélien
2023-01-23 22:53:15 +01:00
committed by GitHub
parent e505c5f670
commit 6f047a5de0
5 changed files with 47 additions and 4 deletions

View File

@ -42,8 +42,8 @@ pub trait PeersInfo: Send + Sync {
/// The status of the network being ran by the local node.
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct NetworkStatus {
/// The local node client name.
pub client_name: String,
/// The local node client version.
pub client_version: String,
/// Information about the Ethereum Wire Protocol.
pub eth_protocol_info: EthProtocolInfo,
}