public synchronized int incrementDepthInBlocks(){
  return ++this.depth;
}

public synchronized int incrementDepthInBlocks ( ) { return ++ this . depth ; }
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 .
