neo-go/pkg/crypto/hash
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
..
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
hash.go crypto: export GetSignedData function 2024-05-13 09:33:42 +03:00
hash_test.go util: add LE suffix to Uint256 methods 2019-12-06 12:16:55 +03:00
merkle_bench_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
merkle_tree.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
merkle_tree_test.go hash: introduce memory-optimized merkle root hash calculation routine 2020-09-15 18:38:15 +03:00