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

[blockchain] consensus service #723

Open
zeroFruit opened this issue Aug 20, 2018 · 2 comments
Open

[blockchain] consensus service #723

zeroFruit opened this issue Aug 20, 2018 · 2 comments

Comments

@zeroFruit
Copy link
Member

zeroFruit commented Aug 20, 2018

block이 create되면 consensus 컴포넌트로 커멘드를 날리는 부분이 필요합니다.

  • eng
    When block is created, that block should sent to Consensus component using command.
@AgwaB
Copy link
Contributor

AgwaB commented Sep 5, 2018

현재 txpool 컴포넌트에서 block을 propose하면 block.propose call을 날려서 block_propose_command_handler 안에서 처리를 하게 됩니다. 근데 created 상태가 아닌 HandleProposeBlockCommand 함수 내에서 CommitProposeBlock으로 commit을 해버리는데 임시적으로 해놓은 건가요?

@zeroFruit
Copy link
Member Author

@leesd556
solo mode일땐 같이 합의 해줄 다른 노드들이 없기 때문에 바로 커밋합니다.
multi mode일때 블럭을 create한 후 consensus service를 통해 consensus component로 보냅니다.

AgwaB added a commit to AgwaB/engine that referenced this issue Sep 8, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 8, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 10, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 10, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 11, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
AgwaB added a commit to AgwaB/engine that referenced this issue Sep 15, 2018
junbeomlee pushed a commit that referenced this issue Sep 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants