Research Article

Temporal Index Scheme of Hyperledger Fabric System in IoT

Algorithm 2

TISD query .
Input: key , time interval
Output: list of events
1: 
2: Get current
3: for has next do
4:  if is Join or Inclusion then
5:   Append to
6:  end if
7: end for
8: fordo
9:  
10:  for res has next do
11:   Timeporal Join with
12:   Delete event not in
13:   Add events in time interval to Events
14:  end for
15: end for
16: return Events