- Oct 31, 2018
-
-
Elad authored
-
- Oct 29, 2018
-
-
Roc Yu authored
-
- Oct 27, 2018
-
-
Ferenc Szabo authored
* swarm: clean up unused private types and functions Those that were identified by code inspection tool. * swarm/storage: move/add Proximity GoDoc from deleted private function The mentioned proximity() private function was deleted in: 1ca8fc1e6fa0ab4ab1aaca06d6fb32e173cd5f2f
-
- Oct 25, 2018
-
-
holisticode authored
* p2p/protocols: introduced protocol accounting * p2p/protocols: added TestExchange simulation * p2p/protocols: add accounting simulation * p2p/protocols: remove unnecessary tests * p2p/protocols: comments for accounting simulation * p2p/protocols: addressed PR comments * p2p/protocols: finalized accounting implementation * p2p/protocols: removed unused code * p2p/protocols: addressed @nonsense PR comments
-
Johns Beharry authored
* 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
-
- Oct 23, 2018
-
-
Wenbiao Zheng authored
__ <(o )___ ( ._> / `---'
-
Felix Lange authored
This fixes the import cycle build error in core/vm tests. There is no need to refer to core/vm for a type definition.
-
Martin Holst Swende authored
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.
-
Wenbiao Zheng authored
-
- Oct 21, 2018
-
-
holisticode authored
* swarm/network/stream: disambiguate chunk delivery messages (retrieval vs syncing) * swarm/network/stream: addressed PR comments * swarm/network/stream: stream protocol version change due to new message types in this PR
-
- Oct 19, 2018
-
-
Elad authored
-
Felix Lange authored
-
Wenbiao Zheng authored
-
Wuxiang authored
-
Elad authored
-
- Oct 18, 2018
-
-
Simon Jentzsch authored
* first impl of eth_getProof * fixed docu * added comments and refactored based on comments from holiman * created structs * handle errors correctly * change Value to *hexutil.Big in order to have the same output as parity * use ProofList as return type
-
- Oct 17, 2018
-
-
Attila Gazso authored
* swarm: Lightnode mode: disable sync, retrieve, subscription * swarm/network/stream: assign error and check in one line * swarm: restructured RegistryOption initializing * swarm: empty commit to retrigger CI build * swarm/network/stream: Added comments explaining RegistryOptions
-
Anton Evangelatov authored
-
- Oct 16, 2018
-
-
holisticode authored
-
Smilenator authored
-
Wenbiao Zheng authored
This is no longer needed because Go uses all CPUs by default. The change allows setting GOMAXPROCS in environment if needed.
-
- Oct 15, 2018
-
-
Martin Holst Swende authored
-
Dmitrij Koniajev authored
The changes allow building WebAssembly applications which use ethclient.Client.
-
Kurkó Mihály authored
This change extends the peer metrics collection: - traces the life-cycle of the peers - meters the peer traffic separately for every peer - creates event feed for the peer events - emits the peer events
-
Evgeny authored
-
Grachev Mikhail authored
-
Martin Holst Swende authored
This commit updates our tests with the latest and greatest from ethereum/tests. It also contains implementation of NoProof for blockchain tests.
-
Felix Lange authored
Fixes #17837
-
- Oct 12, 2018
-
-
Viktor Trón authored
* swarm/network/stream: generalize SetNextBatch and add Server SessionIndex * swarm/network/stream: fix a typo in comment * swarm/network/stream: remove live argument from NewSwarmSyncerServer
-
Louis Holbrook authored
-
Louis Holbrook authored
-
Elad authored
-
Felix Lange authored
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.
-
- Oct 11, 2018
-
-
Felix Lange authored
This fixes a rare deadlock with the inproc adapter: - A node is stopped, which acquires Network.lock. - The protocol code being simulated (swarm/network in my case) waits for its goroutines to shut down. - One of those goroutines calls into the simulation to add a peer, which waits for Network.lock. The fix for the deadlock is really simple, just release the lock before stopping the simulation node. Other changes in this PR clean up the exec adapter so it reports node startup errors better and remove the docker adapter because it just adds overhead. In the exec adapter, node information is now posted to a one-shot server. This avoids log parsing and allows reporting startup errors to the simulation host. A small change in package node was needed because simulation nodes use port zero. Node.{HTTP,WS}Endpoint now return the live endpoints after startup by checking the TCP listener.
-
- Oct 10, 2018
-
-
Péter Szilágyi authored
internal/ethapi: warn on failed account accesses
-
Péter Szilágyi authored
-
- Oct 09, 2018
-
-
Felix Lange authored
Notifier tracks whether subscription are 'active'. A subscription becomes active when the subscription ID has been sent to the client. If the client sends notifications in the request handler before the subscription becomes active they are dropped. The tests tried to work around this problem by always waiting 5s before sending the first notification. Fix it by buffering notifications until the subscription becomes active. This speeds up all subscription tests. Also fix TestSubscriptionMultipleNamespaces to wait for three messages per subscription instead of six. The test now finishes just after all notifications have been received and doesn't hit the 30s timeout anymore.
-
Elad authored
These minor changes already shaved off around 30s.
-
Anton Evangelatov authored
* swarm/storage: lower constants for faster tests * swarm: reduce test size for TestLocalStoreAndRetrieve * swarm: reduce nodes for dec_inc_node_count
-
Martin Holst Swende authored
* 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
-