aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_tx_utils.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-09-25 17:52:15 -0400
committerRiccardo Spagni <ric@spagni.net>2019-09-25 17:52:16 -0400
commitb8643752c122a32096733fb8686d8f2eafcf6ff8 (patch)
tree6a735c25f25996dc2f31f02708d45a001f1315fc /src/cryptonote_core/cryptonote_tx_utils.h
parentMerge pull request #5930 (diff)
parentRandomX integration (diff)
downloadmonero-b8643752c122a32096733fb8686d8f2eafcf6ff8.tar.xz
Merge pull request #5549
81c2ad6d RandomX integration (Howard Chu)
Diffstat (limited to 'src/cryptonote_core/cryptonote_tx_utils.h')
-rw-r--r--src/cryptonote_core/cryptonote_tx_utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.h b/src/cryptonote_core/cryptonote_tx_utils.h
index b03eb6e70..309e4177f 100644
--- a/src/cryptonote_core/cryptonote_tx_utils.h
+++ b/src/cryptonote_core/cryptonote_tx_utils.h
@@ -132,6 +132,13 @@ namespace cryptonote
, uint32_t nonce
);
+ class Blockchain;
+ bool get_block_longhash(const Blockchain *pb, const block& b, crypto::hash& res, const uint64_t height, const int miners);
+ void get_altblock_longhash(const block& b, crypto::hash& res, const uint64_t main_height, const uint64_t height,
+ const uint64_t seed_height, const crypto::hash& seed_hash);
+ crypto::hash get_block_longhash(const Blockchain *pb, const block& b, const uint64_t height, const int miners);
+ void get_block_longhash_reorg(const uint64_t split_height);
+
}
BOOST_CLASS_VERSION(cryptonote::tx_source_entry, 1)