BTCP-Rebase/src/zcash/util.h

17 lines
582 B
C
Raw Normal View History

// 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);
#endif // BITCOIN_ZCASH_UTIL_H