Comments (14)
Concept ACK.
Would love to see this, it's a feature that I hear a lot of people talk about but AFAIK no one has implemented yet, would be great if Umbrel was the first.
from umbrel.
Will attempt to do this. Probably a bash looping service similar to the unlock script
from umbrel.
it would need to keep running too and be able to switch back and forth too.
Say bitcoind is corrupted it should switch back and forth
from umbrel.
Awesome! Looking forward. It really is one of the last few missing pieces before we can launch.
from umbrel.
sample code which can do it
#!/bin/bash -e
PASSWORD=`cat $PWD/secrets/rpcpass.txt`
INFO=`curl --user lncm:$PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' http://10.254.2.2:18332 2>/dev/null`
HEADERS=`echo $INFO | jq .result.headers`
BLOCKS=`echo $INFO | jq .result.blocks`
if [ $HEADERS -eq $BLOCKS ]; then
echo "Switching over from bitcoind to neutrino"
sed 's/bitcoin.node\=neutrino/bitcoin.node\=bitcoind/g; ' lnd/lnd.conf
fi
from umbrel.
Instead of creating a new docker service, perhaps this should be handled by https://github.com/getumbrel/umbrel-manager
from umbrel.
lets make it $HOST/lnd/lnd.conf
or /mnt/data/lnd/lnd.conf
from umbrel.
can be a docker service for sure and restart: on-error
from umbrel.
lets make it $HOST/lnd/lnd.conf or /mnt/data/lnd/lnd.conf
I didn't fully understand that.. can you please elaborate a bit?
Also, since $HOST/lnd/lnd.conf
is symlinked to /mnt/data/lnd/lnd.conf
, the lnd-switch
can make changes directly to $HOST/lnd/lnd.conf
from umbrel.
lets make it $HOST/lnd/lnd.conf or /mnt/data/lnd/lnd.conf
I didn't fully understand that.. can you please elaborate a bit?
Also, since
$HOST/lnd/lnd.conf
is symlinked to/mnt/data/lnd/lnd.conf
, thelnd-switch
can make changes directly to$HOST/lnd/lnd.conf
${HOME}
from umbrel.
going to have a stab at this now.. it will need a lot of testing
from umbrel.
Looking good
from umbrel.
https://hub.docker.com/repository/docker/lncm/neutrino-switcher
from umbrel.
I know it is an old discussion here, I couldn't find anything new about the subject.
Is it still possible to use 100% LN + Neutrino (or any way to connect to a Bitcoin node on another device)?
I mean, I have a Device (not Umbrel) with a synched BitcoinCoreNode running, I'd like to prepare several Umbrel devices with LN and want to link them to my external BitcoinCoreNode (external just because it is not on the same device, but all on the same Network)
If yes, could someone please share how?
from umbrel.
Related Issues (20)
- Quickly clicking the install button twice causes the app to be installed twice
- qemu-guest-agent missing in umbrelos 1.1 HOT 4
- RPI5 - Umbrel cannot start jam and snowflake, Possible wrong OS version linked on webpage install guide
- (x86) install ISO image? HOT 10
- Update wiki page to link to 1.1.2 release HOT 1
- Linux Migration with Full Bitcoin node HOT 1
- Umbrel amd64 install using partition not entire disk
- Feature request: add custom links on home screen
- Feature request: GPU passthrough for LLamaGPT
- Feature request: SSH access after init - UmbrelOS 1.0+ HOT 4
- Faulty image or does it only work for x86 systems? HOT 17
- Is the Umbrel install by script coming back any time? HOT 13
- [QUESTION] System requests password and login after installation HOT 5
- Setup Wifi on installation HOT 3
- Kernel headers for current kernel version and bcm4360 wifi/bluetooth driver
- Tor connection problems HOT 1
- Tailscale Security Update HOT 2
- Problem opening the domain to the external network HOT 2
- The Bitcoin Machine can't update to 1.x HOT 1
- [Question:] is possible to install on a docker container ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umbrel.