Bitcoin Forum
September 27, 2018, 10:34:35 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Why are stratum and stratum-mining doin things in such a complicated way?  (Read 584 times)
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1750
Merit: 1001

Reverse engineer from time to time


View Profile
December 11, 2013, 01:18:34 PM
 #1

Twisted seems to provide you with a LineReceiver out of the box, however slush has not used that in his projects, he is also using some "Application Framework" and Services in twisted, I honestly have no idea what they are or what they do, but why not just start a simple TCP Server, but instead does things in such a complicated way?

I plan to write a pool software from scratch in Python using LineReceiver as stratum is a line based protocol and TCP4ServerEndpoint for the server itself. Anything I should know beforehand on why I should or should not use this?

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
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!