@@ -200,16 +200,10 @@ class PlotParam:
200200 size_v1 : Optional [uint8 ]
201201 strength_v2 : Optional [uint8 ]
202202
203- # Proof-of-space 2
204- @final
205- class QualityProof :
206- def serialize (self ) -> bytes32 : ...
207-
208203@final
209204class Prover :
210205 def __new__ (cls , plot_path : str ) -> Prover : ...
211- def get_qualities_for_challenge (self , challenge : bytes32 , proof_fragment_filter : int ) -> list [QualityProof ]: ...
212- def get_partial_proof (self , quality : QualityProof ) -> tuple [PartialProof , int ]: ...
206+ def get_qualities_for_challenge (self , challenge : bytes32 ) -> list [PartialProof ]: ...
213207 def size (self ) -> int : ...
214208 def plot_id (self ) -> bytes32 : ...
215209 def get_strength (self ) -> int : ...
@@ -226,7 +220,7 @@ def create_v2_plot(filename: str,
226220 memo : bytes ,
227221) -> None : ...
228222
229- def validate_proof_v2 (plot_id : bytes32 , size : int , challenge : bytes32 , required_plot_strength : int , proof_fragment_scan_filter : int , proof : bytes ) -> Optional [bytes32 ]: ...
223+ def validate_proof_v2 (plot_id : bytes32 , size : int , challenge : bytes32 , plot_strength : int , proof : bytes ) -> Optional [bytes32 ]: ...
230224
231225def solve_proof (fragments : PartialProof , plot_id : bytes32 , strength : int , k : int ) -> bytes : ...
232226
@@ -2086,10 +2080,11 @@ class HeaderBlock:
20862080
20872081@final
20882082class PartialProof :
2089- proof_fragments : list [uint64 ]
2083+ fragments : list [uint64 ]
2084+ def get_string (self , strength : uint8 ) -> bytes32 : ...
20902085 def __new__ (
20912086 cls ,
2092- proof_fragments : Sequence [uint64 ]
2087+ fragments : Sequence [uint64 ]
20932088 ) -> PartialProof : ...
20942089 def __hash__ (self ) -> int : ...
20952090 def __repr__ (self ) -> str : ...
@@ -2108,7 +2103,7 @@ class PartialProof:
21082103 def to_json_dict (self ) -> dict [str , Any ]: ...
21092104 @classmethod
21102105 def from_json_dict (cls , json_dict : dict [str , Any ]) -> Self : ...
2111- def replace (self , * , proof_fragments : Union [ list [uint64 ], _Unspec ] = _Unspec ()) -> PartialProof : ...
2106+ def replace (self , * , fragments : Union [ list [uint64 ], _Unspec ] = _Unspec ()) -> PartialProof : ...
21122107
21132108@final
21142109class TimestampedPeerInfo :
@@ -4528,7 +4523,6 @@ class ConsensusConstants:
45284523 PLOT_FILTER_32_HEIGHT : uint32
45294524 MIN_PLOT_STRENGTH : uint8
45304525 MAX_PLOT_STRENGTH : uint8
4531- QUALITY_PROOF_SCAN_FILTER : uint8
45324526 PLOT_FILTER_V2_FIRST_ADJUSTMENT_HEIGHT : uint32
45334527 PLOT_FILTER_V2_SECOND_ADJUSTMENT_HEIGHT : uint32
45344528 PLOT_FILTER_V2_THIRD_ADJUSTMENT_HEIGHT : uint32
@@ -4584,7 +4578,6 @@ class ConsensusConstants:
45844578 PLOT_FILTER_32_HEIGHT : uint32 ,
45854579 MIN_PLOT_STRENGTH : uint8 ,
45864580 MAX_PLOT_STRENGTH : uint8 ,
4587- QUALITY_PROOF_SCAN_FILTER : uint8 ,
45884581 PLOT_FILTER_V2_FIRST_ADJUSTMENT_HEIGHT : uint32 ,
45894582 PLOT_FILTER_V2_SECOND_ADJUSTMENT_HEIGHT : uint32 ,
45904583 PLOT_FILTER_V2_THIRD_ADJUSTMENT_HEIGHT : uint32
@@ -4656,7 +4649,6 @@ class ConsensusConstants:
46564649 PLOT_FILTER_32_HEIGHT : Union [ uint32 , _Unspec ] = _Unspec (),
46574650 MIN_PLOT_STRENGTH : Union [ uint8 , _Unspec ] = _Unspec (),
46584651 MAX_PLOT_STRENGTH : Union [ uint8 , _Unspec ] = _Unspec (),
4659- QUALITY_PROOF_SCAN_FILTER : Union [ uint8 , _Unspec ] = _Unspec (),
46604652 PLOT_FILTER_V2_FIRST_ADJUSTMENT_HEIGHT : Union [ uint32 , _Unspec ] = _Unspec (),
46614653 PLOT_FILTER_V2_SECOND_ADJUSTMENT_HEIGHT : Union [ uint32 , _Unspec ] = _Unspec (),
46624654 PLOT_FILTER_V2_THIRD_ADJUSTMENT_HEIGHT : Union [ uint32 , _Unspec ] = _Unspec ()) -> ConsensusConstants : ...
0 commit comments