neoneo-go/pkg
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
..
compiler *: fix Neo and NeoGo misuses 2022-12-07 17:29:09 +03:00
config config: fix the default P2P ping settings 2022-12-07 21:29:40 +03:00
consensus config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
core state: optimize NEP17Transfer struct 2023-01-10 22:51:45 +03:00
crypto *: fix Neo and NeoGo misuses 2022-12-07 17:29:09 +03:00
encoding bigint: don't reallocate big.Int in ToBytes(), fix #2864 2023-01-10 22:51:45 +03:00
interop interop: add getContractByID and getContractHashes to management 2022-12-02 10:54:45 +03:00
io *: fix Neo and NeoGo misuses 2022-12-07 17:29:09 +03:00
neorpc result: drop Version (un)marshaler, we only need it for Protocol 2022-11-10 17:51:02 +03:00
neotest config: replace VerifyBlocks with SkipBlockVerification 2022-12-07 17:35:56 +03:00
network network: do not allow to request invalid block count 2022-12-28 13:04:56 +03:00
rpcclient rpcclient: fix filtered naive subscriptions receiver 2022-12-07 16:56:16 +03:00
services state: optimize NEP17Transfer struct 2023-01-10 22:51:45 +03:00
smartcontract Merge pull request #2828 from nspcc-dev/rpcwrapper-structures 2022-12-06 21:40:16 +07:00
util slice: add Clean microfunction 2022-09-02 14:44:32 +03:00
vm vm: add fuzz test for ParseMultiSigContract 2022-12-28 11:50:15 +03:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00