binaryIterator is a simplistic iterator to step over the accounts or storage in a snapshot, which may or may not be composed of multiple layers. Performance wise this iterator is slow, it's meant for cross validating the fast one,
| 26 | // in a snapshot, which may or may not be composed of multiple layers. Performance |
| 27 | // wise this iterator is slow, it's meant for cross validating the fast one, |
| 28 | type binaryIterator struct { |
| 29 | a Iterator |
| 30 | b Iterator |
| 31 | aDone bool |
| 32 | bDone bool |
| 33 | accountIterator bool |
| 34 | k common.Hash |
| 35 | account common.Hash |
| 36 | fail error |
| 37 | } |
| 38 | |
| 39 | // initBinaryAccountIterator creates a simplistic iterator to step over all the |
| 40 | // accounts in a slow, but easily verifiable way. Note this function is used for |
nothing calls this directly
no outgoing calls
no test coverage detected