Struct bitcoinnode_txrelay::NodeTxRelayFilter
source · pub struct NodeTxRelayFilter {
pub relay_txes: bool,
pub pfilter: Option<BloomFilter>,
}
Fields§
§relay_txes: bool
| We use fRelayTxes for two purposes - | | a) it allows us to not relay tx invs | before receiving the peer’s version | message | | b) the peer may tell us in its version | message that we should not relay tx | invs unless it loads a bloom filter. |
pfilter: Option<BloomFilter>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NodeTxRelayFilter
impl Send for NodeTxRelayFilter
impl Sync for NodeTxRelayFilter
impl Unpin for NodeTxRelayFilter
impl UnwindSafe for NodeTxRelayFilter
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more