Look into using read only LedgerTxns for the LedgerTxns that were introduced...
stellar-core is the reference implementation for the peer to peer agent that manages the Stellar network
Brought to you by:
liefstorer
Originally posted by: marta-lokhova
I would suggest a broader audit of LedgerTxn usage in vNext outside of application phase. I'm seeing more recently added instances that should be switched to read-only:
https://github.com/stellar/stellar-core/blob/e38ee728dcc47deb7e4cc68b82ce43dbd5b321d1/src/overlay/OverlayManagerImpl.cpp#L1209
https://github.com/stellar/stellar-core/blob/e38ee728dcc47deb7e4cc68b82ce43dbd5b321d1/src/herder/TransactionQueue.cpp#L1339
https://github.com/stellar/stellar-core/blob/e38ee728dcc47deb7e4cc68b82ce43dbd5b321d1/src/herder/TransactionQueue.cpp#L1544