0

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?

solaire
  • 475
  • 5
  • 22

1 Answers1

2

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)
Dan Anderson
  • 2,265
  • 1
  • 9
  • 20
  • So this means target wait time will be something like an average which the random waiting time generator will consider? – solaire Nov 19 '18 at 07:58