diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-07-27 16:51:52 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-07-27 16:51:52 -0400 |
| commit | a9cb4c082f1a815076674b543d93159a2137540e (patch) | |
| tree | 22f215a38e90f9c7ea38300d366c1606d390c3bb /src/cryptonote_basic/cryptonote_format_utils.cpp | |
| parent | de3456e1275836725291ba71036b7ef0e2cda91f (diff) | |
| parent | df40d1dc737a6393eedfc72e3a660daaa6114db3 (diff) | |
| download | monzero-core-a9cb4c082f1a815076674b543d93159a2137540e.tar.gz monzero-core-a9cb4c082f1a815076674b543d93159a2137540e.tar.xz monzero-core-a9cb4c082f1a815076674b543d93159a2137540e.zip | |
Merge pull request #7692
df40d1d cmake: export all symbols (anon)
fe76d7d cmake: fix undefined symbols and multiple definitions (anon)
14be80f cmake: forbid undefined symbols (anon)
Diffstat (limited to 'src/cryptonote_basic/cryptonote_format_utils.cpp')
| -rw-r--r-- | src/cryptonote_basic/cryptonote_format_utils.cpp | 16 |
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)) |
