With the openCL miner I can find a block every 2 hours 40 minutes.
With the C miner it takes 5 hours 20 minutes.
With the javascript miner it takes a little over 2 days.
Amoveo ♥🧿
FoundShare: bDiff:8346 sDiff:7912
H/S: 1304919 S:0 S/Hr:0
[-6,102,111,117,110,100,32,119,111,114,107]
block:all_mined_by(base64:decode("BCGevClpitrspqZsxSpyctZvS0VDGlfxQJZPHs4qLtMD9HC6rOoovRNT0TVZ3l+CywEQmCEANhkxqB8RWdwwZVg=")).I just pushed code for this. it takes about 10 minutes to scan only 8000 blocks on my old laptop.
did not find a block in that periodIs this OK?
Found a block. 1
read nonce n is 2
nonce failed 2
read nonce n is 1
nonce failed 1
nonce 0 error
did not find a block in that period
block_absorber:recover().
which re-syncs the blockchain by reading the block files from your hard drive. This is useful after doing make prod-clean
.
peers:all().
lists everyone.my_ip:get().
gives your ip addresss.
make multi-quick
to launch a test network on my laptop with lower difficulty. the opencl miner can connect to it and find blocks.test2() ->It works correctly when I do it.
%0x000102FFFFFFFFFFFFFFFFFFFFFFFFFF
A = <<0, 1, 2, 255, 255, 255, 255, 255>>,
%0x007FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
B = <<0, 111, 255, 255, 255, 255, 255>>,
[hash2integer(A),
hash2integer(B)] == [3969,2527].%returns true.
they are not accepting our blocks.eheap_alloc: Cannot allocate 441485240 bytes of memory (of type "old_heap").
[End]
make[1]: Leaving directory '/home/amoveouser/amoveo'
amoveouser@amoveo-scaleway-01:~/amoveo$ they are not accepting our blocks.eheap_alloc: Cannot allocate 441485240 bytes of memory (of type "old_heap").
[End]
make[1]: Leaving directory '/home/amoveouser/amoveo'
amoveouser@amoveo-scaleway-01:~/amoveo$
If you are running a solo-mining node, then this error may have happened because you need to turn on and sync your Amoveo node before you can mine. You can get it here: https://github.com/zack-bitcoin/amoveoLet me know if you need any log.
If this error happens while connected to the public mining node, then it can probably be safely ignored.** exception error: bad argument
in function list_to_binary/1
called as list_to_binary(ok)
in call from miner:unpack_mining_data/1 (miner.erl, line 20)
in call from miner:start_c_miners/1 (miner.erl, line 61)
2>
sync:start().
_build/prod/rel/amoveo_core/log/crash.log
sync_mode:check().
normal
mode.
sync:push_new_block(block:top()).
sync_mode:quick().
rp(block:all_mined_by(base64:decode("BKF9voxgoBJjwd3p+J2DFvXfMWiA2SijeZ350UGAEkfCoKueKIUlnTrIEnwMqoSDa8wpPc4XT1XFBiLubeq+k2s="))).
Z
, then you could do rp(Z).
and it would be quick.
{First, Tail} = lists:split(10, List).
List2 = lists:reverse(List).
make multi-quick
to turn on a small testnet of 3 nodes on the same computer. Then you can connect the mining pool to one of those nodes, and it will be easy to mine because the difficulty is low.api:off().
halt().
git pull
make prod-clean
make prod-restart
api:off().
halt().
git pull
make multi-quick
make attach1
block:height().
make prod-clean
api:off().
halt().
git pull
make prod-clean
make prod-restart
gotblock:height().
block:height().
sync:start().
probably doesn't make a difference, since it syncs automatically
rm -rf ./_build/prod/rel/amoveo_core/blocks/This would delete the blocks
mkdir ./_build/prd/rel/amoveo_core/blocks/
_build/prod/rel/amoveo_core/keys/keys.db
ae_core
for you instead of amoveo_core
sync_mode:normal().
git clone
as well. I will try and reproduce the error.
.git
folder that is hidden.
.gitignore
, but the gitignore one doesn't cause these problems
make prod-clean
or rm config/prod/sys.config
while your node is off.
rm config/sys.config.tmplThese are the commands I did to fix the sys.config template.
git reset --hard origin/master
api:off().Then wait for it to sync automatically.
halt().
git pull
make prod-clean
make prod-blocks
make prod-restart
api:off().
halt().
git pull
rm config/sys.config.tmpl
git reset --hard origin/master
rm config/prod/sys.config
make prod-restart
make prod-blocks
deletes the blocks from your hard drive.
sync:start().
to download blocks.
sync_mode:normal()
to run the mining pool.
git pull
_build/prod/rel/amoveo_core/log/crash.log
git pull --branch other_branch url-location .
git clone --branch push_headers https://github.com/zack-bitcoin/amoveo.git .
sync:start().
sync:start().
sync:get_headers({{159,89,106,253}, 8080}).
absorb block 9100
absorb block 9110
sync cron
sync cron
sync cron
sync cron
sync cron
could not get block 9329 from peer [-7,[-7,34,229,146,193],8080]sync cron
sync cron
sync cron
api:work
is for the mining pool.
could not get block 9347 from peer [-7,[-7,34,229,146,193],8080]sync cron