Research Article

Distributed Blockchain-Based Authentication and Authorization Protocol for Smart Grid

Algorithm 2

SendTransactions.
Input
OutputTrue or False
1:  =
2: ifthen
3:  returnFalse
4: else
5:  Table table = openTable();
6:  Entry entry = table.newEntry();
7:  ;
8:  ;
9:  ;
10:  ;
11:  ;
12:  returnTrue
13: end if