Ported AbstractBlockChainListener, BlockChainListener, PeerEventListener
mvn test passed.