![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
| bool | SignBlockWithKey (CBlock &block, const CKey &key) |
| bool | SignBlock (CBlock &block, const CKeyStore &keystore) |
| bool | CheckBlockSignature (const CBlock &block) |
| bool CheckBlockSignature | ( | const CBlock & | block | ) |
Each block is signed by the private key of the input that is staked. This can be either zPIV or normal UTXO zPIV: Each zPIV has a keypair associated with it. The serial number is a hash of the public key. UTXO: The public key that signs must match the public key associated with the first utxo of the coinstake tx.
Definition at line 53 of file blocksignature.cpp.
Definition at line 39 of file blocksignature.cpp.
Definition at line 31 of file blocksignature.cpp.