aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.rs
Commit message (Collapse)AuthorAgeFilesLines
* allow passing local_id to datconnect (and peer)Bryan Newbold2018-01-221-5/+15
|
* WIP refactoring DatPeerBryan Newbold2018-01-221-4/+22
| | | | | - use Key in some more spots (instead of [u8]) - threaded Peer implementation, with chan for communication
* procol cleanups: nodelay, from_tcp, tosocketaddrBryan Newbold2018-01-211-61/+17
|
* register -> feedBryan Newbold2018-01-211-18/+18
|
* make DatConnection drive-agnosticBryan Newbold2018-01-111-115/+29
| | | | | | | | | DatConnection should work with an arbitrary number of mux'd registers (hypercore feeds) on a single connection, including just one. This removes the drive-centric metadata/content ("is_content") flag for an index number. Future refactor should turn this from a u8 to a u32 or more.
* start flushing out new APIsBryan Newbold2017-12-121-2/+3
|
* count as an arg for recieve-someBryan Newbold2017-12-051-1/+1
|
* make more library things publicBryan Newbold2017-11-281-2/+2
|
* move make_discovery_key() to lib.rsBryan Newbold2017-11-261-12/+1
|
* harmonize proto message namesBryan Newbold2017-10-301-37/+37
| | | | Recent versions of the paper fixed these.
* squelch some 'unused' warningsBryan Newbold2017-10-291-1/+2
|
* don't panic on unexpected Index type, just return ErrBryan Newbold2017-10-281-1/+1
|
* rename protobuf files/modules; add Node typeBryan Newbold2017-10-281-2/+2
| | | | Also specify the protobuf syntax version (2)
* rustfmtBryan Newbold2017-10-261-43/+45
|
* refactor file/module namesBryan Newbold2017-10-261-0/+507
I had some early confusion around whether SLEEP refered to individual files or the collection of files making a register (it seems to mean the whole register). Will probably need to refactor again.