Slimmer implementation of credit-only accounts (#4592)
* Add credit-only debit/data check to verify_instruction * Store credits and pass to accounts_db * Add InstructionErrors and tests * Relax account locks for credit-only accounts * Collect credit-only account credits before passing to accounts_db to store properly * Convert System Transfer accounts to credit-only, and fixup test * Functionalize collect_accounts to unit test * Review comments * Rebase
This commit is contained in:
@@ -17,6 +17,7 @@ hashbrown = "0.2.0"
|
||||
libc = "0.2.58"
|
||||
libloading = "0.5.0"
|
||||
log = "0.4.2"
|
||||
maplit = "1.0.1"
|
||||
memmap = "0.6.2"
|
||||
rand = "0.6.5"
|
||||
rayon = "1.0.0"
|
||||
|
Reference in New Issue
Block a user