Skip to content

v0.27.0: No time_offset in block header, getTransactions(Hash from)

Compare
Choose a tag to compare
@hewison-chris hewison-chris released this 18 Nov 05:31
· 800 commits to v0.x.x since this release

Major bug fixes since v0.26.1:

The block header no longer has a time offset included

To help ensure blocks are externalized at the correct interval the time offset is not included.
block time is Genesis start time + height of the block x block interval in seconds.
This block time is the time that the Validators will start to nominate a block and once they agree
on the block contents will externalize (add it to the blockchain).

Agora API added that returns pending transactions

The new API returns:

public Transaction[] getTransactions (Hash from)

To enable paging each request returns up to 128 pending transactions that have a hash higher than the provided hash.

Prefer blocks with more Enrollments

Help ensure we enroll as many validators who are wanting to enroll as soon as possible.

Sign blocks that are fetched

If the Validator was online during nomination it still signs a block that it receives during block catchup.

DNS: Fix Header flag bitwise operations

A fix and code improvement.

Encourage more signatures on previous blocks

When a block is externalized it can be signed by less than half of the Validators.
To ensure we have over half the Validators signing the blocks in the blockchain
we only start nominating the next block if half have signed the previous block.