Skip to content

Cache hashing of transactions #322

Closed as not planned
Closed as not planned

Description

@rpanic

Currently, during block production but also other processes, we hash any given transaction object a bunch of times to determine their id (which is the hash). To improve performance and not do any unnecessary work, we should only hash the transaction once and reuse the resulting hash everywhere else.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions