Skip to main content
. 2021 Oct 13;21(20):6814. doi: 10.3390/s21206814
Algorithm 1 Blockchain-based distributed ledger data gathering.
Require:e = Entity, R = Blockchain-based distributed ledger registrations
Ensure: R^ = Registrations related to entity e
  • 1:
    procedure getEntityRegistrations(e, R)
  • 2:
        for each r in R do
  • 3:
            igetEntityGUID(r)
  • 4:
            if i(e)==e^ then
  • 5:
               R^r(e)
  • 6:
            end if
  • 7:
        end for
  • 8:
        return R^
  • 9:
    end procedure