-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gather stats on micro-fork rate #640
Comments
@blockstack/ux-team @jasperjansz with mb as (
select * from microblocks
where canonical = true
and receive_timestamp > (now()::date - 30)
),
mb_total as (
select count(*)::numeric total from mb
),
mb_orphaned as (
select count(*)::numeric orphaned from mb
where microblock_canonical = false
)
select total, orphaned, round(orphaned / total * 100, 2) rate
from mb_total, mb_orphaned yields:
|
Thanks Matt. To start, we've decided to add an indicator when a transaction is in a microblock and we'll add some more guidance as to what exactly that means. |
@zone117x would it be possible to see a distribution? as in, is it a solid 25% average, or is is oscillating between 5% and 40%? |
remaining task: make this an endpoint anyone could consume |
Query for micro-fork rates. This can be a one-time task using the db for the microblock mainnet deployment that has been running for a couple months now.
It would be a useful endpoint to have baked-in as well.
The text was updated successfully, but these errors were encountered: