This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
iter_used_addresses
could be snapshot-proof if it looked at balances first, then transactions
#175
Labels
get_inputs
behaves very differently depending onstop
parameter (is it provided or not). That is due to different ways how addresses are generated and iterated. For example right after snapshot that would give two different results.Suggestion:
iter_used_addresses
to iterate until encounters first address with balance=0 and not spent as perwere_addresses_spent_from
as opposed to current criteria of first address without transactions.In standard cases that will give wallet's total balance and would be similar to result with big enough interval of
start
andstop
The text was updated successfully, but these errors were encountered: