Bitcoin Forum
June 04, 2024, 01:27:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Closed] C++ dev to work on Bitcoin Core addrindex patch  (Read 326 times)
weex (OP)
Legendary
*
Offline Offline

Activity: 1102
Merit: 1014



View Profile
March 16, 2017, 01:14:17 AM
Last edit: March 22, 2017, 10:59:25 PM by weex
 #1

The addrindex patch to Bitcoin Core creates an index of transactions by address. This enables someone running the software to get confirmed transactions for any address. The addrindex patch currently requires an entire copy of the blockchain meaning total storage requirements are >120gb today. In order to provide the services of getting unspent outputs (and balances) for arbitrary addresses, a pruned node is sufficient. The goal of this job is to modify the addrindex patch to make it compatible with pruning.

This task is done when…
1) A patch to addrindex makes it possible to turn on pruning (i.e. prune=2000) and addrindex=1 without error.
2) Searching for an address via rpc command "bitcoin-cli getunspent <address>" returns currently unspent outputs for <address>
3) Dump complete list of unspent outputs with address as json with command "bitcoin-cli getallunspent" allowing one parameter: minimum number of confirmations.

Paying in BTC that will be escrowed via multisig (Rein).

This would be used by Rein to remove the API dependency we have on blocktrail or blockr.io to get unspent outputs so we can automatically build payment transactions. Main thing it does is make addrindex possible to run with a much smaller storage footprint.

Reply or PM me with bids.

Edit: No longer necessary since pull request 9806 to Bitcoin Core is addressing this use case.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!