Paweł Bylica
d37f987639
cmd/evm: Add --vm.evm flag to support EVMC ( #18457 )
6 years ago
dragonvslinux
f50d66f2d8
cmd/geth: update cli copyright years ( #18455 )
...
* Update copyright
2018 -> 2019
* Update copyright
2018 -> 2019
6 years ago
Sean
428eabe28d
cmd/geth: support dumpconfig optionally saving to file ( #18327 )
...
* Changed dumpConfig function to optionally save to file
* Added O_TRUNC flag to file open and cleaned up code
6 years ago
Ha ĐANG
3f421aca54
cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses ( #18344 )
...
* cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses
* cmd/puppeth: don't need to handle duplicate set
6 years ago
Dave McGregor
33d233d3e1
vendor, crypto, swarm: switch over to upstream sha3 package
6 years ago
Anton Evangelatov
9e9fc87e70
swarm: remove unused/dead code ( #18351 )
6 years ago
Martin Holst Swende
83a9a73b89
cmd/geth, core, eth: implement Constantinople override flag ( #18273 )
...
* geth/core/eth: implement constantinople override flag
* les: implemnent constantinople override flag for les clients
* cmd/geth, eth, les: fix typo, move flag to experimentals
6 years ago
Péter Szilágyi
38c3d88cea
cmd/puppeth: support latest docker compose, expose faucet UDP
6 years ago
Péter Szilágyi
69a8d9841a
cmd/faucet: fix faucet static peer regression
6 years ago
Elad
bb724080ca
cmd/swarm, metrics, swarm/api/client, swarm/storage, swarm/metrics, swarm/api/http: add instrumentation ( #18274 )
6 years ago
Péter Szilágyi
31b3334922
cmd/utils, eth: minor polishes on whitelist code
6 years ago
Ryan Schneider
48b70ecff1
cmd, eth: Add support for `--whitelist <blocknum>=<hash>,...` flag
...
* Rejects peers that respond with a different hash for any of the passed in block numbers.
* Meant for emergency situations when the network forks unexpectedly.
6 years ago
Martin Holst Swende
42a914a84f
cmd/evm, core/vm, eth: implement api methods to do stdjson dump to local filesystem
6 years ago
Javier Peletier
c1d462ee5d
cmd/puppeth: fix rogue quote in alethGenesisSpec JSON ( #18262 )
6 years ago
Péter Szilágyi
d4415f5e40
cmd/puppeth: chain import/export via wizard, minor polishes
6 years ago
Martin Holst Swende
8698fbabf6
cmd/puppeth: implement chainspec converters
6 years ago
Péter Szilágyi
4825d9c3dd
cmd/puppeth: enforce lowercase network names
6 years ago
Anton Evangelatov
7e7781ffaa
cmd/swarm: add flag for application name (swarm or swarm-private) ( #18189 )
...
* cmd/swarm: add flag for application name (swarm or swarm-private)
* cmd/swarm/swarm-smoke: return correct exit code
* cmd/swarm/swarm-smoke: remove colorable
* remove swarm/grafana_dashboards
6 years ago
Péter Szilágyi
cf62bd2e88
cmd/utils: max out the OS file allowance, don't cap to 2K
6 years ago
Matthew Di Ferrante
3d21d455dc
cmd/evm: commit statedb if dump is requested ( #18208 )
...
Add a call `statedb.Commit(true)` if the `Dump` flag is on, as otherwise the `storage` output in the dump is always empty.
6 years ago
Javier Peletier
4f0d978eaa
cmd/swarm: update should error on manifest mismatch ( #18047 )
...
* cmd/swarm: fix ethersphere/go-ethereum#979 :
update should error on manifest mistmatch
* cmd/swarm: fixed comments and remove sprintf from log.Info
* cmd/swarm: remove unnecessary comment
6 years ago
Javier Peletier
2714e8f091
Remove multihash from Swarm bzz:// for Feeds ( #18175 )
6 years ago
Ferenc Szabo
76f5f662cc
cmd/swarm: FUSE do not require --ipcpath ( #18112 )
...
- Have `${DataDir}/bzzd.ipc` as IPC path default.
- Respect the `--datadir` flag.
- Keep only the global `--ipcpath` flag and drop the local `--ipcpath` flag
as flags might overwrite each other. (Note: before global `--ipcpath`
was ignored even if it was set)
fixes ethersphere#795
6 years ago
Anton Evangelatov
d31f1f4fdb
cmd/swarm/swarm-smoke: update smoke tests to fit the new scheme for the k8s cluster ( #18104 )
6 years ago
Anton Evangelatov
6b6c4d1c27
cmd/swarm: speed up tests - use global cluster ( #18129 )
6 years ago
Péter Szilágyi
434dd5bc00
cmd, core, eth, light, trie: add trie read caching layer
6 years ago
Alexey Sharov
eb8fa3cc89
cmd/swarm, swarm/api/http, swarm/bmt, swarm/fuse, swarm/network/stream, swarm/storage, swarm/storage/encryption, swarm/testutil: use pseudo-random instead of crypto-random for test files content generation ( #18083 )
...
- Replace "crypto/rand" to "math/rand" for files content generation
- Remove swarm/network_test.go.Shuffle and swarm/btm/btm_test.go.Shuffle - because go1.9 support dropped (see https://github.com/ethereum/go-ethereum/pull/17807 and comments to swarm/network_test.go.Shuffle)
6 years ago
Andrew Chiw
a0876f7433
Imply that SwarmApiFlag is the API endpoint to connect to, not to listen on ( #18071 )
6 years ago
Corey Lin
1ff152f3a4
rawdb: remove unused parameter for WritePreimages func ( #18059 )
...
* rawdb: remove unused parameter for WritePreimages func and modify a
spelling mistake
* rawdb: update the doc for function WritePreimages
6 years ago
Anton Evangelatov
cf3b187bde
swarm, cmd/swarm: address ineffectual assignments ( #18048 )
...
* swarm, cmd/swarm: address ineffectual assignments
* swarm/network: remove unused vars from testHandshake
* swarm/storage/feed: revert cursor changes
6 years ago
Elad
126dfde6c9
cmd/swarm: auto resolve default path according to env flag ( #17960 )
6 years ago
Roc Yu
3e1cfbae93
cmd/swarm/swarm-smoke: fix issue that loop variable capture in func ( #17992 )
6 years ago
Johns Beharry
80d3907767
cmd/clef: replace password arg with prompt ( #17897 )
...
* cmd/clef: replace password arg with prompt (#17829 )
Entering passwords on the command line is not secure as it is easy to recover from bash_history or the process table.
1. The clef command addpw was renamed to setpw to better describe the functionality
2. The <password> argument was removed and replaced with an interactive prompt
* cmd/clef: remove undeclared variable
6 years ago
Martin Holst Swende
4c0883e20d
core/vm: adds refund as part of the json standard trace ( #17910 )
...
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.
6 years ago
Felix Lange
75060ef96e
cmd/bootnode: fix -writeaddress output ( #17932 )
6 years ago
Wenbiao Zheng
6c313fff7b
cmd/geth: don't set GOMAXPROCS by default ( #17148 )
...
This is no longer needed because Go uses all CPUs
by default. The change allows setting GOMAXPROCS in environment if needed.
6 years ago
Grachev Mikhail
3e92c853fb
cmd/clef: fix typos in README ( #17908 )
6 years ago
lash
862d6f2fbf
cmd/swarm: Smoke test for Swarm Feed ( #17892 )
6 years ago
Elad
4868964bb9
cmd/swarm: split flags and cli command declarations to the relevant files ( #17896 )
6 years ago
Felix Lange
6f607de5d5
p2p, p2p/discover: add signed ENR generation ( #17753 )
...
This PR adds enode.LocalNode and integrates it into the p2p
subsystem. This new object is the keeper of the local node
record. For now, a new version of the record is produced every
time the client restarts. We'll make it smarter to avoid that in
the future.
There are a couple of other changes in this commit: discovery now
waits for all of its goroutines at shutdown and the p2p server
now closes the node database after discovery has shut down. This
fixes a leveldb crash in tests. p2p server startup is faster
because it doesn't need to wait for the external IP query
anymore.
6 years ago
Elad
da290e9707
cmd/swarm: speed up tests ( #17878 )
...
These minor changes already shaved off around 30s.
6 years ago
Martin Holst Swende
d5c7a6056a
cmd/clef: encrypt the master seed on disk ( #17704 )
...
* cmd/clef: encrypt master seed of clef
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
* keystore: refactor for external use of encryption
* clef: utilize keystore encryption, check flags correctly
* clef: validate master password
* clef: add json wrapping around encrypted master seed
6 years ago
Ryan Schneider
cfcc47529d
cmd/utils: fix bug when checking for flag value conflicts ( #17803 )
6 years ago
Philip Schlump
f95811e65b
cmd/abigen: support for --type flag with piped data ( #17648 )
6 years ago
Felix Lange
b8a0daf0cc
cmd/puppeth: fix node URL in health check ( #17802 )
...
* cmd/puppeth: fix node URL in health check
* cmd/puppeth: set external IP for geth
* cmd/puppeth: fix enode cast issue
6 years ago
cdetrio
bfa0f96822
cmd/evm: fix state dump ( #17832 )
6 years ago
Anton Evangelatov
82a1c771ef
cmd/swarm: disable tests under Windows until they are fixed ( #17827 )
6 years ago
Anton Evangelatov
303b99663e
swarm: schemas and migrations ( #17813 )
6 years ago
Javier Peletier
de01178c18
swarm/storage/feed: Renamed package
6 years ago
Javier Peletier
696bc9b01c
swarm/storage/feeds: renamed vars that can conflict with package name
6 years ago