Use read only LedgerTxn
stellar-core is the reference implementation for the peer to peer agent that manages the Stellar network
Brought to you by:
liefstorer
Originally created by: sisuresh
Resolves https://github.com/stellar/stellar-core/issues/3716
clang-format v8.0.0 (via make format or the Visual Studio extension)
Originally posted by: dmkozh
Given that this PR is really small, I think we don't need to block it on my changes. Also some of ltxs are also used for something else besides the config getter. But if we're going to do a larger scale refactoring, then I'd say let's wait for my changes.
Originally posted by: sisuresh
Yeah we can hold off on this and any refactoring since it's just a perf change and not high priority. I had a few minutes before standup so decided to do this, but we have other issues that are higher priority so we shouldn't be spending more time on this.