forked from dvf/blockchain
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Create a function that validates the transaction by confirming the below rules:
- The sender's public key is used to decrypt the signed_hash and the hash matches the transaction hash
- Each transaction in unspent_transactions is payable to the address hash derived from the sender's public key
- Each transaction in unspent_transactions has not been spent
- The total amount in unspent_transactions >= the total amount in outputs
Metadata
Metadata
Assignees
Labels
No labels