-
Felix Lange authored
The 'step' method is split into two parts, 'peek' and 'push'. peek returns the next state but doesn't make it current. The end of iteration was previously tracked by setting 'trie' to nil. End of iteration is now tracked using the 'iteratorEnd' error, which is slightly cleaner and requires less code.
4047ccad
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
encoding.go | Loading commit data... | |
encoding_test.go | ||
errors.go | ||
hasher.go | ||
iterator.go | ||
iterator_test.go | ||
node.go | ||
node_test.go | ||
proof.go | ||
proof_test.go | ||
secure_trie.go | ||
secure_trie_test.go | ||
sync.go | ||
sync_test.go | ||
trie.go | ||
trie_test.go |