neoneo-go/pkg/core/native
Roman Khimov 5c65d33439 native: move required balance check to token contracts
Which duplicates the check, but deduplicates error path. This check forced
double balance deserialization which is quite costly operation, so we better
do it once.

It's hardly noticeable as of TPS metrics though, maybe some 1-2%%.
2021-08-03 17:59:38 +03:00
..
nativenames core: remove native NNS 2021-05-17 22:22:07 +03:00
nativeprices core: move NotaryVerificationPrice to a separate package 2021-03-23 13:56:39 +03:00
noderoles core: move native node roles to a separate pkg 2021-03-23 13:56:34 +03:00
compatibility_test.go config: add InitialGASSupply, fix #2073 2021-07-20 16:59:54 +03:00
contract.go config: add InitialGASSupply, fix #2073 2021-07-20 16:59:54 +03:00
crypto.go native: implement CryptoLib contract 2021-03-10 19:24:19 +03:00
crypto_test.go core: use Neo.Crypto.CheckSig for standard signature verification 2021-03-10 21:45:58 +03:00
designate.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
interop.go config: add NativeUpdateHistory 2021-03-15 12:35:14 +03:00
ledger.go interop: use non-Cached wrapped DAO 2021-07-30 15:45:17 +03:00
management.go core: maintain a set of NEP17-compliant contracts 2021-07-28 13:22:53 +03:00
management_test.go core: maintain a set of NEP17-compliant contracts 2021-07-28 13:22:53 +03:00
native_gas.go native: move required balance check to token contracts 2021-08-03 17:59:38 +03:00
native_neo.go native: move required balance check to token contracts 2021-08-03 17:59:38 +03:00
native_neo_candidate.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
native_neo_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
native_nep17.go native: move required balance check to token contracts 2021-08-03 17:59:38 +03:00
nativenames_test.go config: add InitialGASSupply, fix #2073 2021-07-20 16:59:54 +03:00
neo_types.go native: reuse stackitem.(De)Serialize more for data structures 2021-07-19 15:42:42 +03:00
notary.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
oracle.go slice: introduce common Copy helper 2021-07-19 22:57:55 +03:00
oracle_types.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
oracle_types_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
policy.go policy: fix max exec fee 2021-07-14 10:27:09 +03:00
std.go native/std: restrict amount of items in JSON deserialization 2021-08-02 18:57:47 +03:00
std_test.go native: reuse stackitem.(De)Serialize more for data structures 2021-07-19 15:42:42 +03:00
util.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00