`hypercore` now works pretty well, it's time to implement the networking part. ## Todos - [x] implement `feed.announce()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L885) - [x] implement `feed.unannounce()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L892) - [x] implement `pub feed.has()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L900) - [x] implement `pub feed.has_all()` (polymorphic variant of `feed.has()`) - [x] implement `pub feed.head()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L906) - [ ] implement `pub feed.replicate()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L146) - [ ] implement `pub feed.update()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L164) - [x] implement `pub feed.downloaded()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L896) - [ ] implement `pub feed.finalize()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L1051) - [ ] implement `Peer` struct - [ ] implement futures channel for events - [x] implement `Event` enum ## Bonus - [ ] implement `pub feed.cancel()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L429) - [ ] implement `pub feed.clear()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L461) - [ ] implement `pub feed.seek()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L544) ## Skipping - [x] implement `pub feed.download()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L321) - [x] implement `pub feed.undownload()` [(ref)](https://github.com/mafintosh/hypercore/blob/master/index.js#L345) ## Resources - [source: replicate.js](https://github.com/mafintosh/hypercore/blob/master/lib/replicate.js) - [test: streams.js](https://github.com/mafintosh/hypercore/blob/master/test/streams.js) - [test: replicate.js](https://github.com/mafintosh/hypercore/blob/master/test/replicate.js) - [bench: replicate-16kb-blocks](https://github.com/mafintosh/hypercore/blob/626e23b2ae867c4104a59fc6741089df4a807622/bench/replicate-16kb-blocks.js)
hypercorenow works pretty well, it's time to implement the networking part.Todos
feed.announce()(ref)feed.unannounce()(ref)pub feed.has()(ref)pub feed.has_all()(polymorphic variant offeed.has())pub feed.head()(ref)pub feed.replicate()(ref)pub feed.update()(ref)pub feed.downloaded()(ref)pub feed.finalize()(ref)PeerstructEventenumBonus
pub feed.cancel()(ref)pub feed.clear()(ref)pub feed.seek()(ref)Skipping
pub feed.download()(ref)pub feed.undownload()(ref)Resources