pinClass enum
Node Pin Policy ($PIN)
What an SDN node keeps pinned in its IPFS blockstore. A pin keeps bytes out of IPFS garbage collection and lets other peers fetch them from the node by CID. Pinning is separate from storage: the node's own store keeps and serves its records and files by CID whether or not they are pinned.
The node's own $EPM and its account $EPMs are always pinned. Every other class is off until an operator turns it on. A rule names a class and, optionally, one feed within it; a feed rule overrides its class rule.
The node answers with its whole policy and what each rule holds. A client changes rules by sending a $PIN whose RULES carry only the rules to change (CLASS, FEED, ENABLED). The node applies them, pins or unpins the content they cover, and answers with its whole policy. What a pin holds. Append new values only; never reorder or reuse values.
Values
- NODE_EPM → const pinClass
-
const pinClass(0) - ACCOUNT_EPM → const pinClass
-
const pinClass(1) - PUBLICATION → const pinClass
-
const pinClass(2) - SHARE → const pinClass
-
const pinClass(3) - FLOW_ASSET → const pinClass
-
const pinClass(4) - TIP → const pinClass
-
const pinClass(5) - STOREFRONT → const pinClass
-
const pinClass(6) - ASSET_MODEL → const pinClass
-
const pinClass(7) - SITE_ASSET → const pinClass
-
const pinClass(8) - PROFILE_PHOTO → const pinClass
-
const pinClass(9)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited