Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Brandsen on May 10, 2017, 05:05:37 PM



Title: Suggestion for the bitcoin Core GUI: QR-code for easy connection to trusted node
Post by: Brandsen on May 10, 2017, 05:05:37 PM
Some wallets, for instance the Samourai wallet; offer the ability to connect to a trusted node (your own)
Wouldn't it be great if this could be done by simply scanning a qr-code..

I’m sure that if this functionality was built directly into the Core GUI, then most of the wallet providers would adapt and make it super easy to pair your node and your phone.

So what do you think?
Is this possible / desirable?


Title: Re: Suggestion for the bitcoin Core GUI: QR-code for easy connection to trusted node
Post by: Casy on May 11, 2017, 07:14:28 PM
Some wallets, for instance the Samourai wallet; offer the ability to connect to a trusted node (your own)
Wouldn't it be great if this could be done by simply scanning a qr-code..

I’m sure that if this functionality was built directly into the Core GUI, then most of the wallet providers would adapt and make it super easy to pair your node and your phone.

So what do you think?
Is this possible / desirable?

The probleme here is, that for this functionality, you need to have a listening server at your bitcoin-core and opened a specific port in your firewall, and port forwarding enabled if you have a router and want this to work over the internet (and a static IP address or dynamic DNS). I could continue this list here.
So, there are many things to setup, which just can't be setup through a simple QR code. A simple QR code would be possible, if everything was centralized. But as you run your node on your own computer, you have to do the whole setup your own. And that highly depends on your environment and how your node accesses the internet.

So, to sum up: It's not that simple and there is no easy way to simplify this "trusted node" connection. It would surely be nice if there was one, but it's just the decentralized technology itself which makes it difficult.


Title: Re: Suggestion for the bitcoin Core GUI: QR-code for easy connection to trusted node
Post by: Brandsen on May 11, 2017, 08:41:13 PM
Some wallets, for instance the Samourai wallet; offer the ability to connect to a trusted node (your own)
Wouldn't it be great if this could be done by simply scanning a qr-code..

I’m sure that if this functionality was built directly into the Core GUI, then most of the wallet providers would adapt and make it super easy to pair your node and your phone.

So what do you think?
Is this possible / desirable?

The probleme here is, that for this functionality, you need to have a listening server at your bitcoin-core and opened a specific port in your firewall, and port forwarding enabled if you have a router and want this to work over the internet (and a static IP address or dynamic DNS). I could continue this list here.
So, there are many things to setup, which just can't be setup through a simple QR code. A simple QR code would be possible, if everything was centralized. But as you run your node on your own computer, you have to do the whole setup your own. And that highly depends on your environment and how your node accesses the internet.

So, to sum up: It's not that simple and there is no easy way to simplify this "trusted node" connection. It would surely be nice if there was one, but it's just the decentralized technology itself which makes it difficult.

Thank you for responding!
A related twitter thread has turned out to become very interesting!
Check it out here:
https://twitter.com/AudunGulbrands1/status/862369449873113088


Title: Re: Suggestion for the bitcoin Core GUI: QR-code for easy connection to trusted node
Post by: gmaxwell on May 18, 2017, 01:53:43 AM
The probleme here is, that for this functionality, you need to have a listening server at your bitcoin-core and opened a specific port in your firewall, and port forwarding enabled if you have a router and want this to work over the internet (and a static IP address or dynamic DNS).
The integrated tor hidden service support could be pretty helpful here...


Title: Re: Suggestion for the bitcoin Core GUI: QR-code for easy connection to trusted node
Post by: Brandsen on May 19, 2017, 06:08:40 PM
The probleme here is, that for this functionality, you need to have a listening server at your bitcoin-core and opened a specific port in your firewall, and port forwarding enabled if you have a router and want this to work over the internet (and a static IP address or dynamic DNS).
The integrated tor hidden service support could be pretty helpful here...

Can you please discuss this with Luke Dashjr..?
He seems to have some plans for this...

ZeroTier was also discussed on Twitter..
I personally don't have a clue, but I think you may find this discussion interesting:
https://twitter.com/adamierymenko/status/862755716565655552