Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Bitcoin Miner [ Notes ]
#1
[Web Miner]

-[Theory]-

   PROTOCOLS:
     1) Stratum [!]
     2) getwork
     3) getwork + rollntime
     4) GBT
   
   STRATUM:

     Stratum is a line-based (it uses "\r\n" like HTTP,SMTP,FTP ) overlay
     (because it's based on TCP) protocol, transmitted over TCP sockets,
     which contains JSON-RPC messages as payload.
     
     Client simply opens TCP socket and writes requests to the server in form of JSON
     messages finished by "\n".
 
     Stratum protocol is based on JSON-RPC 2.0 which is a remote procedure call protocol
     encoded in JSON.            
   

   [1] METHODS

        mining.subscribe     : Used to subscribe to work from a server, required before all other communication.
        mining.authorize     : Used to authorize a worker, required before any shares can be submitted.
        mining.notify        : Used to push new work to the miner.  Previous work should be aborted if Clean Jobs = true!
        mining.submit        : Used to submit shares
        mining.set_difficulty: Used to signal the miner to stop submitting shares under the new difficulty.



EX REQUEST :
Code:
echo -e "{\"id\": 1, \"method\": \"mining.subscribe\", \"params\": []}\n{\"params\": [\"stratum697.worker1\", \"\"], \"id\": 2, \"method\": \"mining.authorize\"}\r" | netcat stratum.slushpool.com 3333





-[Links]-

0) https://superuser.com/questions/695249/c...c-via-curl
   https://github.com/Elompenta/antpool-php...ntpool.php
   https://en.bitcoin.it/wiki/Stratum_mining_protocol
   https://github.com/coinspark/php-OP_RETURN
   https://bitcointalk.org/index.php?topic=557866.0
   https://github.com/Crypto-Expert/coinium...8d20b1e106

1) https://slushpool.com/help/manual/stratum-protocol
     -https://bitcoin.stackexchange.com/questions/13169/protocols-for-use-between-mining-clients-and-mining-pool-servers
     -https://www.reddit.com/r/Bitcoin/comments/3q0ine/meta_protocols_list/

2) https://github.com/borlak/cryptocoin_scr...Server.php
    -https://github.com/codler/Bitcoin-phpMiner
    -https://github.com/progranism/Bitcoin-JavaScript-Miner (Educational)
    -https://github.com/jgarzik/pyminer/blob/master/pyminer.py
    -https://bitcoin.stackexchange.com/questions/14306/how-do-i-communicate-with-the-btc-network#14352

3) https://www.reddit.com/r/Bitcoin/comment...e_than_10/
     -http://srv1.yogh.io/ (blockchain Explorer)
     -https://blockchainbdgpzk.onion/
4) http://gpu.rocks/ (javascript gpu handler)

5) POOLS: https://blockchain.info/pools, https://en.bitcoin.it/wiki/Comparison_of_mining_pools
    -https://en.bitcoin.it/wiki/Mining_pool_reward_FAQ

6) https://www.cryptocompare.com/mining/cal...erkWh=0.12 (Calculator)

7) https://thedestitutedeveloper.blogspot.c...orked.html

8) https://www.bitcoinmining.com/bitcoin-mining-hardware/ (Mining Hardware)

9) https://en.bitcoin.it/wiki/Non-specializ...comparison

10) http://www.righto.com/2014/02/bitcoin-mi....html#ref7

11) https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29
       -https://en.bitcoin.it/wiki/PHP_developer_intro
       -https://stackoverflow.com/questions/8776606/json-rpc-php-cannot-connect-to-local-bitcoind-server
       -https://bitcoin.stackexchange.com/questions/3168/how-can-i-code-a-bitcoin-json-rpc-getwork-request-in-java
       -https://en.wikipedia.org/wiki/JSON-RPC

12) http://chimera.labs.oreilly.com/books/12..._discovery
Reply
#2
Great info, already found some useful resources. Maybe you should consider adding some information for cloud miners, I mean general websites like http://hashflare-redeem-code.net/ that provide hashflare codes other offers. Either way, would be quite grateful for any additional updates.
Reply
#3
thanks for sharing your notes here, this might be useful to some
Reply
#4
Very nice. I might have to look into this.
Reply
 


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Tutorial] Make CoinHive or any Monero Miner undetected hacxx 1 131 05-22-2018, 04:25 PM
Last Post: TantaNata
Bug Bitcoin Hacking Tools / main tools used in Bitcoin "non-malware-based" attacks. securityteam 1 233 03-16-2018, 11:44 AM
Last Post: AmazonFuker
Bug Brute Force Bitcoin Brainwallet / Script Tool securityteam 0 229 03-10-2018, 01:29 AM
Last Post: securityteam
  BEST, SIMPLEST BITCOIN MINER! YMF 0 183 02-28-2018, 09:58 PM
Last Post: YMF
  How to make 25$ a day with silent miner komogo 2 270 02-19-2018, 01:02 PM
Last Post: poeti1102



Users browsing this thread: 1 Guest(s)