Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.

Document that we filter blocks which are unconfirmed or too recent #50

Open
alokmenghrajani opened this issue Oct 23, 2018 · 0 comments

Comments

@alokmenghrajani
Copy link
Contributor

To ensure reproducible results, we filter some blocks:

When computing a balance:
Beancounter only computes balances up-to "current height" - 6 blocks. We discard the last 6 blocks + unconfirmed blocks.

When mapping a timestamp to a block number:
We can only find blocks in the range 6 to current height - 11 (because of the way we take the median).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant