anchor.diff:  %% 	  state: state of the transaction: {active|prepared|committing|committed}
   %%----------------------------------------------------------------------
   -record(state, {
  -                from :: pid(),
  -                txid :: #tx_id{},
  -                operations :: list,
  -                updated_partitions :: list, 
  -                currentOp = undefined :: term() | undefined,
  -                num_to_ack :: int, 
  -                currentOpLeader :: riak_core_apl:preflist2(),
  -				prepare_time :: int,	
  -				commit_time ::int,
  -				read_set :: list,
  -				state}).
  +          from :: pid(),
  +          txid :: #tx_id{},
  +          operations :: list,
  +          updated_partitions :: list, 
  +          currentOp = undefined :: term() | undefined,
  +          num_to_ack :: int, 
  +          currentOpLeader :: riak_core_apl:preflist2(),
  +          prepare_time :: int,	
  +          commit_time ::int,
  +          read_set :: list,
  +          state}).
   
   %%%===================================================================
   %%% API
  
positive.code:     gen_fsm:start_link(?MODULE, [From, ClientClock, Operations], []).
  
  finishOp(From, Key,Result) ->
     gen_fsm:send_event(From, {Key, Result}).
     
  %%%===================================================================
  %%% States
  %%%===================================================================
  
negative.code: %%		starting this transaction has seen, and
  %%	2. 	machine's local time, as returned by erlang:now(). 	
  get_snapshot_time(ClientClock) ->
      {Megasecs, Secs, Microsecs}=erlang:now(), 
      case (ClientClock > {Megasecs, Secs, Microsecs - ?DELTA}) of 
          true->
              %% should we wait until the clock of this machine catches up with this value?
              {ClientMegasecs, ClientSecs, ClientMicrosecs}=ClientClock,
              SnapshotTime = {ClientMegasecs, ClientSecs, ClientMicrosecs + ?MIN};
  
          false ->
              SnapshotTime = {Megasecs, Secs, Microsecs - ?DELTA}
      end,
      {ok, SnapshotTime}.
  