NewNodeIterator creates an post-order state node iterator.
(state *StateDB)
| 45 | |
| 46 | // NewNodeIterator creates an post-order state node iterator. |
| 47 | func NewNodeIterator(state *StateDB) *NodeIterator { |
| 48 | return &NodeIterator{ |
| 49 | state: state, |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // Next moves the iterator to the next node, returning whether there are any |
| 54 | // further nodes. In case of an internal error this method returns false and |
no outgoing calls