Struct floresta_chain::pruned_utreexo::udata::UData
source · pub struct UData {
pub remember_idx: Vec<u64>,
pub proof: BatchProof,
pub leaves: Vec<CompactLeafData>,
}
Expand description
UData contains data needed to prove the existence and validity of all inputs for a Bitcoin block. With this data, a full node may only keep the utreexo roots and still be able to fully validate a block.
Fields§
§remember_idx: Vec<u64>
All the indexes of new utxos to remember.
proof: BatchProof
AccProof is the utreexo accumulator proof for all the inputs.
leaves: Vec<CompactLeafData>
LeafData are the tx validation data for every input.
Trait Implementations§
source§impl PartialEq<UData> for UData
impl PartialEq<UData> for UData
impl Eq for UData
impl StructuralEq for UData
impl StructuralPartialEq for UData
Auto Trait Implementations§
impl RefUnwindSafe for UData
impl Send for UData
impl Sync for UData
impl Unpin for UData
impl UnwindSafe for UData
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