Dropped obsolete table and set lower POW target for test (there is no need)

This commit is contained in:
Christian Basler 2015-07-03 09:04:35 +02:00
parent 7f4c67f43e
commit 65fdd7d408
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class ProofOfWorkEngineTest {
private void testPOW(ProofOfWorkEngine engine) {
long time = System.currentTimeMillis();
byte[] initialHash = Security.sha512(new byte[]{1, 3, 6, 4});
byte[] target = {0, 0, 0, -1, -1, -1, -1, -1};
byte[] target = {0, 0, -1, -1, -1, -1, -1, -1};
byte[] nonce = engine.calculateNonce(initialHash, target);
System.out.println("Calculating nonce took " + (System.currentTimeMillis() - time) + "ms");

View File

@ -0,0 +1 @@
DROP TABLE Node;