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

P2P file sharing layer #5

Closed
mjhouse opened this issue Jan 28, 2018 · 0 comments
Closed

P2P file sharing layer #5

mjhouse opened this issue Jan 28, 2018 · 0 comments

Comments

@mjhouse
Copy link
Owner

mjhouse commented Jan 28, 2018

Description

The blockchain holds publishing information for each document, but on top of this, ReChain needs to be able to distribute the published documents themselves to clients. This will be done through a torrent-based peer-to-peer network.

  1. When a document is published, the published document will be copied to a temporary location in RECHAIN_HOME and ReChain will begin seeding.

  2. A miner will accept the publish request, add it to the current mining operation, and torrent the document for reseeding when the block is mined.

  3. Clients that request the published document will torrent it locally to view it, check the hash against the publishing record, and depending on their settings, begin to re-seed.

Tracking will be provided by a standalone mini-client (which hasn't been created yet) that should be host-able anywhere with almost no configuration, and will connect new clients with up-to-date seeders.

The tracking client will be in a different repo.

Possible libraries

  • libtorrent
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

1 participant