3Dpass / 3DP

The Implementation of The Ledger of Things Node. Layer 1 decentralized blockchain platform for the tokenization of objects. Proof of Scan protocol. Useful smart-contracts and dApps.
https://3dpass.org/
GNU General Public License v3.0
23 stars 17 forks source link

Implement Proof of Scan concensus and mining rules #2

Closed 3Dpass closed 2 years ago

3Dpass commented 2 years ago

Motivation

According to the White Paper, we have to implement the Proof of Scan consensus and mining rules into the NODE.

Suggested Solution

Here is the rules:

  1. New block time: 1 block per 6 seconds
  2. Each 243000 blocks there is a difficulty step up involving “+0” requirement to be added at the front of HASH IDs. So, in order to create a new block after “climbing” over the step and get rewarded, someone has to pick up a unique 3D object (or just its 3D model) the Hash ID of which would include one more zero at the front. HASH ID example, from the genesis bloc to bloc number 243000: “090ae6b23e2192fa4c2fb40cddad6e8537e2b437c49ff9fb227cf32c4e4085fc”;

from block number 243001 to 486000: “008cfda2b4811bf2ff1fe3ab92b38e64fc134d98c3dc8764eb8641a477b77a47”,

from block number 3402001 to 3645000: “00000000000000f2ff1fe3abr6bt8e64fc134d98c3dc8764eb8641aff7b7sa4f”, etc.

Note that neither of these rules touches the objects published not in the reason of getting mining rewards. So, miners have to strict the rules but the other users don’t. They might publish any objects they want, of course, being charged 3DP for the validation service.
Ones new block is produced it’s getting waited for confirmations from validators. The block reaches maturity according to GRANDPA protocol.

Alternatives

No alternatives

Additional Information

See more details in White Paper

3Dpass commented 2 years ago

Proof of Scan consensus has been implemented: https://github.com/3Dpass/3DP/tree/dev/consensus/poscan Difficulty steps are going to be implemented further.