- Aug 15, 2018
-
-
Zsolt Felföldi authored
This PR enables the indexers to work in light client mode by downloading a part of these tries (the Merkle proofs of the last values of the last known section) in order to be able to add new values and recalculate subsequent hashes. It also adds CHT data to NodeInfo.
-
Elad authored
Co-authored-by:
Janos Guljas <janos@resenje.org> Co-authored-by:
Anton Evangelatov <anton.evangelatov@gmail.com> Co-authored-by:
Balint Gabor <balint.g@gmail.com>
-
Gary Rong authored
* miner: stream uncle block * miner: polish
-
Péter Szilágyi authored
cmd: polish miner flags, deprecate olds, add upgrade path
-
Péter Szilágyi authored
-
Jeff Prestes authored
* backends: increase gaslimit in order to allow tests of large contracts * backends: increase gaslimit in order to allow tests of large contracts * backends: increase gaslimit in order to allow tests of large contracts
-
- Aug 14, 2018
-
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
This PR implements les.freeClientPool. It also adds a simulated clock in common/mclock, which enables time-sensitive tests to run quickly and still produce accurate results, and package common/prque which is a generalised variant of prque that enables removing elements other than the top one from the queue. les.freeClientPool implements a client database that limits the connection time of each client and manages accepting/rejecting incoming connections and even kicking out some connected clients. The pool calculates recent usage time for each known client (a value that increases linearly when the client is connected and decreases exponentially when not connected). Clients with lower recent usage are preferred, unknown nodes have the highest priority. Already connected nodes receive a small bias in their favor in order to avoid accepting and instantly kicking out clients. Note: the pool can use any string for client identification. Using signature keys for that purpose would not make sense when being known has a negative value for the client. Currently the LES protocol manager uses IP addresses (without port address) to identify clients.
-
Gary Rong authored
* miner: move agent logic to worker * miner: polish * core: persist block before reorg
-
Gary Rong authored
-
Anton Evangelatov authored
* swarm/network, swarm/storage: validate default chunk size * swarm/bmt, swarm/network, swarm/storage: update BMT hash initialisation * swarm/bmt: move segmentCount to tests * swarm/chunk: change chunk.DefaultSize to be untyped const * swarm/storage: add size validator * swarm/storage: add chunk size validation to localstore * swarm/storage: move validation from localstore to validator * swarm/storage: global chunk rules in MRU
-
Yao Zengzeng authored
Signed-off-by:
YaoZengzeng <yaozengzeng@zju.edu.cn>
-
- Aug 13, 2018
-
-
Eugene Valeyev authored
Changes in #15811 broke partial topic filtering. Re-enable it.
-
Péter Szilágyi authored
cmd, consensus/ethash, eth: miner push notifications
-
Mymskmkt authored
-
- Aug 10, 2018
-
-
Janoš Guljaš authored
* cmd/swarm: fix manifest subcommands and add tests * cmd/swarm: manifest update: update default entry for non-encrypted uploads * swarm/api: upload defaultpath file only once * swarm/api/client: improve UploadDirectory default path handling * cmd/swarm: support absolute and relative default path values * cmd/swarm: fix a typo in test * cmd/swarm: check encrypted uploads in manifest update tests
-
Elad authored
-
Péter Szilágyi authored
-
- Aug 09, 2018
-
-
Janoš Guljaš authored
-
Janoš Guljaš authored
-
Janoš Guljaš authored
-
Anton Evangelatov authored
-
Péter Szilágyi authored
eth, trie: fix tracer GC which accidentally pruned the metaroot
-
Péter Szilágyi authored
-
libotony authored
-
Jay authored
-
- Aug 08, 2018
- Aug 07, 2018
-
-
Janoš Guljaš authored
-
Attila Gazso authored
* swarm: Added lightnode flag Added --lightnode command line parameter Added LightNode to Handshake message * swarm/config: Fixed variable naming * cmd/swarm: Changed BoolTFlag to BoolFlag for SwarmLightNodeEnabled * swarm/network: Changed logging * swarm/network: Changed protocol version testing * swarm/network: Renamed DefaultNetworkID variable to TestProtocolNetworkID * swarm/network: Bumped protocol version * swarm/network: Changed LightNode handhsake test to table driven * swarm/network: Changed back TestProtocolVersion to 5 for now * swarm/network: Moved the test configuration inside the test function scope
-
b00ris authored
-
Elad authored
-
Oleg Kovalov authored
-
Anton Evangelatov authored
-
Andrew Chiw authored
httpDo has a verbose option that dumps the HTTP request
-
Elad authored
-
Javier Peletier authored
-
- Aug 06, 2018
-
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
rpc: Add admin_addTrustedPeer and admin_removeTrustedPeer.
-
Gary Rong authored
-