mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: reduce size of common types (#5304)
This commit is contained in:
@ -120,7 +120,7 @@ pub struct PeerInfo {
|
||||
/// The identifier of the remote peer
|
||||
pub remote_id: PeerId,
|
||||
/// The client's name and version
|
||||
pub client_version: Arc<String>,
|
||||
pub client_version: Arc<str>,
|
||||
/// The peer's address we're connected to
|
||||
pub remote_addr: SocketAddr,
|
||||
/// The local address of the connection
|
||||
@ -130,7 +130,7 @@ pub struct PeerInfo {
|
||||
/// The negotiated eth version.
|
||||
pub eth_version: EthVersion,
|
||||
/// The Status message the peer sent for the `eth` handshake
|
||||
pub status: Status,
|
||||
pub status: Arc<Status>,
|
||||
}
|
||||
|
||||
/// The direction of the connection.
|
||||
|
||||
Reference in New Issue
Block a user