neo-go/pkg/neorpc/result
Roman Khimov 1b83dc2476 *: improve for loop syntax
Mostly it's about Go 1.22+ syntax with ranging over integers, but it also
prefers ranging over slices where possible (it makes code a little better to
read).

Notice that we have a number of dangerous loops where slices are mutated
during loop execution, many of these can't be converted since we need proper
length evalutation at every iteration.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 21:45:18 +03:00
..
application_log.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
block.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
block_header.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
findstates.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
findstorage.go rpcsrv, rpcclient: support findstorage and findstoragehistoric 2023-08-24 17:15:58 +03:00
invoke.go rpc: implement transaction awaiting functionality 2022-10-24 06:09:36 +03:00
invoke_test.go rpc: implement transaction awaiting functionality 2022-10-24 06:09:36 +03:00
mpt.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
mpt_test.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
netfee.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
notary_request_event.go neorpc/result: move NotaryRequestEvent to this package 2022-07-25 11:58:13 +03:00
peers.go neorpc: extend getpeers method 2024-06-27 10:41:59 +01:00
peers_test.go neorpc: extend getpeers method 2024-06-27 10:41:59 +01:00
raw_mempool.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
raw_notary_pool.go rpcsrv: add getrawnotarypool, getrawnotarytransaction handlers 2023-08-31 18:51:43 +01:00
relay_result.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
tokens.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
tx_raw_output.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
unclaimed_gas.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
validate_address.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
validator.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
validator_test.go golangci: add predeclared linter 2022-09-02 18:36:26 +03:00
version.go rpcsrv: add seedlist and standbycommittee to getversion 2024-08-09 12:53:31 +03:00
version_test.go rpcsrv: add seedlist and standbycommittee to getversion 2024-08-09 12:53:31 +03:00