coinbase / mesh-specifications

Specification files for the Mesh Blockchain Standard
Apache License 2.0
327 stars 93 forks source link

Support Account Balance Tracking "Exemptions" #57

Closed patrick-ogrady closed 4 years ago

patrick-ogrady commented 4 years ago

Fixes: #53

This PR adds support for "exempting" account balances identified by a certain SubAccount.Identifier or Currency from strict balance tracking (instead subjecting them to tracking that reflects the specified ExemptionType). In other words, it is now possible to specify which account balances may change without corresponding operations (i.e. staking rewards, vesting balances, tokens with dynamic supply).

BalanceExemptions should be used sparingly as they may introduce significant complexity for integrators that attempt to reconcile (compare computed balance with live balance) the balance of accounts they care about.

heimdall-asguard commented 4 years ago

If Heimdall is stuck, please click the following link: https://heimdall-public.cbhq.net/v1/pull_request/stuck?pr_number=57&repository=coinbase/rosetta-specifications