EnsureAnyBanman

Get the ban manager from an opaque RPC context, asserting it is present.

Synopsis

Declared in <rpc/server_util.h>

BanMan&
EnsureAnyBanman(std::any const& context);

Return Value

The node's ban manager.

Parameters

NameDescription
contextThe opaque per-connection context.