private void ParseIt(OnLedger onLedger, bool copyMap) { while (!_reader.End()) { ParseOneLedger(); var continue_ = onLedger(_ledger, copyMap ? _state.Copy() : _state, _transactions); if (!continue_) { break; } } }