anchor.diff:                                   passive=Passive,
                                    connections=Connections}
               end,
  +
  +    lager:info("Node ~p active view: ~p",
  +               [Myself, members(State#state.active)]),
   
       {noreply, State};
   
  
positive.code:     sets:to_list(Active);
  decode(Active) ->
      sets:to_list(Active).
  
  %%%===================================================================
  %%% gen_server callbacks
  
negative.code:                                            epoch=Epoch}=State) ->
      {reply, {ok, {state, Active, Epoch}}, State};
  
  handle_call(connections, _From,
              #state{myself=Myself,
                     connections=Connections,
                     active=Active}=State) ->
      %% get a list of all the client connections to the various peers of the active view
      Cs = lists:map(fun(Peer) ->
                      {ok, Pids} = partisan_peer_service_connections:find(Peer, Connections),
                      lager:info("peer ~p connection pids: ~p",
                                 [Peer, Pids]),
                      {Peer, Pids}
                     end, members(Active) -- [Myself]),
      {reply, {ok, Cs}, State};
  
  handle_call(Msg, _From, State) ->
      lager:warning("Unhandled messages: ~p", [Msg]),
      {reply, ok, State}.
  