Skip to main content

Module insert_many

Module insert_many 

Source
Expand description

AddressBook::InsertMany(peer, addresses) — custom op registered via bb::register_op! that pushes a full address bag into the engine’s bb_runtime::framework::AddressBook from the data plane.

Routes through AddressBook::add_peer for a new peer (entry created with ref_count = 1) and serially through register_address for a known peer (dedupe-append, no ref_count change — same semantics as AddressBook::Insert, just batched). Carriers are TYPE_PEER_ID and TYPE_ADDRESS_VEC.

Constants§

DOMAIN
(domain, op_type) registration key.
OP_TYPE
Op type name.

Functions§

invoke
Invoke fn — merge the address bag into the AddressBook.