Questions tagged [light-clients]

light or thin clients do not store the whole blockchain and are used on mobile, embedded or IoT devices

Filter by
Sorted by
Tagged with
1
vote
1answer
13 views

How to ensure the authenticity of the block header obtained by the light node

When I join the Ethereum network, I ask for block header data from neighboring nodes. How can I guarantee the reality of data?What if the neighbors conspired to give me bogus data?
0
votes
0answers
7 views

Securely integrating a light wallet into a dapp — Thoughts?

I asked a leading L2 provider whether their solution would include key management to break out of the external signing paradigm (2-factor auth, browser extensions, hardware wallets etc.). His ...
0
votes
0answers
7 views

How do lightweight clients use CHT?

In the description of the LES protocol Canonical Hash Trie (CHT) structures are used by LES for quick initial syncing and secure on-demand retrieval of canonical hash mappings, block headers and ...
0
votes
0answers
18 views

What is the meaning of ODR in go-ethereum?

Inside the go-ethereum codebase there are many references to ODR, but I cannot see any definition of what it is. References to ODR appear in the following files among others. https://github.com/...
2
votes
0answers
16 views

Connecting ethers.js to a light client

I'm trying to connect ethers.js to a geth light client. A connection seems to form, but with no indication that I'm able to receive the right data. Here's the geth command I'm using: geth --rpc --...
0
votes
0answers
14 views

What is a good wallet service for iOS applications

I am building an iOS app that rewards users with crypto tokens, just like Brave's BAT or Reddit's community points. I am trying to find a wallet service that I can integrate with my iOS app for users ...
0
votes
0answers
9 views

How can two light nodes on a chain communicate individually?

Let's say I have two light nodes on a chain and I want them to exchange data ~3KB without appending anything to the chain. They are not on local network. How can I achieve it?
0
votes
0answers
14 views

What is good peer etiquette for being a light node?

I just started dabbling in running my own light node and it seems like the biggest challenge is finding peers. rfikki on GitHub posts these peer lists (https://gist.github.com/rfikki/...
0
votes
1answer
31 views

light node can perform any operation what fast and full sync mode do, exception getTransationreceipt?

I need to send ethereum between wallets or interact with a token on the ethereum network can a light node has a constraint to do that,it can not perform any task as a full or fast sync mode node, I ...
1
vote
1answer
201 views

Geth light keeps showing “Looking for peers”

My Geth server in light mode was running without any issue up to yesterday. But after that, I only receive these messages continuously! INFO [04-19|12:59:22.181] Looking for peers ...
0
votes
0answers
46 views

Why Geth light stops working for eth_coinbase error?

I've lunched a Geth in light mode. Then, I started it using the code below: geth --syncmode light --rpc --rpcport 8545 --rpcapi personal,eth,web3,txpool But for several times, loading new headers ...
0
votes
1answer
42 views

What's the status of Ethereum Light Client?

Is there any stable Ethereum Light Client? Which one is production ready? What's the status and the roadmap? Moreover, I'm looking for some metrics related to a Light Client: Runtime resources usage (...
0
votes
0answers
7 views

Light client that downloads a filtered view of transactions

There are a millions things happening on Ethereum that I don't care about. I'd like a light client that only downloads the small subset of transactions to contracts I'm interested in. Is there a way ...
0
votes
0answers
29 views

Has Aleth client light node option?

I have find information about running a light node with go-ethereum(https://www.mycryptopedia.com/how-to-run-an-ethereum-node-on-a-raspberry-pi/): geth –cache=218 –syncmode “light” but I am ...
1
vote
0answers
39 views

What happened if a Ethereum client do not have one event?

Reading this question, I understand that as long as you have the blockchain then you have all the events/logs. But if a dapp is reading data from a light Ethereum client, how will this light client ...
1
vote
0answers
36 views

Are there any web3 libraries for react-native or for android light-client?

I want to create a chat application using the whisper protocol for android platform , But I'm trying to use the current web3 package with react-native but I'm unable to use it as web3 package has ...
0
votes
0answers
19 views

Should light clients listen on public ports?

quote: To only download data from other nodes, you don't need to open any outgoing ports at all. Opening your :30303 to the world is required only if you want to run full node, helping other people ...
0
votes
1answer
52 views

How a node getting the last block?

When I call web3.eth.blockNumber from a specific full-node, where does it getting the last block? I know that the full-block holds part of the chain which he gets from gossiping with other full-nodes....
0
votes
2answers
102 views

How can I parse internal transactions with light node?

is that possible to receive all transactions from new block with light node and parse all and even internal transactions with the help of its api?
1
vote
1answer
25 views

Can anyone with part of the chain (e.g. a light node) read unencrypted transaction data?

I need clarification on the fact that "the blockchain is public and anyone can read it". Given a node which is storing only, say, 1 block from the blockchain, can that node read the transaction data ...
0
votes
1answer
259 views

how to make geth light node connect to local full node

In my computer i have 1 full node, my full node is running using: geth --syncmode full --ws --wsport 8546. Is there anyway to create a light node to connect to that full node on the same local network ...
3
votes
0answers
398 views

Header broke chain ancestry, Synchronisation failed, dropping peer & retrieved hash chain is invalid

System information Geth version: Geth Version: 1.8.22-stable Git Commit: 7fa3509e2eaf1a4ebc12344590e5699406690f15 Architecture: arm Protocol Versions: [63 62] Network Id: 1 Go Version: go1.11.5 ...
1
vote
1answer
309 views

Run geth in light mode on Rinkeby and Raspberry

I am trying to run geth --light --cache 64 --rinkeby but it stucks on INFO [02-12|08:58:16] IPC endpoint opened: /home/pi/.ethereum/rinkeby/geth.ipc. I am using geth on a Raspberry. The full output ...
1
vote
0answers
239 views

Problem with more than one light node peer connection

I have the following nodes running : FULL NODE and LIGHT SERVER geth --datadir node1 --port 30303 --rpc --rpcport 3003 --rpcaddr 127.0.0.1 --ipcpath node1/geth.ipc --rpcapi="db,eth,net,web3,personal"...
1
vote
1answer
214 views

Light node cannot connect peers

I am running a full node in a testnet and I am trying to connect a light node. I am using the following command: geth --datadir node1 --port 30313 --rpc --rpcport 3013 --rpcaddr 127.0.0.1 --ipcpath ...
2
votes
0answers
50 views

Accessing the network through light node

I've been trying, unsuccessfully, to make a web3.py app that needs to catch events, with the use of filters. After hours and hours of testing it appeared the problem was that Infura, which is the ...
0
votes
1answer
40 views

Ethers in a light node

Since a light node makes transactions from a connected full node, does a light node need ethers to make transactions or it uses the ethers from the full node?
1
vote
2answers
181 views

Ethereum light client sync problem: invalid timestamp

Full node is on 30303 port. Light node is on 30304 port. The log is below. I started up the full node, made some transactions and then started up the light node. Full node is run like this: [root ...
0
votes
1answer
65 views

run multiple parity clients in parallel

How can I run multiple parity instances on one machine? With geth it's easy. I just have to set different --port numbers. What's the equivalent for parity? I want to recreate Afris scenario.
2
votes
0answers
47 views

What is a suitable pattern for building a web/mobile app that leverages ether? [closed]

Noob to ether dev. Looking to understand how to build an app that leverages Ethereum - what suitable patterns are out there (ideally to go via some tutorials). A few apps examples (from easy to ...
1
vote
1answer
554 views

Lightest node capable of returning transaction information from RPC managed wallet?

I tried to run a Geth light node, but it seems I can not retrieve transaction information from the RPC server. I'm not sure whether that's a limitation of the light node, or rather me not retrieving ...
3
votes
0answers
74 views

Spoofing of totalDifficulty variable

Péter Szilágyi, in his talk in Taipei, claims that totalDifficulty can be spoofed: https://www.youtube.com/watch?time_continue=575&v=qJA6J0mP73w How is that possible? Can the variable only be ...
1
vote
0answers
423 views

geth light node imports blocks from zero

I am using Geth 1.8.15-stable-89451f7c and starting geth in syncmode "light" starts importing block headers from 0. Is this expected or should it not start from the most recent block? Following is ...
2
votes
1answer
68 views

“Elkrem:” Does it install an Ethereum client on a micro-controller?

I have read this article which describes the prototype of Ethkrem, a development board for IOT and Ethereum: https://devpost.com/software/elkrem-development-board-for-iot-ethereum . However, it is ...
0
votes
1answer
264 views

ACCESSING BLOCKCHAIN ON “ESP8266” USING THE “NODEMCU BOARD”

I have read this example where it tries to interact with the Ethereum blockchain via a micro-controller (ESP8266 and NODEMCU board). However, I do not understand if an Ethereum client (Geth or Parity) ...
1
vote
0answers
17 views

What is the main difference between “light client” and “client” in sense of “functionality” and “capability”? [duplicate]

What is the main difference between "light client" and "client" in sense of "functionality and capability" ? I mean, what can a client does that a light client cannot ? (ex. sending transactions? ...
1
vote
0answers
37 views

Is “EthArmbian” an OS for running Ethereum client on “micro-processors”?

Is "EthArmbian" an OS for running Ethereum light client on "micro-processors" or "micro-controllers" ? And if yes, which micro-processors ?
1
vote
1answer
136 views

Port requirements for a Light-Node?

For a light client (geth --light or parity --light) running the light client protocol what are the port requirements? Incoming: Does a light client expose a port where he accepts incoming ...
3
votes
1answer
1k views

Does geth --syncmode light download the State Trie?

I'd like to download some recent version of the Ethereum State Trie. I read here that geth --syncmode light downloads the current state. But does that only encompass the most recent blocks or also a ...
1
vote
1answer
385 views

Locally submitted transactions to the light node gets lost if the node is restarted

What happens to the transactions submitted to light node in the following scenarios? 1) Light node does not have a network connection with its peers.I could find that the transactions are submitted ...
1
vote
1answer
258 views

Using the Parity or Geth light client, how can I monitor an address for transactions?

I'd like to use Parity or Geth, in light client mode, to monitor an address for transactions. Essentially, I should be able to check each block for transactions involving a certain address. In the ...
3
votes
0answers
378 views

how to send transaction with geth running in light mode on testnet

I am having troubles to sendTransaction with geth running in light mode. Startup: geth --testnet --syncmode "light" --rpc --rpcport 10001 --rpccorsdomain "*" --rpcaddr 127.0.0.1 --datadir /opt/...
0
votes
1answer
523 views

How do I tell if initial geth sync is done in 'light' mode on testnet

I just installed geth on Windows 10. Then I did the initial sync in light mode on testnet, and my status is as shown on the screenshot below. I have two questions (related): How do I tell if the ...
1
vote
0answers
38 views

Supporting LES GetProofs Requests

When connecting a LES client to an Ethereum node and sending a GetProofsV2 request, I'm unable to get anything other then an empty ([]) response for the set of nodes. I suspect I've configured my ...
0
votes
1answer
464 views

How to setup parity light client?(warp sync is slow)

I have a full node synced using --warp but since I have a hdd, the final bit of the sync never catches up(due to the high transaction IO). How do I switch to a light clent on parity if I already have ...
2
votes
1answer
110 views

Event filter of a contract doesn't filter light client

hello i use the env is android go ethereum light client not web3j not web3j i init geth code FilterQuery selfFQ = Geth.newFilterQuery(); selfFQ.setTopics(Geth.newTopicsEmpty())...
1
vote
0answers
74 views

how to interactive with geth frequently?

mHandler = new Handler(); Runnable r = new Runnable() { public void run() { BigInt bBalance = new BigInt(0); try { Address address = new Address(...
2
votes
1answer
127 views

Does an Ethereum client need to download the entire state of a contract in order to use it?

A typical ERC20 token will store account balances in a mapping, something like this: mapping(address => uint) public balances; Does this mean that, to do a transaction or check a balance on this ...
1
vote
2answers
3k views

Create an Ethereum wallet with React Native for single token

Many of you might think that this question has already been answered but I don't think that there is a clear answer on the internet for the current Ethereum, Web3.js and React Native versions (for ...
1
vote
1answer
209 views

Does running a light client add extra security for Ethereum compared to doing nothing?

These may answer the question: https://github.com/ethereum/wiki/wiki/Light-client-protocol https://blog.ethereum.org/2015/01/10/light-clients-proof-stake/ Of course you want to be secure, but ...