Skip to main content

decide

Function decide 

Source
pub fn decide(
    accept_flag: bool,
    is_tty: bool,
    local: B256,
    chain: B256,
) -> Decision
Expand description

Pure acceptance policy. local is terms_hash; chain is the network’s currentTermsHash. The staleness check takes precedence over everything — we never sign a hash the operator was not shown, even with --accept-terms.