mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 03:35:52 +00:00
BitcoindComparisonTool: minor fixes
This commit is contained in:
parent
82171f5b50
commit
b5b984a741
@ -43,7 +43,7 @@ public class BitcoindComparisonTool {
|
|||||||
private static FullPrunedBlockChain chain;
|
private static FullPrunedBlockChain chain;
|
||||||
private static PeerGroup peers;
|
private static PeerGroup peers;
|
||||||
private static Sha256Hash bitcoindChainHead;
|
private static Sha256Hash bitcoindChainHead;
|
||||||
private static Peer bitcoind;
|
private static volatile Peer bitcoind;
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
BriefLogFormatter.init();
|
BriefLogFormatter.init();
|
||||||
@ -130,7 +130,6 @@ public class BitcoindComparisonTool {
|
|||||||
while (bitcoind == null)
|
while (bitcoind == null)
|
||||||
Thread.sleep(50);
|
Thread.sleep(50);
|
||||||
|
|
||||||
Random rng = new Random();
|
|
||||||
ArrayList<Sha256Hash> locator = new ArrayList<Sha256Hash>(1);
|
ArrayList<Sha256Hash> locator = new ArrayList<Sha256Hash>(1);
|
||||||
locator.add(params.genesisBlock.getHash());
|
locator.add(params.genesisBlock.getHash());
|
||||||
Sha256Hash hashTo = new Sha256Hash("0000000000000000000000000000000000000000000000000000000000000000");
|
Sha256Hash hashTo = new Sha256Hash("0000000000000000000000000000000000000000000000000000000000000000");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user