Struct bitcoin_block::BlockLocator
source · pub struct BlockLocator {
pub have: Vec<u256>,
}Expand description
| Describes a place in the block chain | to another node such that if the other | node doesn’t have the same branch, it | can find a recent common trunk. | | The further back it is, the further before | the fork it may be. |
Fields§
§have: Vec<u256>Implementations§
Trait Implementations§
source§impl Default for BlockLocator
impl Default for BlockLocator
source§fn default() -> BlockLocator
fn default() -> BlockLocator
Returns the “default value” for a type. Read more
source§impl RecursiveDynamicUsage for BlockLocator
impl RecursiveDynamicUsage for BlockLocator
fn recursive_dynamic_usage(&self) -> usize
Auto Trait Implementations§
impl RefUnwindSafe for BlockLocator
impl Send for BlockLocator
impl Sync for BlockLocator
impl Unpin for BlockLocator
impl UnwindSafe for BlockLocator
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