Research Article
SESCF: A Secure and Efficient Supply Chain Framework via Blockchain-Based Smart Contracts
(1) | trace: scans the RFID tag of the goods | (2) | inputs Gid and id_set | (3) | total := id_set.length +1 | (4) | num = 0 | (5) | for tx.Txtype = txstop and num = total do | (6) | if Gid = .Gid or id_set.id = .Gid then | (7) | send tx to | (8) | num++ | (9) | end if | (10) | end for |
|