Skip to content

Commit

Permalink
Disable download of pending transaction dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Oct 2, 2014
1 parent 6d6ce57 commit 09b3209
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ private void check()

log.info("starting peergroup");
peerGroup = new PeerGroup(Constants.NETWORK_PARAMETERS, blockChain);
peerGroup.setDownloadTxDependencies(false); // recursive implementation causes StackOverflowError
peerGroup.addWallet(wallet);
peerGroup.setUserAgent(Constants.USER_AGENT, application.packageInfo().versionName);
peerGroup.addEventListener(peerConnectivityListener);
Expand Down

0 comments on commit 09b3209

Please sign in to comment.