CIP19 - Upgrade to Bitcoin 0.16.2 and Indexd


#1

Proposal to update counterparty to latest Bitcoin version + usage of addrindex.

As usual, feel free to discuss.


#2

This is a sorely needed improvement which will make Counterparty much easier to maintain going forward. One of the major complaints that I have heard from exchanges about CP is the need to run a custom version of bitcoin instead of being able to use a standard bitcoin installation…

Address 1JjhLd8aEHZD3ykBexkAe3GwdaC5FdbETT has been provisioned for this CIP and 500 XCP has been transferred from the developer fund to fully fund this CIP.

https://xchain.io/tx/ebf2a8b0284b2d26e474fc75b56ff0a5f711c49e98e826fbc00c05dfbda0ee28

Great work John! :slight_smile:


#3

It’s my understanding that people could also switch out indexd and user their own (more performant) indexing solution? albiet may need a wrapper, I know theres a open source c++ indexer and also I heard @loon3 was interested in a rust implementation.


#4

As long as their implementation conforms to the indexd one, yes, they can… although indexd with the latest fix lags behind bitcoind in the order of milliseconds


#5

Indexd merged to develop


#6

Can someone compare Ledger hashes with me on the Develop branch on testnet?

Block: 1413735 (3.07s, hashes: L:a8639 / TX:9e20d / M:b2594)


#7

Will spend some time tonight spinning up a new fednode and syncing the develop branch.


#8

Tested today morning some stuff and there are still compatibility issues with bitcoind api calls, will get to solve them asap today.


#9

Indexd fixes pushed to develop, all non-complex PRs cleared from the main repos.

Milestones 1 & 2 completed.


#10

Payout of 275 XCP for completing Milestones 1 & 2 is complete:
https://xchain.io/tx/6c7e7328f671113e178b722bdade5086ec2babc79427743c316589f0a2fee013


#11

Documentation updated

Milestone 3 completed


#12

Payout of 75 XCP for completing Milestone 3 is complete:
https://xchain.io/tx/1ebf3f8e46ec83e61aed7d1347083cf2aed2115c02e9d9812a6977f5ca98e80d