MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / BalanceTracker

Struct BalanceTracker

model/balance.go:85–89  ·  view source on GitHub ↗

BalanceTracker tracks in-memory balance state and access frequency for hot-path optimization.

Source from the content-addressed store, hash-verified

83
84// BalanceTracker tracks in-memory balance state and access frequency for hot-path optimization.
85type BalanceTracker struct {
86 Balances map[string]*Balance
87 Frequencies map[string]int
88 Mutex sync.Mutex
89}
90
91// AlertCondition specifies the field, operator, value, and precision for a balance monitor alert threshold.
92type AlertCondition struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected