move
This commit is contained in:
parent
765b452f7d
commit
f68d85cea0
|
@ -80,7 +80,7 @@
|
|||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<classpathPrefix>lib/</classpathPrefix>
|
||||
<mainClass>org.tcpid.opretj.testapp.App</mainClass>
|
||||
<mainClass>org.tcpid.opret.App</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.2.1</version>
|
||||
<configuration>
|
||||
<mainClass>org.tcpid.opretj.testapp.App</mainClass>
|
||||
<mainClass>org.tcpid.opret.App</mainClass>
|
||||
<!-- <systemProperties> <systemProperty> <key>logback.configurationFile</key>
|
||||
<value>${basedir}/opret-testapp/src/main/resources/logback.xml</value> </systemProperty>
|
||||
</systemProperties> -->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.tcpid.opretj.testapp;
|
||||
package org.tcpid.opret;
|
||||
|
||||
import org.tcpid.key.MasterVerifyKey;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.tcpid.opretj.testapp;
|
||||
package org.tcpid.opret;
|
||||
|
||||
import static org.bitcoinj.script.ScriptOpCodes.OP_RETURN;
|
||||
import static org.libsodium.jni.NaCl.sodium;
|
|
@ -22,6 +22,7 @@ import org.libsodium.jni.crypto.Hash;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.tcpid.key.MasterSigningKey;
|
||||
import org.tcpid.opret.OPRETECParser;
|
||||
import org.tcpid.opretj.OPRETWallet;
|
||||
import org.tcpid.opretj.OPRETWalletAppKit;
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<logger name="org.tcpid.opretj.testapp.App" level="debug" />
|
||||
<logger name="org.tcpid.opret.App" level="debug" />
|
||||
<logger name="org.bitcoinj.core.listeners.DownloadProgressTracker" level="info" />
|
||||
<logger name="org.bitcoinj.core.PeerGroup" level="error" />
|
||||
<logger name="org.bitcoinj.core.AbstractBlockChain" level="error" />
|
||||
<logger name="org.bitcoinj.core.PeerSocketHandler" level="error" />
|
||||
<logger name="org.bitcoinj.net.ConnectionHandler" level="error" />
|
||||
<logger name="org.tcpid.opretj.testapp.OPRETECParser" level="debug" />
|
||||
<logger name="org.tcpid.opret.OPRETECParser" level="debug" />
|
||||
<!--
|
||||
<logger name="eckey.OPRETSimpleLogger" level="debug" />
|
||||
<logger name="eckey.OPRETSimpleParser" level="debug" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.tcpid.opretj.testapp;
|
||||
package org.tcpid.opret;
|
||||
|
||||
import static org.junit.Assert.assertArrayEquals;
|
||||
import static org.junit.Assert.assertEquals;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.tcpid.opretj.testapp;
|
||||
package org.tcpid.opret;
|
||||
|
||||
import static org.junit.Assert.assertArrayEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
|
@ -17,8 +17,8 @@ import org.libsodium.jni.encoders.Encoder;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.tcpid.key.MasterVerifyKey;
|
||||
import org.tcpid.opret.OPRETECParser;
|
||||
import org.tcpid.opretj.OPRETTransaction;
|
||||
import org.tcpid.opretj.testapp.OPRETECParser;
|
||||
|
||||
import com.google.common.primitives.Bytes;
|
||||
|
||||
|
@ -27,7 +27,7 @@ public class TestECA1 {
|
|||
|
||||
/**
|
||||
* Test method for
|
||||
* {@link org.tcpid.opretj.testapp.OPRETECParser#pushTransaction(org.tcpid.opretj.OPRETTransaction)}.
|
||||
* {@link org.tcpid.opret.OPRETECParser#pushTransaction(org.tcpid.opretj.OPRETTransaction)}.
|
||||
*/
|
||||
@Test
|
||||
public void testPushTransaction() {
|
||||
|
@ -101,7 +101,7 @@ public class TestECA1 {
|
|||
|
||||
/**
|
||||
* Test method for
|
||||
* {@link org.tcpid.opretj.testapp.OPRETECParser#pushTransaction(org.tcpid.opretj.OPRETTransaction)}.
|
||||
* {@link org.tcpid.opret.OPRETECParser#pushTransaction(org.tcpid.opretj.OPRETTransaction)}.
|
||||
*/
|
||||
@Test
|
||||
public void testPushTransactionWithNonce() {
|
|
@ -6,8 +6,6 @@ import java.util.concurrent.Executor;
|
|||
|
||||
public interface OPRETHandlerInterface {
|
||||
|
||||
// void addOPRET(byte[] magic, long earliestTime);
|
||||
|
||||
void addOPRETChangeEventListener(Executor executor, OPRETChangeEventListener listener);
|
||||
|
||||
long getEarliestElementCreationTime();
|
||||
|
@ -16,8 +14,6 @@ public interface OPRETHandlerInterface {
|
|||
|
||||
Set<List<Byte>> getOPRETSet();
|
||||
|
||||
// void removeOPRET(byte[] magic);
|
||||
|
||||
boolean pushTransaction(OPRETTransaction t);
|
||||
|
||||
boolean removeOPRETChangeEventListener(OPRETChangeEventListener listener);
|
||||
|
|
Loading…
Reference in a new issue