Deposit recognition

hello everyone,

i am trying to figure out how xcp deals with double-spends and multiple deposits from various sources:

assuming i would only like to acknowledge deposits after 3 confirmations have been received, how would i go about it?

what is the best way to acknowledge a distinct deposit to my addresses? is it accomplished by means of going through each of the [font=verdana]addresses [/font]and getting their balance, or is there a way i can [font=Verdana]differentiate[/font][font=Verdana] [/font]between different deposits made to my addresses, in a similar way to that used in bitcoind’s native function ‘listtransactions’ or ‘listsinceblock’?