Extra removals
This commit is contained in:
@@ -344,17 +344,6 @@ namespace cryptonote
|
|||||||
cn_fast_hash(blob.data(), blob.size(), res);
|
cn_fast_hash(blob.data(), blob.size(), res);
|
||||||
}
|
}
|
||||||
//---------------------------------------------------------------
|
//---------------------------------------------------------------
|
||||||
std::string print_money(uint64_t amount)
|
|
||||||
{
|
|
||||||
std::string s = std::to_string(amount);
|
|
||||||
if(s.size() < CRYPTONOTE_DISPLAY_DECIMAL_POINT+1)
|
|
||||||
{
|
|
||||||
s.insert(0, CRYPTONOTE_DISPLAY_DECIMAL_POINT+1 - s.size(), '0');
|
|
||||||
}
|
|
||||||
s.insert(s.size() - CRYPTONOTE_DISPLAY_DECIMAL_POINT, ".");
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
//---------------------------------------------------------------
|
|
||||||
crypto::hash get_blob_hash(const blobdata& blob)
|
crypto::hash get_blob_hash(const blobdata& blob)
|
||||||
{
|
{
|
||||||
crypto::hash h = null_hash;
|
crypto::hash h = null_hash;
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ namespace cryptonote
|
|||||||
uint64_t get_block_height(const block& b);
|
uint64_t get_block_height(const block& b);
|
||||||
std::vector<uint64_t> relative_output_offsets_to_absolute(const std::vector<uint64_t>& off);
|
std::vector<uint64_t> relative_output_offsets_to_absolute(const std::vector<uint64_t>& off);
|
||||||
std::vector<uint64_t> absolute_output_offsets_to_relative(const std::vector<uint64_t>& off);
|
std::vector<uint64_t> absolute_output_offsets_to_relative(const std::vector<uint64_t>& off);
|
||||||
std::string print_money(uint64_t amount);
|
//std::string print_money(uint64_t amount);
|
||||||
//---------------------------------------------------------------
|
//---------------------------------------------------------------
|
||||||
template<class t_object>
|
template<class t_object>
|
||||||
bool t_serializable_object_to_blob(const t_object& to, blobdata& b_blob)
|
bool t_serializable_object_to_blob(const t_object& to, blobdata& b_blob)
|
||||||
|
|||||||
Reference in New Issue
Block a user