Struct txoo::OracleSetup
source · Expand description
Basic information about an oracle
Fields§
§network: NetworkThe network
start_block: u32The first block the oracle produced attestations for.
Note that the prev_filter_header is defined as all zeros for this block.
This parameter cannot be changed without invalidating all the oracle’s attestations.
public_key: PublicKeyThe oracle public key
Trait Implementations§
source§impl Clone for OracleSetup
impl Clone for OracleSetup
source§fn clone(&self) -> OracleSetup
fn clone(&self) -> OracleSetup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OracleSetup
impl Debug for OracleSetup
source§impl<'de> Deserialize<'de> for OracleSetup
impl<'de> Deserialize<'de> for OracleSetup
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more