Error connecting BitcoinJ client to Multichain

0 votes

I tried to connect BitcoinJ to Multichain, it showed the following error :

11:34:40 20 PeerGroup$7.run: Starting ...
11:34:40 20 PeerGroup$5.go: Localhost peer detected, trying to use it instead of P2P discovery
11:34:40 20 PeerGroup.connectTo: Attempting connection to [127.0.0.1]:8333     (0 connected, 1 pending, 0 max)
11:34:41 21 NioClientManager.handleKey: Successfully connected to /127.0.0.1:8333
11:34:41 21 Peer.connectionOpened: Announcing to /127.0.0.1:8333 as: /bitcoinj:0.14-SNAPSHOT/Prachakij_Wallet:1.0/
11:34:41 21 Peer.processVersionMessage: Connected to 127.0.0.1: version=70002, subVer='/Satoshi:0.10.0/', services=0x1, time=2016-04-25 11:34:41, blocks=436
11:34:41 21 PeerGroup.handleNewPeer: [127.0.0.1]:8333: New peer      (1 connected, 0 pending, 1 max)
11:34:41 21 PeerGroup.setDownloadPeer: Setting download peer: [127.0.0.1]:8333
11:34:41 21 DownloadProgressTracker.startDownload: Downloading block chain of size 240.
11:34:41 21 Peer.processMessage: [127.0.0.1]:8333: Received unhandled message: org.bitcoinj.core.GetAddrMessage@5f03bcd2
11:34:41 21 AbstractBlockChain.add: Block does not connect: 00002b83d7a967cd1897edb2c63ec561579b0142fe53bbbbe7691e7d160b3833 prev 00edb9ee9ccd424ea5a5683e89f419d3bce9eee8ef21f94f26cb7dd133a40abe
11:34:41 21 AbstractBlockChain.add: Block does not connect: 000068f7c1d122ef409da58f57a1e71609977a78d33e7586a36cf7957253c757 prev 00002b83d7a967cd1897edb2c63ec561579b0142fe53bbbbe7691e7d160b3833
11:34:41 21 Peer.blockChainDownloadLocked: blockChainDownloadLocked(00002b83d7a967cd1897edb2c63ec561579b0142fe53bbbbe7691e7d160b3833): ignoring duplicated request: 0000bc237efd32b3e50e24e009f79aa82818ec8875497884228e6e1855a399b4

 

11:25:05 21 AbstractBlockChain.add: Block does not connect: 000033d25e77bec07a6a3a7854910159714c69b3709052bed6e5bce7998d45ea prev 000086961a935a38bdf0507442c71785ab371aafae469908807c55d1ef94f96d
11:25:05 21 Peer.blockChainDownloadLocked: blockChainDownloadLocked(00002b83d7a967cd1897edb2c63ec561579b0142fe53bbbbe7691e7d160b3833): ignoring duplicated request: 0000bc237efd32b3e50e24e009f79aa82818ec8875497884228e6e1855a399b4
11:25:05 21 Peer.blockChainDownloadLocked: java.lang.Throwable
    at org.bitcoinj.core.Peer.blockChainDownloadLocked(Peer.java:1346)
    at org.bitcoinj.core.Peer.endFilteredBlock(Peer.java:1013)
    at org.bitcoinj.core.Peer.processMessage(Peer.java:388)
    at org.bitcoinj.core.PeerSocketHandler.receiveBytes(PeerSocketHandler.java:182)
    at org.bitcoinj.net.ConnectionHandler.handleKey(ConnectionHandler.java:223)
    at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:86)
    at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122)
    at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:60)
    at com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
    at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:35)
    at java.lang.Thread.run(Thread.java:745)
 

asked Apr 25, 2016 by suppas55

1 Answer

0 votes
BitcoinJ does not support MultiChain.  There is an experimental project which connects the BitcoinJ sample application to a MultiChain network, when the MultiChain network is configured to behave like the regular Bitcoin network. More here: https://github.com/MultiChain/sample-bitcoinj
answered Apr 26, 2016 by simon
...