Jeffrey Wilcke
a2ce7b9950
Merge branch 'hotfix/0.9.34-1'
9 years ago
Jeffrey Wilcke
d8fe64acaa
core, miner: added queued write to WriteBlock
...
This fixes an issue with the lru cache not being available when calling
WriteBlock. WriteBlock previously always assumed to be called from the
InsertChain where the lru cache was always created prior to calling
WriteBlock. When being called from the worker this could lead in to a
nil pointer exception being thrown and causing database corruption.
9 years ago
Jeffrey Wilcke
7625b07dd9
Merge branch 'release/0.9.34'
9 years ago
Jeffrey Wilcke
8f504063f4
cmd/geth: version bump 0.9.34
9 years ago
Jeffrey Wilcke
e896cab82c
Merge pull request #1360 from obscuren/peter-metrics
...
Rebased peter's PR
9 years ago
Péter Szilágyi
5f3792c2a7
cmd/geth: decent error message if metrics are disabled
9 years ago
Péter Szilágyi
01fe972113
cmd, core, eth, metrics, p2p: require enabling metrics
9 years ago
Péter Szilágyi
ccbb56b4f2
cmd/geth, eth, ethdb: monitor database compactions
9 years ago
Péter Szilágyi
2aeeb72fa5
cmd/geth, metrics: separate process metric collection, add disk
9 years ago
Jeffrey Wilcke
7c4ed8055c
Merge pull request #1357 from obscuren/core-optimisations-2
...
core: optimisations
9 years ago
Jeffrey Wilcke
992e4f83cb
core: replaced BlockCache with lru.Cache
9 years ago
Jeffrey Wilcke
a8ebf756c7
Merge branch 'miner-broadcast' into core-optimisations-2
...
Conflicts:
core/chain_manager.go
miner/worker.go
9 years ago
zsfelfoldi
5d9df7348d
gpo non-existent block checks
9 years ago
Jeffrey Wilcke
ac80ec59dc
miner: update root only when mining
9 years ago
Jeffrey Wilcke
e349fac97d
core: fixed tests
9 years ago
Jeffrey Wilcke
aba901e13c
core: removed write's go routine
9 years ago
obscuren
07db098ccf
core: renamed next to pending & fixed tests
9 years ago
obscuren
855e76fddd
core: reduced cache limit to 256
9 years ago
obscuren
4d11747836
deps: Added golang-lru
9 years ago
obscuren
6ca3a44638
core: switched to proper LRU
9 years ago
obscuren
4460dc9d1a
core: added LRU caching and added batch writing when LDB is used
9 years ago
obscuren
2a5a55efaf
ethdb: accessor for LDB. TODO remove this interface
9 years ago
obscuren
c850c41ec1
trie: Implemented a batch write approach for flushing
9 years ago
Felix Lange
76821d167a
core, eth, rpc: avoid unnecessary block header copying
9 years ago
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.
9 years ago
Felix Lange
d0bb90c69e
core: generate benchmark keys only once
9 years ago
Felix Lange
992dc74efd
core: avoid duplicate calls to Transaction.Data
9 years ago
Felix Lange
0b22ad99c1
core: optimize IntrinsicGas
9 years ago
Felix Lange
a8889b092b
core/types: cache computed block values
9 years ago
Felix Lange
11b8d1df59
core/types: cache computed transaction values
9 years ago
Felix Lange
8743cc1c1c
rlp: add ListSize
9 years ago
Felix Lange
a0566c1058
rlp: remove Flat
9 years ago
Felix Lange
3d0c6a8345
rlp: pool encoder allocations
9 years ago
Felix Lange
c3d6228023
core: add InsertChain benchmarks
9 years ago
Felix Lange
7098ec691c
rpc: unmask pending block fields
...
This pleases the RPC tests.
9 years ago
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).
9 years ago
Felix Lange
ceaf1c080b
core: add GenerateChain, GenesisBlockForTesting
9 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
9 years ago
Felix Lange
654564e164
core/types: make transactions immutable
9 years ago
Jeffrey Wilcke
9d8b512b27
Merge pull request #1356 from Gustav-Simonsson/debug_develop
...
Debug develop
9 years ago
Jeffrey Wilcke
b39042db56
core, miner: implemented canary
9 years ago
Jeffrey Wilcke
d1e93db3eb
core, miner: added write block method & changed mining propagation
9 years ago
Jeffrey Wilcke
059a1e9e4e
miner: broadcast block before insertion/validation
9 years ago
Jeffrey Wilcke
5e7db8f5cd
Merge pull request #1353 from karalabe/fix-double-fetch
...
eth/fetcher: don't double filter/fetch the same block
9 years ago
Péter Szilágyi
a7d22658ad
eth/fetcher: don't drop on future blocks, just not propagate
9 years ago
Péter Szilágyi
29d53b2073
eth/fetcher: don't double filter/fetch the same block
9 years ago
Felix Lange
a0191910fc
Merge pull request #1341 from karalabe/proto-version-negotiation
...
p2p: support protocol version negotiation
9 years ago
Jeffrey Wilcke
b9ebdffd83
Merge pull request #1335 from tgerring/mistcleanup
...
Travis and README cleanup
9 years ago
Jeffrey Wilcke
1169ec7681
Merge pull request #1344 from karalabe/monitor-fixes
...
Monitor fixes
9 years ago
Péter Szilágyi
d099a42c85
cmd/geth: fix monitor panic, don't pre-fill with dummy data
10 years ago