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
0 votes
0 answers
28 views

crawling last transactions

I am making a program to monitor who is sending ether to my wallet. I thought I could get the most recent blocks this way, but the repoFactory was empty. What could be the problem? i want to crawl ...
user avatar
0 votes
0 answers
51 views

How to synchronize part of the blockchain while preserving the authenticity of it?

I am developing a simple client that makes Ethereum Name Service (ENS) query much easier for devices. But Now I encountered a huge problem when I wanted to make a domain name query with these ...
user avatar
0 votes
0 answers
19 views

What are the shortcomings of running a light-node with Geth?

When handling JSON-RPC requests, which one will fail, or are not supported by a light-client. I am running a geth light-client. Thanks!
user avatar
1 vote
0 answers
47 views

How does ethernodes.org discover nodes?

I am running my light-client at the moment and wanted to know, how does ethernodes.org discover nodes? And is it possible to get discovered using a light node? Thanks in advance!
user avatar
1 vote
0 answers
39 views

how to call a smart contract function from a light node

Since you can call a smart contract function locally inside a full node without spending gas,Can you do the same from a light node like by querying all related smart contract data or something like ...
user avatar
0 votes
0 answers
71 views

How do I start a light Ethereum Node on Android?

I would like to program an android app which has a built in light-node with its own JSON-RPC API and connected to mainnet. Does anyone know if this is possible?
user avatar
1 vote
1 answer
1k views

What is the best way to create Binance Smart Chain (BSC) transactions via geth without a full node?

I currently run geth to create and query the ethereum blockchain for transactions in light mode. I don't have a eth full node running. I tried running the same similar setup for Binance Smart Chain in ...
user avatar
0 votes
0 answers
29 views

Will my light node broadcast my transaction to all full nodes it connected?

I have a light node running locally. When I submit a transaction, does it broadcast my transaction to all linked full nodes? Or will a few full nodes be randomly selected. By the way, does my own ...
user avatar
1 vote
0 answers
305 views

How do I find peers for a ropsten "light" node?

I'm using geth to spin a simple light node on ropsten. I'm running geth --ropsten --syncmode "light" console And it gets stuck after INFO [06-18|11:05:26.682] New local node record ...
user avatar
3 votes
1 answer
2k views

Running BSC node in light mode?

Is it possible to run BSC node geth -—syncmode light mode? This is what i get following steps https://github.com/binance-chain/bsc only using -—syncmode light t=2021-05-08T11:56:12+0300 lvl=info msg=&...
user avatar
2 votes
0 answers
87 views

Running a SPV wallet on Arduino/ESP32?

I want my ESP32 to make transactions and check for the details of blockchain using a secure method. Actually, I want to use make calls to the blockchain instead of relying on a single node. In my ...
user avatar
1 vote
0 answers
65 views

Parity light node does not broadcast transactions for 4 hours

I have been running parity light node for a while. And recently, when I send ETH or any token using rpc method sendTransaction, my parity node does not broadcast those transactions over the network. ...
user avatar
1 vote
0 answers
86 views

How to prioritize a light client to make sure it's never kicked out?

Running a geth full node on a dedicated server: geth --maxpeers 5000 --light.maxpeers 2000 --light.serve 500 --syncmode full I want to make sure it'll always accept my light client(s) even if its LES ...
user avatar
  • 131
1 vote
1 answer
233 views

Will Ethereum 2.0 support light-clients?

I am new to Ethereum, and I am trying to understand how different eth2 will be from eth1 in terms of connecting to the network and performing tasks. For example, in eth1 we don't need to be miners to ...
user avatar
  • 11
1 vote
1 answer
23 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?
user avatar
  • 15
2 votes
0 answers
77 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 --...
user avatar
  • 875
0 votes
1 answer
151 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 ...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
385 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 (...
user avatar
1 vote
0 answers
52 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 ...
user avatar
1 vote
0 answers
132 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 ...
user avatar
0 votes
1 answer
560 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....
user avatar
0 votes
2 answers
277 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?
user avatar
1 vote
1 answer
38 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 ...
user avatar
  • 13
0 votes
1 answer
657 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 ...
user avatar
  • 1,024
3 votes
0 answers
597 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 ...
user avatar
1 vote
1 answer
485 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 ...
user avatar
  • 219
1 vote
0 answers
345 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"...
user avatar
1 vote
1 answer
395 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 ...
user avatar
2 votes
0 answers
96 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 ...
user avatar
0 votes
1 answer
54 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?
user avatar
1 vote
2 answers
281 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 ...
user avatar
0 votes
1 answer
95 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.
user avatar
  • 1,092
2 votes
0 answers
64 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 ...
user avatar
  • 33
2 votes
1 answer
1k 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 ...
user avatar
  • 145
3 votes
0 answers
81 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 ...
user avatar
1 vote
0 answers
604 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 ...
user avatar
  • 21
2 votes
1 answer
76 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 ...
user avatar
  • 2,508
1 vote
1 answer
365 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) ...
user avatar
  • 2,508
1 vote
0 answers
58 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? ...
user avatar
  • 2,508
1 vote
0 answers
41 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 ?
user avatar
  • 2,508
2 votes
1 answer
490 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 ...
user avatar
3 votes
1 answer
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 ...
user avatar
  • 127
1 vote
1 answer
624 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 ...
user avatar
  • 21
1 vote
1 answer
439 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 ...
user avatar
3 votes
0 answers
598 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/...
user avatar
  • 167
0 votes
1 answer
780 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 ...
user avatar
  • 115
1 vote
0 answers
48 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 ...
user avatar
  • 136
0 votes
1 answer
524 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 ...
user avatar
2 votes
1 answer
198 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())...
user avatar
  • 31