Skip to main content

is_potential_receive

Function is_potential_receive 

Source
pub fn is_potential_receive(script_pubkey: &ScriptBuf, pks_hash: &Hash) -> bool
Expand description

Returns true if the script pubkey potentially belongs to the federation. This uses a probabilistic filter - only ~1/65536 of P2WSH scripts pass.