Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Proof of Scan concensus and mining rules #2

Closed
3Dpass opened this issue Mar 2, 2022 · 1 comment
Closed

Implement Proof of Scan concensus and mining rules #2

3Dpass opened this issue Mar 2, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@3Dpass
Copy link
Collaborator

3Dpass commented Mar 2, 2022

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 3Dpass added the enhancement New feature or request label Mar 2, 2022
@3Dpass 3Dpass added this to the Official launch testnet milestone Mar 2, 2022
@3Dpass
Copy link
Collaborator Author

3Dpass commented May 24, 2022

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

@3Dpass 3Dpass closed this as completed May 24, 2022
mishk pushed a commit that referenced this issue Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant