What is the block time of Hyperledger Sawtooth PoET?

300 Views Asked by At

As the title says, does it have a fixed block time or is it just defined by the random waiting period of the nodes? Is there an estimation how long this could be by default?

1

There are 1 best solutions below

1
On BEST ANSWER

Blocks do not have a fixed size nor is there a fixed time to generate a block. Also, Sawtooth supports multiple consensus algorithms. For PoET, each node generates a random wait time and the first node with an expired timer wins. For PoET, the following settings are relevant:

  • sawtooth.poet.initial_wait_time For C Test: initial time to wait in seconds before proposing a block (e.g., 25; default 3000)
  • sawtooth.poet.target_wait_time Target time to wait in seconds before proposing a block (e.g., 5; default 20)