mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-26 18:50:28 +00:00
Remove urls from class-level Javadoc
Prior to this change, the affected classes had Javadoc containing a url as the first sentence. There were several issues with this: - The url used was inconsistent, varying between www.etherj.com, www.ethereumj.com and www.ethergit.com - Use of a url in the first sentence of a Javadoc comment is not consistent with Javadoc idioms. The first sentence should be the a short, self-contained description--in this case, the description of the class. If no such description is yet available, it is best to simply omit all text, leaving any tags (such as @author or @since). - Information about the project that this code belongs to should be expressed in the license header for each file. Currently, most files in ethereumj do not have license headers. This can be added in a later commit.
This commit is contained in:
parent
7d2cf7f954
commit
a63f6445cc
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
// www.ethereumj.com
|
|
||||||
// @author Roman Mandeleil
|
// @author Roman Mandeleil
|
||||||
// @since 22.03.2014
|
// @since 22.03.2014
|
||||||
|
|
||||||
grammar Serpent;
|
grammar Serpent;
|
||||||
|
|
||||||
tokens {
|
tokens {
|
||||||
|
@ -6,12 +6,9 @@ import org.ethereum.facade.Ethereum;
|
|||||||
import org.ethereum.facade.EthereumFactory;
|
import org.ethereum.facade.EthereumFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 14.11.2014
|
* @since 14.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Start {
|
public class Start {
|
||||||
|
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
|
@ -8,8 +8,6 @@ import org.springframework.stereotype.Component;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 13.11.2014
|
* @since 13.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -22,8 +22,6 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|||||||
* to have a parent equal to the present block’s parent’s parent
|
* to have a parent equal to the present block’s parent’s parent
|
||||||
* (such blocks are known as uncles).
|
* (such blocks are known as uncles).
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @author Nick Savers
|
* @author Nick Savers
|
||||||
* @since 20.05.2014
|
* @since 20.05.2014
|
||||||
|
@ -53,8 +53,6 @@ import static org.ethereum.core.Denomination.SZABO;
|
|||||||
* </ol>
|
* </ol>
|
||||||
* See <a href="https://github.com/ethereum/wiki/wiki/White-Paper#blockchain-and-mining">Ethereum Whitepaper</a>
|
* See <a href="https://github.com/ethereum/wiki/wiki/White-Paper#blockchain-and-mining">Ethereum Whitepaper</a>
|
||||||
*
|
*
|
||||||
* www.etherJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @author Nick Savers
|
* @author Nick Savers
|
||||||
* @since 20.05.2014
|
* @since 20.05.2014
|
||||||
|
@ -7,12 +7,10 @@ import java.nio.ByteBuffer;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
* See http://www.herongyang.com/Java/Bit-String-Set-Bit-to-Byte-Array.html.
|
||||||
*
|
*
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 20.11.2014
|
* @since 20.11.2014
|
||||||
*
|
|
||||||
* http://www.herongyang.com/Java/Bit-String-Set-Bit-to-Byte-Array.html
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Bloom {
|
public class Bloom {
|
||||||
|
@ -12,12 +12,9 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 09.11.2014
|
* @since 09.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Chain {
|
public class Chain {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger("blockchain");
|
private static final Logger logger = LoggerFactory.getLogger("blockchain");
|
||||||
|
@ -13,12 +13,9 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||||||
import static org.ethereum.util.ByteUtil.EMPTY_BYTE_ARRAY;
|
import static org.ethereum.util.ByteUtil.EMPTY_BYTE_ARRAY;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethergit.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 19.12.2014
|
* @since 19.12.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TransactionExecutor {
|
public class TransactionExecutor {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger("execute");
|
private static final Logger logger = LoggerFactory.getLogger("execute");
|
||||||
|
@ -14,8 +14,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 12.11.2014
|
* @since 12.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,8 +7,6 @@ import javax.persistence.Table;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 14.11.2014
|
* @since 14.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -32,8 +32,6 @@ import static org.ethereum.crypto.SHA3Helper.sha3;
|
|||||||
import static org.ethereum.util.ByteUtil.wrap;
|
import static org.ethereum.util.ByteUtil.wrap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 17.11.2014
|
* @since 17.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -30,8 +30,6 @@ import static org.ethereum.crypto.SHA3Helper.sha3;
|
|||||||
import static org.ethereum.util.ByteUtil.wrap;
|
import static org.ethereum.util.ByteUtil.wrap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 17.11.2014
|
* @since 17.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -17,12 +17,9 @@ import static org.ethereum.crypto.SHA3Helper.sha3;
|
|||||||
import static org.ethereum.util.ByteUtil.wrap;
|
import static org.ethereum.util.ByteUtil.wrap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 17.11.2014
|
* @since 17.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class RepositoryTrack implements Repository {
|
public class RepositoryTrack implements Repository {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger("repository");
|
private static final Logger logger = LoggerFactory.getLogger("repository");
|
||||||
|
@ -6,8 +6,6 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 11.06.2014
|
* @since 11.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,8 +7,6 @@ import javax.persistence.Table;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 14.11.2014
|
* @since 14.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -14,12 +14,9 @@ import java.util.Set;
|
|||||||
import java.util.concurrent.Future;
|
import java.util.concurrent.Future;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 27.07.2014
|
* @since 27.07.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface Ethereum {
|
public interface Ethereum {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -21,8 +21,6 @@ import java.sql.SQLException;
|
|||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 13.11.2014
|
* @since 13.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -31,8 +31,6 @@ import javax.annotation.PostConstruct;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 27.07.2014
|
* @since 27.07.2014
|
||||||
*/
|
*/
|
||||||
|
@ -11,12 +11,9 @@ import java.math.BigInteger;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 08.09.2014
|
* @since 08.09.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface Repository {
|
public interface Repository {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,8 +36,6 @@ import java.util.*;
|
|||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 26.06.2014
|
* @since 26.06.2014
|
||||||
*/
|
*/
|
||||||
@ -99,4 +97,4 @@ public class JSONHelper {
|
|||||||
// stateRoot, codeHash, code, storage);
|
// stateRoot, codeHash, code, storage);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -12,12 +12,9 @@ import java.util.*;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.06.2014
|
* @since 28.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class AccountState {
|
public class AccountState {
|
||||||
|
|
||||||
byte[] address;
|
byte[] address;
|
||||||
|
@ -7,12 +7,9 @@ import org.spongycastle.util.encoders.Hex;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.06.2014
|
* @since 28.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CallCreate {
|
public class CallCreate {
|
||||||
|
|
||||||
byte[] data;
|
byte[] data;
|
||||||
|
@ -6,12 +6,9 @@ import org.spongycastle.util.encoders.Hex;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.06.2014
|
* @since 28.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Env {
|
public class Env {
|
||||||
|
|
||||||
private byte[] currentCoinbase;
|
private byte[] currentCoinbase;
|
||||||
|
@ -7,12 +7,9 @@ import org.spongycastle.util.encoders.Hex;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.06.2014
|
* @since 28.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Exec {
|
public class Exec {
|
||||||
|
|
||||||
private byte[] address;
|
private byte[] address;
|
||||||
|
@ -12,8 +12,6 @@ import java.math.BigInteger;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.06.2014
|
* @since 28.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -11,12 +11,9 @@ import java.util.HashMap;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 15.12.2014
|
* @since 15.12.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class StateTestCase {
|
public class StateTestCase {
|
||||||
|
|
||||||
private String name = "";
|
private String name = "";
|
||||||
|
@ -8,12 +8,9 @@ import org.slf4j.LoggerFactory;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 10.07.2014
|
* @since 10.07.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class StateTestSuite {
|
public class StateTestSuite {
|
||||||
|
|
||||||
private Logger logger = LoggerFactory.getLogger("TCK-Test");
|
private Logger logger = LoggerFactory.getLogger("TCK-Test");
|
||||||
|
@ -11,12 +11,9 @@ import java.math.BigInteger;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.06.2014
|
* @since 28.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TestCase {
|
public class TestCase {
|
||||||
|
|
||||||
private String name = "";
|
private String name = "";
|
||||||
|
@ -9,12 +9,9 @@ import org.ethereum.vm.*;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethergit.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 19.12.2014
|
* @since 19.12.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TestProgramInvokeFactory implements ProgramInvokeFactory {
|
public class TestProgramInvokeFactory implements ProgramInvokeFactory {
|
||||||
|
|
||||||
Env env;
|
Env env;
|
||||||
|
@ -21,12 +21,9 @@ import static org.ethereum.util.ByteUtil.EMPTY_BYTE_ARRAY;
|
|||||||
import static org.ethereum.util.ByteUtil.wrap;
|
import static org.ethereum.util.ByteUtil.wrap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 02.07.2014
|
* @since 02.07.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TestRunner {
|
public class TestRunner {
|
||||||
|
|
||||||
private Logger logger = LoggerFactory.getLogger("TCK-Test");
|
private Logger logger = LoggerFactory.getLogger("TCK-Test");
|
||||||
|
@ -6,12 +6,9 @@ import org.json.simple.parser.ParseException;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 10.07.2014
|
* @since 10.07.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TestSuite {
|
public class TestSuite {
|
||||||
|
|
||||||
List<TestCase> testList = new ArrayList<>();
|
List<TestCase> testList = new ArrayList<>();
|
||||||
|
@ -10,12 +10,9 @@ import java.util.Arrays;
|
|||||||
import static org.ethereum.util.ByteUtil.toHexString;
|
import static org.ethereum.util.ByteUtil.toHexString;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.06.2014
|
* @since 28.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Transaction {
|
public class Transaction {
|
||||||
|
|
||||||
byte[] data;
|
byte[] data;
|
||||||
|
@ -5,15 +5,11 @@ import org.spongycastle.pqc.math.linearalgebra.ByteUtils;
|
|||||||
import org.spongycastle.util.encoders.Hex;
|
import org.spongycastle.util.encoders.Hex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethergit.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 15.12.2014
|
* @since 15.12.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Utils {
|
public class Utils {
|
||||||
|
|
||||||
|
|
||||||
public static byte[] parseData(String data) {
|
public static byte[] parseData(String data) {
|
||||||
if (data == null) return ByteUtil.EMPTY_BYTE_ARRAY;
|
if (data == null) return ByteUtil.EMPTY_BYTE_ARRAY;
|
||||||
if (data.startsWith("0x")) data = data.substring(2);
|
if (data.startsWith("0x")) data = data.substring(2);
|
||||||
|
@ -7,12 +7,9 @@ import org.ethereum.net.message.Message;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 27.07.2014
|
* @since 27.07.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface EthereumListener {
|
public interface EthereumListener {
|
||||||
|
|
||||||
public void trace(String output);
|
public void trace(String output);
|
||||||
|
@ -8,8 +8,6 @@ import org.springframework.stereotype.Component;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 12.11.2014
|
* @since 12.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -5,8 +5,6 @@ import org.springframework.stereotype.Component;
|
|||||||
import javax.annotation.PostConstruct;
|
import javax.annotation.PostConstruct;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethergit.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 11.12.2014
|
* @since 11.12.2014
|
||||||
*/
|
*/
|
||||||
|
@ -15,8 +15,6 @@ import org.springframework.stereotype.Component;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.11.2014
|
* @since 01.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -13,8 +13,6 @@ import javax.annotation.PostConstruct;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 11.11.2014
|
* @since 11.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -27,8 +27,6 @@ import java.util.concurrent.TimeUnit;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.11.2014
|
* @since 01.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -17,10 +17,8 @@ import org.springframework.stereotype.Component;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class establish a listener for incoming connections
|
* This class establishes a listener for incoming connections.
|
||||||
* @see <a href="http://netty.io">http://netty.io</a>
|
* See <a href="http://netty.io">http://netty.io</a>.
|
||||||
*
|
|
||||||
* www.etherj.com
|
|
||||||
*
|
*
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.11.2014
|
* @since 01.11.2014
|
||||||
|
@ -5,8 +5,6 @@ import org.apache.maven.plugin.MojoExecutionException;
|
|||||||
import org.apache.maven.plugin.MojoFailureException;
|
import org.apache.maven.plugin.MojoFailureException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 25.04.14
|
* @since 25.04.14
|
||||||
*/
|
*/
|
||||||
@ -25,4 +23,4 @@ public class ParserGenerator {
|
|||||||
|
|
||||||
// org.antlr.Tool.main(new String[]{userDir + "\\src\\main\\antlr4\\org\\ethereum\\serpent\\Serpent.g4"});
|
// org.antlr.Tool.main(new String[]{userDir + "\\src\\main\\antlr4\\org\\ethereum\\serpent\\Serpent.g4"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,6 @@ import java.util.regex.Matcher;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 13.05.14
|
* @since 13.05.14
|
||||||
*/
|
*/
|
||||||
|
@ -13,8 +13,6 @@ import java.util.regex.Matcher;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 05.05.14
|
* @since 05.05.14
|
||||||
*/
|
*/
|
||||||
|
@ -10,8 +10,6 @@ import org.iq80.leveldb.DB;
|
|||||||
import org.iq80.leveldb.WriteBatch;
|
import org.iq80.leveldb.WriteBatch;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Nick Savers
|
* @author Nick Savers
|
||||||
* @since 20.05.2014
|
* @since 20.05.2014
|
||||||
*/
|
*/
|
||||||
|
@ -6,12 +6,9 @@ import java.util.HashSet;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 29.08.2014
|
* @since 29.08.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CollectFullSetOfNodes implements TrieImpl.ScanAction {
|
public class CollectFullSetOfNodes implements TrieImpl.ScanAction {
|
||||||
Set<byte[]> nodes = new HashSet<>();
|
Set<byte[]> nodes = new HashSet<>();
|
||||||
|
|
||||||
|
@ -3,12 +3,9 @@ package org.ethereum.trie;
|
|||||||
import org.ethereum.util.Value;
|
import org.ethereum.util.Value;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 29.08.2014
|
* @since 29.08.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CountAllNodes implements TrieImpl.ScanAction {
|
public class CountAllNodes implements TrieImpl.ScanAction {
|
||||||
|
|
||||||
int counted = 0;
|
int counted = 0;
|
||||||
|
@ -22,7 +22,7 @@ import org.ethereum.util.Value;
|
|||||||
* N N
|
* N N
|
||||||
* / \ / \
|
* / \ / \
|
||||||
* L L L L
|
* L L L L
|
||||||
* *
|
*
|
||||||
* Also, we add another conceptual change: internal nodes can no longer
|
* Also, we add another conceptual change: internal nodes can no longer
|
||||||
* have values, only leaves with no children of their own can; however,
|
* have values, only leaves with no children of their own can; however,
|
||||||
* since to be fully generic we want the key/value store to be able
|
* since to be fully generic we want the key/value store to be able
|
||||||
@ -39,8 +39,6 @@ import org.ethereum.util.Value;
|
|||||||
* but if the node is shorter than that then you do not need to store anything
|
* but if the node is shorter than that then you do not need to store anything
|
||||||
* when length < 32 for the obvious reason that the function f(x) = x is reversible.
|
* when length < 32 for the obvious reason that the function f(x) = x is reversible.
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Nick Savers
|
* @author Nick Savers
|
||||||
* @since 20.05.2014
|
* @since 20.05.2014
|
||||||
*/
|
*/
|
||||||
|
@ -4,12 +4,9 @@ import org.ethereum.util.Value;
|
|||||||
import org.spongycastle.util.encoders.Hex;
|
import org.spongycastle.util.encoders.Hex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 29.08.2014
|
* @since 29.08.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TraceAllNodes implements TrieImpl.ScanAction {
|
public class TraceAllNodes implements TrieImpl.ScanAction {
|
||||||
|
|
||||||
StringBuilder output = new StringBuilder();
|
StringBuilder output = new StringBuilder();
|
||||||
|
@ -35,8 +35,6 @@ import org.spongycastle.util.encoders.Hex;
|
|||||||
*
|
*
|
||||||
* <b>Note:</b> the data isn't persisted unless `sync` is explicitly called.
|
* <b>Note:</b> the data isn't persisted unless `sync` is explicitly called.
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Nick Savers
|
* @author Nick Savers
|
||||||
* @since 20.05.2014
|
* @since 20.05.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,6 @@ import org.ethereum.util.Value;
|
|||||||
import static org.ethereum.util.CompactEncoder.unpackToNibbles;
|
import static org.ethereum.util.CompactEncoder.unpackToNibbles;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* www.ethereumJ.com
|
|
||||||
* @author Nick Savers
|
* @author Nick Savers
|
||||||
* @since 20.05.2014
|
* @since 20.05.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,12 +7,9 @@ import java.net.URL;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 25.07.2014
|
* @since 25.07.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class AdvancedDeviceUtils {
|
public class AdvancedDeviceUtils {
|
||||||
|
|
||||||
public static void adjustDetailedTracing(long blockNum) {
|
public static void adjustDetailedTracing(long blockNum) {
|
||||||
|
@ -44,8 +44,6 @@ import org.spongycastle.util.encoders.Hex;
|
|||||||
*
|
*
|
||||||
* See: https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-RLP
|
* See: https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-RLP
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.04.2014
|
* @since 01.04.2014
|
||||||
*/
|
*/
|
||||||
|
@ -5,8 +5,6 @@ import java.io.Serializable;
|
|||||||
/**
|
/**
|
||||||
* Wrapper class for decoded elements from an RLP encoded byte array.
|
* Wrapper class for decoded elements from an RLP encoded byte array.
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.04.2014
|
* @since 01.04.2014
|
||||||
*/
|
*/
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
package org.ethereum.util;
|
package org.ethereum.util;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 21.04.14
|
* @since 21.04.14
|
||||||
*/
|
*/
|
||||||
|
@ -3,8 +3,6 @@ package org.ethereum.util;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 21.04.14
|
* @since 21.04.14
|
||||||
*/
|
*/
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
package org.ethereum.vm;
|
package org.ethereum.vm;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 03.07.2014
|
* @since 03.07.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CallCreate {
|
public class CallCreate {
|
||||||
|
|
||||||
byte[] data;
|
byte[] data;
|
||||||
|
@ -13,8 +13,6 @@ import java.nio.ByteBuffer;
|
|||||||
* DataWord is the 32-byte array representation of a 256-bit number
|
* DataWord is the 32-byte array representation of a 256-bit number
|
||||||
* Calculations can be done on this word with other DataWords
|
* Calculations can be done on this word with other DataWords
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.06.2014
|
* @since 01.06.2014
|
||||||
*/
|
*/
|
||||||
@ -312,4 +310,4 @@ public class DataWord implements Comparable<DataWord> {
|
|||||||
if (firstNonZero == -1) return 0;
|
if (firstNonZero == -1) return 0;
|
||||||
return 31 - firstNonZero + 1;
|
return 31 - firstNonZero + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,9 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 19.11.2014
|
* @since 19.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class LogInfo {
|
public class LogInfo {
|
||||||
|
|
||||||
byte[] address = new byte[]{};
|
byte[] address = new byte[]{};
|
||||||
|
@ -27,8 +27,6 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||||||
import static org.ethereum.util.ByteUtil.EMPTY_BYTE_ARRAY;
|
import static org.ethereum.util.ByteUtil.EMPTY_BYTE_ARRAY;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.06.2014
|
* @since 01.06.2014
|
||||||
*/
|
*/
|
||||||
@ -893,4 +891,4 @@ public class Program {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -3,8 +3,6 @@ package org.ethereum.vm;
|
|||||||
import org.ethereum.facade.Repository;
|
import org.ethereum.facade.Repository;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 03.06.2014
|
* @since 03.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,12 +7,9 @@ import org.ethereum.facade.Repository;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 19.12.2014
|
* @since 19.12.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface ProgramInvokeFactory {
|
public interface ProgramInvokeFactory {
|
||||||
|
|
||||||
public ProgramInvoke createProgramInvoke(Transaction tx, Block block, Repository repository);
|
public ProgramInvoke createProgramInvoke(Transaction tx, Block block, Repository repository);
|
||||||
|
@ -15,8 +15,6 @@ import org.springframework.stereotype.Component;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 08.06.2014
|
* @since 08.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,8 +7,6 @@ import java.util.Arrays;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 03.06.2014
|
* @since 03.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,8 +7,6 @@ import org.ethereum.facade.Repository;
|
|||||||
import org.spongycastle.util.encoders.Hex;
|
import org.spongycastle.util.encoders.Hex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 03.06.2014
|
* @since 03.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -7,8 +7,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 07.06.2014
|
* @since 07.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -57,8 +57,6 @@ import static org.ethereum.vm.OpCode.PUSH1;
|
|||||||
* the execution agent (either the transaction processor or, recursively,
|
* the execution agent (either the transaction processor or, recursively,
|
||||||
* the spawning execution environment) and which will deal with it separately.
|
* the spawning execution environment) and which will deal with it separately.
|
||||||
*
|
*
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.06.2014
|
* @since 01.06.2014
|
||||||
*/
|
*/
|
||||||
@ -1212,4 +1210,4 @@ public class VM {
|
|||||||
gasBefore, gasCost, memWords);
|
gasBefore, gasCost, memWords);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,8 +21,6 @@ import java.util.*;
|
|||||||
* 'stack': ['15', '15', '14', '0'],
|
* 'stack': ['15', '15', '14', '0'],
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.10.2014
|
* @since 28.10.2014
|
||||||
*/
|
*/
|
||||||
|
@ -10,12 +10,9 @@ import java.util.LinkedHashMap;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.10.2014
|
* @since 28.10.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class ProgramTrace {
|
public class ProgramTrace {
|
||||||
|
|
||||||
byte[] txHash;
|
byte[] txHash;
|
||||||
|
@ -15,8 +15,6 @@ import java.sql.SQLException;
|
|||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 16.11.2014
|
* @since 16.11.2014
|
||||||
*/
|
*/
|
||||||
|
@ -6,12 +6,9 @@ import org.junit.Test;
|
|||||||
import org.spongycastle.util.encoders.Hex;
|
import org.spongycastle.util.encoders.Hex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 20.11.2014
|
* @since 20.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class BloomTest {
|
public class BloomTest {
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,12 +33,9 @@ import java.util.List;
|
|||||||
import static junit.framework.TestCase.assertEquals;
|
import static junit.framework.TestCase.assertEquals;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 09.11.2014
|
* @since 09.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@RunWith(SpringJUnit4ClassRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@ContextConfiguration(loader = AnnotationConfigContextLoader.class)
|
@ContextConfiguration(loader = AnnotationConfigContextLoader.class)
|
||||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||||
|
@ -10,12 +10,9 @@ import org.spongycastle.util.encoders.Hex;
|
|||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 05.12.2014
|
* @since 05.12.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class LogInfoTest {
|
public class LogInfoTest {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger("test");
|
private static final Logger logger = LoggerFactory.getLogger("test");
|
||||||
|
@ -9,12 +9,9 @@ import org.spongycastle.util.encoders.Hex;
|
|||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 05.12.2014
|
* @since 05.12.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TransactionReceiptTest {
|
public class TransactionReceiptTest {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger("test");
|
private static final Logger logger = LoggerFactory.getLogger("test");
|
||||||
|
@ -29,8 +29,6 @@ import java.io.IOException;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 17.05.14
|
* @since 17.05.14
|
||||||
*/
|
*/
|
||||||
|
@ -19,12 +19,9 @@ import static org.junit.Assert.assertEquals;
|
|||||||
import static org.junit.Assert.assertNull;
|
import static org.junit.Assert.assertNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 17.11.2014
|
* @since 17.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||||
public class RepositoryTest {
|
public class RepositoryTest {
|
||||||
|
|
||||||
|
@ -16,8 +16,6 @@ import org.junit.Test;
|
|||||||
import org.spongycastle.util.encoders.Hex;
|
import org.spongycastle.util.encoders.Hex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 11.06.2014
|
* @since 11.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -8,12 +8,9 @@ import org.junit.Test;
|
|||||||
import org.spongycastle.util.encoders.Hex;
|
import org.spongycastle.util.encoders.Hex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 09.11.2014
|
* @since 09.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class ForkGenTest {
|
public class ForkGenTest {
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,12 +11,9 @@ import java.util.concurrent.*;
|
|||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.etherj.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 08.11.2014
|
* @since 08.11.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class MineSwarm {
|
public class MineSwarm {
|
||||||
|
|
||||||
public AtomicBoolean started = new AtomicBoolean(false);
|
public AtomicBoolean started = new AtomicBoolean(false);
|
||||||
|
@ -7,8 +7,6 @@ import org.junit.Test;
|
|||||||
import org.spongycastle.util.encoders.Hex;
|
import org.spongycastle.util.encoders.Hex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 28.05.2014
|
* @since 28.05.2014
|
||||||
*/
|
*/
|
||||||
|
@ -8,8 +8,6 @@ import org.ethereum.serpent.*;
|
|||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 13.05.14
|
* @since 13.05.14
|
||||||
*/
|
*/
|
||||||
|
@ -10,8 +10,6 @@ import java.math.BigInteger;
|
|||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 17.05.14
|
* @since 17.05.14
|
||||||
*/
|
*/
|
||||||
@ -89,4 +87,4 @@ public class UtilsTest {
|
|||||||
result = Utils.addressStringToBytes(HexStr);
|
result = Utils.addressStringToBytes(HexStr);
|
||||||
assertEquals(expected, result);
|
assertEquals(expected, result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.math.BigInteger;
|
|||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 16.06.2014
|
* @since 16.06.2014
|
||||||
*/
|
*/
|
||||||
|
@ -18,12 +18,9 @@ import java.math.BigInteger;
|
|||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.06.2014
|
* @since 01.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||||
public class VMCustomTest {
|
public class VMCustomTest {
|
||||||
|
|
||||||
|
@ -18,12 +18,9 @@ import java.util.List;
|
|||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.06.2014
|
* @since 01.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||||
public class VMTest {
|
public class VMTest {
|
||||||
|
|
||||||
|
@ -10,8 +10,6 @@ import java.net.InetAddress;
|
|||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 24.04.14
|
* @since 24.04.14
|
||||||
*/
|
*/
|
||||||
|
@ -18,8 +18,6 @@ import java.awt.event.*;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Adrian Benko
|
* @author Adrian Benko
|
||||||
* @since 27.08.14
|
* @since 27.08.14
|
||||||
*/
|
*/
|
||||||
|
@ -8,8 +8,6 @@ import org.slf4j.LoggerFactory;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 24.04.14
|
* @since 24.04.14
|
||||||
*/
|
*/
|
||||||
@ -954,4 +952,4 @@ public class ConsoleTokenMaker extends AbstractTokenMaker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,6 @@ import java.util.Collection;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 18.05.14
|
* @since 18.05.14
|
||||||
*/
|
*/
|
||||||
|
@ -18,8 +18,6 @@ import java.net.URL;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 18.05.14
|
* @since 18.05.14
|
||||||
*/
|
*/
|
||||||
|
@ -13,8 +13,6 @@ import java.util.concurrent.TimeoutException;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 26.05.2014
|
* @since 26.05.2014
|
||||||
*/
|
*/
|
||||||
|
@ -11,8 +11,6 @@ import javax.swing.border.TitledBorder;
|
|||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 23.05.2014
|
* @since 23.05.2014
|
||||||
*/
|
*/
|
||||||
|
@ -19,8 +19,6 @@ import java.util.regex.Pattern;
|
|||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 18.05.14
|
* @since 18.05.14
|
||||||
*/
|
*/
|
||||||
|
@ -19,8 +19,6 @@ import org.ethereum.util.Utils;
|
|||||||
import com.maxmind.geoip.Location;
|
import com.maxmind.geoip.Location;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 25.04.14
|
* @since 25.04.14
|
||||||
*/
|
*/
|
||||||
|
@ -16,8 +16,6 @@ import javax.swing.table.TableCellRenderer;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 25.04.14
|
* @since 25.04.14
|
||||||
*/
|
*/
|
||||||
|
@ -17,12 +17,9 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 02.06.2014
|
* @since 02.06.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class ProgramPlayDialog extends JPanel implements ActionListener,
|
public class ProgramPlayDialog extends JPanel implements ActionListener,
|
||||||
ChangeListener, Program.ProgramListener {
|
ChangeListener, Program.ProgramListener {
|
||||||
|
|
||||||
|
@ -19,8 +19,6 @@ import java.util.regex.Pattern;
|
|||||||
import static org.ethereum.config.SystemProperties.CONFIG;
|
import static org.ethereum.config.SystemProperties.CONFIG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 24.04.14
|
* @since 24.04.14
|
||||||
*/
|
*/
|
||||||
@ -479,4 +477,4 @@ public class SerpentEditor extends JFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,6 @@ import org.ethereum.vm.OpCode;
|
|||||||
import org.fife.ui.rsyntaxtextarea.*;
|
import org.fife.ui.rsyntaxtextarea.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 24.04.14
|
* @since 24.04.14
|
||||||
*/
|
*/
|
||||||
@ -501,4 +499,4 @@ public class SerpentTokenMaker extends AbstractTokenMaker {
|
|||||||
// Return the first token in our linked peerInfoList.
|
// Return the first token in our linked peerInfoList.
|
||||||
return firstToken;
|
return firstToken;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,8 +15,6 @@ import java.awt.event.WindowAdapter;
|
|||||||
import java.awt.event.WindowEvent;
|
import java.awt.event.WindowEvent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 30.04.14
|
* @since 30.04.14
|
||||||
*/
|
*/
|
||||||
@ -275,4 +273,4 @@ public class ToolBar extends JFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,6 @@ import javax.swing.text.Highlighter;
|
|||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Adrian Benko
|
* @author Adrian Benko
|
||||||
* @since 27.08.14
|
* @since 27.08.14
|
||||||
*/
|
*/
|
||||||
|
@ -5,12 +5,9 @@ import org.ethereum.facade.EthereumFactory;
|
|||||||
import org.ethereum.facade.EthereumImpl;
|
import org.ethereum.facade.EthereumImpl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* www.ethereumJ.com
|
|
||||||
*
|
|
||||||
* @author Roman Mandeleil
|
* @author Roman Mandeleil
|
||||||
* @since 01.09.2014
|
* @since 01.09.2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class UIEthereumManager {
|
public class UIEthereumManager {
|
||||||
public static Ethereum ethereum = EthereumFactory.createEthereum();
|
public static Ethereum ethereum = EthereumFactory.createEthereum();
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user