aboutsummaryrefslogtreecommitdiffstats
path: root/eth/tracers/tracer.go
Commit message (Collapse)AuthorAgeFilesLines
* core/vm, crypto/blake2b: add BLAKE2b compression func at 0x09Piotr Dyraga2019-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The precompile at 0x09 wraps the BLAKE2b F compression function: https://tools.ietf.org/html/rfc7693#section-3.2 The precompile requires 6 inputs tightly encoded, taking exactly 213 bytes, as explained below. - `rounds` - the number of rounds - 32-bit unsigned big-endian word - `h` - the state vector - 8 unsigned 64-bit little-endian words - `m` - the message block vector - 16 unsigned 64-bit little-endian words - `t_0, t_1` - offset counters - 2 unsigned 64-bit little-endian words - `f` - the final block indicator flag - 8-bit word [4 bytes for rounds][64 bytes for h][128 bytes for m][8 bytes for t_0] [8 bytes for t_1][1 byte for f] The boolean `f` parameter is considered as `true` if set to `1`. The boolean `f` parameter is considered as `false` if set to `0`. All other values yield an invalid encoding of `f` error. The precompile should compute the F function as specified in the RFC (https://tools.ietf.org/html/rfc7693#section-3.2) and return the updated state vector `h` with unchanged encoding (little-endian). See EIP-152 for details.
* eth/tracer: extend create2 (#18318)gary rong2019-01-061-0/+22
| | | | | | | | | | * eth/tracer: extend create2 * eth/tracers: fix create2-flaw in prestate_tracer * eth/tracers: fix test * eth/tracers: update assets
* core/vm: adds refund as part of the json standard trace (#17910)Martin Holst Swende2018-10-231-5/+11
| | | | | | | This adds the global accumulated refund counter to the standard json output as a numeric json value. Previously this was not very interesting since it was not used much, but with the new sstore gas changes the value is a lot more interesting from a consensus investigation perspective.
* all: simplify s[:] to s where s is a slice (#17673)Emil2018-09-151-4/+4
|
* all: simplify switches (#17267)Oleg Kovalov2018-07-301-6/+1
| | | | | | * all: simplify switches * silly mistake
* all: update license information (#16089)Felix Lange2018-02-141-1/+1
|
* cmd, core, eth/tracers: support fancier js tracing (#15516)Péter Szilágyi2017-12-211-0/+618
* cmd, core, eth/tracers: support fancier js tracing * eth, internal/web3ext: rework trace API, concurrency, chain tracing * eth/tracers: add three more JavaScript tracers * eth/tracers, vendor: swap ottovm to duktape for tracing * core, eth, internal: finalize call tracer and needed extras * eth, tests: prestate tracer, call test suite, rewinding * vendor: fix windows builds for tracer js engine * vendor: temporary duktape fix * eth/tracers: fix up 4byte and evmdis tracer * vendor: pull in latest duktape with my upstream fixes * eth: fix some review comments * eth: rename rewind to reexec to make it more obvious * core/vm: terminate tracing using defers