1

I will use ethereum as private blockchain. Then I'd like to change the confirmation time from 15 seconds to 1 second. Can I change it? Could you tell me if you know that?

1 Answer 1

4

No, you can only control the confirmation time through the difficulty of the blockchain which in turn depends on the mining resources allocated for the respective private net.

You can set a "small" difficulty in the genesis block and see the average confirmation time for a block (you'll have to run a few tests with the miner of your choice). Adjust the hashrate/number of mining threads in the client to adjust the difficulty.

Note that in current implementations setting the difficulty lower than 1024 will prevent any later increase regardless of the hash rate. See the yellow paper (section 11.5).

3
  • I have set the difficulty level to 0x300 i.e., 768 (<1024) in the genesis block and the difficulty level increased to 131072 in block 1. I'm using geth-1.4.9. I would like to know what current implementations you're talking about. @Sebi
    – galahad
    Jul 12, 2016 at 19:45
  • pyethapp, github.com/ethereum/pyethapp
    – Sebi
    Jul 12, 2016 at 20:07
  • So, this works only with the Python implementation? Weird!
    – galahad
    Jul 13, 2016 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.