mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 07:41:08 +00:00
Less verbosity (#546)
This commit is contained in:
committed by
Robert Habermeier
parent
c346af29e0
commit
c7548977c3
@@ -298,9 +298,9 @@ impl<'a, A> txpool::Verifier<UncheckedExtrinsic> for Verifier<'a, A> where
|
||||
let sender = inner.as_ref().map(|x| x.signed.clone());
|
||||
|
||||
if encoded_size < 1024 {
|
||||
info!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt);
|
||||
debug!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt);
|
||||
} else {
|
||||
info!(target: "transaction-pool", "Transaction verified: {} ({} bytes is too large to display)", hash, encoded_size);
|
||||
debug!(target: "transaction-pool", "Transaction verified: {} ({} bytes is too large to display)", hash, encoded_size);
|
||||
}
|
||||
|
||||
Ok(VerifiedTransaction {
|
||||
|
||||
@@ -76,15 +76,15 @@ impl<H, T> txpool::Listener<T> for Listener<H> where
|
||||
}
|
||||
|
||||
fn rejected(&mut self, tx: &Arc<T>, reason: &txpool::ErrorKind) {
|
||||
warn!("Extrinsic rejected ({}): {:?}", reason, tx);
|
||||
warn!(target: "extrinsic-pool", "Extrinsic rejected ({}): {:?}", reason, tx);
|
||||
}
|
||||
|
||||
fn invalid(&mut self, tx: &Arc<T>) {
|
||||
warn!("Extrinsic invalid: {:?}", tx);
|
||||
warn!(target: "extrinsic-pool", "Extrinsic invalid: {:?}", tx);
|
||||
}
|
||||
|
||||
fn canceled(&mut self, tx: &Arc<T>) {
|
||||
warn!("Extrinsic canceled: {:?}", tx);
|
||||
debug!(target: "extrinsic-pool", "Extrinsic canceled: {:?}", tx);
|
||||
}
|
||||
|
||||
fn mined(&mut self, tx: &Arc<T>) {
|
||||
|
||||
Reference in New Issue
Block a user