Open parazyd opened 3 years ago
As short as possible really. I need help in figuring out how to implement this.
On 20 April 2021 22:40:57 CEST, og-ewok @.***> wrote:
New to btc and asyncio, but interested to work on this. How long do you expect this issue to remain open?
Quote for above comment ^
Perhaps this can also be implemented using the https://mempool.space API?
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
Hi. I've asked about this in https://github.com/libbitcoin/libbitcoin-server/issues/547
I think you're indeed right, and this functionality may be missing. However, it should be possible to implement it.
Some kind of implementation is needed. Currently we just return
[[0, 0]]