AccountIterator is an iterator to step over all the accounts in a snapshot, which may or may not be composed of multiple layers.
| 50 | // AccountIterator is an iterator to step over all the accounts in a snapshot, |
| 51 | // which may or may not be composed of multiple layers. |
| 52 | type AccountIterator interface { |
| 53 | Iterator |
| 54 | |
| 55 | // Account returns the RLP encoded slim account the iterator is currently at. |
| 56 | // An error will be returned if the iterator becomes invalid |
| 57 | Account() []byte |
| 58 | } |
| 59 | |
| 60 | // StorageIterator is an iterator to step over the specific storage in a snapshot, |
| 61 | // which may or may not be composed of multiple layers. |
nothing calls this directly
no outgoing calls
no test coverage detected