mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Utilize a sync.Pool for *big.Int instances in CryptoRandIntn to avoid frequent heap allocations. This significantly reduces garbage collection pressure when randomizing timestamps, amounts, and fees inside loops (e.g. iterating over forwarding history responses). |
||
|---|---|---|
| .. | ||
| caveats.go | ||
| caveats_test.go | ||
| config.go | ||
| log.go | ||
| privacy_mapper.go | ||
| privacy_mapper_test.go | ||
| request_info.go | ||
| request_logger.go | ||
| rule_enforcer.go | ||