anchor.diff:  
   %% @doc encode/1 callback. Encodes an outgoing response message.
   encode(Message) ->
  -    lager:info("encoding msg ~p", [Message]),
       {ok, riak_pb_codec:encode(Message)}.
   
   process(#apbstarttransaction{timestamp=BClock, properties = BProperties},
  
positive.code: %% For legion clients
  process(#apbgetobjects{boundobjects=BoundObjects},
          State) ->
      lager:info("blah2222 ~p", [BoundObjects]),
      Objects = lists:map(fun(O) ->
                                  antidote_pb_codec:decode(bound_object, O) end,
                          BoundObjects),
  
negative.code:     end;
  process(#apbgetlogoperations{timestamp=BClock,boundobjects=BoundObjects},
          State) ->
      Clock = binary_to_term(BClock),
      Objects = lists:map(fun(O) ->
                                  antidote_pb_codec:decode(bound_object, O) end,
  