anchor.diff:  -module(aeu_requests).
   
   %% API
  --export([ping/2,
  -         top/1,
  +-export([top/1,
            get_header_by_hash/2,
  -         get_n_successors/3,
            get_header_by_height/2,
            get_block_by_height/2,
            get_block/2,
  
positive.code:             lager:debug("unexpected response (~p): ~p", [Uri, Response]),
              {error, unexpected_response}
      end.
  
  
  
  -spec get_block_by_height(http_uri_uri(), non_neg_integer()) -> response(aec_headers:header()).
  get_block_by_height(Uri, Height) when is_integer(Height) ->
  
negative.code: 
  -type response(Type) :: {ok, Type} | {error, string()}.
  
  -spec top(http_uri_uri()) -> response(aec_headers:header()).
  top(Uri) ->
      Response = process_request(Uri, 'GetTop', []),
  