central-ledger
central-ledger copied to clipboard
feat: fx and interscheme implementation
Changes:
- Currency Conversion (FX)
- Database changes (knex migrations) for FX
- Updated prepare and position handlers to support FX kafka messages
- Updated timeout handler to timeout dependent transfers incase of FX
- Implemented batch mode for the timeout and abort position messages along with FX actions
- Interscheme
- Proxy cache implementation using redis
- Parameterize switch id
- Extend admin api to support proxy participants
- Added new transfer internal state (RESERVED_FORWARDED) to support interscheme
- Adjusted position handler implementation for proxied participants
- Adjusted validations in prepare handler to support proxied participants
- Performance optimisations