Stack Exchange Network

Stack Exchange network consists of 174 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 [networkid]

Different ethereum networks are distinguished by their networkids. Two clients with different networkids will not relay blocks or transactions.

1
vote
2answers
74 views

Syncing with Mainnet/Ropsten blockchain

If use gethcommand,then the node starts to sync with Ethereum Mainnet by default.If usegeth --testnet --networkid 3 --datadir <testnetdatapath>,then the node will connect to Ropsten. How does ...
1
vote
2answers
47 views

How to test if user is on the mainnet/testnet using web3?

Hello everyone I need your quick help! I am using web3 1.0.0-beta.34 with React and Next.js and I want to check if user has it Metamask set on mainnet/rinkeby network. I have read quite a few ...
2
votes
1answer
152 views

Geth parameter “networkid” vs. Genesis block “chainId” config?

I have set up a private Ethereum network with a custom chainId (for example 67890) specified in the config part of the genesis.json file, did geth init genesis.json, and got the private net up and ...
0
votes
0answers
54 views

goroutine while running geth on aws node

I'm trying to run a testnet node of a private network id on my aws instance. It starts syncing but then it crashes and shows goroutine err. The entire stack trace was too long so just pasting part of ...
1
vote
0answers
498 views

How do I attach geth to this node?

Apparently they are running a full node which we can attach our geth. We are running 4 public Geth nodes in AWS EC2 and you can attach or RPC to them. IP address: 52.208.46.161 Main ...
0
votes
0answers
391 views

Are Network ID and Chain ID required to be different from 1 to run a single-node, local blockchain?

Let's say that I want to create a local Blockchain on a single-node network for testing purposes, and let's say that the zero block of the chain is defined with a genesis file and I'm using a custom ...
1
vote
2answers
295 views

field size and value range of chainId (EIP-155)

EIP-155 defined a list of chain IDs, e.g. main net is 1 Ropsten is 2. I don't seem to be able to find a definition about its supposed value range and data size. Quoting the yellow paper rule (287) ...
0
votes
0answers
94 views

Cant switch to rinkeby - “database already contains an incompatible genesis block”

Oringally syncs for both networks worked fine. I recently moved my data dir to a separate drive, copied the entire "...Roaming/Ethereum" dir. Added --node-datadir to startup of wallet. Wallet now ...
2
votes
1answer
181 views

Does transaction have network id?

According to this post, every Ethereum wallet has a number called network id. Does every transaction have this network id? If not, then it should be possible to replay transaction on multiple ...
2
votes
2answers
1k views

Unknown network “development”

I installed truffle globally. I'm trying to connect truffle to a localhost truffle console > migrate It failed with Unknown network "development". See your Truffle configuration file for ...
4
votes
1answer
1k views

How to generate the correct go-ethereum bootnode when creating a private blockchain

I am trying to setup a private ethereum chain and connect two peers to it. I followed this tutorial on github. One of the two peers ran from a windows 10 geth client. The other ran from a Ubuntu geth ...
1
vote
2answers
773 views

Regarding Ethereum Private Blockchain Network

I'm trying to understand how the private blockchain network concept works. Scenario: Lets say I have two nodes connected to the internet but not in the same network On the first node using geth I ...
1
vote
1answer
198 views

Required Understanding for Developing Ethereum Based Application [closed]

I am trying to get the understanding needed to develop an Ethereum based application. Lets say if I want to develop an inventory system. Here are the basic operations Purchase inventory, Maintain ...
3
votes
1answer
45 views

networkIds: what happens if two unrelated parties create a network with same ID?

Is the network ID truly unique? It's hard to believe this, as it's just an integer.
1
vote
0answers
109 views

ERROR: NetworkId mismatch

I got stuck with the error: ERROR: NetworkId mismatch: 3 (!= 1100) Running geth node with parameters: geth --rpccorsdomain "*" --ipcapi "admin,eth,miner" --rpcapi "eth,web3" --networkid 1100 --...
5
votes
2answers
2k views

Getting Go-Ethereum current network id

How can I know the network id, with web3 or command line, so I know to which network my geth has attached?
5
votes
1answer
600 views

What's the difference between Olympic, Morden and Ropsten?

Canonical question about the public Ethereum testnets. What's the difference between Olympic, Morden and Ropsten? What are their network IDs, which ones are still considered active?
6
votes
2answers
4k views

What is the difference between networkid 3 and testnet?

I have geth 1.5.4 installed on my ubuntu box. Here is the geth command line documentation for networkid: --networkid value Network identifier (integer, 0=Olympic (disused), 1=...
2
votes
1answer
125 views

Etherum network topolgy in private and main nets

I was wondering, what do the peers the ethereum client connects to, do? Do they store the block chain, fragments of it or point to other nodes that store it? From a topology perspective, how does ...
8
votes
0answers
308 views

What is Olympic, Frontier and Morden? [duplicate]

I see some clients accept the command line argument --frontier or --olympic. Is 'Frontier' more than just a name? What does it stand for? And how does it differ from 'Olympic' and 'Morden'? What are ...
6
votes
1answer
1k views

How to connect an ethereum node to a random testnet?

How to connect an ethereum node (eth, geht, pyeth) to a random testnet and what do the network IDs stand for. Are there network IDs I should not use because they are maybe used elsewhere or reserved?