neo-go/pkg/neorpc
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
..
result *: improve for loop syntax 2024-08-30 21:45:18 +03:00
rpcevent neorpc: add WS notification filter IsValid functionality 2023-12-28 11:08:46 +03:00
errors.go neorpc: adjust common error messages 2023-11-13 20:29:13 +03:00
errors_test.go neorpc: ensure errors.Is and errors.As work properly with neorpc.Error 2023-11-07 23:59:53 +03:00
events.go rpc: add new header_of_added_block event subscription 2023-12-22 15:14:01 +03:00
filters.go neorpc: add WS notification filter IsValid functionality 2023-12-28 11:08:46 +03:00
filters_test.go rpc: change the type of BlockFilter.Primary from int to byte 2023-12-25 18:24:06 +03:00
types.go neorpc: restrict maximum subitems number in SignerWithWitness 2023-11-23 12:12:34 +03:00
types_test.go neorpc: restrict maximum subitems number in SignerWithWitness 2023-11-23 12:12:34 +03:00