|
|
@ -127,7 +127,7 @@ func (api *PrivateDebugAPI) TraceChain(ctx context.Context, start, end rpc.Block |
|
|
|
|
|
|
|
|
|
|
|
// traceChain configures a new tracer according to the provided configuration, and
|
|
|
|
// traceChain configures a new tracer according to the provided configuration, and
|
|
|
|
// executes all the transactions contained within. The return value will be one item
|
|
|
|
// executes all the transactions contained within. The return value will be one item
|
|
|
|
// per transaction, dependent on the requestd tracer.
|
|
|
|
// per transaction, dependent on the requested tracer.
|
|
|
|
func (api *PrivateDebugAPI) traceChain(ctx context.Context, start, end *types.Block, config *TraceConfig) (*rpc.Subscription, error) { |
|
|
|
func (api *PrivateDebugAPI) traceChain(ctx context.Context, start, end *types.Block, config *TraceConfig) (*rpc.Subscription, error) { |
|
|
|
// Tracing a chain is a **long** operation, only do with subscriptions
|
|
|
|
// Tracing a chain is a **long** operation, only do with subscriptions
|
|
|
|
notifier, supported := rpc.NotifierFromContext(ctx) |
|
|
|
notifier, supported := rpc.NotifierFromContext(ctx) |
|
|
|