mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
fix rx_vm issue
This commit is contained in:
parent
2e4086ba74
commit
5583adcc9d
1 changed files with 6 additions and 3 deletions
|
@ -38,10 +38,13 @@
|
||||||
|
|
||||||
extern "C" bool rx_needhash(const uint64_t height, uint64_t *seedheight);
|
extern "C" bool rx_needhash(const uint64_t height, uint64_t *seedheight);
|
||||||
extern "C" void rx_seedhash(const uint64_t seedheight, const char *hash, const int miners);
|
extern "C" void rx_seedhash(const uint64_t seedheight, const char *hash, const int miners);
|
||||||
extern "C" void rx_slow_hash(const void *data, size_t length, char *hash, const int miners);
|
extern "C" void rx_slow_hash(const uint64_t mainheight, const uint64_t seedheight,
|
||||||
|
const char *seedhash,
|
||||||
|
const void *data, size_t length,
|
||||||
|
char *hash, int miners, int is_alt);
|
||||||
extern "C" void rx_reorg(const uint64_t split_height);
|
extern "C" void rx_reorg(const uint64_t split_height);
|
||||||
|
|
||||||
extern __thread randomx_vm *rx_vm;
|
static __thread randomx_vm *rx_vm = NULL;
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
@ -1477,7 +1480,7 @@ show_randomx(uint64_t _blk_height)
|
||||||
return mstch::render(template_file["randomx"], context);
|
return mstch::render(template_file["randomx"], context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
string
|
||||||
show_tx(string tx_hash_str, uint16_t with_ring_signatures = 0, bool refresh_page = false)
|
show_tx(string tx_hash_str, uint16_t with_ring_signatures = 0, bool refresh_page = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue