TEPHRA-3 Switch tx write pointer to increment prior to assignment

Switches transaction write pointer generation to happen at the start of a request.  This ensures that generated transaction write pointers reflect the current timestamp, fixes issues with resetting the transaction state, and cleans up some unnecessary tracking of the next write pointer.
do we need currentTime? "-1" would be simpler, no?