neoneo-go/pkg/core/state
Roman Khimov 584675ec23 state: optimize NEP17Transfer struct
We have both from and to here, so technically we can either drop the neg/neg
trick from the processTokenTransfer() or drop one field from the structure
(the other side is a part of the key). Drop the field since this can make the
DB a bit more compact. Change Amount to be a pointer along the way since
that's the "native" thing for big.Int, we've used non-pointer field
specifically to avoid Neg/Neg problems, but it looks like this is not
necessary.

This structure is only used by the RPC server and I doubt anyone uses it via
the *Blockchain.
2023-01-10 22:51:45 +03:00
..
contract.go *: fix Neo and NeoGo misuses 2022-12-07 17:29:09 +03:00
contract_test.go state: check for array length in (*Contract).FromStackItem 2022-08-16 17:19:47 +03:00
deposit.go [#2442] English Check 2022-05-04 19:48:27 +03:00
deposit_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
mpt_root.go [#2442] English Check 2022-05-04 19:48:27 +03:00
mpt_root_test.go state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
native_state.go stackitem: reusable serialization context 2022-06-02 15:38:39 +03:00
native_state_test.go state: optimize NEP17Balance deserialization 2021-08-09 11:09:49 +03:00
notification_event.go subscriptions: move NotificationEvent to state 2022-07-25 11:58:13 +03:00
notification_event_test.go subscriptions: move NotificationEvent to state 2022-07-25 11:58:13 +03:00
oracle.go [#2442] English Check 2022-05-04 19:48:27 +03:00
oracle_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
storage_item.go dao: drop GetStorageItems* APIs 2022-03-31 19:18:51 +03:00
tokens.go state: optimize NEP17Transfer struct 2023-01-10 22:51:45 +03:00
tokens_test.go state: optimize NEP17Transfer struct 2023-01-10 22:51:45 +03:00
validator.go core: switch to the new voting system (via native NEO contract) 2020-04-27 16:06:50 +03:00