Skip to content

Make getledgerentry Endpoint Async #4306

@SirTyson

Description

@SirTyson

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions