Javier Peletier
7ddc2c9e95
cmd/swarm: add implicit subcommand help ( fix #786 ) ( #788 )
...
* cmd/swarm: add implicit subcommand help (fix #786 )
* cmd/swarm: moved implicit help to a recursive func
6 years ago
Roc Yu
96116758d2
cmd/geth: fix golint issue ( #17176 )
6 years ago
Anton Evangelatov
2e0391ea84
cmd/swarm: change version of swarm binary ( #17174 )
6 years ago
Anton Evangelatov
7c9314f231
swarm: integrate OpenTracing; propagate ctx to internal APIs ( #17169 )
...
* swarm: propagate ctx, enable opentracing
* swarm/tracing: log error when tracing is misconfigured
6 years ago
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
Wenbiao Zheng
2eedbe799f
cmd: typo fixed, isntance -> instance ( #17149 )
6 years ago
Anton Evangelatov
b3711af051
swarm: ctx propagation; bmt fixes; pss generic notification framework ( #17150 )
...
* cmd/swarm: minor cli flag text adjustments
* swarm/api/http: sticky footer for swarm landing page using flex
* swarm/api/http: sticky footer for error pages and fix for multiple choices
* cmd/swarm, swarm/storage, swarm: fix mingw on windows test issues
* cmd/swarm: update description of swarm cmd
* swarm: added network ID test
* cmd/swarm: support for smoke tests on the production swarm cluster
* cmd/swarm/swarm-smoke: simplify cluster logic as per suggestion
* swarm: propagate ctx to internal apis (#754 )
* swarm/metrics: collect disk measurements
* swarm/bmt: fix io.Writer interface
* Write now tolerates arbitrary variable buffers
* added variable buffer tests
* Write loop and finalise optimisation
* refactor / rename
* add tests for empty input
* swarm/pss: (UPDATE) Generic notifications package (#744 )
swarm/pss: Generic package for creating pss notification svcs
* swarm: Adding context to more functions
* swarm/api: change colour of landing page in templates
* swarm/api: change landing page to react to enter keypress
6 years ago
Wenbiao Zheng
fbeb4f20f9
cmd/geth: fix usage formatting ( #17136 )
6 years ago
LeoLiao
4dbefc1f25
cmd/geth: fixed comment typo ( #17140 )
6 years ago
Chen Quan
9da128db70
cmd/p2psim: add exit error output and exit code ( #17116 )
6 years ago
Anton Evangelatov
1990c9e621
cmd/geth: export metrics to InfluxDB ( #16979 )
...
* cmd/geth: add flags for metrics export
* cmd/geth: update usage fields for metrics flags
* metrics/influxdb: update reporter logger to adhere to geth logging convention
6 years ago
ethersphere
e187711c65
swarm: network rewrite merge
6 years ago
nobody
8db8d074e2
cmd/geth: remove the tail "," from genesis config ( #17028 )
...
remove the tail "," from genesis config, which will cause genesis config parse error .
6 years ago
Wenbiao Zheng
574378edb5
cmd: remove faucet/puppeth dead code ( #16991 )
...
* cmd/faucet: authGitHub is not used anymore
* cmd/puppeth: remove not used code
7 years ago
Jeremy Schlatter
3fb5f3ae11
cmd/utils: fix NetworkId default when -dev is set ( #16833 )
...
Prior to this change, when geth was started with `geth -dev -rpc`,
it would report a network id of `1` in response to the `net_version` RPC
request. But the actual network id it used to verify transactions
was `1337`.
This change causes geth instead respond with `1337` to the `net_version`
RPC when geth is started with `geth -dev -rpc`.
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
Steven Roose
13af276418
cmd/ethkey: add command to change key passphrase ( #16516 )
...
This change introduces
ethkey changepassphrase <keyfile>
to change the passphrase of a key file.
7 years ago
Bruno Škvorc
90b22773e9
cmd/puppeth: fixed a typo in a wizard input query ( #16910 )
7 years ago
kiel barry
cbfb40b0aa
params: fix golint warnings ( #16853 )
...
params: fix golint warnings
7 years ago
Antonio Salazar Cardozo
4cf2b4110e
cmd/abigen: support for reading solc output from stdin ( #16683 )
...
Allow the --abi flag to be given - to indicate that it should read the
ABI information from standard input. It expects to read the solc output
with the --combined-json flag providing bin, abi, userdoc, devdoc, and
metadata, and works very similarly to the internal invocation of solc,
except it allows external invocation of solc.
This facilitates integration with more complex solc invocations, such
as invocations that require path remapping or --allow-paths tweaks.
Simple usage example:
solc --combined-json bin,abi,userdoc,devdoc,metadata *.sol | abigen --abi -
7 years ago
rjl493456442
a20cc75b4a
cmd/geth: cap cache allowance
7 years ago
gary rong
7beccb29be
all: get rid of error when creating memory database ( #16716 )
...
* all: get rid of error when create mdb
* core: clean up variables definition
* all: inline mdb definition
7 years ago
kiel barry
4ea493e7eb
cmd: various golint fixes ( #16700 )
...
* cmd: various golint fixes
* cmd: update to pr change request
* cmd: update to pr change request
7 years ago
Péter Szilágyi
6cf0ab38bd
core/rawdb: separate raw database access to own package ( #16666 )
7 years ago
Ivan Daniluk
d2fe83dc5c
whisper/mailserver: pass init error to the caller ( #16671 )
...
* whisper/mailserver: pass init error to the caller
* whisper/mailserver: add returns to fmt.Errorf
* whisper/mailserver: check err in mailserver init test
7 years ago
Martin Holst Swende
5d4d79ae26
cmd/clef: documentation about setup ( #16568 )
...
clef: documentation about setup
7 years ago
Martin Holst Swende
8dfa4f46a9
evm/main: use blocknumber from genesis
7 years ago
Martin Klepsch
852aa143ac
cmd/utils: point users to --syncmode under DEPRECATED ( #16572 )
...
Indicate that --light and --fast options are replaced by --syncmode
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
Péter Szilágyi
abd881f6d4
Revert "cmd/puppeth: fix node deploys for updated dockerfile user"
7 years ago
Vie
26a4dbb467
cmd/geth: update the copyright year in the geth command usage ( #16537 )
7 years ago
Wuxiang
8f8774cf6d
all: fix various typos ( #16533 )
...
* fix typo
* fix typo
* fix typo
7 years ago
Felix Lange
52b046c9b6
rpc: clean up IPC handler ( #16524 )
...
This avoids logging accept errors on shutdown and removes
a bit of duplication. It also fixes some goimports lint warnings.
7 years ago
Zhenguo Niu
661f5f3dac
cmd/utils: fix help template issue for subcommands ( #16351 )
7 years ago
thomasmodeneis
ba1030b6b8
build: enable goimports and varcheck linters ( #16446 )
7 years ago
Martin Holst Swende
ec3db0f56c
cmd/clef, signer: initial poc of the standalone signer ( #16154 )
...
* signer: introduce external signer command
* cmd/signer, rpc: Implement new signer. Add info about remote user to Context
* signer: refactored request/response, made use of urfave.cli
* cmd/signer: Use common flags
* cmd/signer: methods to validate calldata against abi
* cmd/signer: work on abi parser
* signer: add mutex around UI
* cmd/signer: add json 4byte directory, remove passwords from api
* cmd/signer: minor changes
* cmd/signer: Use ErrRequestDenied, enable lightkdf
* cmd/signer: implement tests
* cmd/signer: made possible for UI to modify tx parameters
* cmd/signer: refactors, removed channels in ui comms, added UI-api via stdin/out
* cmd/signer: Made lowercase json-definitions, added UI-signer test functionality
* cmd/signer: update documentation
* cmd/signer: fix bugs, improve abi detection, abi argument display
* cmd/signer: minor change in json format
* cmd/signer: rework json communication
* cmd/signer: implement mixcase addresses in API, fix json id bug
* cmd/signer: rename fromaccount, update pythonpoc with new json encoding format
* cmd/signer: make use of new abi interface
* signer: documentation
* signer/main: remove redundant option
* signer: implement audit logging
* signer: create package 'signer', minor changes
* common: add 0x-prefix to mixcaseaddress in json marshalling + validation
* signer, rules, storage: implement rules + ephemeral storage for signer rules
* signer: implement OnApprovedTx, change signing response (API BREAKAGE)
* signer: refactoring + documentation
* signer/rules: implement dispatching to next handler
* signer: docs
* signer/rules: hide json-conversion from users, ensure context is cleaned
* signer: docs
* signer: implement validation rules, change signature of call_info
* signer: fix log flaw with string pointer
* signer: implement custom 4byte databsae that saves submitted signatures
* signer/storage: implement aes-gcm-backed credential storage
* accounts: implement json unmarshalling of url
* signer: fix listresponse, fix gas->uint64
* node: make http/ipc start methods public
* signer: add ipc capability+review concerns
* accounts: correct docstring
* signer: address review concerns
* rpc: go fmt -s
* signer: review concerns+ baptize Clef
* signer,node: move Start-functions to separate file
* signer: formatting
7 years ago
Felix Lange
c7ab3e5544
common: delete StringToAddress, StringToHash ( #16436 )
...
* common: delete StringToAddress, StringToHash
These functions are confusing because they don't parse hex, but use the
bytes of the string. This change removes them, replacing all uses of
StringToAddress(s) by BytesToAddress([]byte(s)).
* eth/filters: remove incorrect use of common.BytesToAddress
7 years ago
Péter Szilágyi
7c1e9a5004
cmd/puppeth: fix node deploys for updated dockerfile user
7 years ago
dm4
3ebcf92b42
cmd/evm: print vm output when debug flag is on ( #16326 )
7 years ago
Zhenguo Niu
c43792a42c
cmd/geth: update template for 'geth bug' command ( #16350 )
7 years ago
Nguyen Sy Thanh Son
2a4bd55b43
cmd/geth: remove relOracle variable ( #16434 )
7 years ago
Zhenguo Niu
db9b2f5405
cmd/puppeth: add constraints to network name ( #16336 )
...
* cmd/puppeth: add constraints to network name
* cmd/puppeth: update usage of network arg
* cmd/puppeth: avoid package dependency on utils
7 years ago
Péter Szilágyi
495bdb0c71
cmd: export preimages in RLP, support GZIP, uniform with block export
7 years ago
rjl493456442
b6b6f52ec8
cmd: implement preimage dump and import cmds
7 years ago
Guillaume Ballet
3d013c1939
whisper: some components are still using v5, switch to v6
7 years ago
Felföldi Zsolt
1488fdaf19
cmd/utils: fix maxpeers vs lightpeers logic ( #16125 )
7 years ago
Vlad Bokov
52697fb1b2
cmd/puppeth: allow any vhost in wallet
7 years ago
Kurkó Mihály
39c16c8a1e
cmd, ethdb, vendor: integrate leveldb iostats ( #16277 )
...
* cmd, dashboard, ethdb, vendor: send iostats to dashboard
* ethdb: change names
* ethdb: handle parsing errors
* ethdb: handle iostats syntax error
* ethdb: r -> w
7 years ago
Kurkó Mihály
704840a8ad
cmd, dashboard: use webpack dev server, remove custom assets ( #16263 )
...
* cmd, dashboard: remove custom assets, webpack dev server
* dashboard: yarn commands, small fixes
7 years ago
gluk256
f1d440a437
whisper: final refactoring ( #16259 )
...
whisper: final refactoring
7 years ago