Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 813 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 813 Bytes

cyberbank

Abstract

The cyberbank module is the module that wraps the original Cosmos-SDK's bank module while providing extra functionality:

  1. tracks of neuron's VOLTs balance change for bandwidth module to adjust neuron's personal bandwidth
  2. keeps two in-memory indexes of AMPEREs balances for the rank module (one index for last calculation and one for the next one)
  3. tracking of routed to neurons resources (VOLTs and AMPEREs) from energy module

Note: cyberbank wrapper keep all his state completely in-memory and not introduce any new modification to application storage

Contents

  1. Concepts
  2. State
  3. State Transitions