f43c07cb3c
eth, eth/downloader: transition to eth 61
2015-06-30 19:05:06 +03:00
af51dc4d63
eth, eth/downloader: pass the eth protocol version through
2015-06-30 19:00:01 +03:00
aac2b6ae4c
eth: add the blocks from numbers protocol message
2015-06-30 19:00:01 +03:00
5db8f447d5
eth: fix #1319 , put an upper limit on the known txns and blocks
2015-06-30 19:00:01 +03:00
6fc85f1ec2
eth: clean up peer struct a bit, fix double txn bcast
2015-06-30 19:00:01 +03:00
2c8ed76e01
eth: start cleaning up old protocol implementation, add metrics
2015-06-30 19:00:00 +03:00
393d675690
cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61
2015-06-30 19:00:00 +03:00
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)
2015-06-30 17:27:47 +02:00
c14f0a4471
core: added checkpoint for last block
...
* Add a checkpoint every X blocks
* Removed queued write
2015-06-30 17:27:47 +02:00
ba95e445e1
Merge pull request #1328 from bas-vk/issue1327
...
Add pendingTransactions and resend
2015-06-30 08:27:03 -07:00
8c4d493c66
solved merge conflicts
2015-06-30 15:32:02 +02:00
a5d5387dee
rebase with develop
2015-06-30 15:27:27 +02:00
130f3b270a
Merge pull request #1362 from obscuren/txpool-cleanup
...
core: reduce CPU load by reducing calls to checkQueue
2015-06-30 05:18:51 -07:00
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.
2015-06-30 14:01:12 +02:00
57dff6f1d7
initialize fields to prevent nil pointer exception
2015-06-30 11:20:31 +02:00
7ffabf1d39
add json parsing method for resend transaction
2015-06-30 11:20:31 +02:00
6fdddc5ac9
improved error handling in parsing request
2015-06-30 11:20:31 +02:00
02c6af66bf
fixed unittest compilation issue
2015-06-30 11:20:31 +02:00
ec866b066a
added eth.resend
2015-06-30 11:20:31 +02:00
056e9dd393
added eth.pendingTransactions
2015-06-30 11:20:31 +02:00
9226369b5d
Merge branch 'hotfix/0.9.34-1' into develop
2015-06-30 11:15:08 +02:00
a2ce7b9950
Merge branch 'hotfix/0.9.34-1'
v0.9.34-1
2015-06-30 11:14:59 +02:00
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.
2015-06-30 11:14:43 +02:00
4c490db6af
Use uint64 for block header timestamp
2015-06-30 10:52:11 +02:00
b047f05e7e
cmd/geth: version bump 0.9.35
2015-06-30 02:30:26 +02:00
8d016ced6b
Merge branch 'release/0.9.34' into develop
2015-06-30 02:22:40 +02:00
7625b07dd9
Merge branch 'release/0.9.34'
v0.9.34
2015-06-30 02:22:19 +02:00
8f504063f4
cmd/geth: version bump 0.9.34
2015-06-30 02:11:54 +02:00
e896cab82c
Merge pull request #1360 from obscuren/peter-metrics
...
Rebased peter's PR
2015-06-29 16:58:49 -07:00
5f3792c2a7
cmd/geth: decent error message if metrics are disabled
2015-06-30 00:57:55 +02:00
01fe972113
cmd, core, eth, metrics, p2p: require enabling metrics
2015-06-30 00:51:46 +02:00
ccbb56b4f2
cmd/geth, eth, ethdb: monitor database compactions
2015-06-30 00:51:29 +02:00
2aeeb72fa5
cmd/geth, metrics: separate process metric collection, add disk
2015-06-30 00:51:02 +02:00
7c4ed8055c
Merge pull request #1357 from obscuren/core-optimisations-2
...
core: optimisations
2015-06-29 15:44:23 -07:00
992e4f83cb
core: replaced BlockCache with lru.Cache
2015-06-30 00:36:25 +02:00
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
5d9df7348d
gpo non-existent block checks
2015-06-29 18:53:04 +02:00
ac80ec59dc
miner: update root only when mining
2015-06-29 18:51:49 +02:00
e349fac97d
core: fixed tests
2015-06-29 18:51:49 +02:00
aba901e13c
core: removed write's go routine
2015-06-29 18:51:49 +02:00
07db098ccf
core: renamed next to pending & fixed tests
2015-06-29 18:51:49 +02:00
855e76fddd
core: reduced cache limit to 256
2015-06-29 18:51:49 +02:00
4d11747836
deps: Added golang-lru
2015-06-29 18:51:49 +02:00
6ca3a44638
core: switched to proper LRU
2015-06-29 18:51:49 +02:00
4460dc9d1a
core: added LRU caching and added batch writing when LDB is used
2015-06-29 18:51:49 +02:00
2a5a55efaf
ethdb: accessor for LDB. TODO remove this interface
2015-06-29 18:51:48 +02:00
c850c41ec1
trie: Implemented a batch write approach for flushing
2015-06-29 18:51:48 +02:00
76821d167a
core, eth, rpc: avoid unnecessary block header copying
2015-06-29 18:51:48 +02:00
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
d0bb90c69e
core: generate benchmark keys only once
2015-06-29 18:51:48 +02:00