Package org.symbol.sdk.symbol
Class Merkle.PatriciaMerkleProofResult
java.lang.Object
org.symbol.sdk.symbol.Merkle.PatriciaMerkleProofResult
- Enclosing class:
Merkle
- PatriciaMerkleProofResult
- Possible results of a patricia merkle proof.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNegative proof is inconclusive.static final intLeaf value does not match expected value.static final intActual merkle path does not match encoded key.static final intState hash cannot be derived from sub-cache merkle roots.static final intRoot of the path tree being proven is not a sub-cache merkle root.static final intProvided merkle hash contains an unlinked node.static final intProof is valid (negative).static final intProof is valid (positive). -
Method Summary
-
Field Details
-
VALID_POSITIVE
public static final int VALID_POSITIVEProof is valid (positive).- See Also:
-
VALID_NEGATIVE
public static final int VALID_NEGATIVEProof is valid (negative).- See Also:
-
INCONCLUSIVE
public static final int INCONCLUSIVENegative proof is inconclusive.- See Also:
-
STATE_HASH_DOES_NOT_MATCH_ROOTS
public static final int STATE_HASH_DOES_NOT_MATCH_ROOTSState hash cannot be derived from sub-cache merkle roots.- See Also:
-
UNANCHORED_PATH_TREE
public static final int UNANCHORED_PATH_TREERoot of the path tree being proven is not a sub-cache merkle root.- See Also:
-
LEAF_VALUE_MISMATCH
public static final int LEAF_VALUE_MISMATCHLeaf value does not match expected value.- See Also:
-
UNLINKED_NODE
public static final int UNLINKED_NODEProvided merkle hash contains an unlinked node.- See Also:
-
PATH_MISMATCH
public static final int PATH_MISMATCHActual merkle path does not match encoded key.- See Also:
-