Skip to content

[Dragon 2] Sign transaction with network generation hash #151

@rg911

Description

@rg911

1. Sign transaction with network generation hash

An extra security layer is now added to all transactions to distinguish NIS1 and NIS2 network. It requires all transactions to be prepended with block generation hash before signing.

SignedTxPayload = Size + Signature + Signer + Specific Tx Payload

Note: Signature = account.sign(generationHash+SpecificTxPayload)

** generationHash is prepended into the transaction payload for signing but not physically included in the signedTransactionPayload.

Server issue link: https://github.com/nemtech/catapult-server/issues/33

Metadata

Metadata

Assignees

Labels

breaking-changeBreaks compatibility with previous versionenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions