Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown-core crown-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown-corecrown-core
  • Issues
  • #154

Closed
Open
Created Apr 02, 2018 by Artem B@artemOwner2 of 2 tasks completed2/2 tasks

Pay budget payments in one block

Motivation

When miners don't agree which nodes to pay it might end up with different miners pay using different finalized budgets. In this case we may have missed budgets and double paid budgets. Another issue here is that during the superblock payments miners don't pay MNs and SNs so we'll have just one block missing MNs and SNs.

Proposal

Implement superblock payments in one block. In general atomic operation is more stable and predictable.

Development plan

  • Try to create unit test for CBudgetManager::FillBlockPayee()
  • Modify CBudgetManager::FillBlockPayee() and CFinalziedBudget::IsTransactionValid() to make payments in a single block
Edited May 03, 2018 by Volodymyr Shamray
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking