Transaction

3fcfe3ab82c31e468631d024c36c25407587dfec540e4d1ab55a4e26f4e5b6c9
Timestamp (utc)
2024-03-22 15:48:02
Fee Paid
0.00000022 BSV
(
0.00481917 BSV
-
0.00481895 BSV
)
Fee Rate
10.42 sat/KB
Version
1
Confirmations
93,834
Size Stats
2,110 B

2 Outputs

Total Output:
0.00481895 BSV
  • j"1LAnZuoQdcKCkpDBKQMCgziGMoPC4VQUckMB<div class="post">I've been working on adding -port= / -rpcport=&nbsp; command line / config file options to bitcoin.&nbsp; The idea is to let you run multiple copies of bitcoind on one machine; I need this because I'm planning on having at least two Bitcoin-related web services (the Bitcoin Faucet and a service to be named later), I want them to have completely separate wallets, but I don't want to rent multiple servers to host them.<br/><br/>Usage looks like this:<br/><div class="codeheader">Code:</div><div class="code">$ ./bitcoind getbalance&nbsp; # The TEST network Faucet bitcoind<br/>40616.66159265000<br/>$ ./bitcoind -datadir=/home/bitcoin/.bitcoinTEST2 getbalance<br/>1000.000000000000<br/>$ cat /home/bitcoin/.bitcoinTEST2/bitcoin.conf<br/>rpcpassword=.....<br/>port=18666<br/>rpcport=18665<br/></div><br/>Satoshi pointed out that allowing bitcoin/bitcoind to run on a non-standard port could be dangerous, because if misconfigured two bitcoins might both open and write to the same database.&nbsp; To prevent that, the &lt;datadir&gt;/db.log file is used as a lock so only one bitcoin can access the same datadir at a time (uses boost::interprocess::file_lock, which is purported to be cross-platform and well-behaved, even if bitcoin crashes).<br/><br/>Issues that came up as I was doing this:<br/><br/>I left a call to wxSingleInstanceChecker in the Windows GUI code, so no multiple-gui-bitcoins-listening-on-different-ports on Windows.&nbsp; I don't do Windows...<br/><br/>I didn't bother making the error handling graceful if you point two bitcoins at the same datadir (you get a runtime exception "Cannot lock db.log, is bitcoin already running?").<br/><br/>Patches are at <a href="http://pastebin.com/2e4hfXSS">http://pastebin.com/2e4hfXSS</a>; I've only tested on Linux so far, anybody willing to try this on Windows?<br/><br/></div> text/html
    https://whatsonchain.com/tx/3fcfe3ab82c31e468631d024c36c25407587dfec540e4d1ab55a4e26f4e5b6c9