iroha icon indicating copy to clipboard operation
iroha copied to clipboard

Allow multiple peers to submit genesis

Open mversic opened this issue 1 year ago • 3 comments

read discussion in #4225

mversic avatar Mar 25 '24 13:03 mversic

When implementing this feature care should be taken to insure that every peer produce the same genesis block.

Currently while still having the same genesis transaction other parts of BlockPayload could differ. Most likely commit_topology and timestamp_ms in BlockHeader.

This differences could lead to iroha fail to agree on genesis block.

Erigara avatar Jun 04 '24 13:06 Erigara

I was thinking that kagami genesis sign produces a genesis block? and that block which is produced only once can be submitted by any peer whatsoever

mversic avatar Jun 05 '24 09:06 mversic

I was thinking that kagami genesis sign produces a genesis block?

No, atm we put genesis transaction in the block builder. So it's not full block yet.

Erigara avatar Jun 05 '24 09:06 Erigara

Implemented in #4775 (#4696)

dima74 avatar Jul 05 '24 15:07 dima74