Type of data which efficiently authenticates potentially huge dataset having key-value dictionary interface.
Type of data which efficiently authenticates potentially huge dataset having key-value dictionary interface. Only root hash of dynamic AVL+ tree, tree height, key length, optional value length, and access flags are stored in an instance of the datatype.
Please note that standard hash function from scorex.crypto.hash
is used, and height is stored along with root hash of
the tree, thus digest
size is always CryptoConstants.hashLength + 1 bytes.
All modQ
operations assume that Q is a global constant (an order of the only one cryptographically strong group
which is used for all cryptographic operations).
All modQ
operations assume that Q is a global constant (an order of the only one cryptographically strong group
which is used for all cryptographic operations).
So it is globally and implicitly used in all methods.
Represents data available in Sigma language using CONTEXT
global variable
Represents data available in Sigma language using CONTEXT
global variable
This extensions are used from SigmaDsl.
This extensions are used from SigmaDsl. If you add something here, make sure the corresponding syntax is supported by SigmaScript.
Base class for points on elliptic curves.
Base class for points on elliptic curves.
Represents data of the block header available in Sigma propositions.
Represents data of the block header available in Sigma propositions.
2.0
NOTE: this should extend SigmaProp because semantically it subclass of SigmaProp and DefaultSigma is used just to mixin implementations.
Only header fields that can be predicted by a miner.
Only header fields that can be predicted by a miner.
2.0
Proposition which can be proven and verified by sigma protocol.
Proposition which can be proven and verified by sigma protocol.