datdotorg / datdot-service

datdot service
https://playproject.io/datdot-service
MIT License
15 stars 9 forks source link

Have encoder send merkle proof to hoster #9

Closed RangerMauve closed 4 years ago

RangerMauve commented 4 years ago

@todo


RangerMauve commented 4 years ago

Can get proof from: https://github.com/mafintosh/hypercore/blob/master/index.js#L580

RangerMauve commented 4 years ago

This is how we save data from the remote https://github.com/mafintosh/hypercore/blob/master/lib/replicate.js#L149

RangerMauve commented 4 years ago

This is where we build up the data message to send to remotes: https://github.com/mafintosh/hypercore/blob/master/lib/replicate.js#L222 This could be used by the encoder

RangerMauve commented 4 years ago

This is done. 😁 https://github.com/playproject-io/datdot-service/commit/f39e322423a5371ea87b576dac2778323834b589