17 lines
522 B
C
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
|