Kernel

Kernel structure

Coinstake kernel it's a virtual structure which created during Proof-of-Stake block validation attempt. This structure exists in database and memory, but not on the network. The kernel parameters are described in the following table.

FieldTypesizeofDescription
nStakeModifierunsigned long int8Deterministic modifier, scrambles computation to make it very difficult to precompute future Proof-of-Stake at the time of the coin's confirmation.
nTimeBlockFromunsigned int4Timestamp for block which provided previous transaction, prevent nodes from guessing a good timestamp to generate transaction for future advantage.
nTxPrevOffsetunsigned int4Offset of previous transaction inside the block, used to reduce the chance of nodes generating kernel coinstake at the same time.
nTxPrevTimeunsigned int4Timestamp of previous transaction, used to reduce the chance of nodes generating coinstake kernel at the same time.
nPrevoutNumunsigned int4Output number of previous transaction, used to reduce the chance of nodes generating coinstake kernel at the same time.
nTimeTxunsigned int4Current timestamp

BasisNetwork basicsClient softwareRelated pages