Jeffrey Wilcke
a8ebf756c7
Merge branch 'miner-broadcast' into core-optimisations-2
...
Conflicts:
core/chain_manager.go
miner/worker.go
2015-06-29 18:55:49 +02:00
zsfelfoldi
5d9df7348d
gpo non-existent block checks
2015-06-29 18:53:04 +02:00
Jeffrey Wilcke
ac80ec59dc
miner: update root only when mining
2015-06-29 18:51:49 +02:00
Jeffrey Wilcke
e349fac97d
core: fixed tests
2015-06-29 18:51:49 +02:00
Jeffrey Wilcke
aba901e13c
core: removed write's go routine
2015-06-29 18:51:49 +02:00
obscuren
07db098ccf
core: renamed next to pending & fixed tests
2015-06-29 18:51:49 +02:00
obscuren
855e76fddd
core: reduced cache limit to 256
2015-06-29 18:51:49 +02:00
obscuren
4d11747836
deps: Added golang-lru
2015-06-29 18:51:49 +02:00
obscuren
6ca3a44638
core: switched to proper LRU
2015-06-29 18:51:49 +02:00
obscuren
4460dc9d1a
core: added LRU caching and added batch writing when LDB is used
2015-06-29 18:51:49 +02:00
obscuren
2a5a55efaf
ethdb: accessor for LDB. TODO remove this interface
2015-06-29 18:51:48 +02:00
obscuren
c850c41ec1
trie: Implemented a batch write approach for flushing
2015-06-29 18:51:48 +02:00
Felix Lange
76821d167a
core, eth, rpc: avoid unnecessary block header copying
2015-06-29 18:51:48 +02:00
Felix Lange
fccc7d71eb
core: remove superfluous big.Int allocations
...
With blocks now being immutable, use big.Int values from
accessor functions instead of copying their results.
2015-06-29 18:51:48 +02:00
Felix Lange
d0bb90c69e
core: generate benchmark keys only once
2015-06-29 18:51:48 +02:00
Felix Lange
992dc74efd
core: avoid duplicate calls to Transaction.Data
2015-06-29 18:51:48 +02:00
Felix Lange
0b22ad99c1
core: optimize IntrinsicGas
2015-06-29 18:51:48 +02:00
Felix Lange
a8889b092b
core/types: cache computed block values
2015-06-29 18:51:48 +02:00
Felix Lange
11b8d1df59
core/types: cache computed transaction values
2015-06-29 18:51:48 +02:00
Felix Lange
8743cc1c1c
rlp: add ListSize
2015-06-29 18:51:48 +02:00
Felix Lange
a0566c1058
rlp: remove Flat
2015-06-29 18:51:47 +02:00
Felix Lange
3d0c6a8345
rlp: pool encoder allocations
2015-06-29 18:51:47 +02:00
Felix Lange
c3d6228023
core: add InsertChain benchmarks
2015-06-29 18:51:47 +02:00
Felix Lange
7098ec691c
rpc: unmask pending block fields
...
This pleases the RPC tests.
2015-06-29 18:51:47 +02:00
Felix Lange
e0e5f74776
eth/downloader, eth/fetcher: use core.GenerateChain in tests
...
TestMadeupParentBlockChainAttack has been deleted because it was too
hard to port and the attack that it checks the prevention of is being
averted in a different way (through a protocol change).
2015-06-29 18:51:47 +02:00
Felix Lange
ceaf1c080b
core: add GenerateChain, GenesisBlockForTesting
2015-06-29 18:51:47 +02:00
Felix Lange
1d42888d30
core/types: make blocks immutable
2015-06-29 18:51:47 +02:00
Felix Lange
654564e164
core/types: make transactions immutable
2015-06-29 18:51:47 +02:00
Jeffrey Wilcke
9d8b512b27
Merge pull request #1356 from Gustav-Simonsson/debug_develop
...
Debug develop
2015-06-29 09:33:19 -07:00
Jeffrey Wilcke
b39042db56
core, miner: implemented canary
2015-06-29 13:31:49 +02:00
Jeffrey Wilcke
d1e93db3eb
core, miner: added write block method & changed mining propagation
2015-06-29 13:31:49 +02:00
Jeffrey Wilcke
059a1e9e4e
miner: broadcast block before insertion/validation
2015-06-29 13:31:49 +02:00
Jeffrey Wilcke
5e7db8f5cd
Merge pull request #1353 from karalabe/fix-double-fetch
...
eth/fetcher: don't double filter/fetch the same block
2015-06-29 04:31:13 -07:00
Péter Szilágyi
a7d22658ad
eth/fetcher: don't drop on future blocks, just not propagate
2015-06-29 14:20:13 +03:00
Péter Szilágyi
29d53b2073
eth/fetcher: don't double filter/fetch the same block
2015-06-29 13:49:04 +03:00
Felix Lange
a0191910fc
Merge pull request #1341 from karalabe/proto-version-negotiation
...
p2p: support protocol version negotiation
2015-06-28 13:52:37 +02:00
Jeffrey Wilcke
b9ebdffd83
Merge pull request #1335 from tgerring/mistcleanup
...
Travis and README cleanup
2015-06-27 02:17:35 -07:00
Jeffrey Wilcke
1169ec7681
Merge pull request #1344 from karalabe/monitor-fixes
...
Monitor fixes
2015-06-27 02:16:12 -07:00
Péter Szilágyi
d099a42c85
cmd/geth: fix monitor panic, don't pre-fill with dummy data
2015-06-26 22:05:49 +03:00
Péter Szilágyi
7e69392249
cmd/geth: re-scale charts when changing unit magnitudes
2015-06-26 21:48:21 +03:00
Péter Szilágyi
216fc267fa
p2p: fix local/remote cap/protocol mixup
2015-06-26 20:45:13 +03:00
Péter Szilágyi
d84638bd31
p2p: support protocol version negotiation
2015-06-26 15:48:50 +03:00
Jeffrey Wilcke
b0a5be4495
Merge pull request #1321 from karalabe/cut-it-open-3000
...
Metrics collecting and reporting support
2015-06-25 08:18:42 -07:00
Jeffrey Wilcke
e64625aa82
Merge pull request #1332 from bas-vk/ipcbatch
...
IPC interface improvements
2015-06-25 08:06:19 -07:00
Taylor Gerring
c6dbe9dc07
Travis and README cleanup
2015-06-25 16:46:54 +02:00
Bas van Kervel
662285074e
improved logging for IPC connection lifetime management
2015-06-25 15:54:16 +02:00
Péter Szilágyi
e9c0b5431c
cmd/geth: finalize mem stats
2015-06-25 16:19:42 +03:00
Péter Szilágyi
fdbf8be735
cmd/geth, rpc/api: fix reported metrics issues
2015-06-25 15:33:26 +03:00
Bas van Kervel
5757a0edb5
added IPC timeout support
2015-06-25 14:32:22 +02:00
unknown
04910c902a
support for large request/response on windows
2015-06-25 04:53:41 -07:00