package
0.5.0
Repository: https://github.com/madbase/madnet.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AdminHandlerKid returns a constant byte slice to be used as Key ID.

# Constants

Badger VLog GC ratio.
BaseDatasizeConst is the bytes added to the size of data (in bytes) for the minimum cost.
GRPC Server Configuration Params Setup to provide backpressure.
GRPC Server Configuration Params Setup to provide backpressure.
CurveBN256Eth is the constant which specifies the curve BN256; this is the curve used in our crypto library for pairing-based crypto.
CurveBN256EthPubkeyLen specifies the length of the public key for the curve BN256; this is the uncompressed form.
CurveBN256EthSigLen is the length of a BN256 digital signature.
CurveSecp256k1 is the constant which specifies the curve Secp256k1; this is the curve used by Ethereum.
CurveSecp256k1SigLen is the length of a Secp256k1 recoverable-ECDSA digital signature.
Consensus params.
Consensus params.
Consensus params.
GRPC Server Configuration Params Setup to provide backpressure.
Consensus params.
DSPIMinDeposit is the minimum amount of deposit.
EpochLength is the number of blocks in an epoch for MadNet.
HashLen specifies the length of a hash in bytes.
GRPC Server Configuration Params Setup to provide backpressure.
Logger names.
Logger names.
Logger names.
Logger names.
Logger names.
Logger names.
Logger names.
Logger names.
Logger names.
Logger names.
Logger names.
Consensus params.
GRPC Server Configuration Params Setup to provide backpressure.
MaxDataStoreSize is the largest size of RawData that we store in a DataStore; 2 MiB (2^21) .
Consensus params.
MaxTxVectorLength is the maximum size of input output vectors.
MaxUint32 is 2^32-1 for use as a indicator value.
MaxUint64 is 2^64-1.
Do not go lower than 2 seconds!.
OneBillion is 1e9 as an integer.
OwnerLen is the constant which specifies the length of accounts in bytes.
GRPC Server Configuration Params Setup to provide backpressure.
4 * time.Second.
4 * time.Second.
4 * time.Second.
GRPC Server Configuration Params Setup to provide backpressure.
Do not go lower than 2 seconds!.
Status log keys.
Status log keys.
Status log keys.
Status log keys.
Status log keys.
Status log keys.
Status log keys.
GRPC Server Configuration Params Setup to provide backpressure.
GRPC Server Configuration Params Setup to provide backpressure.

# Type aliases

CurveSpec specifies the particular elliptic curve we are dealing with.