Bitcoin Forum
May 12, 2024, 09:25:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Browser as a node - Technically Possible ?  (Read 1683 times)
CounterEntropy (OP)
Full Member
***
Offline Offline

Activity: 214
Merit: 278


View Profile
January 07, 2016, 06:32:57 PM
 #1

I would like to know is it possible to transform an open source web browser, say Firefox, to act as a node ? May be not for bitcoin, but for some alt coin. How feasible this idea is ?
1715549144
Hero Member
*
Offline Offline

Posts: 1715549144

View Profile Personal Message (Offline)

Ignore
1715549144
Reply with quote  #2

1715549144
Report to moderator
1715549144
Hero Member
*
Offline Offline

Posts: 1715549144

View Profile Personal Message (Offline)

Ignore
1715549144
Reply with quote  #2

1715549144
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Rupert Murdoch
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 08, 2016, 03:18:55 PM
 #2

It is possible. You do not need to work on the whole browser code for that. All you need is a browser plugin. But, that would definitely be an Alt coin.
Jet Cash
Legendary
*
Offline Offline

Activity: 2716
Merit: 2457


https://JetCash.com


View Profile WWW
January 08, 2016, 03:23:04 PM
 #3

What would be the advantage?
How would you handle the potential vulnerabilities?

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
CounterEntropy (OP)
Full Member
***
Offline Offline

Activity: 214
Merit: 278


View Profile
January 08, 2016, 05:05:22 PM
 #4

What would be the advantage?
When browsers act as node, there will be abundance of nodes in the network, which will increase security.

How would you handle the potential vulnerabilities?
Could u plz list out the potential vulnerabilities?
Bungeebones
Full Member
***
Offline Offline

Activity: 178
Merit: 100



View Profile
January 09, 2016, 02:12:18 AM
 #5

Could such a plugin be designed to operate on only a specific page?
Jet Cash
Legendary
*
Offline Offline

Activity: 2716
Merit: 2457


https://JetCash.com


View Profile WWW
January 09, 2016, 06:21:33 AM
 #6

What would be the advantage?
When browsers act as node, there will be abundance of nodes in the network, which will increase security.

How would you handle the potential vulnerabilities?
Could u plz list out the potential vulnerabilities?

Are you suggesting that the blockchain is stored in a cookie? Smiley (not a serious suggestion). If it was run in a plugin, then would it use port 6333 still, if so, all you seem to be doing is to ptovide an html front end imho. Storing the blockchain in the cloud could allow it to be shared, but that would create further problems.

The multitude of vulnerabilities in browsers are well documented.

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
TD-Linux
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 09, 2016, 07:52:25 AM
 #7

But, that would definitely be an Alt coin.

No, you could implement Bitcoin in a browser with APIs available today. You would need to make a new relay protocol based on WebRTC, and have some bridges between the old and new protocols, but it would still be Bitcoin.
HeroCat
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
January 13, 2016, 02:59:14 PM
 #8

But what will be the profit - very small I think. It is possible of course  Wink
OnkelPaul
Legendary
*
Offline Offline

Activity: 1039
Merit: 1004



View Profile
January 13, 2016, 03:08:28 PM
 #9

A bitcoin node does not need much CPU power, but a lot of disk space to store the blockchain. Typical browser plugins work on very limited amounts of data, and users would probably not want to run a plugin that consumes dozens of gigabytes on their hard disk and constantly talks to the network.
And of course the other point is very valid: What's the practical use for such a thing? Which actual problem would it solve?

Onkel Paul

kiblirov
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
January 13, 2016, 03:18:47 PM
 #10

Basics of a Node
1. The entire blockchain is stored on the node itself.
2. It consumes less power

Basics of a Browser
1. A browser is just a front end visualizer to the user.
2. It uses very less resources to store values in the form cookies.

A browser in my aspect can't be a node, as a plugin can't handle a blockchain. If the entire blockchain is stored in the computer where the browser is installed, then the qt itself can act as a node. Why do we need a browser to act as a node?

So, it is not possible to make browser a node. There is no possible for a light weight node in terms of memory usage.
fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 275


View Profile
January 14, 2016, 12:56:07 AM
 #11

It's feasible if it's an SPV wallet, not a full node. Storing the headers costs only a few megabytes, and transactions are extra, but wouldn't amount to much.

Bitwasp Developer.
fanatid
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 14, 2016, 09:10:26 AM
 #12

It's feasible if it's an SPV wallet, not a full node. Storing the headers costs only a few megabytes, and transactions are extra, but wouldn't amount to much.
You even can go deeper and store hashes of chunks (2016 headers). This solution require less than megabyte and you don't need WebSQL or IndexedDB, you can use localStorage. The bad thing with this that you need extra traffic for loading full chunk (~160kb) when you need only one header (80 bytes) for transaction verification.
vileygroun
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
January 15, 2016, 06:18:31 AM
 #13

Blockchains of any coin can grow in giga and tera bytes over time. A node must have the memory to hold full blockchain on its own. A browser can act as a front end of a node but can't be a node itself. There is no such implementation so far yet. However, there may arise some secure vulnerabilities that can easily steal coins from the wallets. It is possible, however not going to happen.
RocketSingh
Legendary
*
Offline Offline

Activity: 1662
Merit: 1050


View Profile
January 22, 2016, 02:23:03 PM
 #14

I would like to know is it possible to transform an open source web browser, say Firefox, to act as a node ? May be not for bitcoin, but for some alt coin. How feasible this idea is ?
May not be as a node, but ofcourse as a wallet. In fact, the founder of JavaScript aka co-founder of Mozilla is working on that...

https://www.brave.com/FAQ.html#collapseEight

In short, if you are thinking about building something, you are probably in the right direction...

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!