# Function pallet_transaction_storage::pallet::dispatchables::check_proof

source · `pub fn check_proof<T: Config>(proof: TransactionStorageProof)`

## Expand description

Check storage proof for block number `block_number() - StoragePeriod`

.
If such block does not exist the proof is expected to be `None`

.

### §Complexity

- Linear w.r.t the number of indexed transactions in the proved block for random probing. There’s a DB read for each transaction.

## §Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
`Pallet::check_proof`

.