Sheldon
b8a2ac3fcf
les: fix pubkey index typo ( #18093 )
6 years ago
mr_franklin
9a000601c6
consensus/clique: fix comment typo ( #18103 )
6 years ago
Kenso Trabing
23de6197f9
rpc: fix package doc typo ( #18101 )
...
Changed "send" to "send," in two places
6 years ago
Kenso Trabing
698843b45f
rpc: fix example typo ( #18100 )
...
whishes --> wishes
6 years ago
Péter Szilágyi
48b4e8069c
params, swarm: begin Geth v1.8.19 and Swarm v0.3.7 cycle
6 years ago
Péter Szilágyi
58632d4402
params, swarm: release Geth v1.8.18 and Swarm v0.3.6
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
Péter Szilágyi
cff97119a7
Merge pull request #18097 from karalabe/update-chts-2
...
params: update CHTs
6 years ago
Péter Szilágyi
cef7ed53bd
params: update CHTs
6 years ago
Ferenc Szabo
c41e1bd1eb
swarm/storage: fix garbage collector index skew ( #18080 )
...
On file access LDBStore's tryAccessIdx() function created a faulty
GC Index Data entry, because not indexing the ikey correctly.
That caused the chunk addresses/hashes to start with '00' and the last
two digits were dropped. => Incorrect chunk address.
Besides the fix, the commit also contains a schema change which will
run the CleanGCIndex() function to clean the GC index from erroneous
entries.
Note: CleanGCIndex() rebuilds the index from scratch which can take
a really-really long time with a huge DB (possibly an hour).
6 years ago
mr_franklin
4fecc7a3b1
eth: fix minor grammar issue in comment ( #18091 )
6 years ago
mr_franklin
588aa88121
github: format code owners file ( #18090 )
...
replace tabs by spaces in the code owners file
6 years ago
Ferenc Szabo
8080265f3f
swarm/storage: fix access count on dbstore after cache hit ( #17978 )
...
Access count was not incremented when chunk was retrieved
from cache. So the garbage collector might have deleted the most
frequently accessed chunk from disk.
Co-authored-by: Ferenc Szabo <ferenc.szabo@ethereum.org>
6 years ago
gary rong
1212c7b844
core: fix default trie cache limit ( #17860 )
6 years ago
lash
201a0bf181
p2p/simulations, swarm/network: Custom services in snapshot ( #17991 )
...
* p2p/simulations: Add custom services to simnodes + remove sim down conn objs
* p2p/simulation, swarm/network: Add selective services to discovery sim
* p2p/simulations, swarm/network: Remove useless comments
* p2p/simulations, swarm/network: Clean up mess from rebase
* p2p/simulation: Add sleep to prevent connect flakiness in http test
* p2p/simulations: added concurrent goroutines to prevent sleeps on simulation connect/disconnect
* p2p/simulations, swarm/network/simulations: address pr comments
* reinstated dummy service
* fixed http snapshot test
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
Kurkó Mihály
f574c4e74b
metrics, p2p: add ephemeral registry ( #18067 )
...
* metrics, p2p: add ephemeral registry
* metrics: fix linter issue
6 years ago
Felix Lange
870efeef01
core/state: remove lock ( #18065 )
...
The lock in StateDB is useless. It's only held in Copy, but Copy is safe
for concurrent use because all it does is read.
6 years ago
gary rong
144c1c6c52
consensus: extend getWork API with block number ( #18038 )
6 years ago
tamirms
b16cc501a8
ethclient: include block hash from FilterQuery ( #17996 )
...
ethereum/go-ethereum#16734 introduced BlockHash to the FilterQuery
struct. However, ethclient was not updated to include BlockHash in the actual
RPC request.
6 years ago
Felix Lange
9313fa63f9
event/filter: delete unused package ( #18063 )
6 years ago
Péter Szilágyi
d0675e9d9c
Merge pull request #17982 from holiman/polish_contantinople_extcodehash
...
core/vm: check empty in extcodehash
6 years ago
Ryan Schneider
bd519ab8ae
internal/web3ext: add eth.getProof ( #18052 )
6 years ago
JoranHonig
1064e3283d
common/compiler: capture runtime code and source maps ( #18020 )
6 years ago
Corey Lin
a5dc087845
core/vm, eth/tracers: use pointer receiver for GetRefund ( #18018 )
6 years ago
Corey Lin
212bf266c5
eth, p2p: fix comment typos ( #18014 )
6 years ago
Liang Ma
c71e4fc4d5
p2p: fix comment typo ( #18027 )
6 years ago
Corey Lin
968f6019d0
event, event/filter: minor code cleanup ( #18061 )
6 years ago
Kurkó Mihály
503993c819
p2p: use enode.ID type in metered connection ( #17933 )
...
Change the type of the metered connection's id field from string to enode.ID.
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
Mark Vujevits
81533deae5
swarm/network: light nodes are not dialed, saved and requested from ( #17975 )
...
* RequestFromPeers does not use peers marked as lightnode
* fix warning about variable name
* write tests for RequestFromPeers
* lightnodes should be omitted from the addressbook
* resolve pr comments regarding logging, formatting and comments
* resolve pr comments regarding comments and added a missing newline
* add assertions to check peers in live connections
6 years ago
Felix Lange
0bcff8f525
eth/downloader: speed up tests by generating chain only once ( #17916 )
...
* core: speed up GenerateChain
Use a mock implementation of ChainReader instead of creating
and destroying a BlockChain object for each generated block.
* eth/downloader: speed up tests by generating chain only once
This change reworks the downloader tests so they share a common test
blockchain instead of generating a chain in every test. The tests are
roughly twice as fast now.
6 years ago
Javier Peletier
36ca85fa1c
swarm/api: Fix #18007 , missing signature should return HTTP 400 ( #18008 )
6 years ago
Wenbiao Zheng
b35165555d
eth/downloader: remove the expired id directly ( #17963 )
6 years ago
Martin Holst Swende
5b74bb6445
signer: remove ineffectual assignments ( #18049 )
...
* signer: remove ineffectual assignments
* signer: remove ineffectual assignments
6 years ago
Martin Holst Swende
eea3ae42a3
core, eth/downloader: fix validation flaw, fix downloader printout flaw ( #17974 )
6 years ago
Martin Holst Swende
dc6648bb58
downloader: measure successfull deliveries, not failed ( #17983 )
...
* downloader: measure successfull deliveries, not failed
* downloader: fix typos
6 years ago
Corey Lin
0fe0b8f7b9
p2p/protocols: use keyed fields for struct instantiation ( #18017 )
6 years ago
Samuel Marks
80e2f3aca4
travis, appveyor: bump to Go 1.11.2 ( #18031 )
6 years ago
gary rong
e2640a96d4
miner: fix miner stress test ( #18039 )
6 years ago
holisticode
79c7a69ac8
swarm: Better syncing and retrieval option definition ( #17986 )
...
* swarm: Better syncing and retrieval option definition
* swarm/network/stream: better comments
* swarm/network/stream: addressed PR comments
6 years ago
Anton Evangelatov
53eb4e0b0f
swarm/api: unexport Respond methods ( #18037 )
6 years ago
KimMachineGun
baee850471
swarm: modify context key ( #17925 )
...
* swarm: modify context key
* gofmt sctx.go
6 years ago
Elad
126dfde6c9
cmd/swarm: auto resolve default path according to env flag ( #17960 )
6 years ago
Elad
f08f596a37
all: updated code owners file ( #17987 )
6 years ago
Roc Yu
3e1cfbae93
cmd/swarm/swarm-smoke: fix issue that loop variable capture in func ( #17992 )
6 years ago
Ferenc Szabo
54f650a3be
swarm: clean up unused private types and functions ( #17989 )
...
* 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:
1ca8fc1e6f
6 years ago
Martin Holst Swende
1b6fd032e3
core/vm: check empty in extcodehash
6 years ago
holisticode
8ed4739176
p2p accounting ( #17951 )
...
* 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
6 years ago