forEachTxByDate

open override fun forEachTxByDate(doit: (TransactionHistory) -> Boolean)


open override fun forEachTxByDate(startingDate: Long, count: Long, doit: (TransactionHistory) -> Boolean)

Wallet history iterator, sorted by newest first, starting at @startingDate. This is the most efficient chunked history access. Approximately count records are made available; however every record of a given date is provided meaning that the actual number of available records can exceed the passed count. This ensures that no records are missed if you chunk requests and decrement the date by 1 after processing all the records in each chunk. Providing starting dates is much more efficient than an index because the system does not know the index of a record, so must process every prior record to count them.