| Class | Description |
|---|---|
| Crypto | |
| IsValidTest |
Unit tests for
TxHandler.isValidTx(Transaction)
Test Strategy:
Test 1: test isValidTx() with valid transactions
Test 2: test isValidTx() with transactions containing signatures of incorrect data
Test 3: test isValidTx() with transactions containing signatures using incorrect private keys
Test 4: test isValidTx() with transactions whose total output value exceeds total input value
Test 5: test isValidTx() with transactions that claim outputs not in the current utxoPool
Test 6: test isValidTx() with transactions that claim the same UTXO multiple times
Test 7: test isValidTx() with transactions that contain a negative output value |
| Main | |
| Main.Tx | |
| Transaction | |
| TxHandler | |
| UTXO | |
| UTXOPool | |
| UtxoTestSet |
UtxoTestSet represent a random created data test set for testing isValid and txHandler methods.
|
| ValidationLists<E> |
Validation Lists is a container for several lists of elements calssified in:
Valid, Invalid or Conflicted
|
| ValidationLists.Builder<E> |