neoneo-go/pkg/core/native
Roman Khimov b66bc33cf9 native: short-circuit successive GAS distributions
GAS can only be distributed once in a block for particular address, so it
makes little sense trying to calculate it again and again. This fixes
neo-bench for NEO voter, because without it we get ~2500 TPS for
single-address test and with it it jumps 13-fold to normal values like
~33500.
2021-09-22 17:13:55 +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 core: implement statesync module 2021-09-07 19:43:27 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
interop.go core: reuse PushItem for interops 2021-08-30 23:43:58 +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: remove conflicting transactions wrt MaxTraceableBlocks 2021-08-18 13:31:47 +03:00
native_gas.go state: optimize NEP17Balance serialization 2021-08-09 11:09:06 +03:00
native_neo.go native: short-circuit successive GAS distributions 2021-09-22 17:13:55 +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 Merge pull request #2169 from nspcc-dev/states-diff_mainnet_131795 2021-09-14 17:30:41 +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 native/policy: disallow blocking native contracts 2021-09-03 11:11:06 +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