The android app actually crashes when it does not run in trusted peer mode. The reason for this is located in
// /core/src/main/java/com/google/bitcoin/core/PeerGroup.java
Add a trusted peer for example 93.186.200.79
4 Disable connections to other peers despite the trusted peer.
Enable internet on the phone again
Quick workaround inside of the source code is:
// /wallet/src/de/schildbach/wallet/WalletApplication.java
public int maxConnectedPeers()
{
final int memoryClass = activityManager.getMemoryClass();
if (memoryClass <= Constants.MEMORY_CLASS_LOWEND)
return 1; // was 4
else
return 1; // was 6
}
The android app actually crashes when it does not run in trusted peer mode. The reason for this is located in // /core/src/main/java/com/google/bitcoin/core/PeerGroup.java
if (numPeers < getMaxConnections()) { lock.lock(); try { try { connectToAnyPeer();
which under special circumstances can cause this.
Quick workaround for phone users would be:
Quick workaround inside of the source code is: // /wallet/src/de/schildbach/wallet/WalletApplication.java public int maxConnectedPeers() { final int memoryClass = activityManager.getMemoryClass(); if (memoryClass <= Constants.MEMORY_CLASS_LOWEND) return 1; // was 4 else return 1; // was 6 }
Will fix that soon and update the repository.