ipfs / papers

IPFS Papers (not specs)
147 stars 39 forks source link

Tampering by whom? #5

Open dominictarr opened 9 years ago

dominictarr commented 9 years ago

It's not clear what sort of tampering you are talking about in section 3.4.3:

BitSwap nodes keep ledgers accounting the transfers with other nodes. This allows nodes to keep track of history and avoid tampering

To be honest, this seems like a very important section of the paper, if not the most important, but it's unclear why a rational peer wouldn't loose their ledger.

When activating a connection, BitSwap nodes exchange their ledger information. If it does not match exactly, the ledger is reinitialized from scratch, losing the accrued credit or debt. It is possible for malicious nodes to purposefully "lose" the Ledger, hoping to erase debts.

jbenet commented 9 years ago

bitswap is notoriously underspecified in DRAFT 3. DRAFT 4 will do better.

To be honest, this seems like a very important section of the paper, if not the most important, but it's unclear why a rational peer wouldn't loose their ledger.

this is a feature, like any other. A peer repeatedly losing a ledger erodes trust. with all of these what you want is the nodes to be free to measure whatever parts of the interaction they deep relevant and decide trustworthiness themselves. goal is to ship an ok base case and a few interesting choices