Layr8.Delegated.Reading (layr8 v0.3.3)

Copy Markdown View Source

What one join learned about the parent's wallet.

  • :complete — it was read and every grant in it was delegated. credentials is the whole answer, and [] here is the measured statement that the parent holds no grants.
  • :partial — it was read and at least one grant could not be delegated. credentials holds the rest, and there is authority the parent has that this connection will never get. The node's log says why.
  • :unread — it could not be read at all. credentials is [] and that [] measures nothing.

Summary

Types

status()

@type status() :: :complete | :partial | :unread

t()

@type t() :: %Layr8.Delegated.Reading{
  credentials: [Layr8.Delegated.Credential.t()],
  status: status()
}