4 ms·
> Though if you want something to stick around, you have to seed it yourself for now. Question: Do all nodes act as peers, serving from their local cache once
by detaro 12y ago
> Though if you want something to stick around, you have to seed it yourself for now.
Question: Do all nodes act as peers, serving from their local cache once they requested a piece of data (basically, does it feel like normal bittorrent in that regard)? Or are there differences?
- sillysauce 12y agoYes, files (or blocks) you request stick around on your computer. There is a garbage collection command that will remove unpinned files. There is also going to be (not sure if it's implemented yet) the bitswap. More information about the bitswap can be found in the paper.
- whyrusleeping 12y agoYeap! bitswap is currently pretty dumb, but I have a branch that will watch the network for popular blocks and cache them for a short period (until GC). When I get more time, Im going to implement some more interesting AI into it, its currently pretty dumb. (code: https://github.com/jbenet/go-ipfs/compare/feat/smartswap https://github.com/jbenet/go-ipfs/compare/feat/smartswap)