We’re rewarding the question askers & reputations are being recalculated! Read more.

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

Should light clients listen on public ports?

quote: To only download data from other nodes, you don't need to open any outgoing ports at all. Opening your :30303 to the world is required only if you want to run full node, helping other people ...
0
votes
1answer
13 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
1answer
51 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
0answers
117 views

How to connect my light node to my full node?

I hosted a full node on AWS that syncs the Rinkeby testnet. I have a Raspberry Pi as an IoT sensor running a light node. Unfortunately Rinkeby has the issue of very few full nodes that serve light ...
1
vote
1answer
21 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
111 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 ...
0
votes
0answers
34 views

Syncing parity light client fast on an embedded device?

I have a embedded device which is quite low in specs about 512mb of ram and 1ghz arm processor. I have installed a cross-compiled light parity-2.4.0. Now the problem is that it takes a lot of time ...
0
votes
0answers
40 views

Is there an RPC command to get the block header (or just the hash) directly from a light client?

I'm not sure if this is possible, but I would like to use a geth light client to make sure that my parity node is on the same chain as geth (in case one of the two implementations introduces a bug ...
3
votes
0answers
247 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
236 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
130 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
74 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
33 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
29 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
29 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
160 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
134 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
45 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
43 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
283 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
72 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
310 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
51 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
188 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
34 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
86 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
759 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
276 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
184 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
258 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
423 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
35 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
369 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
77 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())...
1
vote
0answers
72 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
108 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
194 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
35 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 ...
2
votes
1answer
4k 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
3k 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
223 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
87 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
310 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
177 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
691 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
38 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
538 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
77 views

Building Ethereum application with in-process client

Most applications connect to an Ethereum Node through RPC, using a library like Web3.js and Nethereum. That introduces a need to deploy a full node side-by-side with the application, be it on the ...