holochain-open-dev / holoom

Tools for weaving blockchain data into holochain
2 stars 1 forks source link

Devise scheme for policing document reuse #81

Open 8e8b2c opened 1 month ago

8e8b2c commented 1 month ago

Certain documents might be considered to be owned under the umbrella of some external blockchain token. E.g. the minted value of token 1 may be derived from documents A & B; therefore token 2 cannot also be derived from A & B, but could instead be derived from C & D.

Likely this will have to be policed outside of the happ, because it is difficult to credibly maintain a list of nullifiers in the DHT. However, checking all document IDs on-chain is likely to by gas hungry if many documents are being aggregated.

8e8b2c commented 1 month ago

checking all document IDs on-chain is likely to by gas hungry

Merkle inclusion proofs can mitigate this. There would have to be some batch-update merkle insertion bottleneck though.

8e8b2c commented 1 month ago

We also need a way to distinguish between documents that are or aren't reusable.