2018-08-01 23:06:03 -07:00
|
|
|
// 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
|
2018-03-31 06:39:58 -07:00
|
|
|
|
|
|
|
#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);
|
|
|
|
|
2018-08-01 23:06:03 -07:00
|
|
|
#endif // BITCOIN_ZCASH_UTIL_H
|