swarm icon indicating copy to clipboard operation
swarm copied to clipboard

Use batch writes in swap for where applicable

Open ralph-pichler opened this issue 4 years ago • 0 comments

At many points in Swap we need to set multiple database entries at the same time (e.g. setting a cheque as last received and adjusting the balance). We should do this in a single write to ensure inconsistencies cannot occur on the database level.

ralph-pichler avatar Mar 04 '20 09:03 ralph-pichler