archethic-foundation / archethic-node

Official Archethic Blockchain node, written in Elixir
GNU Affero General Public License v3.0
75 stars 22 forks source link

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

Open bchamagne opened 3 months ago

bchamagne commented 3 months ago

Description

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

Type of change

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: