pub struct NodeInfo {
pub node_version: String,
pub l1_chain_id: u64,
pub rollup_version: u64,
pub enr: Option<String>,
pub l1_contract_addresses: Value,
pub protocol_contract_addresses: Value,
pub real_proofs: bool,
pub l2_circuits_vk_tree_root: Option<String>,
pub l2_protocol_contracts_hash: Option<String>,
}Expand description
Information returned by the Aztec node about its current state.
Fields§
§node_version: StringSemantic version of the node software.
l1_chain_id: u64L1 chain ID the node is connected to.
rollup_version: u64Rollup protocol version.
enr: Option<String>Ethereum Node Record, if available.
l1_contract_addresses: ValueL1 contract addresses — kept as opaque JSON until the full schema stabilizes.
protocol_contract_addresses: ValueProtocol contract addresses — kept as opaque JSON until the full schema stabilizes.
real_proofs: boolWhether the node is running with real (non-mock) proofs.
l2_circuits_vk_tree_root: Option<String>L2 circuits verification key tree root.
l2_protocol_contracts_hash: Option<String>L2 protocol contracts hash.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeInfo
impl<'de> Deserialize<'de> for NodeInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NodeInfo
impl Serialize for NodeInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more