Prepared infrastructure to support safe side effect predictions when
creating forward- and backward transactions.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>