Skip to content

How to sign the stateroot? #1526

@Tommo-L

Description

@Tommo-L

Q1: Should stateroot be part of core or plugin?

As we discussed at last night meeting, most people agreed that It should be part of the core to ensure the data consistency of the all cn nodes.

Q2: Which method should we use to sign state root?

This is still under discussion, there are some options:

  • Option A: Using the consensus message, binding stateroot and proposal block to complete the signature.
  • Option B: The cn node just broadcasts its own stateroot signature directly.
  • Option C: Using the stateroot contract, the consensus node which send the proposal block, add a stateroot transaction in the proposal block, just like the MinerTransaction in neo2.x
  • Option D: Add stateroot in header

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionUsed in questions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions