Struct ckb_proposal_table::ProposalView [−][src]
pub struct ProposalView { /* fields omitted */ }Expand description
A view captures point-time proposal set, representing on-chain proposed transaction pool, stored in the memory so that there is no need to fetch on hard disk, create by ProposalTable finalize method w_close and w_far define the closest and farthest on-chain distance between a transaction’s proposal and commitment.
Implementations
Create new ProposalView
Return proposals between w_close and tip
Return proposals between w_close and w_far
Returns true if the proposals set between w_close and w_far contains the id.
Returns true if the proposals set between w_close and tip contains the id.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProposalView
impl Send for ProposalView
impl Sync for ProposalView
impl Unpin for ProposalView
impl UnwindSafe for ProposalView
Blanket Implementations
Mutably borrows from an owned value. Read more