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

Do we need tx proofs? #5

Open
RCasatta opened this issue May 31, 2021 · 1 comment
Open

Do we need tx proofs? #5

RCasatta opened this issue May 31, 2021 · 1 comment
Labels
utxo-torrent UTXO Torrent Proposal Draft

Comments

@RCasatta
Copy link

In https://github.com/mempoolco/drafts/blob/main/utxo-torrent/utxo-torrent.md#assumptions "we assume a set of related proofs for the UTXO is 4x."

Do we really need tx proofs?

There is no UTXO commitment, so we are trusting the UTXO provider anyway at this point I think the trust should be used also for tx existence.

Moreover, even with tx proofs a malicious UTXO provider may trick the client without producing pow (this is true also for electrum style wallet):

  • The server omits previously spent transaction -> client shows a greater than real balance
  • The server omits previously received transaction -> client shows a lower than real balance
@gdassori
Copy link
Member

gdassori commented May 31, 2021

ACK

  • Multiple authorities of consortia will sign the same work (shards of the utxo, and patches).
  • Multiple clients, even the common ones not part of consortia, will share work or can produce it if in full validation mode.
  • Consortia signatures will be shared across torrents.
  • Actors of the consortia sharing wrong signatures will be highlighted, cause all the work at some height must hash in the same way.
  • Clients will download signatures from many authorities, and work from random nodes, and can achieve consensus by downloading multiple signatures for the same piece of work from different consortia actors, even part of a different consortium.
  • Just a single member of a consortium can commit his bandwidth to share the work across common nodes or to not share it at all if the network is healthy enough to take care of itself with common nodes. All the others can just share signatures.
  • With a healthy network, actors of the consortia can just share signatures, certifying that the work is good.
  • Cooperative nodess will share only signed shards & patches.
  • Malicious ones sharing non-compliant or fake data will be emarginated.
  • Any client could choose to sync with a consortium or with another. All the independent consortium will sign the same work.

Refs:

In this scenario, seems that the proofs are useless. This brings the whole protocol to rely on a 4MB file per shard, and nothing more, so, as a recap:

  • 8 shards downloaded and shared, means to observe ~ 640.000 scripts.
  • it should take ~50MB to have all the 8 shards.
  • with 50 extra MB a client would share 2:1 the needed data, observing ~ 1.2M scripts, improving the privacy and the network health.

@gdassori gdassori changed the title Do we need tx proofs? utxo-torrent/ Do we need tx proofs? Jun 1, 2021
@gdassori gdassori changed the title utxo-torrent/ Do we need tx proofs? utxo-torrent / Do we need tx proofs? Jun 1, 2021
@gdassori gdassori changed the title utxo-torrent / Do we need tx proofs? Do we need tx proofs? Jun 1, 2021
@gdassori gdassori added the utxo-torrent UTXO Torrent Proposal Draft label Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
utxo-torrent UTXO Torrent Proposal Draft
Projects
None yet
Development

No branches or pull requests

2 participants