Function massa_grpc::private::add_to_peers_whitelist

source ยท
pub(crate) fn add_to_peers_whitelist(
    _grpc: &MassaPrivateGrpc,
    _request: Request<AddToPeersWhitelistRequest>,
) -> Result<AddToPeersWhitelistResponse, GrpcError>
Expand description

Add IP addresses to node peers whitelist. No confirmation to expect. Note: If the ip was unknown it adds it to the known peers, otherwise it updates the peer type