anchor.diff:  
   check_interest(Identifier) ->
   	gen_server:call(?MODULE, {check_interest, Identifier}).
  +
  +check_transaction(TxID) ->
  +	gen_server:call(?MODULE, {check_transaction, TxID}).
   
   add_wallet_transaction(Identifier, Type, Index, Tx) ->
   	gen_server:call(?MODULE, {add_wallet_transaction, Identifier, Type, Index, Tx}).
  
positive.code: 	end.
  	
  %%handle an outbound transaction (something that came from a TxIn)
  addWalletTransaction(Identifier, out, Index, #tx{} = Tx) ->
  	TxIn = lists:nth(Tx#tx.tx_in, Index+1),
  
  	case getWalletTransaction(TxIn#tx_in.previous_output) of
  
negative.code: 	Reply = checkInterest(Identifier),
  	{reply, Reply, State};
  
  handle_call({check_transaction, TxID}, _From, State) ->
  	Reply = checkTransactionInterest(TxID),
  	{reply, Reply, State};
  
  
  handle_call({add_wallet_transaction, Identifier, Type, Index, Tx}, _From, State) ->
  	Reply = addWalletTransaction(Identifier, Type, Index, Tx),
  	{reply, Reply, State};
  