Questions tagged [nodes]

A node is a machine which is running an Ethereum client. It synchronises the blockchain with other nodes in the network, so that they all have the same definitive copy. A node is needed to send and receive ether and to executive DApps.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

Is running a light Ethereum node in a local server a good solution for not having to pay a 3rd party provider?

I've been looking into some providers for Ethereum blockchain data via web3 and the prices might get a little bit crazy. How feasible is to run light node in a local server to use it on my code ...
2
votes
1answer
51 views

Likelihood of malicious nodes in a shard

in his post https://vitalik.ca/general/2021/04/07/sharding.html, V. Buterin said: “Certainly, they can wait until they get lucky and get 51% in a single shard by random chance despite having less than ...
0
votes
1answer
15 views

How do I change cors domain of geth metrics?

I am trying to connect the output of geth metrics of a local node to Grafana. I am initializing my node using the following geth command: geth --datadir "n1" --nodiscover --networkid "...
0
votes
1answer
900 views

Problem with BSC full node

I try install full node Binance Smart Chain (https://docs.binance.org/smart-chain/developer/fullnode.html). I follow all the instructions on the site. After the command geth --config ./config.toml --...
1
vote
0answers
20 views

ERROR: null value in column “next_nonce” violates not-null constraint (SQLSTATE 23502)

I am using this command to run my chainlink node: docker run --name chainlink-kovan --network host -p 6688:6688 -v ~/.chainlink-kovan:/chainlink -it --env-file=.env smartcontract/chainlink:0.10.3 ...
0
votes
0answers
17 views

Running --no-ancient-blocks on a synced node

I have an up to date OpenEthereum node that is taking a long time to sync it's ancient blocks, Which has left it syncing a batch of ancient blocks, while falling behind, then syncing up to date. Put ...
2
votes
1answer
55 views

What prevents the blockchain from being poisoned by copyrighted or illegal data?

It's possible to store data in smart contracts, and with the recent explosion of NFTs this is happening a lot. A couple of hundred kB is more than enough to encode copyrighted material - e.g. the text ...
1
vote
1answer
59 views

Without a block explorer API, can I programmatically determine if an address has a contract deployed at it (eg using Web3 or call to a node)?

Given an address, from a web application I'm attempting to determine if there's a contract deployed at the address. There are some ways to do this with etherscan or other block explorer APIs, but I'm ...
0
votes
0answers
31 views

Connecting a geth node over LAN to a public geth node on my network

I need to run 2 geth nodes on separate computers on my network (ethereum Mainnet). I understand that I could connect them both to public peers the regular way over the internet simply by changing the ...
0
votes
0answers
13 views

Geth/Parity node - When is a new block imported

Based on my observations and also on block-timestamps-vs-received-timestamp, I suppose that a block "n" is imported into geth or parity node, only after a block "n+1" is mined. Is ...
0
votes
0answers
24 views

How to manage nodes and accounts in private (permissioned) networks

I would like to create a private/permissioned blockchain to allow for data exchangement between a number of organisations which are known (and trusted) upfront. Moreover, multiple employees per ...
0
votes
0answers
23 views

Risks of smart-contract code metadata caching in Ethereum node

When checking implementation and performance profile of Besu node, I have noticed that certain metadata about contract code under given address is not cached - on every execution of the contract, it ...
0
votes
0answers
29 views

scheduling of smart contract functions

I am reading the alarm clock documentation http://docs.ethereum-alarm-clock.com/en/latest/ but there are things I don't understand. I have a dapp where the smart contract has different functions. For ...
-5
votes
2answers
49 views

Is Ethereum actually something that exists, or is it just a maze of webpages full of nonsense? [closed]

I'm trying to be as polite as I can be, as I have nothing against Ethereum specifically. I'm very experienced with Bitcoin, but have never found any other "altcoin" to be worthy the time of ...
0
votes
0answers
26 views

differences in terms of api supported by full node vs light node

Are there any differences on the API supported by full node vs light node in Ethereum?
0
votes
1answer
26 views

What node(s) does Ethereum broadcast a transaction first? How is it determined?

When I as a user make a transaction, where or what node(s) does it get sent to first? How does an Ethereum node, in terms of implementation details, determine that? Does it send a new transaction to, ...
0
votes
1answer
36 views

Trying to run a Rinkeby testnet node on windows

Im trying to run a light node om windows, it works until here: geth --datadir=$HOME/.rinkeby init rinkeby.json but when I type this: geth --networkid=4 --datadir=$HOME/.rinkeby --syncmode=light --...
0
votes
0answers
14 views

Is light mode client able to serve JSON-RPCs?

Can Geth sync in light mode server JSON-RPC queries from DApps? I know light nodes only store block headers but will it forward the JSON-RPC to other peers to get it served?
1
vote
1answer
44 views

Is there a Ethereum mainnet node that I can query txpool APIs?

I want to call txpool APIs of Ethereum mainnet but I found Infura doesn't provide that. Is there any service providing txpool JSON-RPCs?
0
votes
1answer
81 views

How can my decentralized web application hosted on a cloud application (like AWS) interact with a contract deployed from my localhost

I have a decentralized web application that is hosted in the cloud. I recently deployed a smart contract to two different test networks Ropsten and Goerli - my contract deployed to the Ropsten ...
1
vote
1answer
44 views

Retrieving very old events

While working with Infura in the past, if I remember correctly, I had troubles with retrieving events from old (non-recent) blocks. Does the trouble (not only with Infura but with other popular ...
0
votes
0answers
7 views

Archival node from a certain block or for certain addresses

does anybody know if it's possible to run archival from a certain block or only for transactions interacting with a list of contracts? I recently deployed some contracts for which I want to run graph ...
1
vote
1answer
34 views

What does IP address 127.0.0.1 mean in enode URI?

enode is the URI for an ethereum node, consisting of node-id-in-hex@ip-address:port. Here are 2 enode examples: enode://...
0
votes
0answers
17 views

How to add ethereum node to already existing blockchain without knowing genesis file?

Target : i want to add new node to already running blockchain. Correct, if i am wrong for adding node to network. two node's should have same genesis block. if genesis block have different values then ...
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?
1
vote
1answer
186 views

What happens when you submit the same transaction to multiple providers?

Suppose I sign a transaction locally using eth_sendRawTransaction of an implementation (web3js, web3py etc.), and then send the same signed transaction to multiple providers like Infura, Alchemy and a ...
1
vote
1answer
28 views

How to parse the node information in the nodes directory by leveldb?

I want to get all the node IP addresses of ETH, so I need to parse the geth/nodes directory, but I can't find the specific data format and cannot parse it. I found a same problem, but there is no ...
0
votes
0answers
23 views

how does a new node get state data and where are storage/recepit trees stored?

I know that state data isn't stored on blockchain. Each node stores it separately on hard disk. Question 1) Let's say I am a new node and just joined the network. What will happen is I will sync the ...
0
votes
0answers
11 views

response from ETC comming as 0 for latest block

sudo docker run -d --name coregethnode -v /node-etc-geth/data:/root -p 127.0.0.1:8545:8545 -p 30303:30303 etclabscore/core-geth --classic --http --http.port 8545 --http.addr "0.0.0.0" I ...
0
votes
2answers
58 views

How do nodes agree on which transactions to include in the block?

I know gas prices and nonce are used. But what if different clients use different ordering of transactions? How do thousands of nodes agree on exact transactions to be included in the next block? And ...
0
votes
0answers
144 views

Connect GETH to miner's node. Speed ​up transactions

Sometimes transactions from my node are delayed, how to configure Geth so node can connect directly to the miners' nodes? For example asia.sparkpool.com:3333 Or what other options? Thank you in ...
0
votes
0answers
13 views

Ethereum Wallet unable to connect to node

I am receiving the error message below: Is anyone able to tell me what I am doing wrong? Thank you
1
vote
1answer
36 views

Can I stop geth when it is halfway done and restart it without loosing all the first half of data?

I have started geth (fresh install) using this command: geth --datadir "my/path" I'm halfway done with sync and would like to restart my PC. Will I loose all the data accumulated so far or ...
0
votes
0answers
34 views

How to sync wallet files with different servers on private blockchain

We have a private blockchain setup with three instances on ubuntu 16.04. Each instance consists of 3 authorities to achieve availability in case of failure by redirecting to another instance. Folder ...
0
votes
0answers
170 views

Geth behind mainnet during fast sync on an SSD

I'm trying to sync a full node on my desktop but I'm not able to get past the state download phase. After the block download phase completes (64 blocks behind mainnet) geth is not able to keep up with ...
0
votes
0answers
7 views

Preventing Errant Nodes

Is there a way to setup my network of private chain nodes so that only approved systems can query a node for the data on the chain? The RPC port has to be open so I can run web3 commands but I don't ...
1
vote
1answer
488 views

Run Geth with a configuration file

I've created a config.toml for Ropsten (NetworkId =3) that looks like this: https://pastebin.com/raw/2DxWE1jf But when I run geth --config /home/path-to-config From the cli I get: (Note ChainID:1, ...
0
votes
1answer
27 views

How can i create more that one node for test purposes?

I really need to have more than one node to test my smart contract. I'm using remix and i also installed ganache, however, ganache doesn't allow me to have more than one node as I hoped for... I have ...
0
votes
1answer
19 views

what happen if my node synced with uncle block?

I'm not sure that this question is correct or not. But let me explain. As you know, two blocks may be mined at almost same time then one of the block will be uncle block. My question is what happen if ...
6
votes
1answer
56 views

Can we avoid the protocol overhead of JSON-RPC and directly connect to GETH through some interface?

I want to build a middleware that adds additional data to JSON RPC responses. This middleware would sit on the same hardware or machine as the GETH node. The traditional approach would be to simply ...
0
votes
0answers
21 views

Could something like the utreexo project be implemented for Ethereum?

Could something like the utreexo project (reducing storage costs of full nodes via accumulator technology) be implemented for Ethereum or Ethereum Classic?
3
votes
1answer
422 views

Geth Fatal: Error starting protocol stack: gap in the chain between ancients and leveldb

I'm running a Geth mainnet node. As the size of chaindata is rapidly rising, I moved ancient to an auxiliary HDD plugged in to the same system. Some time afterwards (not sure when, maybe days?) I ...
1
vote
1answer
24 views

Save stack traces while syncing

I have been working on a project, where I would like to trace all transactions from a block and for this reason I have been using a fast-syncing node. It works well, the only issue is that querying ...
6
votes
2answers
2k views

Can chaindata be split across two (or more) locations?

With the size of full nodes rapidly growing, I'm looking for a way to split my chaindata across multiple hard drives. I have one internal 1TB SSD capable of syncing the chain, and then an internal HDD ...
1
vote
0answers
51 views

Vastly different disk usage between Parity v2.5 and v2.7

I've got a main ethereum node for business use running Parity version v2.5.13-stable-253ff3f-20191231/x86_64-linux-gnu/rustc1.40.0 on an AWS instance and a near exact replica of that setup as a "...
0
votes
0answers
383 views

Specified HTTP/RPC port, yet Geth 1.9.15 will not map that port

I am trying to expose port 8545 on a local geth client for use with MetaMask on Chrome 83.0.4103.106 (x86_64), using a Windows host (10.0.18362.900). I store all my blockchain data on a separate drive,...
0
votes
1answer
172 views

Gas cost when calling Ethereum view functions on remote or local node

There are dozen of sources on the internet that state the view functions, which are called externally (i.e. from oustide of contract), that do not call other contracts' functions and do not change the ...
0
votes
0answers
343 views

geth full node taking forever to sync

For three days I've been trying to sync a full node. Syncing the last two days has taken about six hours a day. At this rate I won't be able to sync it. It's behind "age=3y8mo5d". This is the ...
0
votes
0answers
22 views

sending transaction giving an error of “unknown account” after some time interval in Geth

I have review kinda same questions on this site, however, the issue in my case is different hence I'm asking. I have setup three nodes for the private chain, and it's working fine. I can send ...
0
votes
0answers
87 views

Syncing Poblem With Parity Docker Container

I'm running a Parity node inside a docker container and i'm trying to sync it to the ropsten network. However after around 1300-1700/4257 snapshots synced I keep getting Encountered error during ...

1
2 3 4 5
8