Bitcoin Forum
May 06, 2024, 11:05:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why are stratum and stratum-mining doin things in such a complicated way?  (Read 658 times)
Remember remember the 5th of November (OP)
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

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:  

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