[−][src]Struct exonum_btc_anchoring::AnchoringNodeConfig
Private part of anchoring service configuration stored on a local machine.
Fields
rpc: Option<AnchoringRpcConfig>
Rpc configuration. Must exist if node is validator.
Otherwise node can only check lect
payload without any checks with bitcoind
.
private_keys: BTreeMap<String, PrivateKey>
Set of private keys for each anchoring address.
check_lect_frequency: u64
Frequency of lect check in blocks.
observer: AnchoringObserverConfig
Anchoring observer config.
Methods
impl AnchoringNodeConfig
[src]
impl AnchoringNodeConfig
pub fn new(rpc: Option<AnchoringRpcConfig>) -> AnchoringNodeConfig | [src] |
Creates blank configuration from given rpc config.
Trait Implementations
impl Default for AnchoringNodeConfig
[src]
impl Default for AnchoringNodeConfig
fn default() -> AnchoringNodeConfig | [src] |
impl PartialEq<AnchoringNodeConfig> for AnchoringNodeConfig
[src]
impl PartialEq<AnchoringNodeConfig> for AnchoringNodeConfig
fn eq(&self, other: &AnchoringNodeConfig) -> bool | [src] |
fn ne(&self, other: &AnchoringNodeConfig) -> bool | [src] |
impl Clone for AnchoringNodeConfig
[src]
impl Clone for AnchoringNodeConfig
fn clone(&self) -> AnchoringNodeConfig | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for AnchoringNodeConfig
[src]
impl Debug for AnchoringNodeConfig
impl Serialize for AnchoringNodeConfig
[src]
impl Serialize for AnchoringNodeConfig
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where | [src] |
impl<'de> Deserialize<'de> for AnchoringNodeConfig
[src]
impl<'de> Deserialize<'de> for AnchoringNodeConfig
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where | [src] |
Auto Trait Implementations
impl Send for AnchoringNodeConfig
impl Send for AnchoringNodeConfig
impl Sync for AnchoringNodeConfig
impl Sync for AnchoringNodeConfig
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Erased for T
impl<T> Erased for T
impl<T> Erased for T
impl<T> SerializeContent for T where
T: Serialize,
[src]
impl<T> SerializeContent for T where
T: Serialize,
fn serialize_content<S>( | [src] |
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self) |
impl<T> InitializableFromZeroed for T where
T: Default,
impl<T> InitializableFromZeroed for T where
T: Default,
unsafe fn initialize(place: *mut T) |