hyperledger-iroha / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
438 stars 280 forks source link

Bounded time #4962

Closed mversic closed 2 months ago

mversic commented 2 months ago

Any timestamp on the chain should be bounded:

  1. block creation time - lower bound is previous block time (hard limit), upper bound is current peer time (soft limit)
  2. transaction creation time - upper bound is current peer time (soft limit) or creation time of it's block (hard limit)

hard limit must not be crossed, whereas soft limit can be exceeded by a negligibly small amount