Bitcoin Forum
November 13, 2018, 11:48:31 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mining with PHP (for educational purposes)  (Read 812 times)
Jakesy
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
May 15, 2015, 01:58:34 PM
 #1

Does anybody know of a project experiment for mining with PHP?  I know it's not efficient, nor will it make me any BTC, but I'm interested for educational purposes.

I would actually like to see the nonce increment, added transactions, and the resulting hash.  It'd be easier if you could control hash rate (i.e. 1 hash per second, etc...).

Does a project like this already exist?  Possible?
1542152911
Hero Member
*
Offline Offline

Posts: 1542152911

View Profile Personal Message (Offline)

Ignore
1542152911
Reply with quote  #2

1542152911
Report to moderator
1542152911
Hero Member
*
Offline Offline

Posts: 1542152911

View Profile Personal Message (Offline)

Ignore
1542152911
Reply with quote  #2

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

Posts: 1542152911

View Profile Personal Message (Offline)

Ignore
1542152911
Reply with quote  #2

1542152911
Report to moderator
Kyraishi
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Bountie- Do You Have Game?


View Profile
May 15, 2015, 02:17:14 PM
 #2

Does anybody know of a project experiment for mining with PHP?  I know it's not efficient, nor will it make me any BTC, but I'm interested for educational purposes.

I would actually like to see the nonce increment, added transactions, and the resulting hash.  It'd be easier if you could control hash rate (i.e. 1 hash per second, etc...).

Does a project like this already exist?  Possible?

You mean something like this: https://github.com/codler/Bitcoin-phpMiner
What is the real reason you want it for?

Nevermind I don't wanna know....

Jakesy
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
May 15, 2015, 03:11:44 PM
 #3

Does anybody know of a project experiment for mining with PHP?  I know it's not efficient, nor will it make me any BTC, but I'm interested for educational purposes.

I would actually like to see the nonce increment, added transactions, and the resulting hash.  It'd be easier if you could control hash rate (i.e. 1 hash per second, etc...).

Does a project like this already exist?  Possible?

You mean something like this: https://github.com/codler/Bitcoin-phpMiner
What is the real reason you want it for?

Nevermind I don't wanna know....

I want to help my dad/family understand it.  I want to create a "live view" of the blockchain.  An animated view of the previous block with transactions, nonce, hashes, etc...  while showing the current block being mined (i.e. iterating nonce + transactions + prev hash).

Some people are visual, others can imagine what the code does in their mind.   I want to try to bring these two together... for educational purposes.  I know this will never mine a block, but I do want to show what's going on.
Kyraishi
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Bountie- Do You Have Game?


View Profile
May 15, 2015, 03:15:46 PM
 #4

Does anybody know of a project experiment for mining with PHP?  I know it's not efficient, nor will it make me any BTC, but I'm interested for educational purposes.

I would actually like to see the nonce increment, added transactions, and the resulting hash.  It'd be easier if you could control hash rate (i.e. 1 hash per second, etc...).

Does a project like this already exist?  Possible?

You mean something like this: https://github.com/codler/Bitcoin-phpMiner
What is the real reason you want it for?

Nevermind I don't wanna know....

I want to help my dad/family understand it.  I want to create a "live view" of the blockchain.  An animated view of the previous block with transactions, nonce, hashes, etc...  while showing the current block being mined (i.e. iterating nonce + transactions + prev hash).

Some people are visual, others can imagine what the code does in their mind.   I want to try to bring these two together... for educational purposes.  I know this will never mine a block, but I do want to show what's going on.

Gotcha!
It would be nice if you published it on the web so that other newcomers can visualize what is happening under the hood  Wink
I am sure many members in the forums would help promote the site, of which you can add some adverts and monetize it  Wink

SpanishSoldier
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
May 15, 2015, 03:17:49 PM
 #5

Does anybody know of a project experiment for mining with PHP?  I know it's not efficient, nor will it make me any BTC, but I'm interested for educational purposes.

I would actually like to see the nonce increment, added transactions, and the resulting hash.  It'd be easier if you could control hash rate (i.e. 1 hash per second, etc...).

Does a project like this already exist?  Possible?

You mean something like this: https://github.com/codler/Bitcoin-phpMiner
What is the real reason you want it for?

Nevermind I don't wanna know....

I want to help my dad/family understand it.  I want to create a "live view" of the blockchain.  An animated view of the previous block with transactions, nonce, hashes, etc...  while showing the current block being mined (i.e. iterating nonce + transactions + prev hash).

Some people are visual, others can imagine what the code does in their mind.   I want to try to bring these two together... for educational purposes.  I know this will never mine a block, but I do want to show what's going on.

That would be a great project to incept. Publish in online and you'll be flooded with traffic. Smiley
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!