Trait nakamoto_p2p::protocol::spvmgr::SyncFilters [−][src]
Compact filter synchronization.
Required methods
fn get_cfheaders(
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: Timeout
)
[src]
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: Timeout
)
Get compact filter headers from peer, starting at the start height, and ending at the stop hash.
fn get_cfilters(
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: Timeout
)
[src]
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: Timeout
)
Get compact filters from a peer.
fn send_cfheaders(&self, addr: PeerId, headers: CFHeaders)
[src]
Send compact filter headers to a peer.
fn send_cfilter(&self, addr: PeerId, filter: CFilter)
[src]
Send a compact filter to a peer.
Implementors
impl SyncFilters for Channel
[src]
fn get_cfheaders(
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: LocalDuration
)
[src]
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: LocalDuration
)
fn send_cfheaders(&self, addr: PeerId, headers: CFHeaders)
[src]
fn get_cfilters(
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: LocalDuration
)
[src]
&self,
addr: PeerId,
start_height: Height,
stop_hash: BlockHash,
timeout: LocalDuration
)