@authorship specified - epic days shall be remembered
This commit is contained in:
parent
037e1f230c
commit
bee4ea0771
|
@ -12,7 +12,7 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 22/05/2014 19:22
|
||||
*/
|
||||
public class SystemProperties {
|
||||
|
|
|
@ -19,6 +19,13 @@ import java.util.List;
|
|||
* the comprised transactions, R, and a set of other blockheaders U that are known
|
||||
* to have a parent equal to the present block’s parent’s parent
|
||||
* (such blocks are known as uncles).
|
||||
*
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @authors: Roman Mandeleil,
|
||||
* Nick Savers
|
||||
* Created on: 20/05/2014 10:44
|
||||
*
|
||||
*/
|
||||
public class Block {
|
||||
|
||||
|
|
|
@ -14,6 +14,13 @@ import java.util.*;
|
|||
|
||||
import static org.ethereum.core.Denomination.*;
|
||||
|
||||
/*
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Nick Savers
|
||||
* Created on: 20/05/2014 10:44
|
||||
*
|
||||
*/
|
||||
public class Blockchain extends ArrayList<Block> {
|
||||
|
||||
private static final long serialVersionUID = -143590724563460486L;
|
||||
|
|
|
@ -13,8 +13,13 @@ package org.ethereum.crypto;
|
|||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Nick Savers
|
||||
* Created on: 20/05/2014 10:44
|
||||
*
|
||||
*/
|
||||
|
||||
import static org.ethereum.util.ByteUtil.bigIntegerToBytes;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
|
@ -12,7 +12,7 @@ import com.maxmind.geoip.LookupService;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 24/04/14 20:11
|
||||
*/
|
||||
public class IpGeoDB { // change
|
||||
|
|
|
@ -13,7 +13,7 @@ import java.awt.event.*;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 15/05/14 12:36
|
||||
*/
|
||||
public class BlockChainTable extends JFrame {
|
||||
|
|
|
@ -6,7 +6,7 @@ import javax.swing.table.AbstractTableModel;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 15/05/14 12:42
|
||||
*/
|
||||
public class BlockTableModel extends AbstractTableModel {
|
||||
|
|
|
@ -8,7 +8,7 @@ import org.fife.ui.rsyntaxtextarea.*;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 24/04/14 11:52
|
||||
*/
|
||||
public class ConsoleTokenMaker extends AbstractTokenMaker {
|
||||
|
|
|
@ -27,7 +27,7 @@ import java.util.Collection;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 18/05/14 22:21
|
||||
*/
|
||||
class ContractCallDialog extends JDialog implements MessageAwareDialog{
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.util.Collection;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 18/05/14 22:21
|
||||
*/
|
||||
class ContractSubmitDialog extends JDialog implements MessageAwareDialog {
|
||||
|
|
|
@ -18,7 +18,7 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 26/05/2014 12:27
|
||||
*/
|
||||
public class DialogWorker extends SwingWorker {
|
||||
|
|
|
@ -13,7 +13,7 @@ import java.util.Arrays;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 23/05/2014 13:51
|
||||
*/
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ import javax.swing.*;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 18/05/14 22:21
|
||||
*/
|
||||
class PayOutDialog extends JDialog implements MessageAwareDialog {
|
||||
|
|
|
@ -2,7 +2,7 @@ package org.ethereum.gui;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 30/04/14 11:32
|
||||
*/
|
||||
public interface PeerListener {
|
||||
|
|
|
@ -16,7 +16,7 @@ import com.maxmind.geoip.Location;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 25/04/14 07:04
|
||||
*/
|
||||
public class PeersTableModel extends AbstractTableModel {
|
||||
|
|
|
@ -16,7 +16,7 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 25/04/14 07:11
|
||||
*/
|
||||
public class PeersTableWindow extends JFrame{
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 02/06/2014 16:58
|
||||
*/
|
||||
|
||||
|
|
|
@ -16,11 +16,9 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 24/04/14 11:32
|
||||
*/
|
||||
|
||||
|
||||
public class SerpentEditor extends JFrame {
|
||||
|
||||
private String codeSample = "\n\n\n" +
|
||||
|
|
|
@ -9,7 +9,7 @@ import org.fife.ui.rsyntaxtextarea.*;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 24/04/14 11:52
|
||||
*/
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import javax.swing.table.TableCellRenderer;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 15/05/14 13:08
|
||||
*/
|
||||
public class TableCellLongTextRenderer extends JEditorPane implements TableCellRenderer{
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.awt.event.WindowEvent;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 30/04/14 06:29
|
||||
*/
|
||||
public class ToolBar extends JFrame {
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.net.URL;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 17/05/14 12:32
|
||||
*/
|
||||
public class WalletAddressPanel extends JPanel{
|
||||
|
|
|
@ -14,7 +14,7 @@ import java.net.URL;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 17/05/14 12:32
|
||||
*/
|
||||
public class WalletSumPanel extends JPanel{
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.net.URL;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 17/05/14 12:00
|
||||
*/
|
||||
public class WalletWindow extends JFrame implements Wallet.WalletListener{
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.maxmind.geoip.Location;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 21/04/14 20:35
|
||||
*/
|
||||
public class MainData {
|
||||
|
|
|
@ -20,7 +20,13 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
|
||||
/**
|
||||
*
|
||||
* WorldManager is the main class to handle the processing of transactions and managing the world state.
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 01/06/2014 10:44
|
||||
*
|
||||
*/
|
||||
public class WorldManager {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package org.ethereum.net;
|
|||
|
||||
/**
|
||||
* www.openchain.info
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 04/04/14 00:51
|
||||
*/
|
||||
public class MessageDeserializer {
|
||||
|
|
|
@ -24,7 +24,7 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 10/04/14 12:28
|
||||
*/
|
||||
public class ClientPeer {
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 13/04/14 21:51
|
||||
*/
|
||||
public class EthereumFrameDecoder extends ByteToMessageDecoder {
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.spongycastle.util.encoders.Hex;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 10/04/14 08:19
|
||||
*/
|
||||
public class EthereumProtocolHandler extends ChannelInboundHandlerAdapter {
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.net.UnknownHostException;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 13/04/14 17:36
|
||||
*/
|
||||
public class PeerData {
|
||||
|
|
|
@ -12,7 +12,7 @@ import org.ethereum.util.RLPList;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:56
|
||||
*/
|
||||
public class BlocksMessage extends Message {
|
||||
|
|
|
@ -9,7 +9,7 @@ import static org.ethereum.net.message.ReasonCode.DISCONNECT_REQUESTED;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:56
|
||||
*/
|
||||
public class DisconnectMessage extends Message {
|
||||
|
|
|
@ -14,7 +14,7 @@ import org.spongycastle.util.encoders.Hex;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:56
|
||||
*/
|
||||
public class GetChainMessage extends Message {
|
||||
|
|
|
@ -13,7 +13,7 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:56
|
||||
*/
|
||||
public class HelloMessage extends Message {
|
||||
|
|
|
@ -4,7 +4,7 @@ import org.ethereum.util.RLPList;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:58
|
||||
*/
|
||||
public abstract class Message {
|
||||
|
|
|
@ -10,7 +10,7 @@ import org.spongycastle.util.encoders.Hex;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:56
|
||||
*/
|
||||
public class NotInChainMessage extends Message {
|
||||
|
|
|
@ -13,7 +13,7 @@ import org.ethereum.util.RLPList;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:56
|
||||
*/
|
||||
public class PeersMessage extends Message {
|
||||
|
|
|
@ -5,7 +5,7 @@ import org.spongycastle.util.encoders.Hex;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 13/04/14 20:19
|
||||
*/
|
||||
public class StaticMessages {
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 06/04/14 14:56
|
||||
*/
|
||||
public class TransactionsMessage extends Message {
|
||||
|
|
|
@ -23,7 +23,7 @@ import static org.ethereum.net.Command.*;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 10/04/14 08:19
|
||||
*/
|
||||
public class EthereumPeerTasterHandler extends ChannelInboundHandlerAdapter {
|
||||
|
|
|
@ -9,7 +9,7 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 22/05/2014 09:10
|
||||
*/
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import static org.ethereum.config.SystemProperties.CONFIG;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 10/04/14 12:28
|
||||
*/
|
||||
public class PeerTaster {
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.util.concurrent.ThreadPoolExecutor;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 22/05/2014 10:31
|
||||
*/
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.util.concurrent.ThreadPoolExecutor;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 22/05/2014 09:26
|
||||
*/
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import org.ethereum.core.Transaction;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 23/05/2014 19:07
|
||||
*/
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import static java.lang.Thread.sleep;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 23/05/2014 18:33
|
||||
*/
|
||||
public class TransactionTask implements Callable<Transaction> {
|
||||
|
|
|
@ -4,7 +4,7 @@ import org.ethereum.core.Transaction;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 23/05/2014 18:41
|
||||
*/
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import org.apache.maven.plugin.MojoFailureException;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 25/04/14 17:06
|
||||
*/
|
||||
public class ParserGenerator {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
|
||||
// www.ethereumj.com
|
||||
// @author Roman Mandeleil
|
||||
// Created on: 22/03/2014 19:22
|
||||
grammar Serpent;
|
||||
|
||||
tokens {
|
||||
|
|
|
@ -18,7 +18,7 @@ import java.util.regex.Pattern;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 13/05/14 19:37
|
||||
*/
|
||||
public class SerpentCompiler {
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.regex.Pattern;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 05/05/14 13:41
|
||||
*/
|
||||
public class SerpentToAssemblyCompiler extends SerpentBaseVisitor<String> {
|
||||
|
|
|
@ -8,6 +8,11 @@ import org.ethereum.crypto.HashUtil;
|
|||
import org.ethereum.util.Value;
|
||||
import org.iq80.leveldb.DB;
|
||||
|
||||
/*
|
||||
* www.ethereumJ.com
|
||||
* @author: Nick Savers
|
||||
* Created on: 20/05/2014 10:44
|
||||
*/
|
||||
public class Cache {
|
||||
|
||||
private Map<byte[], Node> nodes;
|
||||
|
|
|
@ -38,6 +38,10 @@ import org.ethereum.util.Value;
|
|||
* in a persistent lookup table when you create a node with length >= 32,
|
||||
* 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.
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Nick Savers
|
||||
* Created on: 20/05/2014 10:44
|
||||
*/
|
||||
public class Node {
|
||||
|
||||
|
|
|
@ -26,6 +26,10 @@ import org.iq80.leveldb.DB;
|
|||
* store the cached value.
|
||||
*
|
||||
* Please note that the data isn't persisted unless `sync` is explicitly called.
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Nick Savers
|
||||
* Created on: 20/05/2014 10:44
|
||||
*/
|
||||
public class Trie {
|
||||
|
||||
|
|
|
@ -5,6 +5,11 @@ import java.util.List;
|
|||
import org.ethereum.util.Value;
|
||||
import static org.ethereum.util.CompactEncoder.unpackToNibbles;
|
||||
|
||||
/*
|
||||
* www.ethereumJ.com
|
||||
* @author: Nick Savers
|
||||
* Created on: 20/05/2014 10:44
|
||||
*/
|
||||
public class TrieIterator {
|
||||
|
||||
private Trie trie;
|
||||
|
|
|
@ -42,6 +42,11 @@ import org.ethereum.util.RLPList;
|
|||
* are used and no knowledge about the content of the strings is implied.
|
||||
*
|
||||
* See: https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-RLP
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 01/04/2014 10:45
|
||||
*
|
||||
*/
|
||||
public class RLP {
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@ import java.io.Serializable;
|
|||
|
||||
/**
|
||||
* Wrapper class for decoded elements from an RLP encoded byte array.
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 01/04/2014 10:45
|
||||
*
|
||||
*/
|
||||
public interface RLPElement extends Serializable {
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.ethereum.util;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 21/04/14 16:26
|
||||
*/
|
||||
public class RLPItem implements RLPElement {
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 21/04/14 16:26
|
||||
*/
|
||||
public class RLPList extends ArrayList<RLPElement> implements RLPElement {
|
||||
|
|
|
@ -9,6 +9,10 @@ import java.nio.ByteBuffer;
|
|||
/**
|
||||
* DataWord is the 32-byte array representation of a 256-bit number
|
||||
* Calculations can be done on this word with other DataWords
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 01/06/2014 10:45
|
||||
*/
|
||||
public class DataWord {
|
||||
|
||||
|
|
|
@ -11,10 +11,9 @@ import java.util.*;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 01/06/2014 10:45
|
||||
*/
|
||||
|
||||
public class Program {
|
||||
|
||||
Logger logger = LoggerFactory.getLogger("VM");
|
||||
|
|
|
@ -2,7 +2,7 @@ package org.ethereum.vm;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 03/06/2014 14:59
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 07/06/2014 17:45
|
||||
*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.nio.ByteBuffer;
|
|||
import static org.ethereum.vm.OpCode.PUSH1;
|
||||
|
||||
/**
|
||||
* The Ethereum Virtual Machine (EVM) is responsible for initialization
|
||||
* The Ethereum Virtual Machine (EVM) is responsible for initialization
|
||||
* and executing a transaction on a contract.
|
||||
*
|
||||
* It is a quasi-Turing-complete machine; the quasi qualification
|
||||
|
@ -42,6 +42,10 @@ import static org.ethereum.vm.OpCode.PUSH1;
|
|||
* Here, the machine halts immediately and reports the issue to
|
||||
* the execution agent (either the transaction processor or, recursively,
|
||||
* the spawning execution environment) and which will deal with it separately.
|
||||
*
|
||||
* www.ethereumJ.com
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 01/06/2014 10:44
|
||||
*/
|
||||
public class VM {
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import java.math.BigInteger;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 17/05/14 17:06
|
||||
*/
|
||||
public class WalletTest {
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.spongycastle.util.encoders.Hex;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 28/05/2014 20:05
|
||||
*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.regex.Pattern;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 13/05/14 10:07
|
||||
*/
|
||||
public class SerpentCompileTest {
|
||||
|
|
|
@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 17/05/14 15:38
|
||||
*/
|
||||
public class UtilsTest {
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.spongycastle.util.encoders.Hex;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 03/06/2014 15:00
|
||||
*/
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import static org.junit.Assert.fail;
|
|||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
* User: Roman Mandeleil
|
||||
* @author: Roman Mandeleil
|
||||
* Created on: 01/06/2014 11:05
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue