archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Mining: check for unknown origin as part of the valid pending transaction

Open bchamagne opened this issue 6 months ago • 0 comments

Description

Differentiate an invalid proof of work from an unknown origin. Fixes #1539

Type of change

  • Improvment

How Has This Been Tested?

I modified the CLI to send invalid origin signature. Then I sent a transaction with the CLI Capture d’écran 2024-08-26 à 16 50 51

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

bchamagne avatar Aug 26 '24 14:08 bchamagne