Skip to content

Add accountBalanceIntervals field to TxBody #5503

@lehins

Description

@lehins

This is the CDDL from the CIP that describes the intervals. We need a new field and lenses in Dijkstra for accountBalanceIntervalsTxBodyL

account_balance_intervals = 
  { + reward_account => 
        [ inclusive_lower_bound: coin, exclusive_upper_bound: coin / null ]  /
        [ inclusive_lower_bound: coin / null, exclusive_upper_bound: coin ] 
  }

transaction_body = 
  {   0  : set<transaction_input>         
  ,   1  : [* transaction_output]      
  ...
  , ? 23 : direct_deposits ; new field
  , ? 24 : account_balance_intervals ; new field
  }

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions