anchor.diff:              %% In the future, we will handle this using msg_delay for
               %% outstanding txids to trigger a delete of the items.
       end,
  -    State;
  +    NewState;
   
   %% generated by on(register_TP) via msg_delay to not increase memory
   %% footprint
  
positive.code:                                 LocalItem
                          end,
                NewItem = tx_item_state:set_status(TmpItem, ok),
                _ = my_set_entry(NewItem, State),
                NewItem
            end || Entry <- ItemStates],
  
      %% initiate local paxos acceptors (with received paxos_ids)
      Learners = tx_state:get_learners(TxState),
      LAcceptor = state_get_lacceptor(State),
      _ = [ [ acceptor:start_paxosid_local(LAcceptor, PaxId, Learners)
          || {PaxId, _RTlog, _TP}
                 <- tx_item_state:get_paxosids_rtlogs_tps(ItemState) ]
  
negative.code: state_get_lacceptor(State)     -> element(4, State).
  -spec state_get_gllearner(state() | state_uninit()) -> comm:mypid().
  state_get_gllearner(State) -> element(5, State).
  -spec state_get_subs(state()) -> [{comm:mypid(), non_neg_integer()}].
  state_get_subs(State)          -> element(6, State).
  -spec state_set_subs(state(), [{comm:mypid(), non_neg_integer()}]) -> state().
  state_set_subs(State, Val)          -> setelement(6, State, Val).
  -spec state_get_qmsg(state_uninit()) -> msg_queue:msg_queue().
  state_get_qmsg(State)          -> element(7, State).
  -spec state_set_qmsg(state_uninit(), msg_queue:msg_queue()) -> state_uninit().
  