pub struct ChiaTable { /* private fields */ }
Expand description
Subspace proof of space table.
Chia implementation.
Trait Implementations§
source§impl Table for ChiaTable
impl Table for ChiaTable
source§const TABLE_TYPE: PosTableType = PosTableType::Chia
const TABLE_TYPE: PosTableType = PosTableType::Chia
Proof of space table type
source§type Generator = ChiaTableGenerator
type Generator = ChiaTableGenerator
Instance that can be used to generate tables with better performance
source§fn generate_parallel(seed: &PosSeed) -> ChiaTable
fn generate_parallel(seed: &PosSeed) -> ChiaTable
Generate new table with 32 bytes seed using parallelism. Read more
source§fn find_proof(&self, challenge_index: u32) -> Option<PosProof>
fn find_proof(&self, challenge_index: u32) -> Option<PosProof>
Try to find proof at
challenge_index
if it existssource§fn is_proof_valid(
seed: &PosSeed,
challenge_index: u32,
proof: &PosProof,
) -> bool
fn is_proof_valid( seed: &PosSeed, challenge_index: u32, proof: &PosProof, ) -> bool
Check whether proof created earlier is valid and return quality bytes if yes
source§impl TableGenerator<ChiaTable> for ChiaTableGenerator
impl TableGenerator<ChiaTable> for ChiaTableGenerator
Auto Trait Implementations§
impl Freeze for ChiaTable
impl RefUnwindSafe for ChiaTable
impl Send for ChiaTable
impl Sync for ChiaTable
impl Unpin for ChiaTable
impl UnwindSafe for ChiaTable
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more