hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.
MIT License
150 stars 15 forks source link

Pass replication options to Replicator #74

Closed andrewosh closed 2 years ago

andrewosh commented 2 years ago

Corestore has one ondiscoverykey hook that's passed to a top-level protocol stream, and that hook needs to be passed into the replicator.

mafintosh commented 2 years ago

Good catch! I’ll merge this now and add a test later