aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_format_utils.cpp
diff options
context:
space:
mode:
authoranon <anon [at] nowhere>2021-04-27 12:06:42 +0000
committerselsta <selsta@sent.at>2021-07-13 08:00:20 +0200
commitfe76d7dee7c8ddd7bb6d32cfc7aeedda9d84572e (patch)
treef3eb43648ff242c00842dcba516aa2c5c43fcabc /src/cryptonote_basic/cryptonote_format_utils.cpp
parent14be80f992201cac95438f23cefbbaaa83ea1e87 (diff)
downloadmonzero-core-fe76d7dee7c8ddd7bb6d32cfc7aeedda9d84572e.tar.gz
monzero-core-fe76d7dee7c8ddd7bb6d32cfc7aeedda9d84572e.tar.xz
monzero-core-fe76d7dee7c8ddd7bb6d32cfc7aeedda9d84572e.zip
cmake: fix undefined symbols and multiple definitions
Diffstat (limited to 'src/cryptonote_basic/cryptonote_format_utils.cpp')
-rw-r--r--src/cryptonote_basic/cryptonote_format_utils.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cryptonote_basic/cryptonote_format_utils.cpp b/src/cryptonote_basic/cryptonote_format_utils.cpp
index 5cd40ce79..17adcdc35 100644
--- a/src/cryptonote_basic/cryptonote_format_utils.cpp
+++ b/src/cryptonote_basic/cryptonote_format_utils.cpp
@@ -139,22 +139,6 @@ namespace cryptonote
return h;
}
- //---------------------------------------------------------------
- void get_transaction_prefix_hash(const transaction_prefix& tx, crypto::hash& h)
- {
- std::ostringstream s;
- binary_archive<true> a(s);
- ::serialization::serialize(a, const_cast<transaction_prefix&>(tx));
- crypto::cn_fast_hash(s.str().data(), s.str().size(), h);
- }
- //---------------------------------------------------------------
- crypto::hash get_transaction_prefix_hash(const transaction_prefix& tx)
- {
- crypto::hash h = null_hash;
- get_transaction_prefix_hash(tx, h);
- return h;
- }
- //---------------------------------------------------------------
bool expand_transaction_1(transaction &tx, bool base_only)
{
if (tx.version >= 2 && !is_coinbase(tx))