Hot answers tagged

7

Short answer: it does not. Long answer: getting the correct header is the only critical part. Light clients cannot check every state transition, they rely on PoW/PoS. PoS will be a better protection against fraud since signing wrong blocks costs a lot, but PoW is also reliable if we wait a few "confirmation" blocks (light client will have that option). No ...


5

full security is only possible for a full node https://github.com/ethereum/wiki/wiki/Light-client-protocol One reason is that block headers show proof of work, but not proof of valididty. So a light node may receive an invalid block header and assume it is valid. Of course, invalid blocks are just as expensive to produce as valid blocks, without any block ...


3

The light client fetches all needed data from other nodes in the network. This means that if you request some data from your client that is does not have, it needs to pull it from the network. So it needs connectivity for that. If you request something it already has, then it will use that to reply. Intermittent connection is not a problem as long as you don'...


1

Amberdata.io has an elegant way of doing what you are asking. If you would like to get every transaction sent to a specific address you may do so by using Amberdata's websockets. const WebSocket = require('ws'); const ws = new WebSocket('wss://ws.web3api.io', {headers: {x-api-key:'<api_key>'}}); ws.on('open', () => { ws.send(JSON.stringify({ ...


Only top voted, non community-wiki answers of a minimum length are eligible