Skip to content
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

gettxchainstats improvements #14

Open
1 task
leto opened this issue May 1, 2019 · 1 comment
Open
1 task

gettxchainstats improvements #14

leto opened this issue May 1, 2019 · 1 comment

Comments

@leto
Copy link
Member

leto commented May 1, 2019

  • Implement "last 24hrs" mode

gettxchainstats could learn some new tricks to make it even more useful with on-demand chains and give more data:

CHMEXYesterday at 11:02 AM
Is there a way without a DB what I can find out how many blocks per 24 have been created?
For chains with fixxed blocktimes ( I call KMD fixxed at 1440 blocks a day) it's clear but for ondemands assetchains?
jl777cYesterday at 11:07 AM
scan backwards up to 1440 blocks until you find a timestamp one day ago
CHMEXYesterday at 11:25 AM
yes I guess I will have to do it that way... with getchaintxstats BLOCKS a simple 24hour stats for the eco system is possible to do...
dukeletoYesterday at 3:46 PM
@CHMEX maybe i could modify getchaintxstats have a "24hr mode", something to make it better for on-demand chains
CHMEXYesterday at 11:56 PM
Hi @dukeleto 
Thst would be awesome yes also maybe add am extra value fields paymentscount transactionsperseconds paymentsperseconds

This is a new feature that will be upstreamed to KMD.

@leto
Copy link
Member Author

leto commented Dec 19, 2019

getchaintxstats will be part of our next release

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

No branches or pull requests

1 participant