All Questions
Tagged with light-client or light-clients
52 questions with no upvoted or accepted answers
25
votes
2
answers
1k
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....
6
votes
0
answers
867
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
1
answer
511
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
1
answer
503
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
0
answers
106
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 ...
3
votes
0
answers
653
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
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 ...
3
votes
0
answers
681
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
0
answers
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
0
answers
107
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
0
answers
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
0
answers
164
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
0
answers
119
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
0
answers
123
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
1
answer
232
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
0
answers
266
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
0
answers
292
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
0
answers
349
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
0
answers
218
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
0
answers
208
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
0
answers
349
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:
└─┬ [email protected]
├── ...
1
vote
0
answers
12
views
How to find data about light servers
I'm doing some research around light clients and light servers and need to find answers to these questions:
How many light clients can a full node reasonably serve without impacting performance
What %...
1
vote
0
answers
33
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 ...
1
vote
0
answers
71
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 ...
1
vote
0
answers
110
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"
1
vote
0
answers
87
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 ...
1
vote
0
answers
229
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 ...
1
vote
1
answer
59
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 ...
1
vote
0
answers
43
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 ...
1
vote
0
answers
130
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!
1
vote
0
answers
147
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 ...
1
vote
0
answers
358
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
0
answers
150
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
0
answers
69
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
0
answers
166
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
1
answer
522
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
0
answers
431
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
0
answers
666
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
0
answers
44
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
1
answer
681
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
0
answers
51
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
0
answers
81
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
2
answers
5k
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
2
answers
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
0
answers
220
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
0
answers
21
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
0
answers
106
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
0
answers
11
views
Secure Connection between light client and Smart Contract
I would like to know the best(most secured) ways to securely interact between light client and smart contracts, Any tips and tricks are mostly welcome.
Thanks for the time.
0
votes
0
answers
10
views
Is there an implementation of the Altair light client?
its a bit unclear to me whether or not there exists an implementation of the Altair light client. i see the specs here but couldn't find the implementation. or is Altair meant to be implemented by the ...
0
votes
2
answers
377
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?