Frequency User Data
On Frequency, User Data and select Announcements are mapped to Schemas which use Stateful Storage for storage and retrieval of the data.
User Data Sets
|User Data Set||Schema Id Mainnet||Schema Id Rococo||Frequency Model Type||Frequency Payload Location||Settings|
Pseudonymous Relationship Identifiers (PRIds) are stored along side Private Connections in the same Stateful Storage page.
Source code for each schema is located in the LibertyDSNP/schemas repository.
|Announcement||Schema Id Mainnet||Schema Id Rococo||Frequency Model Type||Frequency Payload Location||Settings|
|Public Key||TBD||7 (v1.3.0+)||Append Only, Signature Required|
Read Operation Mapping
Stateful data is retrieved via state queries (
pallet.stateQuery) or RPC calls (
|Model Type||DSNP Properties||Query/Call|
|Paginated||Entity Tag, Chunked|
Write Operation Mapping
Write operations are via Transactions (also called Extrinsics):
|Itemized||Insert, Update, Delete|
Frequency requires the hash of current state for any Stateful Storage change.