- 12 12月, 2017 3 次提交
-
-
由 holisticode 提交于
This commit adds a TOML configuration option to swarm. It reuses the TOML configuration structure used in geth with swarm customized items. The commit: * Adds a "dumpconfig" command to the swarm executable which allows printing the (default) configuration to stdout, which then can be redirected to a file in order to customize it. * Adds a "--config <file>" option to the swarm executable which will allow to load a configuration file in TOML format from the specified location in order to initialize the Swarm node The override priorities are like follows: environment variables override command line arguments override config file override default config.
-
由 Felix Lange 提交于
With this change, key, err := crypto.HexToECDSA("000000...") returns nil key and an error instead of a non-nil key with nil X and Y inside. Issue found by @guidovranken.
-
由 Felix Lange 提交于
Issue found by @guidovranken
-
- 11 12月, 2017 1 次提交
-
-
由 Guillaume Ballet 提交于
Now that the AES salt has been moved to the payload, padding must be adjusted to hide it, lest an attacker guesses that the packet uses symmetric encryption.
-
- 10 12月, 2017 3 次提交
-
-
由 Michael Ruminer 提交于
-
由 Alejandro Isaza 提交于
-
由 Péter Szilágyi 提交于
-
- 08 12月, 2017 3 次提交
-
-
由 Guillaume Ballet 提交于
-
由 Sorin Neacsu 提交于
-
由 Guillaume Ballet 提交于
As per EIP-627, the salt for symmetric encryption is now part of the payload. This commit does that.
-
- 07 12月, 2017 2 次提交
-
-
由 Felix Lange 提交于
Also remove installation steps for fuse and golang.org/x/tools/cmd/cover because they're not required anymore.
-
由 Airead 提交于
-
- 06 12月, 2017 2 次提交
-
-
由 Benoit Verkindt 提交于
Fixes #15196
-
由 Felix Lange 提交于
We need those operations for p2p/enr. Also upgrade github.com/btcsuite/btcd/btcec to the latest version and improve BenchmarkSha3. The benchmark printed extra output that confused tools like benchstat and ignored N.
-
- 05 12月, 2017 2 次提交
-
-
由 Sorin Neacsu 提交于
-
由 Steven Roose 提交于
Also unexport isHex, hasHexPrefix because IsHexAddress is the only caller. Fixes #15550
-
- 04 12月, 2017 1 次提交
-
-
由 ferhat elmas 提交于
-
- 01 12月, 2017 5 次提交
-
-
由 ferhat elmas 提交于
-
由 Matthew Di Ferrante 提交于
Generator in the current lib uses -2 as the y point when doing ScalarBaseMult, this makes it so that points/signatures generated from libs like py_ecc don't match/validate as pretty much all other libs (including libsnark) have (1, 2) as the standard generator. This does not affect consensus as the generator is never used in the VM, points are always explicitly defined and there is not ScalarBaseMult op - it only makes it so that doing "import github.com/ethereum/go-ethereum/crypto/bn256" doesn't generate bad points in userland tools.
-
由 Rob 提交于
Updated use of Parallel and added some subtests to help isolate them. Increased timeout in RequestHeadersByNumber so it doesn't time out and causes other tests to break.
-
由 Guillaume Ballet 提交于
-
由 Lewis Marshall 提交于
p2p/simulations: introduce dialBan - Refactor simulations/network connection getters to support avoiding simultaneous dials between two peers If two peers dial simultaneously, the connection will be dropped to help avoid that, we essentially lock the connection object with a timestamp which serves as a ban on dialing for a period of time (dialBanTimeout). - The connection getter InitConn can be wrapped and passed to the nodes via adapters.NodeConfig#Reachable field and then used by the respective services when they initiate connections. This massively stablise the emerging connectivity when running with hundreds of nodes bootstrapping a network. p2p: add Inbound public method to p2p.Peer p2p/simulations: Add server id to logs to support debugging in-memory network simulations when multiple peers are logging. p2p: SetupConn now returns error. The dialer checks the error and only calls resolve if the actual TCP dial fails.
-
- 30 11月, 2017 1 次提交
-
-
由 Zach 提交于
-
- 29 11月, 2017 3 次提交
-
-
由 Péter Szilágyi 提交于
common: fix hex utils to handle 1 byte address conversions
-
由 Péter Szilágyi 提交于
-
由 Felix Lange 提交于
* core/vm: track 63/64 call gas off stack Gas calculations in gasCall* relayed the available gas for calls by replacing it on the stack. This lead to inconsistent traces, which we papered over by copying the pre-execution stack in trace mode. This change relays available gas using a temporary variable, off the stack, and allows removing the weird copy. * core/vm: remove stackCopy * core/vm: pop call gas into pool * core/vm: to -> addr
-
- 28 11月, 2017 3 次提交
-
-
由 Maximilian Meister 提交于
-
由 Péter Szilágyi 提交于
cmd/utils: bootstrap nodes in config file were not respected
-
由 Zach 提交于
-
- 27 11月, 2017 1 次提交
-
-
由 gary rong 提交于
* trie: make fullnode children hash calculation concurrently * trie: thread out only on topmost fullnode * trie: clean up full node children hash calculation * trie: minor code fixups
-
- 26 11月, 2017 1 次提交
-
-
由 Maximilian Meister 提交于
Signed-off-by: NMaximilian Meister <mmeister@suse.de>
-
- 24 11月, 2017 9 次提交
-
-
由 Paul Litvak 提交于
* Disallow --lightserv in light mode * Reformatted * cmd/utils: reduce nesting levels a bit
-
由 Péter Szilágyi 提交于
core/state: copy trie too, not just content
-
由 Péter Szilágyi 提交于
swarm/api: bug fix exact match for manifest
-
由 Péter Szilágyi 提交于
accounts/keystore: change modtime for test case files to be bigger than 1sec.
-
由 gary rong 提交于
* cmd, consensus, eth: split ethash related config to it own * eth, consensus: minor polish * eth, consenus, console: compress pow testing config field to single one * consensus, eth: document pow mode
-
由 Péter Szilágyi 提交于
internal/ethapi: avoid recreating JavaScript tracer wrappers
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Ricardo Domingos 提交于
* console: fix typo in comment * contracts/release: fix typo in comment * core: fix typo in comment * eth: fix typo in comment * miner: fix typo in comment
-