Update signing algorithm
This commit is contained in:
parent
3967badc55
commit
cf104ebdc5
8 changed files with 20 additions and 34 deletions
|
@ -45,6 +45,7 @@ bool BlockTemplate::Init(const String& blockTemplate, Coin coin)
|
|||
has_miner_signature = (coin == Coin::WOWNERO) && (major_version >= 18);
|
||||
if (has_miner_signature) {
|
||||
ar(miner_signature);
|
||||
ar(vote);
|
||||
}
|
||||
|
||||
// Miner transaction begin
|
||||
|
|
|
@ -54,6 +54,7 @@ struct BlockTemplate
|
|||
|
||||
bool has_miner_signature;
|
||||
uint8_t miner_signature[SIGNATURE_SIZE];
|
||||
uint8_t vote[2];
|
||||
|
||||
// Miner tx
|
||||
uint64_t tx_version;
|
||||
|
|
|
@ -29,7 +29,12 @@ extern "C" {
|
|||
}
|
||||
|
||||
#include "base/tools/Cvt.h"
|
||||
|
||||
#ifdef XMRIG_PROXY_PROJECT
|
||||
#define PROFILE_SCOPE(x)
|
||||
#else
|
||||
#include "crypto/rx/Profiler.h"
|
||||
#endif
|
||||
|
||||
|
||||
struct ec_scalar { char data[32]; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue