Configurable hash algorithm for Merkle tree nodes

Description

Hash agility allows to configure the hash algorithm used to label transactions and the same hash algorithm is also applied to the Merkle tree nodes.
Allow decoupling of the 2 hash algorithms by:

  • adding a second DigestService constructor parameter to the WireTransaction

  • adding an extra parameter to the experimental command line parameters to specify the Merkle tree node hash algorithm

Activity

Show:
Ivan Terziev
February 19, 2021, 12:23 PM

for the KB docs work

Sachin Gokhale
February 16, 2021, 9:11 AM

- What needs to be QA’ed here? can you please elaborate any specific test cases?

Done

Assignee

Edoardo Ierina

Reporter

Edoardo Ierina

Labels

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

None

Story Points / Dev Days

5

Squad

None