question: public synchronized int incrementDepthInBlocks ( ) { return ++ this . depth ; }
target:  Called by the wallet when the tx appears on the best chain and a new block is added to the top. Updates the internal counter that tracks how deeply buried the block is.