Skip to content

docs: Fix incorrect note about header.Time in ABCI data types being the proposer's local time  #3514

@KrzysiekJ

Description

@KrzysiekJ

Tendermint version v0.31.1 with the patch from #3118

ABCI app: Ercoin

What happened:

If create_empty_blocks is set to false and a block is created, then time of that block is not the current time, but it refers to the time at which the previous block was created.

What you expected to happen:

Block time should be current. Past time may make transactions invalid if their validity is time-dependent. If a transaction is created with a current timestamp, then a block in which that transaction is included must not contain a lower time value in block header.

Have you tried the latest version: yes

How to reproduce it (as minimally and precisely as possible):

  1. Set create_empty_blocks to false and create_empty_blocks_interval to a reasonably high value.
  2. Observe the time of the block header.

Metadata

Metadata

Assignees

Labels

C:docsComponent: Documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions