-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MockChain only includes valid transactions into blocks
Moved and DRYed usage of scriptLedger and introduced function 'collectTransactions' to emulate the dropping transaction behavior as it was already intended before (see comment). As we are checking transactions now on submission and fail there, this is not really needed, but it is more consistent to include only transactions in the mock chain "blocks" which were valid at time of evaluation.
- Loading branch information
Showing
2 changed files
with
37 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters