-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Charge for size and witnesses (#791)
* Fee= VerificationCost+ApplicationCost * NetworkFee for verification * Clean * Clean * Update * Remove priority from Policy and MemoryPool * Fix CalculateFee * Allow to cancel transactions with more Gas * Revert change We need to test this first * Add Cosigners * some fixes * Update Transaction.cs * format * fix overflow * fix `Wallet.MakeTransaction()` * fix `Transaction.CalculateFees()` * remove contract get from verification * Revert "remove contract get from verification" This reverts commit 6d0dad2. * Fix fee calculation * fix * fix tests * Update MemoryPool.cs * fix tests * UT - Good calculation! * Clean * Revert Nep5Token.cs * Revert conditional * Improve readability * Revert "Improve readability" This reverts commit cd61b98. * Possible fix for unit test * Error verbosity * Add using for ApplicationEngine * Fix unit test * more readable merkleroot test * Sample for multisig contract * Sign ut * Signed! * Same format for single signature unit test * Prevent create unwanted objects * format * Remove `snapshot` from `MakeTransaction()` * Rename * format * using json based NEP6Wallet import * at least using read serializable array * revert last commit
- Loading branch information
Showing
29 changed files
with
821 additions
and
745 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
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
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
Oops, something went wrong.