Kurkó Mihály
a9835c1816
cmd, dashboard, log: log collection and exploration ( #17097 )
...
* cmd, dashboard, internal, log, node: logging feature
* cmd, dashboard, internal, log: requested changes
* dashboard, vendor: gofmt, govendor, use vendored file watcher
* dashboard, log: gofmt -s -w, goimports
* dashboard, log: gosimple
6 years ago
Ryan Schneider
897ea01d5f
internal/debug: use pprof goroutine writer for debug_stacks ( #16892 )
...
* debug: Use pprof goroutine writer in debug.Stacks() to ensure all goroutines are captured.
* Up to 64MB limit, previous code only captured first 1MB of goroutines.
* internal/debug: simplify stacks handler
* fix typo
* fix pointer receiver
7 years ago
Ryan Schneider
1fc54d92ec
internal/web3ext: fix method name for enabling mutex profiling ( #16964 )
7 years ago
Felix Lange
0255951587
crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey ( #16932 )
...
ToECDSAPub was unsafe because it returned a non-nil key with nil X, Y in
case of invalid input. This change replaces ToECDSAPub with
UnmarshalPubkey across the codebase.
7 years ago
Péter Szilágyi
90829a04bf
internal/ethapi: reduce pendingTransactions to O(txs+accs) from O(txs*accs)
7 years ago
Péter Szilágyi
99483e85b9
rpc: support returning nil pointer big.Ints (null)
7 years ago
Martin Holst Swende
eac16f9824
core: improve getBadBlocks to return full block rlp ( #16902 )
...
* core: improve getBadBlocks to return full block rlp
* core, eth, ethapi: changes to getBadBlocks formatting
* ethapi: address review concerns
7 years ago
kiel barry
cbfb40b0aa
params: fix golint warnings ( #16853 )
...
params: fix golint warnings
7 years ago
Péter Szilágyi
49719e21bc
core, eth: minor txpool event cleanups
7 years ago
rjl493456442
a2e43d28d0
all: collate new transaction events together
7 years ago
ligi
eab6e5a317
build: specify the key to use when invoking gpg:sign-and-deploy-file ( #16696 )
7 years ago
Péter Szilágyi
6cf0ab38bd
core/rawdb: separate raw database access to own package ( #16666 )
7 years ago
kiel barry
670bae4cd3
internal: golint updates for this or self warning ( #16634 )
7 years ago
Felix Lange
e7067be94f
cmd/geth, mobile: add memsize to pprof server ( #16532 )
...
* cmd/geth, mobile: add memsize to pprof server
This is a temporary change, to be reverted before the next release.
* cmd/geth: fix variable name
7 years ago
Wuxiang
8f8774cf6d
all: fix various typos ( #16533 )
...
* fix typo
* fix typo
* fix typo
7 years ago
Steven Roose
ec8ee611ca
core/types: remove String methods from struct types ( #16205 )
...
Most of these methods did not contain all the relevant information
inside the object and were not using a similar formatting type.
Moreover, the existence of a suboptimal String method breaks usage
with more advanced data dumping tools like go-spew.
7 years ago
Péter Szilágyi
28ef23f446
internal/ethapi: make resent gas params optional
7 years ago
Péter Szilágyi
b7e57ca1d0
cmd/evm, core/vm, internal/ethapi: don't disable call gas metering
7 years ago
Felix Lange
12f4d28411
internal/debug: add support for mutex profiles ( #16230 )
7 years ago
Péter Szilágyi
ba7b384019
internal/ethapi: fix getTransactionReceipt
7 years ago
Anton Evangelatov
ae9f97221a
metrics: pull library and introduce ResettingTimer and InfluxDB reporter ( #15910 )
...
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
* vendor: change nonsense/go-metrics to ethersphere/go-metrics
* go-metrics: add tests. move ResettingTimer logic from reporter to type.
* all, metrics: pull in metrics package in go-ethereum
* metrics/test: make sure metrics are enabled for tests
* metrics: apply gosimple rules
* metrics/exp, internal/debug: init expvar endpoint when starting pprof server
* internal/debug: tiny comment formatting fix
7 years ago
Péter Szilágyi
5cf1d35470
eth, les, light: filter on logs only, derive receipts on demand
7 years ago
Martin Holst Swende
b585f76128
ethapi: prevent creating contract if no data is provided ( #16108 )
...
* ethapi: prevent creating contract if no data is provided
* internal/ethapi: downcase error for no data on contract creation
7 years ago
Felix Lange
a5c0bbb4f4
all: update license information ( #16089 )
7 years ago
ferhat elmas
52ad848b2e
internal/build: fix usage of strings.TrimLeft ( #16066 )
7 years ago
Péter Szilágyi
55599ee95d
core, trie: intermediate mempool between trie and database ( #15857 )
...
This commit reduces database I/O by not writing every state trie to disk.
7 years ago
Guillaume Ballet
dd7a715d73
internal: fix a typo that caused a lint error on travis ( #15987 )
7 years ago
Martin Holst Swende
722bac84fa
ethapi: add personal.signTransaction ( #15971 )
...
* ethapi: add personal.signTransaction
* ethapi: refactor to minimize duplicate code
* ethapi: make nonce,gas,gasPrice obligatory in signTransaction
7 years ago
Felix Lange
f08cd94fb7
cmd/ethkey: fix formatting, review nits ( #15807 )
...
This commit:
- Adds a --msgfile option to read the message to sign from a file
instead of command line argument.
- Adds a unit test for signing subcommands.
- Removes some weird whitespace in the code.
7 years ago
Felix Lange
5c2f1e0014
all: update generated code ( #15808 )
...
* core/types, core/vm, eth, tests: regenerate gencodec files
* Makefile: update devtools target
Install protoc-gen-go and print reminders about npm, solc and protoc.
Also switch to github.com/kevinburke/go-bindata because it's more
maintained.
* contracts/ens: update contracts and regenerate with solidity v0.4.19
The newer upstream version of the FIFSRegistrar contract doesn't set the
resolver anymore. The resolver is now deployed separately.
* contracts/release: regenerate with solidity v0.4.19
* contracts/chequebook: fix fallback and regenerate with solidity v0.4.19
The contract didn't have a fallback function, payments would be rejected
when compiled with newer solidity. References to 'mortal' and 'owned'
use the local file system so we can compile without network access.
* p2p/discv5: regenerate with recent stringer
* cmd/faucet: regenerate
* dashboard: regenerate
* eth/tracers: regenerate
* internal/jsre/deps: regenerate
* dashboard: avoid sed -i because it's not portable
* accounts/usbwallet/internal/trezor: fix go generate warnings
7 years ago
Péter Szilágyi
6f69cdd109
all: switch gas limits from big.Int to uint64
7 years ago
Péter Szilágyi
5258785c81
cmd, core, eth/tracers: support fancier js tracing ( #15516 )
...
* 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
7 years ago
Felix Lange
8c33ac10bf
internal/ethapi: support "input" in transaction args ( #15640 )
...
The tx data field is called "input" in returned objects and "data" in
argument objects. Make it so "input" can be used, but bail if both
are set.
7 years ago
Paweł Bylica
fb5f25eeee
core/vm: Remove snapshot param from Interpreter.Run()
7 years ago
rhaps107
e9971d356b
internal/ethapi: don't crash for missing receipts
...
Fixes #15408
Fixes #14432
7 years ago
yoza
bbea4b2b53
internal/ethapi: fix typo in comment ( #15659 )
7 years ago
Péter Szilágyi
989fb4472a
internal/ethapi: avoid recreating JavaScript tracer wrappers
7 years ago
Nick Johnson
72ed186f46
eth, internal: Implement getModifiedAccountsBy(Hash|Number) using trie diffs ( #15512 )
...
* eth, internal: Implement using trie diffs
* eth, internal: Changes in response to review
* eth: More fixes to getModifiedAccountsBy*
* eth: minor polishes on error capitalization
7 years ago
Pulyak Viktor
f5091e5711
internal/ethapi: fix js tracer to properly decode addresses ( #15297 )
...
* Add method getBalanceFromJs for work with address as bytes
* expect []byte instead of common.Address in ethapi tracer
7 years ago
tsarpaul
c7b0abf86b
Added output to clarify gas calculation in txpool.inspect
7 years ago
Péter Szilágyi
b0190189a3
core/vm, internal/ethapi: tracer no full storage, nicer json output ( #15499 )
...
* core/vm, internal/ethapi: tracer no full storage, nicer json output
* core/vm, internal/ethapi: omit disabled trace fields
7 years ago
gary rong
984c25ac40
accounts, internal: fail if no suitable estimated gas found ( #15477 )
...
* accounts, internal: return an error if no suitable estimated gas found
* accounts, internal: minor polishes on the gas estimator
7 years ago
Péter Szilágyi
e401536c97
dockerignore, internal/build: forward correct git folder
7 years ago
Arba Sasmoyo
f47adc9ea8
.dockerignore, internal/build: Read git information directly from file ( #15458 )
...
* .dockerignore, internal/build: Read git information directly from file
This commit changes the way of retrieving git commit and branch for build
environment from running git command to reading git files directly.
This commit also adds required git files into Docker build context.
fixes : #15346
* .dockerignore: workaround for including some files in .git
7 years ago
Guillaume Ballet
36243c7ed8
internal/web3ext: make whisper v5 methods work ( #15111 )
7 years ago
rjl493456442
94903d572b
internal, accounts, eth: utilize vm failed flag to help gas estimation
7 years ago
Péter Szilágyi
7e9e3a134b
core/types, internal: swap Receipt.Failed to Status
7 years ago
rjl493456442
a31835c8b4
internal/ethapi: add status code to receipt rpc return
7 years ago
slumber1122
2b4a5f2677
internal/ethapi: remove code duplication around tx sending ( #15158 )
7 years ago
Ernesto del Toro
3c8656347f
eth, internal/ethapi: fix spelling of 'Ethereum' ( #15164 )
7 years ago