Bitcoin Forum
November 06, 2024, 06:47:24 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PROJECT To UPDATE OLD MINERS for GPU CPU Needs your Help!  (Read 386 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
December 15, 2017, 05:40:51 PM
Last edit: July 02, 2018, 02:02:04 AM by JuanPabloCuervo
 #1

PROJECT To UPDATE OLD MINERS for GPU CPU, Needs your Help!
The idea of this project is for fun, educational benchmark purposes...

Old GPU miners don´t work with latest Bitcoin core software like 0.13.1, "0.14 has -assumed valid block i don´t agree."
but
the reason was very important:
getwork command was replaced with getworktemplate that increases security in a pool enviroment.

and getwork command used by old miners was removed from the Bitcoin Core since version 0.10.0.
https://bitcoin.org/en/version-history
https://bitcoin.org/en/release/v0.10.0
https://bitcoin.org/bin/bitcoin-core-0.9.5/
https://bitcoin.org/bin/insecure/
making Old GPU & CPU Miners unusable.
people didn´t care to update, because ASIC was faster, Faster = Money.

getworktemplate gives back power to the miners from the pool,
https://en.bitcoin.it/wiki/Getblocktemplate#Why_change_something_that_works.3F
"Since getblocktemplate drastically reduces the load required to a single request per new block on the network, direct solo mining on bitcoind is again possible."
https://en.bitcoin.it/wiki/Getwork
https://en.bitcoin.it/wiki/Bitcoind
https://en.bitcoin.it/wiki/Stratum_mining_protocol
...............
the idea of this project is to update old miners to work with newer versions of Bitcoin Core/Cash/Gold.
Fun Benchmark to measure GPU evolution over time.

every time a new GPU comes out: Nvidia Titan V for example,
is tested with Ethereum, not with Bitcoin.
old benchmarks were tested with Bitcoin.
Quote

Bitcoin SHA256 tests Raw GPU,
Scrypt coins test Memory speed.
is a different Benchmark.
https://en.wikipedia.org/wiki/Scrypt

answer questions like:
If Nvidia Titan V New Tensor Cores, ¿can be used for SHA256 or Scrypt Mining?
Quote

Reasons are to learn, and avoid centralization of the mining hardware,
"dependence from a dedicated hardware."
spondoolies-tech the only competitor, went bankruptcy.
https://www.cryptocoinsnews.com/bitcoin-mining-developer-spondoolies-shuts/

if only 1 factory makes all miners, eventually it can take over the world.!
 control all the miners/pools in the world,
by making new faster miners and not selling,
also not selling replacement parts for old miners.
What are you gonna do? LOL. Jajajajaja

Centralization of mining hardware its a BAD IDEA!
it can give serious problems in the future.
All Miners today, can be left outside the game tomorrow.

if Bitcoin becomes the defacto Currency of the World,
why sell Miners for an inferior currency? like USD, if they can make more money Not selling miners? LOL. Jajajajajaja

i think is important to keep "doors open" for Decentralization,
The Original idea of Bitcoin / Satoshi Nakamoto was to AVOID CENTRALIZATION.

1x Company making all the miners in the world, is AGAINST the Original Idea of Bitcoin...
SHAME ALL OF YOU!.

People that laugh of GPU mining, You are falling directly into an electric spider web trap. LOL. Jajajajajaja
https://en.wikipedia.org/wiki/Spider_web
http://www.underrail.com/wiki/index.php?title=Electric_web_trap

does not matter if GPU´s are slower, thats why 1MB block size was created, To AVOID CENTRALIZATION!.
https://en.bitcoin.it/wiki/Block_size_limit_controversy

GPU prices go down with new generation, following the laws of:
Quote
64-Bit software with 32-Bit code "almost 50% of the software today" follows the 20-core limit:
https://en.wikipedia.org/wiki/Amdahl%27s_law

The value of popularity, "1MB Block Size limits popularity."
https://en.wikipedia.org/wiki/Metcalfe%27s_law

Transistor count doubles every two years,
https://en.wikipedia.org/wiki/Moore%27s_law

2x production comes with -20% price drop.
https://en.wikipedia.org/wiki/Swanson%27s_law

If Price doubles, speed quadruples, in the same generation.
https://en.wikipedia.org/wiki/Grosch%27s_law

Energy efficiency increase a factor of 2 every 1.5 years or 100% every 10 years.
https://en.wikipedia.org/wiki/Koomey%27s_law

Temperature limits law
https://en.wikipedia.org/wiki/Landauer%27s_principle

New computer classes takes 10 years to form, and another 10 to understand it.
https://en.wikipedia.org/wiki/Bell%27s_law_of_computer_classes

New discovery becoming slower, ASIC Miners follow that rule.
https://en.wikipedia.org/wiki/Eroom%27s_law

ASIC Miner prices stay the same, and will see if ASIC Miners price$ will also half in Block 630.000, or stays the same. LOL. Jajajaja
https://en.bitcoin.it/wiki/Controlled_supply
http://www.btc.com
or if ASIC miners Speed will double 2x with the same price of today...
Eventually GPU´s will catch up in speed, and outperform in price.
in 5 to 10 years an Nvidia Titan V will be $250usd. or less.

preparing is wise.

CPU OpenCL mining is also interesting to Benchmark Newer 64-Core AMD CPU´s for example.
OpenCL drivers from AMD are included in the Drivers, but AMD dropped support for Windows 8.1, ("thats why is important Decentralization")
Intel also has an OpenCL driver.
http://www.guru3d.com/news-story/amd-halts-support-for-windows-8-1-with-consumer-radeon-drivers.html
https://software.intel.com/en-us/intel-opencl
https://software.intel.com/en-us/articles/opencl-drivers#latest_CPU_runtime
OpenCL drivers for CPU can be verified with different softwares.
Quote

Mining software with GBT support:
BFGMiner 2.8+
cgminer 2.9+
Ufasoft Bitcoin Miner 0.39+

https://en.bitcoin.it/wiki/Mining_software
https://en.bitcoin.it/wiki/Poolservers
https://bitcointalk.org/?topic=78192.msg870395#msg870395
https://bitcointalk.org/index.php?topic=168174.0

Latest official compiled version of cgminer that works with GPU is v2.9, definitely v3.8 does Not work.
cgminer v3.7. has GPU SHA256 & Scrypt for Litecoin but needs to be compiled from source:
https://web.archive.org/web/20140715122549/http://ck.kolivas.org/apps/cgminer/old/2.9/
https://web.archive.org/web/20140715120644/http://ck.kolivas.org/apps/cgminer/old/3.7/

cgminer with getblocktemplate protocol since 2.10.5,
cgminer with stratum protocol since v2.8,

BFGMiner with getblocktemplate protocol since v2.8,
BFGMiner with stratum protocol since v2.9,
http://bfgminer.org/files/

unofficial compiled versions of cgminer:
http://cryptomining-blog.com/460-download-cgminer-3-7-2-with-gpu-support-for-windows/
http://cryptomining-blog.com/wp-content/download/cgminer-3.7.2-windows.rar
http://cryptomining-blog.com/tag/cgminer-3-7-2-windows-download/
http://cryptomining-blog.com/tag/cgminer-3-7-3/
http://cryptomining-blog.com/tag/cgminer-3-7-3-windows-download/
http://dogecointutorial.com/misc/cgminer-3.7.2-windows.zip
http://dogecointutorial.com/misc/cgminer-3.7.2-x86_64-built.tar.bz2
http://dogecointutorial.com/misc/cgminer-3.7.2-x86_64-built.tar.lrz

Popular guiminer frontend comes with poclbm miner.
https://bitcointalk.org/?topic=3878.0
https://github.com/downloads/Kiv/poclbm/guiminer-20121203.exe
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
December 15, 2017, 11:09:56 PM
Last edit: February 25, 2020, 04:49:23 AM by JuanPabloCuervo
 #2

Tests Results/Bugs:
Bitcoin_Core:
0.9.5 does Not work simultaneously with Bitcoin_Unlimited_Cash_Edition.
0.9.5 does Not detect Genesis Block from -datadir= downloaded with BitcoinCore 0.13 because
0.9.5 has Block version #2, since 0.10.0 has block version #3, and since 0.11.2 has block version#4.
https://bitcoin.org/en/developer-reference#block-versions
"Basic Encoding Rules" was changed from BlockVersion#2, to D.E.R. "Definitive Encoding Rules." in BlockVersion#3 to squeeze more into the 1MB Block.
because B.E.R is more flexible in size, D.E.R is strict in size.
is Another effort to make Bitcoin more efficient & faster within the 1MB Block Size limit introduced in 2010.
https://en.wikipedia.org/wiki/X.690#DER_encoding

0.9.5 does Not create a New Folder if -datadir= path does Not exist.!
0.9.5 gives a warning! keys compromised, update required,
https://bitcointalk.org/index.php?topic=2175394.0
https://bitcoin.org/en/alert/2016-11-01-alert-retirement

0.9.5 does Not have Peers list in the Debug Window.
0.9.5 downloads Blocks and connects with the Network, No problems so far...
0.9.5 when shutting down & starting again later, takes incredible amounts of time, 15minutes minimum with a fast computer, that seems to be improved in later/following versions.

cgminer 3.7.2 works with GPU --benchmark
but Not with Bitcoin_core 0.13

GT 740 1GB makes 44.MH/s Average. 97% GPU Load.
https://en.bitcoin.it/wiki/Non-specialized_hardware_comparison

http://www.groupfabric.com/bitcoin-miner/
does 60KH/s, yes K.

NHM NiceHash Miner sinve v2.x does not work with GT 740, needs minimum CUDA Compute capability 5.0.
https://github.com/nicehash/NiceHashMiner2/wiki/Supported-Hardware
https://en.wikipedia.org/wiki/CUDA#GPUs_supported
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
December 16, 2017, 02:36:27 PM
Last edit: December 16, 2017, 05:58:48 PM by JuanPabloCuervo
 #3

Nvidia Tensor Cores can be used for mining?

Deep learning is based in image processing, comparing different features of different images...
Digital Images are made of numbers,
In theory a Tensor Core can be teached to see numbers with https://en.wikipedia.org/wiki/Synesthesia#Diagnostic_criteria
https://commons.m.wikimedia.org/wiki/File:Synaesthesiatest.jpg


SHA-256
https://youtu.be/y3dqhixzGVo
https://youtu.be/UZBZPOEVyJA
https://youtu.be/FZeLKrQTZtE
http://www.iwar.org.uk/comsec/resources/cipher/sha256-384-512.pdf
https://www.dropbox.com/s/2erhq2uum7fvdc2/Bitcoin.xlsx?dl=0
http://www.righto.com/2014/09/mining-bitcoin-with-pencil-and-paper.html

https://developer.nvidia.com/deep-learning
https://blogs.nvidia.com/blog/2016/07/29/whats-difference-artificial-intelligence-machine-learning-deep-learning-ai/
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
December 17, 2017, 09:39:37 PM
Last edit: December 21, 2017, 12:49:28 PM by JuanPabloCuervo
 #4

BFGMiner also works with GPU

D:\Downloads\bfgminer.org files\bfgminer-5.4.2-win64>
Quote
bfgminer --benchmark -S opencl:auto --verbose
does 60MH/s but drops rapidly, GT 740 throttles easy and drops to 40MH/s.
cgminer 3.7.2 benchmark test could also be Throttled.

but what matters is that works.

poclbm, Diablominer, ccminer, etc... will see

BFGMiner also has a more intensive Benchmark
--benchmark-intense

but makes No sense to test with this video card...
definitely needs water cooling, TEMPs go to 90°C, but Throttling starts at 60°C. Heatsink & Fan is too small.
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
December 19, 2017, 02:22:12 PM
Last edit: December 19, 2017, 03:34:00 PM by JuanPabloCuervo
 #5

interesting read about BTG, ZCash, and the Equihash algorithm

http://www.coinminingrigs.com/mine-bitcoin-gold-btg/
https://bitcointalk.org/index.php?topic=1707546.0
https://www.buriedone.com/bitcoin-gold-miner.html
https://bitcoingold.org
https://github.com/poolgold/ewbf-miner-btg-edition
https://bitcointalk.org/index.php?topic=1670733.0
http://btgmine.com
https://en.wikipedia.org/wiki/SegWit

im Pro-GPU, Anti-SegWit,
https://en.wikipedia.org/wiki/Bitcoin_Cash
https://bitcoin.org/en/release/v0.15.0.1

The 1MB size limit, should be flexible, depending on transactions per minute, not transaction size.
like a stomach... distensible, up to 13x times, from 75ml to 1000ml.
https://en.wikipedia.org/wiki/Stomach

the mouth is the size limit of each transaction...
the tongue & smell detect fake transactions. LOL. Jajajajajaja
the stomach is the limit of accumulated transactions per hour.

eventually BitcoinCash will kill Bitcoin Classic, if there is No other way to detect/stop fake transactions.
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
December 20, 2017, 05:59:26 PM
Last edit: July 02, 2018, 02:08:52 AM by JuanPabloCuervo
 #6

well,

All miners that support getworktemplate command, work with 0.9.5,
latest BGFMiner, cgminer 3.7.5, "cgminer has problem with Shares Not accepted", maybe would need to roll-back to 3.3.2,
poclminer,
RPCMiner_Win32_18.11.2013
guiminer-20121203
work
but...0.9.5 does not mine because New Bitcoin_Core versions reject blocks created with old Basic.Defining.Rules, B.E.R... was a "soft-fork" by the developers,
New Cores are only compatible with D.E.R. Strict file size Rules.
and most people have latest version 0.15, 0.14, 0.13, since the soft-fork.

if all nodes had 0.9.5, "more than 51%" would be ok, New nodes would be rejected,
"Holly sh!T, i found a way to Kill all ASIC miners. LOL Jajajajajaja"
there is only 11k nodes, if i put 6000 virtual box computers with 0.9.5, i could crash Bitcoin. LOL Jajajajajaja
https://bitnodes.earn.com
NODES have the power to decide.
grab all miners by the balls. LOL Jajajajajaja

is possible to mine with 0.9.5, if something happens to ASIC miners.
Bitcoin Nodes can go-back to 0.9.5, download the blocks in format #2, with B.E.R.
No problem today, downloading all blocks, works & miners,
but new blocks created with 0.9.5 will be rejected by the majority with the soft-fork code.

so thats Plan-B, if the world ends or a meteorite hits China Antminer factory. LOL. Jajajajajaja
............................

i don´t support Assumed Valid blocks for a Node since 0.14,
but with 0.13.1,
No Gpu miner works,
the reason is that...very old miners need getwork command, replaced with getworktemplate,
GPU miners compatible with 0.9.5, need getworktemplate, but getworktemplate changed again,

Bitcoin_core 0.13.1 in -server mode, needs:
Quote
getblocktemplate "{\"rules\":[\"segwit\"]}"

if you type getblocktemplate only, it won´t work,  as previous versions, "that was a 2nd soft-fork by the developers."
Quote
getblocktemplate
Support for 'segwit' rule requires explicit client support (code -8)

in theory all GPU miners have to be modified to ask:
getblocktemplate "{\"rules\":[\"segwit\"]}"
to work with 0.13.1

instead of only:
getblocktemplate command like previous versions,
and maybe it could work, output seems compatible.

......
there are different segwit,
the idea of changing how cores measure a block from bytes to Units, and squeeze 1000 units instead of bytes is clever,
but separating the signature i think is bad... LOL. Jajajajajaja
https://en.wikipedia.org/wiki/SegWit

hope this helps someone to join the project.
but the project has forked...
update old miners, or create 10k nodes with 0.9.5 and take over the network, and forbid ASIC miners, you decide.
because Mining is Luck, ASIC miners try to Brute Force Luck,
ASIC miners can be replaced with hundreds of smaller GPU´s like GT 740, intel Phy maybe,
basically an ASIC miner has 180 chips at 500Mhz, can be replaced with 100 small GPU´s at 1Ghz, and have the same luck finding a block..
Forcing Miners & Developers to forbid ASIC miners, would be only temporal, until they create more nodes to fight back... LOL. Jajajajajaja
but it will be Absolute Chaos for a Week,
Bitcoin price could tumble... sell Now. LOL. Jajajajajaja
and BitcoinCash Sky Rocket. LOL. Jajajajajaja

on the other hand is to support Bitcoin Gold BTG, that changed the SHA256d algorithm to another algorithm resistant to ASIC miners.
Probably the same algorithm used in Zcash.
but BTG also has SegWit, i don´t fully support.
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
December 21, 2017, 04:21:31 AM
Last edit: July 02, 2018, 02:18:26 AM by JuanPabloCuervo
 #7

gtx 1060 6g Bitcoin mining benchmark test,
https://youtu.be/Z2mF3CxDZ7s
to see results, look on a device that supports Fullscreen FullHD 1080p Playback.
(avg) 715.MH/s
Quote
>bfgminer -S opencl:auto --benchmark --verbose
>cgminer --benchmark --verbose
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
January 03, 2018, 05:58:26 AM
 #8

CudaMiner 2014-02-28 does Not work with Windows8.1x64 latest build, and Gtx1060 6g,
--benchmark
probably needs to be recompiled from source with latest CUDA Toolkit 9, to support new architecture.

http://cryptomining-blog.com/?s=Cudaminer
https://github.com/cbuchner1/CudaMiner
JuanPabloCuervo (OP)
Full Member
***
Offline Offline

Activity: 246
Merit: 102


View Profile
January 14, 2018, 06:02:15 PM
Last edit: July 02, 2018, 02:23:03 AM by JuanPabloCuervo
 #9

i was testing Dogecoin, and seems that has the same problem...
was "updated to Bitcoin core code"
and has JSON RCP CALL ERROR...

http://dogecoin.com
https://www.reddit.com/r/dogemining/

MultiDoge is a semi-light weight wallet, very pretty, loads QR code, needs Java.
like a Dogecoin Core Wallet with pruning=1
http://multidoge.org
https://github.com/langerhans/multidoge/releases

Modify MultiDodge to work with BitcoinCore 0.9.5 would be very nice project.

"Dogecoin 1.10 is a complete rebuild based on Bitcoin 0.11. This means in terms of the code-base we introduced all the changes between Bitcoin 0.9 and 0.11 into this version of Dogecoin Core.
We therefore suggest to read the release notes of both Bitcoin 0.10 and Bitcoin 0.11. 1.10 is a recommended update for all users, and if you cannot update to 1.10 for whatever reason, you must update to 1.8.3 "
https://github.com/dogecoin/dogecoin/releases

"Dogecoin Core 1.8.1 is primarily a bugfix release, bringing Dogecoin Core in line with Bitcoin 0.9.3"

so next step is to test if block version is the same or was also changed from DC 1.10 and 1.8.2/1.8.1
if Doge 1.8.2 = Bitcoin-Core 0.9.5 would be awesome. LOL.
want to try 1.8.3 but does not have portable version, only .exe
....................
Doge 1.10 has different Block version than 1.8.3 rc1, 1.8.2, & 1.8.1

Full Walllet today is 26GB,
2 options: Download again, or Rebuild...

Download usually is faster.
will try rebuild.
if DogeCoin 0.10 has the same Soft-Fork to Reject Blocks created with Previous versions, has the same Achilles heel, or worse because Litecoin and Dogecoin have shared algorithms.
https://digiconomist.net/how-auxpow-affected-dogecoin-mining/

2 birds 1 stone. LOL.

https://arstechnica.com/tech-policy/2018/01/remember-dogecoin-the-joke-currency-soared-to-2-billion-this-weekend/

ETH Doge Bridge
https://twitter.com/avsa/status/951890472150208513
https://blog.kyber.network/chain-relays-or-a-practical-approach-for-cross-chain-trades-d0d7003f266b
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!