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
12 views

Geth Light Node: RPC connection read error err=EOF

I'm trying to implement a Light Node on a RPi4B, but I keep getting the following error, which is logged nonstop: nov 16 21:21:09 Bumblebee geth[1066]: DEBUG[11-16|21:21:09.477] RPC connection read ...
42piratas's user avatar
  • 111
1 vote
0 answers
20 views

Getting `Fatal: Option "nodekey": invalid character '"' at end of key file` when trying `geth --nodekey /path/file`

I generated a key-pair with geth account new --keystore and now I'm trying to attach it to a light node with geth --nodekey, but I'm getting the error Fatal: Option "nodekey": invalid ...
42piratas's user avatar
  • 111
0 votes
0 answers
49 views

Invalid rpc error and setup lightnode bsc

My application needs to read all transactions of a block every time a new block is created. the problem is that such a large number of requests will fail(Invalid RPC json). Can I create a node for my ...
jackielove's user avatar
1 vote
0 answers
54 views

After the Merge with proof-of-stake, how a lightclient verify the block header?

In my understanding, date back to proof-of-work, the block header is self-verifiable because of the difficulty, nonce and block hash value. But after the Merge, the block is attested by several ...
Kyrin -'s user avatar
  • 11
0 votes
0 answers
24 views

Which ethereum node is better to choose?

I need to get information about transactions in new blocks (when a new block is mined, I get information about every transaction in it). Which node should I use for this, light/snap/fast? Which one is ...
Cosmo773's user avatar
0 votes
0 answers
67 views

How do I get the merkle proof to prove the inclusion of execution state root in beacon state root?

My goal is to implement a light client beyond the light client spec. I'm trying to also prove the inclusion of an execution payload's state root in a beacon state root. I know that the state root of ...
Patrick's user avatar
  • 11
0 votes
1 answer
74 views

Accessing the network throught light sync node

I'm trying to create an application that will track balance changes at specified addresses. I want to catch new block validation events and see if there are transactions associated with my addresses. ...
Galaxy773's user avatar
1 vote
0 answers
62 views

eth_getProof for event logs?

Problem Brief Hi, I've been looking for ways to prove to a light client that a log did get emitted on ethereum. I stumbled upon the eth_getProof RPC, but it's for getting the merkle proof for account ...
Patrick's user avatar
  • 11
1 vote
0 answers
64 views

How to run Ethereum light node by using Geth

after the ethereum merge (POS) how to run ethereum mainnet light node by using Geth, when I try to run light node I'm getting the error "Looking for peers"
Neelesh Gupta's user avatar
1 vote
0 answers
70 views

Is there any standalone desktop wallet that supports WalletConnect?

I want some desktop or command line wallet to open my old keystore wallet, connect to some online dapp, and be able to manually inspect and approve the transactions generated by the dapp from the ...
lvella's user avatar
  • 123
3 votes
3 answers
347 views

Do Light-clients still work after merge?

After the merge, my light client suddenly stopped working. Is there a way to fix this/ do I need to run a consensus node? Thank you!
Markusbug's user avatar
1 vote
0 answers
141 views

On Ethereum private chain, why my light node cannot connect to the bootnode?

I'm new to ethereum and geth client, and I met some trouble nowadays. I do need someone's help. I try to setup an ethereum private chain, which includes full nodes, light nodes, and bootnodes. The aim ...
Harry's user avatar
  • 11
1 vote
1 answer
43 views

How to fork form Geth light client to Ganache CLI?

I am currently forking the Ethereum mainnet into Ganache CLI using Infura (command: ganache --fork https://mainnet.infura.io/v3/my_project_id) However, I want to use my own Geth light client with ...
Suraj S Jain's user avatar
0 votes
1 answer
37 views

How do clients and nodes download their data from the decentralised network?

I have always just take it that the nodes and clients will download the data from the "network". The full nodes will download the entire blockchain state while the light clients will ...
xenon's user avatar
  • 447
1 vote
0 answers
42 views

How can I add a peer to a light client?

I am hosting my own Geth Full-node which is setup to server light-clients and it has a static ip. When I start my own light-client, can I specify it to use my full-node instead of wasting time on ...
user104086's user avatar
1 vote
0 answers
113 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!
Markusbug's user avatar
1 vote
0 answers
111 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 ...
mohamed azaiez's user avatar
1 vote
1 answer
2k 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 ...
Patoshi パトシ's user avatar
1 vote
0 answers
357 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 ...
Santiago Cuellar's user avatar
4 votes
1 answer
4k 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=&...
Delta Pulse's user avatar
2 votes
0 answers
138 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 ...
Haseeb Saeed's user avatar
1 vote
0 answers
141 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 ...
knaperek's user avatar
  • 141
1 vote
1 answer
405 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 ...
jcs's user avatar
  • 11
1 vote
1 answer
27 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?
gxissun's user avatar
  • 15
2 votes
0 answers
113 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 --...
Peteris's user avatar
  • 1,005
0 votes
1 answer
254 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 ...
andrew007's user avatar
4 votes
1 answer
5k 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 ...
Mohammad Saberi's user avatar
0 votes
1 answer
484 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 (...
Robert Zaremba's user avatar
1 vote
0 answers
68 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 ...
Suzana Maranhão Moreno's user avatar
1 vote
0 answers
157 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 ...
Rohan Keskar18's user avatar
0 votes
1 answer
1k 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....
user3652172's user avatar
0 votes
2 answers
348 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?
shota silagadze's user avatar
1 vote
1 answer
47 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 ...
Tammy's user avatar
  • 13
0 votes
1 answer
870 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 ...
haxerl's user avatar
  • 1,104
3 votes
0 answers
640 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 ...
Zulhilmi Zainudin's user avatar
1 vote
1 answer
507 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 ...
kitsune's user avatar
  • 219
1 vote
0 answers
418 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"...
sapiensapiens's user avatar
1 vote
1 answer
450 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 ...
sapiensapiens's user avatar
2 votes
0 answers
115 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 ...
Gustaf Bergmark's user avatar
0 votes
1 answer
58 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?
sapiensapiens's user avatar
1 vote
2 answers
343 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 ...
reardenlife's user avatar
0 votes
1 answer
100 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.
Chris's user avatar
  • 1,272
2 votes
0 answers
68 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 ...
Doug's user avatar
  • 33
2 votes
1 answer
2k 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 ...
rraallvv's user avatar
  • 145
3 votes
0 answers
84 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 ...
user3223162's user avatar
1 vote
0 answers
661 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 ...
Jith's user avatar
  • 21
2 votes
1 answer
82 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 ...
Questioner's user avatar
  • 2,670
1 vote
1 answer
441 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) ...
Questioner's user avatar
  • 2,670
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? ...
Questioner's user avatar
  • 2,670
1 vote
0 answers
42 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 ?
Questioner's user avatar
  • 2,670