Transaction

0b78ab3f9595d2610c082e540a3f748791b3bb5a61227d1a38a57d314e6af961
2024-03-24 00:57:51
0.00000021 BSV
(
0.02097824 BSV
-
0.02097803 BSV
)
10.22 sat/KB
1
74,262
2,053 B

2 Outputs

Total Output:
0.02097803 BSV
  • j"1LAnZuoQdcKCkpDBKQMCgziGMoPC4VQUckM <div class="post">Thank you very much for the wonderful miner. Good use of GPU power <img alt="Smiley" border="0" src="/static/img/emoticons/smiley.gif"/><br/><br/>I sent you a donation.<br/><br/>BTW, what about adding an option to get the username/password directly from ~/.bitcoin/bitcoin.conf instead of providing them on the command line. That's a little bit safer, as command line arguments can be seen by everyone on the system:<br/><div class="codeheader">Code:</div><div class="code">def read_config_file(filename):<br/>&nbsp; &nbsp; '''<br/>&nbsp; &nbsp; Read a simply = delimited config file.<br/>&nbsp; &nbsp; Raises IOError if unable to open file, or ValueError<br/>&nbsp; &nbsp; if an parse error occurs.<br/>&nbsp; &nbsp; '''<br/>&nbsp; &nbsp; f = open(filename)<br/>&nbsp; &nbsp; try:<br/>&nbsp; &nbsp; &nbsp; &nbsp; cfg = {}<br/>&nbsp; &nbsp; &nbsp; &nbsp; for line in f:<br/><span style="white-space: pre;"> </span>&nbsp; &nbsp; line = line.rstrip()<br/><span style="white-space: pre;"> </span>&nbsp; &nbsp; if line:<br/><span style="white-space: pre;"> </span>&nbsp; &nbsp; &nbsp; &nbsp; (key, value) = line.split('=', 1)<br/><span style="white-space: pre;"> </span>&nbsp; &nbsp; &nbsp; &nbsp; cfg[key] = value<br/>&nbsp; &nbsp; finally:<br/>&nbsp; &nbsp; &nbsp; &nbsp; f.close()<br/>&nbsp; &nbsp; return cfg<br/><br/>import os<br/>home = os.getenv("HOME")<br/>if home:<br/>&nbsp; &nbsp; try:<br/>&nbsp; &nbsp; &nbsp; &nbsp; cfg = read_config_file(os.path.join(home, '.bitcoin/bitcoin.conf'))<br/>&nbsp; &nbsp; except (IOError,ValueError):<br/>&nbsp; &nbsp; &nbsp; &nbsp; pass # Cannot read config file, ignore<br/>&nbsp; &nbsp; else:<br/>&nbsp; &nbsp; &nbsp; &nbsp; options.user = cfg['rpcuser']<br/>&nbsp; &nbsp; &nbsp; &nbsp; options.password = cfg['rpcpassword']<br/></div></div> text/html
    https://whatsonchain.com/tx/0b78ab3f9595d2610c082e540a3f748791b3bb5a61227d1a38a57d314e6af961