[−][src]Struct grin_pool::types::PoolConfig
Transaction pool configuration
Fields
accept_fee_base: u64
Base fee for a transaction to be accepted by the pool. The transaction weight is computed from its number of inputs, outputs and kernels and multiplied by the base fee to compare to the actual transaction fee.
reorg_cache_period: u32
max_pool_size: usize
Maximum capacity of the pool in number of transactions
max_stempool_size: usize
Maximum capacity of the pool in number of transactions
mineable_max_weight: u64
Maximum total weight of transactions that can get selected to build a block from. Allows miners to restrict the maximum weight of their blocks.
Trait Implementations
impl Clone for PoolConfig
[src]
pub fn clone(&self) -> PoolConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PoolConfig
[src]
impl Default for PoolConfig
[src]
pub fn default() -> PoolConfig
[src]
impl<'de> Deserialize<'de> for PoolConfig
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<PoolConfig> for PoolConfig
[src]
pub fn eq(&self, other: &PoolConfig) -> bool
[src]
pub fn ne(&self, other: &PoolConfig) -> bool
[src]
impl Serialize for PoolConfig
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for PoolConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for PoolConfig
[src]
impl Send for PoolConfig
[src]
impl Sync for PoolConfig
[src]
impl Unpin for PoolConfig
[src]
impl UnwindSafe for PoolConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,