mycognosist / solar

A minimal Secure Scuttlebutt replication node.
Other
20 stars 2 forks source link

Send partial vector clock when local KV store is updated #85

Closed mycognosist closed 5 months ago

mycognosist commented 5 months ago

Listen for StoreKvEvent, indicating that a message has been appended to a feed in the local key-value store; retrieve the latest sequence number for the feed and send a partial vector clock for that feed to all active EBT sessions. This allows us to notify peers of changes to our replication state.

This PR also removes a redundant check for vector clocks in received MUXRPC requests.