pub struct SplitTip {
pub hash: Hash,
pub height: Height,
pub chain_work: String,
pub rungs: Vec<String>,
}Expand description
One tip of a split, as the header service observed it over its rungs.
[SRC] chaintracks-cloudflare@v0.4.1 src/events.rs:50-57, docs/SPLITS.md:75-92.
These are wire data: neither chain_work nor rungs is checked here.
Fields§
§hash: HashThe display order hash of this branch’s witness tip.
height: HeightThe witness tip’s height, at or above the split’s fork_height.
chain_work: StringThe cumulative chain work at the tip, as the emitter’s string.
rungs: Vec<String>The rung names reporting exactly this tip, sorted and non-empty.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SplitTip
impl<'de> Deserialize<'de> for SplitTip
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SplitTip
impl StructuralPartialEq for SplitTip
Auto Trait Implementations§
impl Freeze for SplitTip
impl RefUnwindSafe for SplitTip
impl Send for SplitTip
impl Sync for SplitTip
impl Unpin for SplitTip
impl UnsafeUnpin for SplitTip
impl UnwindSafe for SplitTip
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more