| submitted by /u/benflor
as the title pretty much says, I’ve spun up a VPS-hosted full node and have configured it for JSON-RPC access on localhost. I understand that I can ssh tunnel into that VPS instance and issue calls to it through that, but is that the best way to go about it?
The block explorer will be running on Ruby or PHP and hosted on a separate webhost… I should be able ssh into the node with either Ruby or PHP, but that just feels… dirty… Would it be most convenient to host the blockchain explorer website from the same machine, ie. just initiate the calls from localhost?
I didn’t want to configure my main node for JSON-RPC access because 1) it’s not always on and 2) security concerns. This node that will power the blockchain explorer will not ever hold any funds and has been spun up specifically for this purpose, so I’d really be interested in a solution that would allow an external service (the blockchain explorer) to access its data.
Copying information posted elsewhere for reference here:
just make an ssh tunnel and map the rpc port to localhost on the webnode. Something like this:
ssh -N example.com -L 8332:localhost:8332
or stunnel also does encrypted tunnels. then make your app connect to localhost.
This would be trivial if I were running the full hosting stack on another VPS–let alone the same one, in which case this wouldn’t be needed as far as I understand–but the hosting service I’m using doesn’t really support this level of control/functionality. It’s strictly a webhost. I can upload Ruby or PHP files and use one of those language’s ssh libraries, but as far as terminal access/generic ssh… not happening.
Which is why, if it is that much more convenient, I’m willing to ditch my current host and spin up apache (or whatever) on the same machine as the full node.
But I don’t see why it’s so hard to do something that seems relatively simple.
Fincheck.co.za also compares the digital currency Bitcoin in real time – the information updates every few seconds on the Fincheck portal. Bitcoin is an …
Google Alert – bitcoin
I recently purchased a pc from an estate sale of someone who had passed away. Booted up the pc to test its condition, to find the desktop covered in crytocurrency shortcuts. Checked the wallets and in total they are about $ 1100 by current exchanges. I really have no idea what I should do in this situation. I could probably contact the next of kin by visiting the place I bought it from. But frankly I’m unemployed and the money would help a ton so it is very hard to do the “moral” thing. But I…