Misc docs and renames …and one less clone (#11556)

* Misc docs and renames
…and one less clone

* unused import

* Docs

* Update ethcore/src/client/client.rs

Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
This commit is contained in:
David
2020-03-10 23:58:54 +01:00
committed by GitHub
parent e88ac4dbcf
commit 5be4924672
9 changed files with 24 additions and 16 deletions

View File

@@ -399,7 +399,9 @@ pub trait Engine: Sync + Send {
self.machine().verify_transaction_basic(t, header)
}
/// Performs pre-validation of RLP decoded transaction before other processing
/// Performs pre-validation of RLP encoded transaction before other
/// processing: check length against `max_transaction_size` and decode the
/// RLP.
fn decode_transaction(&self, transaction: &[u8]) -> Result<UnverifiedTransaction, transaction::Error> {
self.machine().decode_transaction(transaction)
}