Skip to main content

send_misbehavior_update

Function send_misbehavior_update 

Source
async fn send_misbehavior_update(
    address_book_updater: &AddressBookChangeSender,
    report: MisbehaviorReport,
    batch: &mut MisbehaviorBatch,
    misbehavior_rx: &mut Receiver<MisbehaviorReport>,
)
Expand description

Sends report to the address book, and batches the reports received while the address book updater is busy, which are sent later.