public bool TryReadBlockTransactions(UInt256 blockHash, out IEnumerator<BlockTx> blockTxes) { if (this.ContainsBlock(blockHash)) { blockTxes = ReadBlockTransactions(blockHash, requireTx: true) .UsingAsEnumerable().Select(x => x.ToBlockTx()).GetEnumerator(); return true; } else { blockTxes = null; return false; } }