Posts
How Validators and Storage Nodes will be Rewarded - Asking for Dev Feedback
25
@spknetwork
·0 views
2 min read
Join @starkerz and @disregardfiat in this conversation about validators and storage nodes.
Storage Contracts:
Example:
“QmXedNPCLxXxMrSkBjYgMaKy1uCmixiJ2LGdruLfeCsRgs”: {
Broca: 1000, //remaining? Can get pretty fuzzy here depending on how Broca is rewarded
Bytes: 1024000,
Expires: 70000000,
BrocaPerCheck: 50,
Author: “author-a”
Validator: “account-v”,
Storage-A: “account-a”,
Storage-B: “account-b”,
Storage-C: “account-c”,
}
Validator Example:
“account-v”: {
domain: "api.val.io",
self: from,
strikes: 0, //what bad actions?
branded: 100000, //larynx burned into account
Delegated: 100000,
Pingaverage: 500,
delegators: {
“delegator-a”: 100000
},
contracts: {
“QmXedNPCLxXxMrSkBjYgMaKy1uCmixiJ2LGdruLfeCsRgs”: 70000000
}, //not sure if needed here
PubKey: “STM6EUEaEywYoxpeVDX1fPDxrsyQLGTsgYf1LLDSHWwiKBdgRhGrx”,
}
Storage Example:
“account-a”: {
domain: "api.storage.io",
strikes: 0, //what bad actions?
branded: 100000, //larynx burned into account
Bytes_total: 1024000000
Delegated: 100000,
delegators: {
“delegator-a”: 100000
},
contracts: {
“QmXedNPCLxXxMrSkBjYgMaKy1uCmixiJ2LGdruLfeCsRgs”: 1024000
},
PubKey: “STM6EUEaEywYoxpeVDX1fPDxrsyQLGTsgYf1LLDSHWwiKBdgRhGrx”,
}
Contract/functions:
Add Validator:
Builds “account-v” with larynx. Add Brand: Burns more larynx into an account, to mine for SPK
Add Storage Node:
Bundle: { //from validator node with new files to store
“QmXedNPCLxXxMrSkBjYgMaKy1uCmixiJ2LGdruLfeCsRgs”: 1024000
“Author”: “author-a”
}
Report: {
Checks: {
“QmXedNPCLxXxMrSkBjYgMaKy1uCmixiJ2LGdruLfeCsRgs”:{
“Storage-a”: 750,
“Storage-b”: 500,
“Storage-c”: OFFLINE,
},
…
},
OldSecret: mysecret.
NewSecrets:{
A: “#mysecret”
B: “#mysecret”
}
Vote for our Witness:
About the SPK Network:
The SPK Network is a decentralized Web 3.0 protocol that rewards value creators and infrastructure providers appropriately and autonomously by distributing reward tokens so that every user, creator, and platform, will be able to earn rewards on a level playing field.
-
Our Website: https://spk.network/
-
Telegram Group: https://t.me/spknetwork
-
Discord Server: https://discord.gg/JbhQ7dREsP
▶️ 3Speak