dcdpr / btcr-DID-method

BTCR is the reference Decentralized Identifier (DID) method for the Bitcoin blockchain
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

rework txref code based on latest BIP-136 updates and add our proposed extension #21

Closed danpape closed 5 years ago

danpape commented 5 years ago

Most changes are the the libtxref code. txref. was renamed to txrefCodec. since it was causing issues with the domain/txref.* files. One nice thing that veleslavs did was to not differentiate between main and testnet data sizes anymore, so a lot of code was able to be deleted. classifyInput string had to be changed since there is now a different set of conflicting string sizes that have to be dealt with. Also, lot of test cases had to be updated for the newer txref outputs.

Don't actually merge this PR, it is just for illustration purposes while you are away.

danpape commented 5 years ago

closing this PR since it was more illustrative of work in progress.