Research Article

Antitampering Scheme of Evidence Transfer Information in Judicial System Based on Blockchain

Algorithm 3

Chaincode of evidence transfer record query.
Input://ID of the evidence being queried
    inf//the concrete information of that the querier wants to query
Output: the queried information or false
(1)ifthen
(2)  if’s field then
(3)   return
(4)  else
(5)   search the local ledger with ;
(6)   return information inf related to evidence ;
(7)  end if
(8) else
(9)  return No information was found.
(10)end if