Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
497 B
14 lines
497 B
// Copyright (c) 2019-2020 The Hush developers
|
|
// Distributed under the GPLv3 software license, see the accompanying
|
|
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
|
#ifndef ZC_UTIL_H_
|
|
#define ZC_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 // ZC_UTIL_H_
|
|
|