Struct bitcoin_block::ConnectTrace
source · pub struct ConnectTrace {
pub blocks_connected: Vec<PerBlockConnectTrace>,
}Expand description
| Used to track blocks whose transactions | were applied to the UTXO state as a part | of a single ActivateBestChainStep | call. | | This class is single-use, once you call | GetBlocksConnected() you have to throw | it away and make a new one. |
Fields§
§blocks_connected: Vec<PerBlockConnectTrace>Implementations§
source§impl ConnectTrace
impl ConnectTrace
pub fn new() -> Self
pub fn block_connected(&mut self, pindex: *mut BlockIndex, pblock: Arc<Block>)
pub fn get_blocks_connected(&mut self) -> &mut Vec<PerBlockConnectTrace>
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectTrace
impl !Send for ConnectTrace
impl !Sync for ConnectTrace
impl Unpin for ConnectTrace
impl !UnwindSafe for ConnectTrace
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