Research Article

A Caching-Enabled Permissioned Blockchain Scheme for Industrial Internet of Things Based on Deep Reinforcement Learning

Algorithm 2

Insert block body.
Require: Target block number , Blockchain , State Database
1:  the VariationSet of the header
2: for each transaction in the body do
3:  for each affected key-value pair indo
4:   ifanddeletethen
5:    
6: Insert into