Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTXO and Blockchain Bloat #4

Closed
ChristopherA opened this issue Jun 30, 2017 · 4 comments
Closed

UTXO and Blockchain Bloat #4

ChristopherA opened this issue Jun 30, 2017 · 4 comments
Assignees

Comments

@ChristopherA
Copy link
Member

I know that @lukejr and others will complain that DIDs have the potential to bloat the blockchain and UTXO mempool, as each DID:BTCR will have to have at least one unspent output.

For know I propose that we acknowledge this objection and keep it on our issue list. We will recommend P2WPKH over P2PKH so that witness data and op_return data can easily by purged by nodes who do not wish to retain all the data. If at some point we can address the UTXO bloat issue (say with @petertodd pay-to-contract approach?) we will do so. In addition, we will be clear in our various materials that DID:BTCR is not intended to scale to all the world's citizens, but is instead is for self-soveright identities with high security and pseudo-anonymity requirements.

In the meantime, we are not the only ones using op_return, so in the spirit of "Perfection is the Enemy of the Good" we will support P2PKH and op_returns that point to DDOs.

@ChristopherA
Copy link
Member Author

As @sipa said in #2 (comment)

Please don't abuse the UTXO set as key revocation storage :(

What I said in my reply to @sipa's comment was:

@sipa, @petertodd had some ideas about how we can minimize that in the future.
 I'm not sure it will go to zero, but much reduced. He hasn't published his technique
 yet but I presume it will also be similar to one he is working on for #opentimestamps
 For now we are trying to get a prototypes functioning, but your concern is valid and
 been noted for some time (it is issue #4 in this repo for instance :-) )

What we say in the main README.md is:

"Some aspects of the BTCR method will not be practical if inappropriately scaled — for
instance, there is a transaction cost to update keys and DDO object, potential UTXO
inflation (i.e. one additional unspent output for every BTCR-based identity), and even if
segwit isn't used it could cause blockchain bloat. However, identities using the BTCR
method can be a strong as Bitcoin itself -- currently securing billions of dollars of digital
value."

Can we improve on our message in the README.md and elswhere?

@rxgrant
Copy link

rxgrant commented Jul 10, 2017

It's easy to imagine a sidechain that manages DID update access for many identities at the cost of a single Bitcoin UTXO, along with reliance on an external data store to retrieve the actual keys.

Part of our messaging could take the experimental nature of this blockchain integration into account.

@petertodd
Copy link

@rxgrant Remember that such a sidechain has a censorship risk; you'd at least want a backup method of revocation via publishing in another medium, such as Bitcoin itself.

@kimdhamilton
Copy link
Collaborator

This issue was moved to WebOfTrustInfo/rwot5-boston#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants