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
0answers
13 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 ...
1
vote
0answers
194 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=&...
0
votes
0answers
17 views

Is light node (GETH) is enough for only query balances?

I'm currently building a Dapp. I don't want to use third party node because of requests limitation. So is light node (GETH) is enough for only query balances ? (Token and Ethereum Balance)
2
votes
0answers
38 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 ...
0
votes
0answers
15 views

in ETH ,how many full-nodes can light nodes select to access?

I want to ask how many full-nodes a light node can select to access if it wants to work safely.And if full-nodes are more than one ,Can the light node specify the node which the transaction is sent, ...
1
vote
0answers
33 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. ...
1
vote
0answers
38 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 ...
0
votes
0answers
83 views

Error in DNS random node sync // lookup les.mainnet.ethdisco.net on ANY-dns-server:53: server misbehaving

The Err: TRACE[02-03|13:52:02.589] Updating DNS discovery root tree=les.mainnet.ethdisco.net err="lookup les.mainnet.ethdisco.net on 192.168.20.1:53: server misbehaving" DEBUG[...
1
vote
1answer
119 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 ...
0
votes
0answers
18 views

Ethereum light client and verifying proofs in Go programming language

I am looking to write or integrate a toy Ethereum light client in Go-based applications to see how easily other (Tendermind / Cosmos) based blockchains could verify proofs from Ethereum main chain. ...
0
votes
0answers
23 views

can a node mine without download all of the blocks

if there is a node which doesn't have enough disk space, can i mine without download all of the blocks? i wonder if i can mine ,with just downloading the latest states of ethereum? but i'm not sure ...
1
vote
1answer
20 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
15 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
23 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
31 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
34 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
1answer
55 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 ...
2
votes
1answer
1k 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
1answer
235 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 (...
1
vote
0answers
44 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
56 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
1answer
122 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
161 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
27 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
414 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
518 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
390 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
302 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
309 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
76 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
43 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
218 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
89 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
52 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
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 ...
3
votes
0answers
80 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
512 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
72 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 ...
1
vote
1answer
304 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
54 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
39 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
274 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
501 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
338 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
509 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
634 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
45 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
510 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
141 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())...