Skip to content

Release: develop -> main#3348

Merged
TaprootFreak merged 4 commits intomainfrom
develop
Mar 4, 2026
Merged

Release: develop -> main#3348
TaprootFreak merged 4 commits intomainfrom
develop

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Mar 4, 2026

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

* feat: buy on Spark

* chore: refactoring

* fix: format
Yannick1712 and others added 3 commits March 4, 2026 12:09
* fix: filter payout-sent BuyCrypto from pending balance log

Exclude BuyCrypto entries from pending obligations when their
PayoutOrder is already in PAYOUT_PENDING or COMPLETE status,
preventing double-counting that caused negative totalBalance.

* perf: scope payout query to last hour to avoid loading 86k rows

Rename to getRecentPayoutSentCorrelationIds and add MoreThan(1h)
filter. The race condition window is ~20min max, so 1h is sufficient.
Reduce memory footprint to prevent swap thrashing on 3.8GB VM
running 5 blockchain containers:

firo.conf:
- dbcache: 512 → 256 MB (saves ~256 MB)
- maxmempool: 300 → 100 MB (saves ~200 MB)
- mempoolexpiry: 72 → 24 hours
- maxorphantx: 100 → 10 (reduces cs_main lock hold time)
- rpcworkqueue: 32 → 64 (more buffer before RPC rejection)
- maxsendbuffer/maxreceivebuffer: reduced per-connection buffers

docker-compose-firo.yml:
- Add 2048M memory limit / 1024M reservation
- Healthcheck: getblockcount instead of getblockchaininfo (lighter)
- Healthcheck interval: 30s → 120s, timeout: 60s → 10s, retries: 10 → 3
@TaprootFreak TaprootFreak merged commit ae4c690 into main Mar 4, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants