thanks to ngrep, solved a bug that cropped up in my simpleminer script after using it with a longer rpcuser name for americancoind. the str.encode('base64') encoder was inserting a newline after 76 characters, which length hadn't been reached before. now using base64.b64encode and I'm OK. ngrep made it easy to spot the difference in the RPC call made with my script vs. the call made by americancoind getwork.

Back to blog or home page

last updated 2013-12-13 21:39:33. served from tektonic.jcomeau.com