Skip to content

refactor: sign only block's header, not the whole payload#5000

Merged
nxsaken merged 1 commit intohyperledger-iroha:mainfrom
mversic:block_signature
Aug 26, 2024
Merged

refactor: sign only block's header, not the whole payload#5000
nxsaken merged 1 commit intohyperledger-iroha:mainfrom
mversic:block_signature

Conversation

@mversic
Copy link
Copy Markdown
Contributor

@mversic mversic commented Aug 22, 2024

Context

it's not necessary to sign the whole block payload since block header holds the merkle tree root hash

Reason

this will enable us to work on #4914

@github-actions github-actions bot added the api-changes Changes in the API for client libraries label Aug 22, 2024
@mversic mversic force-pushed the block_signature branch 3 times, most recently from dd9abdc to 0332429 Compare August 22, 2024 19:30
Copy link
Copy Markdown
Contributor

@SamHSmith SamHSmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic is sound

Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
@nxsaken nxsaken merged commit 5110681 into hyperledger-iroha:main Aug 26, 2024
mversic added a commit that referenced this pull request Aug 30, 2024
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-changes Changes in the API for client libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants