Skip to content

Conversation

@ignaciopulicedonatto
Copy link

To avoid possible malleability attacks, RSK discards solutions with more than 128 bytes after RSK tag.
Therefor, RSK output should be one of the last or the last output in the Coinbase.

RSKd code condition could be found here:
https://github.com/rsksmart/rskj/blob/master/rskj-core/src/main/java/co/rsk/validators/ProofOfWorkRule.java#L202

To avoid possible malleability attacks, RSK discards solutions with more than 128 bytes after RSK tag.
Therefor, RSK output should be one of the last or the last output in the Coinbase.

RSKd code condition could be found here:
https://github.com/rsksmart/rskj/blob/master/rskj-core/src/main/java/co/rsk/validators/ProofOfWorkRule.java#L202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants