Amoveo ♥🧿
_build/prod/rel/amoveo_core/keys/keys.db
(amoveo_core_prod@ubuntu-s-2vcpu-4gb-fra1-01)4> api:account(keys:pubkey()).
{acc,145424163,795, <<4,245,141,14,218,146,197,92,121,207,82,203,28,167,247,246,75,58,51,75,145,48,133,152,84,...>>,
1, <<7,106,39,199,158,90,206,42,61,71,249,221,46,131,228,255,110,168,135,43,60,34,24,...>>}
Save your keys.db file first.
Then rm -rf _build
block:hashrate_estimate().
-define(Peer, "http://159.89.106.253:8085/")
1> miner:start().
Started mining.
Found a block. 1
read nonce n is 2
server gave confusing response
fix-pow
branch.nonceSolution
is composed of 15 bytes (d_nonce
) + 2 bytes (nonceSuffix
) + 6 bytes (currentBlockIdx
).d_nonce + currentBlockIdx + nonceSuffix
because they are sha256_updated in this order and copied inside sha256_kernel
:memcpy(out_nonce, ¤tBlockIdx, 6);
memcpy(out_nonce + 6, &nonceSuffix, 2);
rm -rf _build/prod/lib/pink_hash
make prod-restart
git pull
doesn't update them.