Skip to main content

close_now

Function close_now 

Source
pub fn close_now(
    state: &AppState,
    block_id: &str,
    request_id: &str,
) -> &'static str
Expand description

“Close now” (the second button of the banner and the toast): the person ends the wait, and the shutdown begins at once as it would at the deadline. closed_now if the request was still pending, too_late if it was kept, had begun, or is not this block’s. Only the person’s: the RPC and the toast press that call it are proven by the caller.