Was investigating issues of the installer not working on ARM systems and needed something quick and easy to test with, realized that Hetzner has ARM based VPS' for dirt cheap
76 sats \ 2 replies \ @k00b 16 Aug
Dang $4/mo for an always-on server? They have to be losing money on that.
reply
121 sats \ 0 replies \ @justin_shocknet OP 16 Aug
You can get raw iron down to that but it takes some scale, wonder if the retail arm chips signal we're off racing to the bottom
reply
117 sats \ 0 replies \ @jp305 16 Aug
arm on hydro power FTW
reply
17 sats \ 1 reply \ @Silent_Hodler 16 Aug
Is it safe to run an own LN node on somebody's infrastructure? Been thinking about starting one (currently just running two full nodes), but seems to be pretty hard...
reply
21 sats \ 0 replies \ @justin_shocknet OP 16 Aug
Tradeoffs...
With a professional cloud service, you're less likely to have a hardware or network issue that costs you sats either in terms of a database corruption or failed payments...
But when running on anyone else's hardware (no matter the configuration, including some nodes as a service that claim otherwise) they could conceivably introspect memory or storage and exfiltrate your keys if they really really wanted to.
The same is true of running a mobile node, Apple/Google ultimately pwn your keys. Same could be said too of closed source desktop/server OS's like Windows and Mac.
There's a lot of solutions out there with theatrical claims of being non-custodial, part of that is virtue signal and part scamming the regulator, but they're still trusted setups.
So the question ultimately becomes then, what is the threshold for theft? Are these massive enterprises with Fortune 100 clients who entrust them with billions of dollars in data going to risk that to sweep your sats? Probably not.
Obviously I wouldn't recommend a cloud or mobile node for cold storage or any life altering amount of money, just as I wouldn't a Windows or Mac system... but in the context of Lightning it's invariably internet connected service and thus a hot wallet. Trusting some enterprise tech providers (ideally with some obscurity*) is a better tradeoff than trusting overtly financial services, especially in terms of disintermediating your income and discovering new income in a circular Lightning economy.
*obscurity: I wouldn't name a VPS "My Bitcoin whale node" or make my username Satoshi, just as I wouldn't use a VPS or hosting provider that explicitly catered to hosting Bitcoin nodes, that's called a honeypot.
reply
17 sats \ 1 reply \ @ACYK 16 Aug
What’s the cheapest per month VPS you’ve tested Lightning.Pub on that accepts lightning payments for the VPS?
reply
21 sats \ 0 replies \ @justin_shocknet OP 16 Aug
There's not a lot of VPS providers that accept Lightning, so the answer is technically none...
That said, it should run on most low-end-box type VPS, I've seen deals at places like Racknerd (that do accept on-chain Bitcoin) for like $20/year that should work.
In my tests it comfortably sits at 1GB of RAM and <2GB of storage... but bursting for restarts etc I recommend 2GB RAM and LND has been known to balloon to 20+GB on disk if it doesn't get restarted for awhile.
I think these ARM based VPS's have a lot of potential, you can't get a whole lot cheaper and there's still headspace as they come with 4GB of RAM... Hetzner is in my experience a very reliable provider as well with a good reputation.
My biggest hesitation talking about Hetz is they do such a good job that they're already a considerable part of the public graph
https://m.stacker.news/46203
Good news is I've had some conversations with other big, but still underdog, cloud providers who are showing interest in launching more competitive solutions.
reply
0 sats \ 2 replies \ @ACYK 16 Aug
What would it take for Lightning.Pub to be a LNbits funding source? Other than someone who understands LNbits funding sources to make a pull request, is that something that would theoretically be possible?
reply
81 sats \ 1 reply \ @justin_shocknet OP 16 Aug
Both Pub and LNbits are intended as independent systems, so that would be nesting them, but it would be possible in either direction with a little effort
On the LNbits side, for it to use Pub, it would need a fairly simple REST client (might work with LNURL already actually?)... going over Nostr would be a little more work. We plan on packaging the wallet client for these kind of things once it settles down.
For the reverse it'd probably be easy about the same, using an LNbits instance like we use another Pub as a bootstrap peer would be a good place to add a LNbits client which is simple REST
reply
17 sats \ 0 replies \ @ACYK 16 Aug
Awesome. Very exciting project and I can’t wait to see how it develops. Thanks for all of your efforts and helpful responses.
reply