Package org.ethereum.util

Examples of org.ethereum.util.DecodeResult


      String blockRaw = "f8cbf8c7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a02f4399b08efe68945c1cf90ffe85bbe3ce978959da753f9e649f034015b8817da00000000000000000000000000000000000000000000000000000000000000000834000008080830f4240808080a004994f67dc55b09e814ab7ffc8df3686b4afb2bb53e60eae97ef043fe03fb829c0c0";
      byte[] payload = Hex.decode(blockRaw);
     
      final int ITERATIONS = 10000000;
      RLPList list = null;
      DecodeResult result = null;
      System.out.println("Starting " + ITERATIONS + " decoding iterations...");
 
      long start1 = System.currentTimeMillis();
      for (int i = 0; i < ITERATIONS; i++) {
        result = RLP.decode(payload, 0);
View Full Code Here

TOP

Related Classes of org.ethereum.util.DecodeResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.