Bitcoin Forum
January 19, 2017, 03:11:28 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Tumen miner - WebGL miner  (Read 5144 times)
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2338


I support freedom of choice


View Profile WWW
December 30, 2011, 07:13:03 AM
 #1

https://github.com/temujin9/tumen_miner

Quote
Here is the dump, I may have other versions, but this was the first thing I found, it maybe the best I have. I think the important javascript parts were miner_original.js and worker_original.js (which is missing) but you maybe able to de-minfy the worker.js file.

The whole client side of the system was just the index.html page, and those two javascript files. IIRC the 'web-worker' can't create an opencl context so all the work is done in the main javascript thread. The backend is just a proxy to a bitcoin miner, the reason it exists is just because of javascript security you have to connect to the same url/port, so that can be replaced by a modern mining proxy of some kind.

My advice would be to study how webcl works, and get a demo of that going in your own code, then learn how the mining process works, and try to load the opencl kernel using your own webcl javascript code. then look over the worker.js and miner.js files and pick out the pieces that actually do the work of converting the bytes around to the right formats and talking to the webcl kernel. Looking at the source of poclbm and diablominer should give you an idea of the various byte conversion functions needed, krad miner works in the same ways as these miners do, only the code is in javascript and you have to deal with the strange different world of javascript.

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
1484838688
Hero Member
*
Offline Offline

Posts: 1484838688

View Profile Personal Message (Offline)

Ignore
1484838688
Reply with quote  #2

1484838688
Report to moderator
1484838688
Hero Member
*
Offline Offline

Posts: 1484838688

View Profile Personal Message (Offline)

Ignore
1484838688
Reply with quote  #2

1484838688
Report to moderator
1484838688
Hero Member
*
Offline Offline

Posts: 1484838688

View Profile Personal Message (Offline)

Ignore
1484838688
Reply with quote  #2

1484838688
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1484838688
Hero Member
*
Offline Offline

Posts: 1484838688

View Profile Personal Message (Offline)

Ignore
1484838688
Reply with quote  #2

1484838688
Report to moderator
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 02, 2012, 09:58:18 PM
 #2

AWESOME! I'll give it a try!

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 574


Posts: 69


View Profile WWW
January 06, 2012, 07:52:07 PM
 #3

I like that this is happening, I wish I understood it all

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 06, 2012, 08:33:51 PM
 #4

I like that this is happening, I wish I understood it all

This is the old kradminer, a miner that works in your browser.

Now it is open sourced by a good Samaritan!  ^_^

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
moocow1452
Sr. Member
****
Offline Offline

Activity: 240

Don't mind me.


View Profile
January 26, 2012, 07:42:37 PM
 #5

EDIT: http://c9.io/moocow1452/tumen_miner

Ready for action.
pandemic
Sr. Member
****
Offline Offline

Activity: 418


View Profile
February 08, 2013, 12:56:30 AM
 #6

OK, I could use a hand getting this working. Right now my firefox is way too new for krad miner. Any suggestions?

bitcoin.pandemichosting.com

A buddy of mine came up with a fix for the version issue.

<script>
var lowestSupportedVersion = 4.0;
var getBrowserVersion = navigator.userAgent.match(/Firefox\/(.*)$/), ffVersion;
if (getBrowserVersion && getBrowserVersion.length > 1) {
browserVersion = getBrowserVersion[1];
}
if(browserVersion>lowestSupportedVersion){
alert("do it");
}else{
alert("oh well");
}
</script>
pandemic
Sr. Member
****
Offline Offline

Activity: 418


View Profile
February 10, 2013, 12:59:28 AM
 #7

no interest at all on this, eh?
Rawted
Hero Member
*****
Offline Offline

Activity: 714



View Profile
February 10, 2013, 06:49:55 PM
 #8

no interest at all on this, eh?
I checked it out, updated firefox, installed webcl then got this notice when activating webcl that ended the curiosity for me.

"WARNING! This WebCL implementation is experimental and is likely to introduce severe security vulnerabilities in your system. Use it cautiously and at your own risk. This setting is also available in Advanced Settings (about:config) as extensions.webcl.allowed"

prophetx
Legendary
*
Offline Offline

Activity: 1106


he who has the gold makes the rules


View Profile WWW
May 08, 2013, 12:46:05 AM
 #9

is anyone running this?  i'd like to try it out

██████████████████████
████████████████████████
████████████████████████
████████████████████████
███████████████████████
█████████████████████
████████████████████████
████████████████████████
██████████████████████
██████████████████████
███████████████████████
████████████████████████
████████████████████████
████████████████████████
███████████████████████
██████████████████████
|
WINGS
Where DAO Unicorns are born
|
.
1st Bitcoin & Ethereum DAO for DAOs                                               
1st Decentralized Chatbot to Smart Contracts Interaction System

|
.
Wings Bounties Earn Eggs    
X-Blockchain DAO

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!