Jeffrey Wilcke
507869bff1
Merge pull request #1373 from obscuren/recovery-tools
...
core, cmd/geth: improved recover functionality
9 years ago
Jeffrey Wilcke
70d5d791cc
core, cmd/geth: improved recover functionality
...
`geth recover` now accepts both hashes and numbers using "#" and no
longer requires the ethereum instance.
9 years ago
Péter Szilágyi
d6f2c0a76f
eth, eth/downloader: fix #1231 , DOS vulnerability in hash queueing
9 years ago
Jeffrey Wilcke
bb418a43c1
Merge pull request #1370 from obscuren/force-checkpoint
...
core, cmd/geth: recover by number
9 years ago
Jeffrey Wilcke
2e5242f9bb
Merge pull request #1355 from Gustav-Simonsson/block_header_ts_uint64
...
Use uint64 for block header timestamp
9 years ago
Péter Szilágyi
1ae80aaf64
eth: fix #1371 , double lock during block/txn known set limitation
9 years ago
Bas van Kervel
41de1cb723
added pipelining support
9 years ago
Jeffrey Wilcke
29ab1fa8a5
core, cmd/geth: recover by number
9 years ago
Péter Szilágyi
60454da650
eth/downloader: reduce hash fetches in prep for eth/61
9 years ago
Jeffrey Wilcke
cb2c10d862
Merge pull request #1366 from ethers/rpcRequest
...
fix logging jsonrpc request #1365
9 years ago
ethers
d05305473e
fix logging jsonrpc request #1365
9 years ago
Jeffrey Wilcke
be935bff84
Merge pull request #1363 from obscuren/safeguard
...
core: added checkpoint for last block
9 years ago
Péter Szilágyi
f43c07cb3c
eth, eth/downloader: transition to eth 61
9 years ago
Péter Szilágyi
af51dc4d63
eth, eth/downloader: pass the eth protocol version through
9 years ago
Péter Szilágyi
aac2b6ae4c
eth: add the blocks from numbers protocol message
9 years ago
Péter Szilágyi
5db8f447d5
eth: fix #1319 , put an upper limit on the known txns and blocks
9 years ago
Péter Szilágyi
6fc85f1ec2
eth: clean up peer struct a bit, fix double txn bcast
9 years ago
Péter Szilágyi
2c8ed76e01
eth: start cleaning up old protocol implementation, add metrics
9 years ago
Péter Szilágyi
393d675690
cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61
9 years ago
Jeffrey Wilcke
a748afce03
core: txpool listen for ChainHeadEvent instead of ChainEvent
...
Changed the transaction pool to listen for ChainHeadEvent when resetting
the state instead of ChainEvent. It makes very little sense to burst
through transactions while we are catching up (e.g., have more than one
block to process)
9 years ago
Jeffrey Wilcke
c14f0a4471
core: added checkpoint for last block
...
* Add a checkpoint every X blocks
* Removed queued write
9 years ago
Jeffrey Wilcke
ba95e445e1
Merge pull request #1328 from bas-vk/issue1327
...
Add pendingTransactions and resend
9 years ago
Bas van Kervel
8c4d493c66
solved merge conflicts
9 years ago
Bas van Kervel
a5d5387dee
rebase with develop
9 years ago
Jeffrey Wilcke
130f3b270a
Merge pull request #1362 from obscuren/txpool-cleanup
...
core: reduce CPU load by reducing calls to checkQueue
9 years ago
Jeffrey Wilcke
61ca780f3b
core: reduce CPU load by reducing calls to checkQueue
...
* Reduced maxQueue count
* Added proper deletion past maxQueue limit
* Added cheap stats method to txpool
queueCheck was called for **every** transaction instead of:
1. add all txs
2. check queue
previously
1. add txs[i]
2. check queue
3. if i < len(txs) goto 1.
9 years ago
Bas van Kervel
57dff6f1d7
initialize fields to prevent nil pointer exception
9 years ago
Bas van Kervel
7ffabf1d39
add json parsing method for resend transaction
9 years ago
Bas van Kervel
6fdddc5ac9
improved error handling in parsing request
9 years ago
Bas van Kervel
02c6af66bf
fixed unittest compilation issue
9 years ago
Bas van Kervel
ec866b066a
added eth.resend
9 years ago
Bas van Kervel
056e9dd393
added eth.pendingTransactions
9 years ago
Jeffrey Wilcke
9226369b5d
Merge branch 'hotfix/0.9.34-1' into develop
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
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
9 years ago
Jeffrey Wilcke
b047f05e7e
cmd/geth: version bump 0.9.35
9 years ago
Jeffrey Wilcke
8d016ced6b
Merge branch 'release/0.9.34' into develop
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