Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Algorithm 2 (Proof verification) #25

Open
1 of 6 tasks
Taeir opened this issue Dec 16, 2017 · 1 comment
Open
1 of 6 tasks

Test Algorithm 2 (Proof verification) #25

Taeir opened this issue Dec 16, 2017 · 1 comment

Comments

@Taeir
Copy link
Collaborator

Taeir commented Dec 16, 2017

Algorithm 2 (Proof verification) needs to be tested.

  • Test transaction is in the chain multiple times (is this even possible?)
  • Test invalid previous hash
  • Test block not on main chain
  • Test invalid hash of abstract on main chain
  • Test invalid signature
  • Test invalid source transaction
@bart-de-jonge
Copy link
Contributor

The first one is not possible as a transaction is identified by it's sender, block number and number in that block. Two transaction could have exactly the same amount, receiver and sources but that would still be two separate transactions that are double-spending.

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

No branches or pull requests

2 participants