Skip to main content

reject_peer_selection_extra_args

Function reject_peer_selection_extra_args 

Source
pub fn reject_peer_selection_extra_args(
    extra_args: &[String],
) -> Result<(), Report>
Expand description

Rejects zcashd_extra_args entries that would change which peers the supervised zcashd talks to.

The P2P sidecar must connect only to the local Zebra node. Unlike single-valued boolean flags, every -connect/-addnode/-seednode occurrence adds a peer, and negated forms (-noconnect) clobber the supervisor’s pinned -connect, so both are refused instead of overridden.

§Errors

Returns an error naming the first offending argument.