--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.
Hi Bobby,For the time being, if you want to support BTC, tBTC, BCH and tBTC, see: https://github.com/Stash-Crypto/bitcoincashj, which we are using for Stash Wallet.!Cheers
2018-05-05 16:56 GMT-06:00 Bobby_Bouche <syng...@gmail.com>:
https://github.com/bitcoinj-cash/bitcoinjthe bitcoinj cash version.its nearly an exact copy, but i dont know how to get the 2 blocks to sync in unision on 1 program. Do you have experience with this?
--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+u...@googlegroups.com.
so how do you instantiate the different addresses?
And is there one with litecoin and dash?
If you search the code for `getUseForkId()` you will find some "ifs" for the protocol implementation, like special transactiom signing (for replay protection) or connecting to the right nodes. But there are not so many differences, as you said both projects look like a mirror
--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.
package wallettemplate;
import org.bitcoinj.core.NetworkParameters;
import org.bitcoinj.kits.WalletAppKit;
import org.bitcoinj.params.TestNet3Params;
//import org.bitcoinj.params.BCCTestNet3Params;
import java.io.File;
public class TestHybrid {
//Bitcoin
public static NetworkParameters params = TestNet3Params.get();
public static WalletAppKit kit = new WalletAppKit(params, new File("."), "bitcoin");
//Bitcoin Cash
//public static NetworkParameters params1 = BCCTestNet3Params.get();
//public static WalletAppKit kit1 = new WalletAppKit(params1, new File("."), "bitcoincash");
public static void main(String[] args) {
kit.startAsync();
kit.awaitRunning();
System.out.println(kit.wallet().currentReceiveAddress().toString());
}
}
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.
Sorry Bobby,I meant `mvn clean package`(Check out the README.md file too)Run it inside the cloned repository.. or also check out the release tab in Github for source code downloading
2018-05-07 14:58 GMT-06:00 Bobby_Bouche <syng...@gmail.com>:
Where are you guys doing mvn clean install? In command prompt? Under build? I cant seem to find the jar...
On Monday, May 7, 2018 at 3:45:25 PM UTC-4, Jimmy Morales wrote:Make sure you are on the release-0.14 branch
--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+u...@googlegroups.com.
C:\Users\Syn\Desktop\Bitcoin Project\bitcoinj-cash-0.14>mvn clean package
[INFO] Scanning for projects...[INFO] Inspecting build with total of 5 modules...[INFO] Installing Nexus Staging features:[INFO] ... total of 5 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin[WARNING] The project cash.bitcoinj:bitcoinj-parent:pom:0.14-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html[INFO] ------------------------------------------------------------------------[INFO] Reactor Build Order:[INFO][INFO] bitcoinj Parent [pom][INFO] bitcoinj [jar][INFO] bitcoincashj Examples [jar][INFO] bitcoincashj Tools [jar][INFO] bitcoinj.cash Wallet-Template [jar][INFO][INFO] -------------------< cash.bitcoinj:bitcoinj-parent >--------------------[INFO] Building bitcoinj Parent 0.14-SNAPSHOT [1/5][INFO] --------------------------------[ pom ]---------------------------------[INFO][INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ bitcoinj-parent ---[INFO][INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ bitcoinj-parent ---[INFO][INFO] --------------------< cash.bitcoinj:bitcoinj-core >---------------------[INFO] Building bitcoinj 0.14-SNAPSHOT [2/5][INFO] --------------------------------[ jar ]---------------------------------[INFO][INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ bitcoinj-core ---[INFO] Deleting C:\Users\Syn\Desktop\Bitcoin Project\bitcoinj-cash-0.14\core\target[INFO][INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ bitcoinj-core ---[INFO][INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (pre-unit-test) @ bitcoinj-core ---[INFO] surefireArgLine set to "-javaagent:C:\\Users\\Syn\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.5.201505241946\\org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=C:\\Users\\Syn\\Desktop\\Bitcoin Project\\bitcoinj-cash-0.14\\core\\target\\coverage-reports\\jacoco.exec,excludes=**/Protos*.class:org/bitcoinj/jni/*:org/bitcoin/*"[INFO][INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ bitcoinj-core ---[INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] Copying 4 resources[INFO][INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ bitcoinj-core ---[INFO] Changes detected - recompiling the module![INFO] Compiling 289 source files to C:\Users\Syn\Desktop\Bitcoin Project\bitcoinj-cash-0.14\core\target\classes[INFO] -------------------------------------------------------------[ERROR] COMPILATION ERROR :[INFO] -------------------------------------------------------------[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?[INFO] 1 error[INFO] -------------------------------------------------------------[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] bitcoinj Parent 0.14-SNAPSHOT ...................... SUCCESS [ 1.888 s][INFO] bitcoinj ........................................... FAILURE [ 6.848 s][INFO] bitcoincashj Examples .............................. SKIPPED[INFO] bitcoincashj Tools ................................. SKIPPED[INFO] bitcoinj.cash Wallet-Template 0.14-SNAPSHOT ........ SKIPPED[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 12.979 s[INFO] Finished at: 2018-05-19T16:37:23-04:00[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project bitcoinj-core: Compilation failure[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?[ERROR][ERROR] -> [Help 1][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR][ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn <goals> -rf :bitcoinj-core
--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "bitcoinj" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitcoinj/VNw52fBIaY8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitcoinj+u...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.
--
if(BTC){
DownloadProgressTracker BTCListener = new DownloadProgressTracker() {
@Override
public void progress(double pct, int blocksSoFar, Date date) {
System.out.println(BackEnd.strFormat("GOOD","BTC","GOOD","BlockChain "+(int)pct+"%"));
Diagnostic.BTCProgress = (int)pct;
}
@Override
public void doneDownload() {
System.out.println(BackEnd.strFormat("PASS","BTC","PASS","BlockChain Complete"));
System.out.println(BackEnd.strFormat("INFO","BTC","INFO","Address : "+BackEnd.gaddress(BTCkit)+" - "+BackEnd.gbal(BTCkit)));
Diagnostic.BTCProgress = 100;
}
};
BTCkit.setDownloadListener(BTCListener).setBlockingStartup(false);
BTCkit.startAsync();
BTCkit.awaitRunning();
}
if(BCH){
DownloadProgressTracker BCHListener = new DownloadProgressTracker() {
@Override
public void progress(double pct, int blocksSoFar, Date date) {
System.out.println(BackEnd.strFormat("GOOD","BCH","GOOD","BlockChain "+(int)pct+"%"));
Diagnostic.BCHProgress = (int)pct;
}
@Override
public void doneDownload() {
System.out.println(BackEnd.strFormat("PASS","BCH","PASS","BlockChain Complete"));
System.out.println(BackEnd.strFormat("INFO","BCH","INFO","Address : "+BackEnd.gaddress(BCHkit)+" - "+BackEnd.gbal(BCHkit)));
Diagnostic.BCHProgress = 100;
}
};
BCHkit.setDownloadListener(BCHListener).setBlockingStartup(false);
BCHkit.startAsync();
BCHkit.awaitRunning();
}
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+u...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "bitcoinj" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitcoinj/VNw52fBIaY8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitcoinj+unsubscribe@googlegroups.com.
Context.propagate(new Context(BCHparams));
DownloadProgressTracker BCHListener = new DownloadProgressTracker() {
@Override
public void progress(double pct, int blocksSoFar, Date date) {
System.out.println(BackEnd.strFormat("GOOD","BCH","GOOD","BlockChain "+(int)pct+"%"));
Diagnostic.BCHProgress = (int)pct;
}
@Override
public void doneDownload() {
System.out.println(BackEnd.strFormat("PASS","BCH","PASS","BlockChain Complete"));
System.out.println(BackEnd.strFormat("INFO","BCH","INFO","Address : "+BackEnd.gaddress(BCHkit)+" - "+BackEnd.gbal(BCHkit)));
Diagnostic.BCHProgress = 100;
}
};
BCHkit.setDownloadListener(BCHListener).setBlockingStartup(false).startAsync().awaitRunning();
Curious....got some sort of ETA on a response?
--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscribe@googlegroups.com.