Skip to content

Conversation

@github-actions
Copy link

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

TaprootFreak and others added 2 commits January 20, 2026 10:34
- Add --anomalies flag to show invalid FinancialDataLog entries
- Add --balance flag to show recent total balance history
- Add --stats flag to show log statistics by system/subsystem
- Add --asset-history flag with Blockchain/Name lookup support
  (e.g. --asset-history Yapeal/EUR 10)
- Add --help flag with usage examples
- Use SQL Server JSON_VALUE for efficient balance queries
- Client-side jq parsing for asset-specific history
* fix: sync pending exchange transactions beyond 12h window

Exchange transactions (deposits/withdrawals) that remain in 'pending' status
for longer than 12 hours were never updated because the sync job only fetches
transactions from the last 12 hours (exchangeTxSyncLimit).

This adds a new job that runs every 30 minutes to check all pending
transactions and update their status by querying the exchange directly.

Changes:
- Add getDeposit() method to ExchangeService (mirrors existing getWithdraw)
- Add syncPendingTransactions() method to ExchangeTxService
- Add EXCHANGE_TX_PENDING_SYNC cron job (every 30 minutes)
- Scrypt is excluded as it handles pending status differently

* Refactor pending transaction sync for efficiency

Group pending transactions by exchange/type/currency and make one
API call per group instead of one call per transaction. This reduces
API calls significantly when multiple pending transactions exist.

Also removes unused getDeposit method (getDeposits is sufficient).

* fix: improved sync logic

---------

Co-authored-by: David May <david.leo.may@gmail.com>
TaprootFreak
TaprootFreak previously approved these changes Jan 20, 2026
* [NOTASK] Incorrect response kyc error

* [NOTASK] Renaming
davidleomay
davidleomay previously approved these changes Jan 20, 2026
* feat(support): extend compliance user details endpoint

- Add service methods for fetching user-related data by userData ID
- Add KycService.getStepsByUserData()
- Add BankDataService.getBankDatasByUserData()
- Add SellService.getSellsByUserDataId()
- Add TransactionService.getTransactionsByUserDataId()
- Extend UserDataSupportInfoDetails with kycSteps, users, bankDatas, buyRoutes, sellRoutes, transactions
- Add mock mode for azure storage to load dummy KYC files from filesystem
- Add KYC test data scripts for local development

* fix(scripts): use crypto module for secure random generation

- Replace Math.random() with crypto.randomUUID() and crypto.randomInt()
- Remove unused variables and functions from kyc-storage.js

* fix(scripts): remove remaining security issues

- Replace Math.random() with crypto.randomUUID() in kyc-testdata.js
- Remove unused fs and path imports from upload-kyc-files.js

* refactor(integration): remove unused AzureService

* refactor(integration): simplify AzureStorageService by removing unused fallback constants
@TaprootFreak TaprootFreak merged commit 1a3f9ee into main Jan 20, 2026
11 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.

5 participants