Page MenuHomePhabricator

Add address indexes
Open, Needs TriagePublic

Description

Add several address-related indexes and provide new RPC functionalities useful for wallet servers and exchanges.

The implementation will be based on this old PR https://github.com/bitpay/bitcoin/pull/6/files, it needs to be retrofitted to the current master and tested.

The new RPC methods will be:

getaddresstxids
getaddressdeltas
getaddressbalance
getaddressutxos
getaddressmempool
getblockhashes
getspentinfo
getrawtransaction (enriched response from current method )

described here: https://bitcore.io/guides/bitcoin/#new-rpc-methods-and-updates

Event Timeline

matiu created this task.Apr 9 2018, 13:11
jimpo added a subscriber: jimpo.Apr 10 2018, 18:43

I have a pull request open on Bitcoin Core that creates a precedent for parallel indexing: https://github.com/bitcoin/bitcoin/pull/11857. I would really like to see any new indexes created with a similar pattern, driven off of ValidationInterface instead of inline in the validation code.

Happy to port this change over to ABC if people like it.