Expand description
peers syscall category — DAG-mutable AddressBook ops.
ai.bytesandbrains.address_book-domain custom ops emitted by
bb_derive::register_op — Insert, InsertMany, Lookup.
Single-address Insert is the common transport-learn case
(observed source from one envelope); InsertMany carries the
full advertised bag from identity-announcement sites; Lookup
emits the full ordered slice so callers that want a single
address pick one explicitly.
Spec: docs/ADDRESSING.md — “DAG-mutable AddressBook”.
Modules§
- insert
AddressBook::Insert(peer, addr)- custom op registered viabb::register_op!that pushes a multiaddr into the engine’sbb_runtime::framework::AddressBookfrom the data plane.- insert_
many AddressBook::InsertMany(peer, addresses)— custom op registered viabb::register_op!that pushes a full address bag into the engine’sbb_runtime::framework::AddressBookfrom the data plane.- lookup
AddressBook::Lookup(peer) → addresses— custom op registered viabb::register_op!that resolves every multiaddr bound to a peer from the engine’sbb_runtime::framework::AddressBook.