holepunchto / corestore

A simple corestore that wraps a random-access-storage module
https://docs.holepunch.to
MIT License
74 stars 28 forks source link

passive -> time limited active when something new is learned #76

Open mafintosh opened 1 year ago

mafintosh commented 1 year ago

ie, when a fully passive core (atm .replicator.downloading === false indicates that) receives a new proof (onappend, ontruncate, onconflict (we can make a general event)), make an active session on the core for X time so it injects the proof to other peers