-
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.
Native: store ID->hash map in ContractManagement, add iterator (#2807)
* Native: store ID->hash map in ContractManagement, add iterator That probably is the lighest design possible, store and retrieve hashes only. But it can be expanded to return full contract state (getContractByID, for example) and probably even iterate over contract states. Fixes #2803. * ContractManagement: rework GetContractHash into GetContractById * ContractManagement: fix GetContractById comment * Update ContractManagement.cs * Update ContractManagement.cs * Update src/Neo/SmartContract/Native/ContractManagement.cs Co-authored-by: Shargon <shargon@gmail.com> Co-authored-by: Erik Zhang <erik@neo.org> Co-authored-by: Shargon <shargon@gmail.com>
- Loading branch information
1 parent
91706ec
commit 90cf23b
Showing
1 changed file
with
38 additions
and
0 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