stellar-core
stellar-core copied to clipboard
Make `getledgerentry` Endpoint Async
Now that validators default to the thread-safe BucketListDB backend, we should be able to turn getledgerentry into a high throughput asynchronous endpoint that does not affect the nodes ability to stay in sync with the network. This will open the door to more efficient downstream systems that can query ledger state directly via core.
### Tasks
- [x] Create testing framework for `getledgerentry` endpoint performance
- [x] Make `getledgerentry` endpoint async
- [x] Allow `getledgerentry` to service queries for up to 5 ledgers worth of historical snapshots
- [x] Investiage more performant server implementations
- [ ] Make `getledgerentry` batch load