mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-15 12:50:15 +02:00
In this commit, we update the batch schedular so that it has the ability to do read-only calls. It will do a best effort attempt at keeping a transaction in read-only mode and then if any requests get added to a batch that require a read-write tx, then the entire batch's tx will be upgraded to use a read-write tx. |
||
|---|---|---|
| .. | ||
| batch.go | ||
| batch_test.go | ||
| interface.go | ||
| kvdb.go | ||
| scheduler.go | ||