Пример #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 <JObject> ExecuteAsync(IClient client)
        {
            var debugDumpBlock = new DebugDumpBlock(client);

            return(await debugDumpBlock.SendRequestAsync(Settings.GetBlockNumber()));
        }
        public override async Task <JObject> ExecuteAsync(IClient client)
        {
            var debugDumpBlock = new DebugDumpBlock(client);

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