rjl493456442
a20cc75b4a
cmd/geth: cap cache allowance
7 years ago
Péter Szilágyi
b659718fd0
Merge pull request #16880 from holiman/http_timeouts
...
rpc: set timeouts for http server, see #16859
7 years ago
Anton Evangelatov
be2aec092d
metrics: expvar support for ResettingTimer ( #16878 )
...
* metrics: expvar support for ResettingTimer
* metrics: use integers for percentiles; remove Overall
* metrics: fix edge-case panic for index-out-of-range
7 years ago
Martin Holst Swende
17f80cc2e2
rpc: set timeouts for http server, see #16859
7 years ago
Péter Szilágyi
143c4341d8
core, eth, trie: streaming GC for the trie cache ( #16810 )
...
* core, eth, trie: streaming GC for the trie cache
* trie: track memcache statistics
7 years ago
Felix Lange
3f33a7c8ce
consensus/ethash: reduce keccak hash allocations ( #16857 )
...
Use Read instead of Sum to avoid internal allocations and
copying the state.
name old time/op new time/op delta
CacheGeneration-8 764ms ± 1% 579ms ± 1% -24.22% (p=0.000 n=20+17)
SmallDatasetGeneration-8 75.2ms ±12% 60.6ms ±10% -19.37% (p=0.000 n=20+20)
HashimotoLight-8 1.58ms ±11% 1.55ms ± 8% ~ (p=0.322 n=20+19)
HashimotoFullSmall-8 4.90µs ± 1% 4.88µs ± 1% -0.31% (p=0.013 n=19+18)
7 years ago
Ryan Schneider
c8dcb9584e
rpc: use HTTP request context as top-level context ( #16861 )
7 years ago
kiel barry
af28d12847
console: squash golint warnings ( #16836 )
7 years ago
kiel barry
0ad32d3be7
ethstats: fix last golint warning ( #16837 )
7 years ago
Péter Szilágyi
68b0d30d4a
VERSION, params: begin 1.8.11 release cycle
7 years ago
Péter Szilágyi
eae63c511c
params: release Geth 1.8.10 hotfix
7 years ago
Péter Szilágyi
ca34e8230e
Merge pull request #16843 from karalabe/txpool-fix-deadlock
...
core: fix transaction event asynchronicity
7 years ago
Péter Szilágyi
342ec83d67
core: fix transaction event asynchronicity
7 years ago
Wenbiao Zheng
38c7eb0f26
trie: rename TrieSync to Sync and improve hexToKeybytes ( #16804 )
...
This removes a golint warning: type name will be used as trie.TrieSync by
other packages, and that stutters; consider calling this Sync.
In hexToKeybytes len(hex) is even and (even+1)/2 == even/2, remove the +1.
7 years ago
Péter Szilágyi
d51faee240
Merge pull request #16831 from abeln/patch-1
...
core/vm: fix typo in comment
7 years ago
kimmylin
426f62f1a8
core: improve test for TransactionPriceNonceSort ( #16413 )
7 years ago
Dmitry Shulyak
7677ec1f34
p2p/discv5: add egress/ingress traffic metrics to discv5 udp transport ( #16369 )
7 years ago
Abel Nieto
d258eee211
core/vm: fix typo in comment
7 years ago
kiel barry
84f8c0cc1f
common: improve documentation comments ( #16701 )
...
This commit adds many comments and removes unused code.
It also removes the EmptyHash function, which had some uses
but was silly.
7 years ago
Andrea Franz
998f6564b2
whisper/shhclient: update call to shh_post to expect string instead of bool ( #16757 )
...
Fixes #16756
7 years ago
Smilenator
40a2c52397
eth/fetcher: reuse variables for hash and number ( #16819 )
7 years ago
Mohanson
a9c6ef6905
ethereum: fix a typo in FilterQuery{} ( #16827 )
...
Fix a spelling mistake in comment
7 years ago
Péter Szilágyi
ccc0debb63
VERSION, params: begin 1.8.10 release cycle
7 years ago
Péter Szilágyi
ff9b14617e
params: release go-ethereum v1.8.9
7 years ago
Wenbiao Zheng
d6ed2f67a8
eth, node, trie: fix minor typos ( #16802 )
7 years ago
Péter Szilágyi
54294b45b1
Merge pull request #16803 from karalabe/trie-avoid-funccall
...
trie: cleaner logic, one less func call
7 years ago
Péter Szilágyi
d31802312a
trie: cleaner logic, one less func call
7 years ago
Ryan Schneider
55b579e02c
core: use a wrapped map to remove contention in `TxPool.Get`. ( #16670 )
...
* core: use a wrapped `map` and `sync.RWMutex` for `TxPool.all` to remove contention in `TxPool.Get`.
* core: Remove redundant `txLookup.Find` and improve comments on txLookup methods.
7 years ago
Abel Nieto
be22ee8dda
core/vm: fix typo in instructions.go ( #16788 )
7 years ago
Péter Szilágyi
56de337e57
Merge pull request #16722 from karalabe/trie-iterator-proofs
...
trie: support proof generation from the iterator
7 years ago
Péter Szilágyi
c934c06cc1
trie: support proof generation from the iterator
7 years ago
gary rong
fbf57d53e2
core/types: convert status type from uint to uint64 ( #16784 )
7 years ago
gary rong
6ce21a4744
vendor, ethdb: print warning log if leveldb is performing compaction ( #16766 )
...
* vendor: update leveldb package
* ethdb: print warning log if db is performing compaction
* ethdb: update annotation and log
7 years ago
kiel barry
9af364e42b
node: all golint warnings fixed ( #16773 )
...
* node: all golint warnings fixed
* node: rm per peter
* node: rm per peter
7 years ago
kiel barry
09d44247f7
log: fixes for golint warnings ( #16775 )
7 years ago
kiel barry
0fe47e98c4
trie: fixes to comply with golint ( #16771 )
7 years ago
Péter Szilágyi
415969f534
Merge pull request #16769 from karalabe/async-broadcasts
...
eth: propagate blocks and transactions async
7 years ago
Péter Szilágyi
d9cee2c172
eth: propagate blocks and transactions async
7 years ago
Péter Szilágyi
ab6bdbd9b0
Merge pull request #16758 from hadv/fix/typos
...
Fix some typos in comment code and output log
7 years ago
Péter Szilágyi
953b5ac015
Merge pull request #16720 from rjl493456442/PreTxsEvent
...
all: collate new transaction events together
7 years ago
hadv
f2fdb75dd9
core, consensus: fix some typos in comment code and output log
7 years ago
Péter Szilágyi
f9c456e02d
Merge pull request #16753 from karalabe/go-1.10.2
...
travis, appveyor: bump Go release to 1.10.2
7 years ago
Péter Szilágyi
579bd0f9fb
travis, appveyor: bump Go release to 1.10.2
7 years ago
Péter Szilágyi
49719e21bc
core, eth: minor txpool event cleanups
7 years ago
rjl493456442
a2e43d28d0
all: collate new transaction events together
7 years ago
Felix Lange
6286c255f1
p2p/enr: updates for discovery v4 compatibility ( #16679 )
...
This applies spec changes from ethereum/EIPs#1049 and adds support for
pluggable identity schemes.
Some care has been taken to make the "v4" scheme standalone. It uses
public APIs only and could be moved out of package enr at any time.
A couple of minor changes were needed to make identity schemes work:
- The sequence number is now updated in Set instead of when signing.
- Record is now copy-safe, i.e. calling Set on a shallow copy doesn't
modify the record it was copied from.
7 years ago
Péter Szilágyi
f6bc65fc68
Merge pull request #16739 from karalabe/android-trusty
...
travis: try to upgrade android builder to trusty
7 years ago
Péter Szilágyi
ff8a033f18
travis: try to upgrade android builder to trusty
7 years ago
Guillaume Ballet
247b5f0369
accounts/abi: allow abi: tags when unpacking structs
...
Go code users can now tag event struct members with `abi:` to specify in what fields the event will be de-serialized.
See PR #16648 for details.
7 years ago
Péter Szilágyi
49ec4f0cd1
VERSION, params: start 1.8.9 release cycle
7 years ago