private void updateMonitorBlock() throws ZetacoinException {
        monitorBlock = lastBlock;
        for(int i = 0; i < monitorDepth && monitorBlock != null; i++) {
            Zetacoin.Block b = zetacoin.getBlock(monitorBlock);
            monitorBlock = b == null ? null : b.previousHash();
        }
    }