Commit Graph

7 Commits (12f27161804a2964ee96d1e7f119576afee3f960)

Author SHA1 Message Date
Dom Dwyer 20d63b8aa6
feat(gossip): expose sender identity in Dispatcher
When the gossip subsystem hands an application payload off to the
Dispatcher impl, include the sender's Identity.
2023-08-30 14:17:59 +02:00
Dom Dwyer 6ea6f77d9f
ci(gossip_schema): add missing lints
Adds the "default" lints to the gossip_schema crate.
2023-08-22 18:22:16 +02:00
Dom Dwyer 1a51f3bd53
build(gossip_schema): remove unused deps
Some listed dependencies aren't actually used.
2023-08-22 18:22:15 +02:00
Dom Dwyer 17e1541104
docs: fix typos, add handle module docs
More docs more better.
2023-08-22 18:22:14 +02:00
Dom Dwyer da3b20270b
docs: doc link fixes
Fix bad links!
2023-08-22 12:58:41 +02:00
CircleCI[bot] 33af90ef9a chore: Run cargo hakari tasks 2023-08-22 10:51:04 +00:00
Dom Dwyer 2e77507f7b
feat: implement gossip_schema crate
Adds a new gossip_schema crate that provides a high-level interface to
schema change notifications.

This crate layers schema-specific interfaces over the existing low-level
gossip crate. Users can obtain best-effort schema change notifications
by implementing a SchemaEventHandler delegate given to a SchemaRx, or
efficiently dispatch schema change notifications to listening peers
using a SchemaTx.

Schema notifications are sent over the Topic::SchemaChanges topic
(ID=1), which the caller must register as an interest on receiving
gossip nodes.
2023-08-22 12:45:22 +02:00