@Override
    public boolean add(FilteredBlock block) throws VerificationException, PrunedException {
        boolean success = super.add(block);
        if (success) {
            trackFilteredTransactions(block.getTransactionCount());
        }
        return success;
    }
@Test
    public void receiveCoins() throws Exception {
        Context.propagate(new Context(100, Coin.ZERO, false, true));
        int height = 1;
        // Quick check that we can actually receive coins.
        Transaction tx1 = createFakeTx(TESTNET.network(),
                                       COIN,
                                       testNetWallet.currentReceiveKey().toAddress(ScriptType.P2PKH, BitcoinNetwork.TESTNET));
        Block b1 = createFakeBlock(testNetStore, height, tx1).block;
        testNetChain.add(b1);
        assertTrue(testNetWallet.getBalance().signum() > 0);
    }