Research Article
CL-BC: A Secure Data Storage Model for Social Networks
| Input: ASK | | Output: DecisionResult | (1) | def ← ASK; | (2) | if ← True; | (3) | Stored TradPool(); | (4) | if Add ∈ ACL then | (5) | Resp ← Auth(); | (6) | if Resp = = “YES” then | (7) | return string(“Store successful!”); | (8) | Broadcast event UpdateWorldState(); | (9) | {} ← {} − ; | (10) | else if Resp = = “NO” then | (11) | return string(“The request failed.”); | (12) | else return string(“No response!”); | (13) | end if; | (14) else then | (15) | return string(“ERROR”); | (16) | end if; |
|