mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
updated to latest randomx
This commit is contained in:
parent
636179ac53
commit
d32cc0df05
2 changed files with 6 additions and 3 deletions
|
@ -7170,6 +7170,7 @@ get_randomx_code(uint64_t blk_height,
|
|||
|
||||
|
||||
randomx::Program prg;
|
||||
randomx::RegisterFile reg;
|
||||
|
||||
for (int chain = 0; chain < RANDOMX_PROGRAM_COUNT - 1; ++chain)
|
||||
{
|
||||
|
@ -7178,7 +7179,8 @@ get_randomx_code(uint64_t blk_height,
|
|||
rx_vm->getRegisterFile(),
|
||||
sizeof(randomx::RegisterFile), nullptr, 0);
|
||||
|
||||
prg = *(rx_vm->getProgram());
|
||||
prg = rx_vm->getProgram();
|
||||
reg = *(rx_vm->getRegisterFile());
|
||||
|
||||
stringstream ss, ss2;
|
||||
ss << prg;
|
||||
|
@ -7193,7 +7195,7 @@ get_randomx_code(uint64_t blk_height,
|
|||
|
||||
rx_vm->run(&tempHash);
|
||||
|
||||
prg = *(rx_vm->getProgram());
|
||||
prg = rx_vm->getProgram();
|
||||
|
||||
stringstream ss, ss2;
|
||||
ss << prg;
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<H4>Block hash (height): {{blk_hash}} ({{blk_height}})</H4>
|
||||
<h4>
|
||||
Eight RandomX and correspoding assembly x86 programs used
|
||||
to calcualte PoW hash of the block
|
||||
to calcualte PoW hash of the block.<br/>The RandomX programs
|
||||
are executed on RandomX virtual machine.
|
||||
</h4>
|
||||
|
||||
{{#rx_codes}}
|
||||
|
|
Loading…
Reference in a new issue