Questions tagged [light-clients]

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

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
22
votes
0answers
723 views

E/Go: fatal error: thread exhaustion

I am experimenting with the geth-android library with light-client and in-process node from @karalabe. I could successfully sync with the testnet node from @phonikg, unfortunately this one is down now....
5
votes
0answers
781 views

Section processing failed

I am trying to connect a geth node to the network for several days with light sync, and I have encountered a lot of problems. The last to date is there are a lot (like > 100) of error messages that ...
4
votes
1answer
373 views

Can't get geth to connect to own fullnode via --bootnodes param

I'm running a full node with LES protocol enabled which I want my light clients to connect to and sync from. I tried to do this by starting the light client with geth --light --bootnodes <my_enode&...
4
votes
1answer
403 views

Why does geth -light start importing block headers from 3297471

I've been using geth to download the blockchain (on full) and one of the requirements for my research involves the use of light clients. I used 2 computers to download the blockchain on the -light ...
3
votes
0answers
560 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 ...
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 ...
3
votes
0answers
548 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/...
3
votes
0answers
2k views

geth vs parity: light client comparison

My computer is a laptop with a small SSD HDD, so I don't want to download the blockchain. Hence, I want to use --light to connect to other computers which do have a copy of the blockchain. Parity's ...
3
votes
0answers
101 views

Time to first block

I am experience long waiting times from start of the block-sync to the first block. Is there any way I can speed this up? 02-08 17:21:37.971 23640 23659 E GoLog : I0208 16:21:37.980483 eth/...
3
votes
0answers
3k views

Ethereum Wallet is "looking for peers" with geth --light

It should be possible to combine Ethereum Wallet and/or Mist Browser together with geth --light Unfortunately Ethereum Wallet is "looking for peers" for eternity then, even if the log shows no ...
2
votes
0answers
56 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 ...
2
votes
0answers
43 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 --...
2
votes
1answer
2k 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 ...
2
votes
0answers
82 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 ...
2
votes
1answer
158 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())...
2
votes
0answers
234 views

What exactly is an extended public/private key?

How do they differ per derivation level? For example is the extended public key of the master node equivalent for all intents and purposes as a depth 3 node's extended public key? Therefor can I ...
2
votes
0answers
244 views

Why does geth use so much bandwidth in light mode?

So I am running latest geth 1.8 (same thing happens with geth 1.7) and I have noticed that I am always downloading at about 2 megabytes / sec and uploading 120 kilobytes / sec. This is caused by geth ...
2
votes
0answers
347 views

How to switch to --node-light in Windows app without losing wallet?

After figuring out how to add geth --light option by adding --node-light to windows shortcut, i'm facing a new problem - apparently switching requires to reimport the wallet, and it expects a .json ...
2
votes
0answers
204 views

What is the blockchain download size and can i reduce it in some way?

I am currently on a connection with a download cap, and was wondering what the current download size for the whole blockchain was, and if i could reduce this download size to under 2 GB? I'm ...
2
votes
0answers
191 views

What's required to do header-based ("SPV") mining possible in Ethereum?

In Bitcoin, one can start mining by just including the header of the previous block into the new block without fully validating it. This is risky, but has speed improvements (being able to start ...
2
votes
0answers
326 views

How to installl eth-lightWallet?

I am trying to install the ethereum-lightwallet on my system. I am experiencing a problem with npm. When I run npm install eth-lightwallet I get a message: └─┬ eth-lightwallet@2.5.2 ├── ...
1
vote
0answers
93 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
43 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
46 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 ...
1
vote
1answer
162 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 ...
1
vote
0answers
47 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
93 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 ...
1
vote
1answer
439 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
315 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
0answers
539 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 ...
1
vote
0answers
40 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
360 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 ...
1
vote
1answer
556 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
376 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 ...
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 ...
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(...
1
vote
2answers
4k 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
2answers
1k views

Geth Private Network Unable to Add Light Node

I have a private network setup with geth and a few machines (2 full nodes for mining and a light node). The three devices have the following IPs: MINER1 - 10.42.0.40 MINER2 - 10.42.0.250 LIGHT-NODE - ...
1
vote
0answers
195 views

Geth on ios and RPC protocol

I'm using Geth Objective-C API on ios and would like to start the node with RPC protocol enabled. Is it possible and if yes how?
1
vote
0answers
18 views

Is BP2.1 still planned?

In February 2014 (over three years ago), Vitalik wrote in a blog post that: Note that there is one weakness in this protocol: you now need to know all transactions ahead of time before processing a ...
1
vote
0answers
88 views

How to estimate capex and opex

I'm doing some research about the use of open blockchain in different context. I'm trying to find the best way to evaluate capex and opex for: hardware requirements (full node vs light node with geth ...
0
votes
0answers
6 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?
0
votes
0answers
12 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 ...
0
votes
0answers
33 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)
0
votes
0answers
20 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, ...
0
votes
0answers
127 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[...
0
votes
2answers
188 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?
0
votes
1answer
516 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 ...
0
votes
1answer
81 views

Is there a list of safe low-bandwidth software wallets?

Suppose a user has very limited access to the Internet and needs a safe low-bandwidth wallet while awaiting a hardware wallet.