Author

Topic: [for merits] Discuss the implementation of lightweight nodes for mobiles. (Read 276 times)

member
Activity: 77
Merit: 147
https://watchdominion.org
As far as my knowledge goes Lightweight nodes are a type of SPV (Simple Payment Verification)

At the moment the bitcoin blockchain is 175 GB+ (and growing) for obvious reasons (ill still say it, phones cant store this much data) this is not possible to run on a mobile device as the average storage is only around 16GB, for this reason, a solution was created- SPV's or Light nodes

Instead of downloading the entire blockchain, they only download the block headers to validate the transactions, thus they don't require much storage space.

Light nodes rely completely on a full node to connect to the blockchain, (pretty sure) they act as gates through which you access a full node which in turn accesses the blockchain

Downsides-

These downsides are pretty devastating but can be easily avoided if you connect only to your own full node and not 3rd party

Privacy- Usually, light node users send their addresses to 3rd party full nodes, from which they receive all the history and balance. This is a major breach of privacy as this allows the 3rd party to spy on the user very easily. Full node users avoid this by downloading and scanning the entire blockchain locally rather than with a 3rd party

Validation- Light nodes cannot properly validate actual bitcoins from fake ones, someone can send them fake coins but the light node won't see a difference and will accept them nevertheless, whilst never actually receiving any
jr. member
Activity: 80
Merit: 1
What if the light nodes were downloading not headers of all blocks, but only the last blocks instead and flushed them after synchronization (and getting more recent blocks to store)?

Or would that produce side chains?
member
Activity: 66
Merit: 62
Since lightweight nodes are able to confirm transactions, mobile users could essentially use a lightweight node in a similar fashion to a mobile banking app. They could be able to view their balance without having to run a full node (which would be a huge, battery draining task for a mobile phone), and it could provide functionality for real-time notifications of incoming transactions and when an outgoing transaction is confirmed.

If something like this became generally available, it could greatly facilitate bitcoin becoming more widely accepted in retail and peer to peer situations, and especially in countries where mobile phones are more widely used than a desktop computer or laptop.

Some of the disadvantages would be that lightweight nodes open up more privacy and security concerns than running a full node. Since lightweight nodes have to rely on third-party providers with a full node to deal with sending transaction, which introduces another opening toward potentially getting hacked. Also, if for whatever reason there's an attack on the bitcoin network itself, and invalid transactions are confirmed, the lightweight nodes won't be able to tell the difference, which would affect a ton of people, businesses, and probably the whole bitcoin economy.

Obviously, for the lightweight nodes to be widely available and still work as intended, there needs to be a strong network of full nodes behind it to be able to keep everything in check. I think if this becomes the new norm, it would be great if retailers would set up their own full nodes to actually verify payments, giving both a trusted node for customers to connect to, and adding to the security of the network as a whole.
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
As far as I understand, Lightweight node are like SPV wallets, which include all mobile wallets.

They are very important for adoption.

If you want to buy a coffee, you don't to run  a full node on your phone.
Just use some wallet like coinomi/samourai/mycellium etc, scan the QRCode and it´s done. Even 1 confirmation is OK.

Running a full node is important for people who own business and want to validade all transactions by themselves, without relying on third party to know if he has received is money or not.

These kind of services were even described in bitcoin whitepaper, at Chapter 8 -  Simplified Payment Verification (SPV)

Quote from: BitcoinWhitepaper https://bitcoin.org/bitcoin.pdf
8. Simplified Payment Verification
It is possible to verify payments without running a full network node.  A user only needs to keep
a copy of the block headers of the longest proof-of-work chain, which he can get by querying
network   nodes   until   he's   convinced   he   has   the   longest   chain,   and   obtain   the   Merkle   branch
linking   the   transaction   to   the   block   it's   timestamped   in.     He   can't   check   the   transaction   for
himself, but by linking it to a place in the chain, he can see that a network node has accepted it,
and blocks added after it further confirm the network has accepted.

As such, the verification is reliable as long as honest nodes control the network, but is more
vulnerable   if   the   network   is   overpowered   by   an   attacker.     While   network   nodes   can   verify
transactions   for   themselves,   the   simplified   method   can   be   fooled   by   an   attacker's   fabricated
transactions for as long as the attacker can continue to overpower the network.   One strategy to
protect against this would be to accept alerts from network nodes when they detect an invalid
block,   prompting   the   user's   software   to   download   the   full   block   and   alerted   transactions   to
confirm the inconsistency.  Businesses that receive frequent payments will probably still want to
run their own nodes for more independent security and quicker verification


Personally, i have a mobile wallet with few money in it. Like the same amount of money I would hold in my physical wallet.

if you are going to travel abroad, it may be handy to have a mobile with some money, as you can always find some place that accepts bitcoin and use it.
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
Why would I want any merits - I'm a merit source?

I'm trying to stimulate some sensible discussions on this board, instead of the TwitBook and ICO threads that shouldn't be here, and that stop the better members from receiving merits.
legendary
Activity: 2310
Merit: 2073
Sorry. I'm confused. I wanted to edit the post and accidentally deleted it.
---
Edit: I think the use of lightweight nodes for mobile phones is not quite safe today, but it is quite convenient.
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
Quote

>..<

You should know by now that I'm looking for original posts, and considered opinions.

I very nearly put you on ignore for just copying that article without any constructive comment.
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
We are starting to see reports that mobile users may be able to run lightweight nodes on mobile devices. Discuss this possibility, and the advantages and disadvantages if they do become generally available.
Jump to: