Linked Questions

0 votes
2 answers
243 views

ETH Json RPC output [duplicate]

Looking at the output of https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbyhash Does anyone know what do the "mixHash" and "extraData" field mean? and what is the Unit of gasLimit and ...
Diego's user avatar
  • 317
16 votes
3 answers
29k views

How to set up a Private network and connect peers in geth?

I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and desktop (both of them are connected to different internet). I run the below command in ...
Diwaker Singh's user avatar
10 votes
4 answers
21k views

How to increase gas limit in block using geth?

When I try to execute methods from my smart-contract, I get limited by the gas limit in a block and can't do anything. How to change the gas limit in the block?
Andrei Zolin's user avatar
21 votes
1 answer
8k views

The meaning/specification of "config" in genesis.json

As I tried to search from Google, there are some genesis.json example files to customize the parameter of genesis block in Ethereum private blockchain. In the file, there is a part called "config" "...
Thomas Lau's user avatar
5 votes
3 answers
5k views

Mining not working in ethereum private net

I was trying to enable mining over my private network but it won't start. My Understanding so far about mining Mining is used to mine new block , to confirm transaction and also to generate new ...
Thinker's user avatar
  • 837
4 votes
1 answer
6k views

How to Set Gas Price in Private Blockchain?

I admit that I don't understand Gas at all. But I think it is basically the currency which dapps use to interact with each other and the blockchain. Yes? If you're creating a custom/private network,...
stone.212's user avatar
  • 1,994
4 votes
1 answer
5k views

What does the extraData field of a block represent?

I am trying to save some data into a block. The extraData field has a constant value since block 1. Also where does the data parameter of sendTransaction() function get stored?
anonymous's user avatar
  • 351
4 votes
2 answers
2k views

callback contain no result Gas required exceeds limit

I am trying to run a function with Remix web compiler on a contract in my private chain. Here is my contract and I am trying to run the function changeVaccinHistory: contract PatientObjects { ...
0xtuytuy's user avatar
  • 599
5 votes
1 answer
2k views

How to add more Ether on a private blockchain

In geth 1.5 the --genesis option has been removed. What do I use instead to add ether to my account?
Martin's user avatar
  • 83
4 votes
1 answer
1k views

What do the parameters in the Ropsten genesis file mean?

Here's a snippet of Geth's Ropsten genesis: "config": { "chainId": 3, "homesteadBlock":0, "eip150Block":0, "eip155Block":10, "eip158Block":10, "eip160Block":10 } ...
eth's user avatar
  • 85.4k
0 votes
1 answer
2k views

I need some clarification about cloning Ethereum

I would like, just for learning purpose how to create a new crypto by cloning the Ethereum. I know how to make a clone of BTC and LTC, basically with that chains is enough modify some strings (such ...
Philip's user avatar
  • 121
4 votes
1 answer
579 views

What replay attack protections does Ropsten provide?

I understand the Ropsten testnet was partly necessary because of some broken replay-protection measures on Morden. So what's different for Ropsten? Is the nonce simply incremented by a smaller ...
DanF's user avatar
  • 2,626
2 votes
0 answers
1k views

Fatal Error while initializing Node from Custom genesis file : "cannot unmarshal hex string of odd length"

I am trying to initializing geth node with the following Gensis file content { "nonce": "0x00000000000000042", "timestamp": "0x0", "parentHash": "...
Satyajeet Bot's user avatar
1 vote
1 answer
732 views

Why is there a nonce and mixHash value in the genesis file?

I may not fully understand the genesis file. Why is there a nonce and mixHash value in the file if nothing is being mined? It was my impression the genesis file is used to bootstrap block 0, then ...
AlwaysQuestioning's user avatar
0 votes
1 answer
471 views

Major conceptual misunderstandings about genesis.json

I am having a hugely difficult time understanding the genesis.json file. Assumption: it seems to me that it serves to both initialize the first block, and also set configuration parameters for the ...
AlwaysQuestioning's user avatar
3 votes
1 answer
257 views

Can someone verify this answer: gasLimit vs. minGasLimit

I would have thought that these are the upper and lower bounds of how much gas can be used in any one transaction. But the mainnet file has the same value for each of these. Can someone explain what ...
stone.212's user avatar
  • 1,994
0 votes
1 answer
127 views

what changes in the source code are required to run a private Ethereum network?

At first thought that running a private network with Ethereum is going to be easy. Just download the source, modify your difficulty function and you are done. But after getting deeper into the source ...
Nulik's user avatar
  • 4,051
0 votes
1 answer
125 views

Storing and retrieving data from a transaction

I have a private blockchain using PoA and would like to store data in the data field of a transaction. To my understanding, the data field has a 32-byte limit and needs to be hex encoded. Is this ...
Alejandro's user avatar
  • 187