示例#1
0
 public DebugGeth(IClient client) : base(client)
 {
     BacktraceAt         = new DebugBacktraceAt(client);
     BlockProfile        = new DebugBlockProfile(client);
     CpuProfile          = new DebugCpuProfile(client);
     DumpBlock           = new DebugDumpBlock(client);
     GcStats             = new DebugGcStats(client);
     GetBlockRlp         = new DebugGetBlockRlp(client);
     GoTrace             = new DebugGoTrace(client);
     MemStats            = new DebugMemStats(client);
     SeedHash            = new DebugSeedHash(client);
     SetBlockProfileRate = new DebugSetBlockProfileRate(client);
     Stacks             = new DebugStacks(client);
     StartCPUProfile    = new DebugStartCPUProfile(client);
     StartGoTrace       = new DebugStartGoTrace(client);
     StopCPUProfile     = new DebugStopCPUProfile(client);
     StopGoTrace        = new DebugStopGoTrace(client);
     TraceBlock         = new DebugTraceBlock(client);
     TraceBlockByHash   = new DebugTraceBlockByHash(client);
     TraceBlockByNumber = new DebugTraceBlockByNumber(client);
     TraceBlockFromFile = new DebugTraceBlockFromFile(client);
     TraceTransaction   = new DebugTraceTransaction(client);
     Verbosity          = new DebugVerbosity(client);
     Vmodule            = new DebugVmodule(client);
     StackErrorChecker  = new VmStackErrorChecker();
 }
示例#2
0
 public DebugGeth(IClient client) : base(client)
 {
     BacktraceAt = new DebugBacktraceAt(client);
     BlockProfile = new DebugBlockProfile(client);
     CpuProfile = new DebugCpuProfile(client);
     DumpBlock = new DebugDumpBlock(client);
     GcStats = new DebugGcStats(client);
     GetBlockRlp = new DebugGetBlockRlp(client);
     GoTrace = new DebugGoTrace(client);
     MemStats = new DebugMemStats(client);
     SeedHash = new DebugSeedHash(client);
     SetBlockProfileRate = new DebugSetBlockProfileRate(client);
     Stacks = new DebugStacks(client);
     StartCPUProfile = new DebugStartCPUProfile(client);
     StartGoTrace = new DebugStartGoTrace(client);
     StopCPUProfile = new DebugStopCPUProfile(client);
     StopGoTrace = new DebugStopGoTrace(client);
     TraceBlock = new DebugTraceBlock(client);
     TraceBlockByHash = new DebugTraceBlockByHash(client);
     TraceBlockByNumber = new DebugTraceBlockByNumber(client);
     TraceBlockFromFile = new DebugTraceBlockFromFile(client);
     TraceTransaction = new DebugTraceTransaction(client);
     Verbosity = new DebugVerbosity(client);
     Vmodule = new DebugVmodule(client);
     StackErrorChecker = new VmStackErrorChecker();
 }
示例#3
0
        public override async Task <string> ExecuteAsync(IClient client)
        {
            var debugSeedHash = new DebugSeedHash(client);

            return(await debugSeedHash.SendRequestAsync(Settings.GetBlockNumber()));
        }
示例#4
0
        public override async Task <string> ExecuteAsync(IClient client)
        {
            var debugSeedHash = new DebugSeedHash(client);

            return(await debugSeedHash.SendRequestAsync(10));
        }