neoneo-go/pkg/services/rpcsrv
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
..
params rpc: adjust Boolean handling in ExpandArrayIntoScript 2022-12-02 10:02:33 +03:00
testdata rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
client_test.go Merge pull request #2836 from nspcc-dev/fix-subs 2022-12-07 21:17:07 +07:00
error.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
prometheus.go rpcsrv: provide Prometheus histograms for calls 2022-11-09 13:26:45 +03:00
server.go state: optimize NEP17Transfer struct 2023-01-10 22:51:45 +03:00
server_helper_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
server_test.go native: make management compatible with C# node 3.5.0 2022-12-07 15:13:17 +03:00
subscription.go rpc: support multiple WSClient notification receivers 2022-10-24 06:09:36 +03:00
subscription_test.go rpcsrv: make websocket client limit configurable 2022-11-23 12:19:49 +03:00
tokens.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
util.go rpc/server: move to services/rpcsrv 2022-07-21 22:14:12 +03:00