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

protocol: mempool_get_fee_histogram #5

Open
parazyd opened this issue Apr 9, 2021 · 5 comments
Open

protocol: mempool_get_fee_histogram #5

parazyd opened this issue Apr 9, 2021 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@parazyd
Copy link
Owner

parazyd commented Apr 9, 2021

Some kind of implementation is needed. Currently we just return [[0, 0]]

@parazyd parazyd added the help wanted Extra attention is needed label Apr 9, 2021
@parazyd
Copy link
Owner Author

parazyd commented Apr 20, 2021 via email

@parazyd
Copy link
Owner Author

parazyd commented Apr 20, 2021 via email

@parazyd
Copy link
Owner Author

parazyd commented May 6, 2021

Perhaps this can also be implemented using the https://mempool.space API?

@cidrblox
Copy link
Contributor

i'm not sure that the libbitcoin-server api supports what is needed for this. given a tx identifier, we can obtain fee data from the mem/transaction pool. but I don't see a way to get an index of all tx in the pool. the bitcoin core rpc has a method 'getrawmempool' that will return such a list. i believe this is what electrumx is using. am i missing something?

https://github.com/libbitcoin/libbitcoin-server/blob/master/src/interface/transaction_pool.cpp
https://developer.bitcoin.org/reference/rpc/getrawmempool.html
https://github.com/kyuupichan/electrumx/blob/master/electrumx/server/daemon.py

@parazyd
Copy link
Owner Author

parazyd commented May 10, 2021

Hi. I've asked about this in libbitcoin/libbitcoin-server#547

I think you're indeed right, and this functionality may be missing. However, it should be possible to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants