tradecraftio / tradecraft

Tradecraft integration/staging tree https://tradecraft.io/download
Other
13 stars 9 forks source link

Add a 'getstratuminfo' RPC #77

Open maaku opened 4 years ago

maaku commented 4 years ago

Twice the other day I was trying to figure out how many miners were connected to a node, first to see from a centralized point whether all of my miners were connected rather than checking them individually, and then at another point I wanted to see if there were lingering file handle leaks from connections left open. In both instances it would have been helpful to have an RPC which enumerates each connected StratumClient and prints some information about the connection.