Péter Szilágyi
|
d6f2c0a76f
|
eth, eth/downloader: fix #1231, DOS vulnerability in hash queueing
|
2015-07-01 15:21:35 +03:00 |
|
Péter Szilágyi
|
1ae80aaf64
|
eth: fix #1371, double lock during block/txn known set limitation
|
2015-07-01 11:12:05 +03:00 |
|
Péter Szilágyi
|
60454da650
|
eth/downloader: reduce hash fetches in prep for eth/61
|
2015-07-01 01:20:49 +03:00 |
|
Péter Szilágyi
|
f43c07cb3c
|
eth, eth/downloader: transition to eth 61
|
2015-06-30 19:05:06 +03:00 |
|
Péter Szilágyi
|
af51dc4d63
|
eth, eth/downloader: pass the eth protocol version through
|
2015-06-30 19:00:01 +03:00 |
|
Péter Szilágyi
|
aac2b6ae4c
|
eth: add the blocks from numbers protocol message
|
2015-06-30 19:00:01 +03:00 |
|
Péter Szilágyi
|
5db8f447d5
|
eth: fix #1319, put an upper limit on the known txns and blocks
|
2015-06-30 19:00:01 +03:00 |
|
Péter Szilágyi
|
6fc85f1ec2
|
eth: clean up peer struct a bit, fix double txn bcast
|
2015-06-30 19:00:01 +03:00 |
|
Péter Szilágyi
|
2c8ed76e01
|
eth: start cleaning up old protocol implementation, add metrics
|
2015-06-30 19:00:00 +03:00 |
|
Péter Szilágyi
|
393d675690
|
cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61
|
2015-06-30 19:00:00 +03:00 |
|
Péter Szilágyi
|
5f3792c2a7
|
cmd/geth: decent error message if metrics are disabled
|
2015-06-30 00:57:55 +02:00 |
|
Péter Szilágyi
|
01fe972113
|
cmd, core, eth, metrics, p2p: require enabling metrics
|
2015-06-30 00:51:46 +02:00 |
|
Péter Szilágyi
|
ccbb56b4f2
|
cmd/geth, eth, ethdb: monitor database compactions
|
2015-06-30 00:51:29 +02:00 |
|
Péter Szilágyi
|
2aeeb72fa5
|
cmd/geth, metrics: separate process metric collection, add disk
|
2015-06-30 00:51:02 +02: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 |
|
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 |
|
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 |
|
Péter Szilágyi
|
c0343c8f17
|
cmd/geth: add memory stat collection too
|
2015-06-25 13:47:06 +03:00 |
|
Péter Szilágyi
|
c6e2af14c0
|
cmd/geth: limit the maximum chart colums to 6
|
2015-06-25 12:12:11 +03:00 |
|
Péter Szilágyi
|
3ea6b5ae32
|
cmd/geth: list the available metrics if none specified
|
2015-06-25 11:42:45 +03:00 |
|
Péter Szilágyi
|
d02f07a983
|
cmd/geth: polish monitor visuals, add footer, refresh flag
|
2015-06-25 11:32:21 +03:00 |
|
Péter Szilágyi
|
b98b444179
|
cmd/geth: add attach and rows flags to the monitor command
|
2015-06-25 10:36:47 +03:00 |
|
Péter Szilágyi
|
1ce40d7581
|
Godeps: remove mist remnants, add termui deps
|
2015-06-24 18:40:18 +03:00 |
|
Péter Szilágyi
|
92ef33d97a
|
rpc/api, cmd/geth: retrievel all percentiles, add time units
|
2015-06-24 18:34:05 +03:00 |
|
Péter Szilágyi
|
302187ae39
|
cmd/geth: allow branching metric patterns
|
2015-06-24 18:34:05 +03:00 |
|
Péter Szilágyi
|
bf99d5b33c
|
cmd/geth: polish the monitoring charts a bit
|
2015-06-24 18:34:05 +03:00 |
|
Péter Szilágyi
|
e5b820c47b
|
cmd/geth, rpc/api: extend metrics API, add a basic monitor command
|
2015-06-24 18:34:05 +03:00 |
|
Péter Szilágyi
|
bde2ff0343
|
cmd/geth, rpc/api: move the metrics into the new console
|
2015-06-24 18:34:05 +03:00 |
|
Péter Szilágyi
|
803b3c4a82
|
eth, ethdb: measure database operation latencies too
|
2015-06-24 18:34:05 +03:00 |
|
Péter Szilágyi
|
0609fcf030
|
eth: make sure dbs are lvldb before instrumenting
|
2015-06-24 18:34:04 +03:00 |
|
Péter Szilágyi
|
792b0ddccd
|
core, eth, eth/fetcher, ethdb: polish metrics gathering a bit
|
2015-06-24 18:34:04 +03:00 |
|
Péter Szilágyi
|
6260b86c15
|
eth/fetcher: fix failed merge
|
2015-06-24 18:34:04 +03:00 |
|
Péter Szilágyi
|
43e4a6501b
|
core, ethdb: instrument the block and state db
Conflicts:
ethdb/database.go
|
2015-06-24 18:34:04 +03:00 |
|
Péter Szilágyi
|
7bd71fa800
|
godeps: pull in go-metrics
|
2015-06-24 18:34:04 +03:00 |
|
Péter Szilágyi
|
7f92e708c5
|
cmd/geth, core: impl. percentile reporting, instrument insertions
|
2015-06-24 18:34:04 +03:00 |
|
Péter Szilágyi
|
b426301467
|
cmd/geth, eth/fetcher: polish metrics reporting, add some more
|
2015-06-24 18:34:04 +03:00 |
|
Péter Szilágyi
|
6994a3daaa
|
p2p: instrument P2P networking layer
|
2015-06-24 18:33:33 +03:00 |
|
Péter Szilágyi
|
821e01b013
|
cmd/geth, eth/fetcher: initial metrics support
Conflicts:
cmd/geth/admin.go
|
2015-06-24 18:33:33 +03:00 |
|
Péter Szilágyi
|
3ce17d2862
|
eth/fetcher: fix a closure data race
|
2015-06-22 20:13:18 +03:00 |
|
Péter Szilágyi
|
99ca4b619b
|
eth/fetcher: clean up test assertions
|
2015-06-22 18:28:38 +03:00 |
|
Péter Szilágyi
|
b53f701c27
|
eth/fetcher: remove test sleeps (15s -> 2.8s)
|
2015-06-22 18:08:28 +03:00 |
|
Péter Szilágyi
|
1989d1491a
|
eth/fetcher: handle and (crude) test block memory DOS
|
2015-06-22 16:49:47 +03:00 |
|
Péter Szilágyi
|
d36c25bcbc
|
eth/fetcher: handle and test block announce DOS attacks
|
2015-06-22 14:07:08 +03:00 |
|
Péter Szilágyi
|
8c4c7ea192
|
eth/fetcher: lower max cache size, add timeout slack
|
2015-06-19 16:46:16 +03:00 |
|
Péter Szilágyi
|
d5871fc200
|
Merge pull request #1295 from karalabe/fix-broadcast-order
eth: fix the propagation/announce order for mined blocks
|
2015-06-19 10:15:20 +03:00 |
|
Péter Szilágyi
|
4180ca7fe4
|
eth: fix the propagation/announce order for mined blocks
|
2015-06-19 10:07:37 +03:00 |
|
Péter Szilágyi
|
13c25036ea
|
eth/fetcher: since uncles are allowed, drop phase test
|
2015-06-18 20:10:07 +03:00 |
|
Péter Szilágyi
|
ecd19919c5
|
eth/fetcher: allow backward uncle imports too
|
2015-06-18 19:43:47 +03:00 |
|
Péter Szilágyi
|
90d45f0397
|
eth: fix test breakage from the previous commit
|
2015-06-18 18:25:27 +03:00 |
|
Péter Szilágyi
|
b91b581b80
|
eth, eth/fetcher: propagate after header verify, announce only on insert
|
2015-06-18 18:00:19 +03:00 |
|
Péter Szilágyi
|
629705ad53
|
eth: clean the block request packet handling a bit
|
2015-06-18 16:09:34 +03:00 |
|
Péter Szilágyi
|
5ec6ecc511
|
eth, eth/fetcher: move propagated block import into fetcher
|
2015-06-18 15:56:08 +03:00 |
|
Péter Szilágyi
|
a9ada0b5ba
|
eth/fetcher: make tests thread safe
|
2015-06-18 15:56:08 +03:00 |
|
Péter Szilágyi
|
37c5ff392f
|
eth/fetcher: build longest chain until proven otherwise
|
2015-06-18 15:56:08 +03:00 |
|
Péter Szilágyi
|
2a7411bc96
|
eth/fetcher: fix premature queue cleanup, general polishes
|
2015-06-18 15:56:08 +03:00 |
|
Péter Szilágyi
|
497a7f1717
|
eth, eth/fetcher: define and enforce propagation boundaries
|
2015-06-18 15:56:08 +03:00 |
|
Péter Szilágyi
|
026ee40650
|
eth/fetcher: deduplicate future blocks
|
2015-06-18 15:56:08 +03:00 |
|
Péter Szilágyi
|
11c8f83a58
|
eth, eth/fetcher: cache future propagated blocks too
|
2015-06-18 15:56:08 +03:00 |
|
Péter Szilágyi
|
057bc237ad
|
eth, eth/fetcher: use an import queue to store out of order blocks
|
2015-06-18 15:56:07 +03:00 |
|
Péter Szilágyi
|
8b64e041d6
|
eth/fetcher: add test to check for duplicate downloads
|
2015-06-18 15:56:07 +03:00 |
|
Péter Szilágyi
|
2a1b722d04
|
eth/fetcher: fix timer reset bug, add initial tests
|
2015-06-18 15:56:07 +03:00 |
|
Péter Szilágyi
|
7c2af1c117
|
eth, eth/fetcher: separate notification sync mechanism
|
2015-06-18 15:56:07 +03:00 |
|
Péter Szilágyi
|
4365668462
|
eth/downloader: extend slow test to fix even slower CI server...
|
2015-06-18 00:42:02 +03:00 |
|
Péter Szilágyi
|
55dd8fd621
|
eth/downloader: always reenter processing if not exiting
|
2015-06-18 00:26:54 +03:00 |
|
Péter Szilágyi
|
2f4cbe22f5
|
eth, eth/downloader: fix processing interrupt caused by temp cancel
|
2015-06-18 00:04:57 +03:00 |
|
Péter Szilágyi
|
4a1e82cf3f
|
eth/downloader: fix #1280, overlapping (good/bad) delivery hang
|
2015-06-17 12:03:16 +03:00 |
|
Péter Szilágyi
|
aa250e228a
|
eth: don't refetch non fitting blocks to avoid duplicates
|
2015-06-15 15:18:31 +03:00 |
|
Péter Szilágyi
|
cf7c44a7f6
|
eth/downloader: detailed comment for the race corner case
|
2015-06-15 15:18:04 +03:00 |
|
Péter Szilágyi
|
9c03c374e3
|
eth/downloader: fix import statistic reset, fetch hashes async
|
2015-06-15 13:05:01 +03:00 |
|
Péter Szilágyi
|
b240983e2b
|
eth, eth/downloader: do async block fetches, add dl tests
|
2015-06-15 12:26:05 +03:00 |
|
Péter Szilágyi
|
30a9939388
|
eth/downloader: sanity test for multi peer syncs
|
2015-06-15 09:22:37 +03:00 |
|
Péter Szilágyi
|
fc7abd9886
|
eth, eth/downloader: move block processing into the downlaoder
|
2015-06-15 09:22:37 +03:00 |
|
Péter Szilágyi
|
0fc71877a7
|
eth/downloader: add valid peer during attacks (check interference)
|
2015-06-15 09:22:37 +03:00 |
|
Péter Szilágyi
|
80833f8137
|
eth/downloader: instreument and test the sync peer drop
|
2015-06-15 09:22:37 +03:00 |
|
Péter Szilágyi
|
faae8b7dd8
|
eth: fix an accidental test compile error
|
2015-06-15 09:22:37 +03:00 |
|
Péter Szilágyi
|
2dd6a62f67
|
eth/downloader: support individual peers in the test suite
|
2015-06-15 09:22:36 +03:00 |
|
Péter Szilágyi
|
2937903299
|
eth/downloader: remove uneeded testing functions
|
2015-06-15 09:22:36 +03:00 |
|
Péter Szilágyi
|
66d3dc8690
|
eth, eth/downloader: move peer removal into downloader
|
2015-06-15 09:22:36 +03:00 |
|
Péter Szilágyi
|
3c1cccc801
|
eth/downloader: fetch the block hashes on the fly, when needed
|
2015-06-10 20:12:22 +03:00 |
|
Péter Szilágyi
|
e61db7145a
|
eth: dedup fetches to ensure no blocks are pulled twice
|
2015-06-10 19:47:59 +03:00 |
|
Péter Szilágyi
|
355b1e3bb1
|
eth: randomly fetch announced block (don't hammer origin)
|
2015-06-10 19:47:59 +03:00 |
|
Péter Szilágyi
|
b9affbf9fe
|
eth: discard fetched blocks that don't fit (no goroutine)
|
2015-06-10 19:47:59 +03:00 |
|
Péter Szilágyi
|
c4af70d0cc
|
cmd/geth: round the import ETA before converting to string
|
2015-06-10 18:07:23 +03:00 |
|
Péter Szilágyi
|
271fb20ecb
|
cmd/geth, eth/downloader: rough guess at the import eta
|
2015-06-10 18:01:05 +03:00 |
|
Péter Szilágyi
|
b3d5ce7d48
|
cmd/geth, eth/downloader: collect and report import progress too
|
2015-06-10 01:20:35 +03:00 |
|
Péter Szilágyi
|
1cbbfbe7fa
|
p2p: fix a close race in the dial test
|
2015-06-09 22:26:26 +03:00 |
|
Péter Szilágyi
|
4541c22964
|
event/filter: hack around data race in the test
|
2015-06-09 21:33:39 +03:00 |
|
Péter Szilágyi
|
d652a58ada
|
core: fix a race condition accessing the gas limit
|
2015-06-09 21:13:21 +03:00 |
|
Péter Szilágyi
|
fecf214175
|
core: fix a lock annoyance and potential deadlock
|
2015-06-09 21:02:26 +03:00 |
|
Péter Szilágyi
|
d6f4c515f5
|
jsre: print function arguments too
|
2015-06-09 17:23:44 +03:00 |
|
Péter Szilágyi
|
7842559353
|
jsre: sort pretty print output, fields before funcs
|
2015-06-09 17:19:56 +03:00 |
|
Péter Szilágyi
|
ebf2aabd25
|
core: fix up a deadlock caused by double locking
|
2015-06-09 16:26:44 +03:00 |
|
Péter Szilágyi
|
ff84352fb7
|
p2p: fix close data race
|
2015-06-09 16:12:24 +03:00 |
|
Péter Szilágyi
|
ca8cb65b73
|
core: fix data race accessing ChainManager.currentBlock
|
2015-06-09 15:30:46 +03:00 |
|
Péter Szilágyi
|
07baf66200
|
core: fix data race in accessing ChainManager.td
|
2015-06-09 15:23:20 +03:00 |
|