17 lines
582 B
C++
17 lines
582 B
C++
// Copyright (c) 2018 The Bitcoin Private developers
|
|
// Copyright (c) 2016 The Zcash developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_ZCASH_UTIL_H
|
|
#define BITCOIN_ZCASH_UTIL_H
|
|
|
|
#include <vector>
|
|
#include <cstdint>
|
|
|
|
std::vector<unsigned char> convertIntToVectorLE(const uint64_t val_int);
|
|
std::vector<bool> convertBytesVectorToVector(const std::vector<unsigned char>& bytes);
|
|
uint64_t convertVectorToInt(const std::vector<bool>& v);
|
|
|
|
#endif // BITCOIN_ZCASH_UTIL_H
|