Skip to content

Draft: Msobczyk/display authority tree in tui

Dan Notestein requested to merge msobczyk/display-authority-tree-in-tui into develop

I created this MR so we could discuss design. After reviewing class names/structure, I'd prefer names based off my earlier proposal:

KeyWeight:
  public_key:
  weight: int

AuthorityWeight:
  role: str
  account: str
  weight: int
  
AccountAuthority:
  account: str
  role: str           //e.g. owner, active, posting, etc
  key_weights: set of KeyWeight
  authority_weights: set of AuthorityWeight
  required_total_weight : int
  
  
profile:
  set of AccountAuthority   //contructed from watched accounts
Edited by Dan Notestein

Merge request reports

Loading