Files
agrarian/src/blocksignature.h
T
2022-02-03 23:45:47 -08:00

17 lines
522 B
C

// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef Agrarian_BLOCKSIGNATURE_H
#define Agrarian_BLOCKSIGNATURE_H
#include "key.h"
#include "primitives/block.h"
#include "keystore.h"
bool SignBlockWithKey(CBlock& block, const CKey& key);
bool SignBlock(CBlock& block, const CKeyStore& keystore);
bool CheckBlockSignature(const CBlock& block);
#endif //Agrarian_BLOCKSIGNATURE_H