pub trait Debug:
Send
+ Sync
+ 'static {
// Required method
fn report_signer_rejection<'life0, 'async_trait>(
&'life0 self,
request: Request<SignerRejection>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with DebugServer.
Required Methods§
Sourcefn report_signer_rejection<'life0, 'async_trait>(
&'life0 self,
request: Request<SignerRejection>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn report_signer_rejection<'life0, 'async_trait>(
&'life0 self,
request: Request<SignerRejection>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The signer is designed to fail closed, i.e., we reject requests that do not resolve or that go against one of its policies. This comes with some issues, such as false negatives, where we reject despite the request being valid. As more apps use the API we need to debug these false negatives, hence why we report rejections, so we can investigate the validity of the rejection, and to fine-tine the signer’s ruleset.