Skip to content

Penalty-on-offline #41

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

Open
cocoyoon opened this issue Dec 21, 2023 · 0 comments · May be fixed by #55
Open

Penalty-on-offline #41

cocoyoon opened this issue Dec 21, 2023 · 0 comments · May be fixed by #55
Assignees
Labels
core infrablockchain-related feature new features

Comments

@cocoyoon
Copy link
Contributor

cocoyoon commented Dec 21, 2023

Description

  • 세션 기간동안 한번도 블록 생성을 하지 않는 밸리데이터(SeedTrust + PoT) 패널티 부과

Problem

  • 투표 threshold를 만족하지 못하는 만큼의 Validator가 Offline 될 경우, 블록이 finalize 안되는 현상 발생
  • 이로 인해, 세션 기간동안 offline 상태(블록을 한번도 생성하지 않거나 heartbeat 실패)인 노드는 강도 높은 패널티 부과
  • 관련 pallet: `session, validator-election, im-online' 참고

Solution

  • KickedOutValidators 리스트 추가
    • Session 종료 시 KickedOutValidators 리스트 제거 및 Validator set 추가
  • im-online 미충족 validator는 KickedOutValidators 리스트 추가하고 Active Validator set에서 제거
  • 소명하는 extrinsic 추가: fn substantiate_to_validators(...))
    • Session 종료 시 KickedOutValidators 리스트 제거 및 Validator set 추가
@cocoyoon cocoyoon added core infrablockchain-related feature new features and removed enhancement labels Jan 5, 2024
@cocoyoon cocoyoon moved this to In Progress in bclabs-core-team Jan 5, 2024
@energyGiver energyGiver linked a pull request Mar 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core infrablockchain-related feature new features
Projects
No open projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants