-
Notifications
You must be signed in to change notification settings - Fork 2
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
[POC] One-way block streamer #15
Conversation
I briefly experimented with adjusting the I think I will move optimizations for the 60 byte packet limit into a follow-up PR focusing on that. |
7a45291
to
2991927
Compare
I've ended up working in an idea to send blocks incrementally and that has allowed me to send all blocks (including the root) inside of the radio packet size limit! |
…<>udp loop in radio service
1f1f0bc
to
e9650c5
Compare
This block-stream application provides the foundation for creating and exploring a new data transfer protocol designed for the IPFS-in-space scenario.
The current implementation is pretty simple, it reads in the contents of a file, breaks up the contents into blocks, and transmits those blocks in UDP packets to a receiver. The blocks are serialized into binary data using the Parity SCALE format. The receiver listens for the stream of blocks, attempts to find the root block, and then waits until all links in the root are satisfied before assembling the file. This simple and naive approach to IPFS data transfer is intended to lay a foundation of point-to-point block streaming to be iterated on in future project milestones.
Things which may still be included:
Things intentionally not included (in this POC):