Ethereum: Mining

From OnnoWiki
Jump to navigation Jump to search

Edit ~/miner.sh, masukan


set GPU_FORCE_64BIT_PTR 0
set GPU_MAX_HEAP_SIZE 100
set GPU_USE_SYNC_OBJECTS 1
set GPU_MAX_ALLOC_PERCENT 100
set GPU_SINGLE_ALLOC_PERCENT 100
ethminer --farm-recheck 200 -G -S eu1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O <Your_Ethereum_Address>.<RigName>
ethminer --farm-recheck 200 -G -S asia1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O <Your_Ethereum_Address>.<RigName>
ethminer --farm-recheck 200 -G -S asia1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O 0x10f94726b7459224573d4574a25b244ec0d6850c.rig1

Lakukan

chmod 777 ~/miner.sh

Tambahkan ~/miner.sh di

/etc/rc.local


Testing

ethminer -G -M -v 9
[OPENCL]:Found suitable OpenCL device [Tesla C1060] with 4294770688 bytes of GPU memory
Benchmarking on platform: CL
Preparing DAG for block #0
Warming up...
  ℹ  15:55:35|openclminer0  set work; seed: #00000000, target:  #000000000000
  ℹ  15:55:35|openclminer0  Initialising miner...
[OPENCL]:Using platform: NVIDIA CUDA
[OPENCL]:Using device: Tesla C1060(OpenCL 1.0 CUDA)
[OPENCL]:OpenCL 1.0 is not supported.
[OPENCL]:clEnqueueWriteBuffer(-36)
Trial 1... 0
Trial 2... 0
Trial 3... 0
Trial 4... 0
Trial 5... 0

It means that GPU only supports version 1.0 of OpneCL , which is lower than that necessary to run the miner (kernel), i.e. that card won't run OpenCL.

Daftar Stratum Server

North America (East): us1.ethermine.org:4444 or us1.ethermine.org:14444
North America (West): us2.ethermine.org:4444 or us2.ethermine.org:14444
Europe (France): eu1.ethermine.org:4444 or eu1.ethermine.org:14444
Asia: asia1.ethermine.org:4444 or asia1.ethermine.org:14444