Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [light-clients]

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

1
vote
0answers
61 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
41 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
34 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"...
0
votes
1answer
24 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
19 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
17 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?
0
votes
0answers
17 views

What is the Ethereum equivalent of BIP37?

I’m looking for a library/standard for my spv wallet to learn about its incoming transactions. Do we have the Ethereum equivalent of BIP37?
0
votes
0answers
55 views

Light Ethereum message handling failed + EOF error

Trying to make the light client work on my private blckchain. The setup is the same as described earlier here. The partial logs of light below. What might be the problem? root .eth]# cat log-...
1
vote
2answers
59 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
25 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
36 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 ...
0
votes
1answer
78 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
69 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 ...
0
votes
0answers
12 views

How much data to run Ethereum-Wallet-macosx-0-11-1.dmg?

The latest Ethereum client release (yes they actually release a client) is Ethereum-Wallet-macosx-0-11-1.dmg at https://github.com/ethereum/mist/releases If I install and run that software in the ...
1
vote
0answers
237 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
36 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 ...
0
votes
1answer
106 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
17 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
23 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
0answers
48 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
401 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
184 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 ...
0
votes
1answer
136 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 ...
0
votes
0answers
65 views

Connect to a private network through an iOS app

I have a private network running with a custom smart contract. Now I want to create a light node on an iPhone, which can interact with the smart contract. Unfortunately I can't find any documentation ...
3
votes
0answers
176 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
326 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 ...
0
votes
0answers
43 views

Geth RPC help and bitcoin-cli equivalents? [duplicate]

I have been using Bitcoin and a few other cryptocurrency nodes for a project and I'm having a lot of trouble trying to add Ethereum. I have geth installed on a digitalocean droplet and I need to ...
1
vote
0answers
26 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
220 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
71 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())...
0
votes
0answers
83 views

How To Send Contract Using lightwallet and Hooked web 3 provider

i'm newbie. I try to send a contract call using lightwallet but nothing happen when i clicked on button. Thank you so much for your help $("#button").click(function(){ let seed = document....
1
vote
0answers
67 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(...
2
votes
1answer
76 views

Does an Ethereum client need to download the entire state of a contract in order to use it?

A typical ERC20 token will store account balances in a mapping, something like this: mapping(address => uint) public balances; Does this mean that, to do a transaction or check a balance on this ...
1
vote
2answers
2k 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
1answer
165 views

Does running a light client add extra security for Ethereum compared to doing nothing?

These may answer the question: https://github.com/ethereum/wiki/wiki/Light-client-protocol https://blog.ethereum.org/2015/01/10/light-clients-proof-stake/ Of course you want to be secure, but ...
0
votes
1answer
32 views

Are constant functions trustless?

If you call a constant function from a smart contract, that is, a function that just returns data without changing the state, is the return value trustless? I'm assuming not, because whatever node is ...
0
votes
0answers
64 views

Creating Light Wallet on mobile devices taking FOREVER? Am I able to optimize code?

I'm testing out a new app on Android devices using web3j architecture. I've tried out other apps and creating wallets seems to take a fraction of the time that it takes my app to create. I can't ...
2
votes
1answer
3k views

How to create a website that runs on blockchain

A premise, I have confused ideas about smart contract client. I would like to create a website, that runs a classic browser, with a javascript file imported that can execute functions on the ...
0
votes
2answers
2k views

How to transfer ETH between two addresses using geth and json rpc

I have geth running on my server. I am building a php website which act as wallet. Now iam able to create addresses. I need to be able to deposit and withdraw ETH between addresses on same node. I ...
2
votes
0answers
212 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
1answer
77 views

How does Smart Contract client work?

I don't understand how a client works. I try to explain my doubts. Since a client in the classic client-server paradigm is a lightweight application, I don't understand how this application can use ...
1
vote
1answer
273 views

light-weight clients and private blockchain?

I am well aware of the utility of light-weight clients on a ethereum. Yet, for a private blockchain, which contains a limited number of users, I find it wrong. Let's say we have a private ...
1
vote
0answers
158 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 ...
1
vote
2answers
531 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 - ...
0
votes
1answer
35 views

How are organization level ethereum wallets and accounts handled [closed]

We are planning to have some of the smart contract functionality available to external users, but only if they go via our website. (Eventually, they will be accessible via usual contract calls ...
2
votes
2answers
449 views

Verifying ethash output Ethereum block hash

On the Ethash wiki, it mentions that a 16MB verification cache can be used to verify block hashes without generating the full DAG, but there are no further details on how this is done. What's the ...
0
votes
1answer
69 views

Building Etherium application with in-process client

Most applications connect to an Etherium Node through RPC, using a library like Web3.js and Netherium. That introduces a need to deploy a full node side-by-side with the application, be it on the ...
1
vote
1answer
344 views

Parity Config File

I'm looking for the best config file so that I can keep the smallest possible chain data on my machine, without running light mode. I saw this config file posted somewhere, but my chain data is up to ...
0
votes
1answer
730 views

geth light mode features

I am trying to fully grasp the concepts of the ethereum network. Therefore I want to setup a simple website which can manage ethereum wallets. I'm using the geth client with the following ...
1
vote
1answer
154 views

What are light node's role in Casper?

So casper testnet is out and I have a few questions! From previous discussions it seems that light nodes cannot be validators. If this is correct, then what will the purpose of light nodes be as ...