Péter Szilágyi
|
3f91ee4ff8
|
cmd/geth: expand admin.progress() to something meaningful
|
2015-05-27 16:46:46 +03:00 |
|
Péter Szilágyi
|
612f01400f
|
p2p/discover: bond with seed nodes too (runs only if findnode failed)
|
2015-05-26 23:30:41 +02:00 |
|
Péter Szilágyi
|
3630432dfb
|
p2p/discovery: fix a cornercase loop if no seeds or bootnodes are known
|
2015-05-26 23:30:40 +02:00 |
|
Péter Szilágyi
|
f539ed1e66
|
p2p/discover: force refresh if the table is empty
|
2015-05-26 23:30:40 +02:00 |
|
Péter Szilágyi
|
5076170f34
|
p2p/discover: permit temporary bond failures for previously known nodes
|
2015-05-26 23:30:40 +02:00 |
|
Péter Szilágyi
|
6078aa08eb
|
p2p/discover: watch find failures, evacuate on too many, rebond if failed
|
2015-05-26 23:30:40 +02:00 |
|
Péter Szilágyi
|
64174f196f
|
p2p/discover: add support for counting findnode failures
|
2015-05-26 23:30:40 +02:00 |
|
Péter Szilágyi
|
4de8213887
|
cmd/geth: fix js console test for p2p server update
|
2015-05-26 19:35:31 +03:00 |
|
Péter Szilágyi
|
68898a4d6b
|
p2p: fix Self() panic if listening is disabled
|
2015-05-26 19:16:05 +03:00 |
|
Péter Szilágyi
|
e1a0ee8fc5
|
cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flag
|
2015-05-26 19:07:24 +03:00 |
|
Péter Szilágyi
|
278183c7e7
|
eth, p2p: start the p2p server even if maxpeers == 0
|
2015-05-26 17:49:37 +03:00 |
|
Péter Szilágyi
|
3083ec5e32
|
eth/downloader: silence "Added N blocks from..." if N == 0
|
2015-05-26 16:10:28 +03:00 |
|
Péter Szilágyi
|
eafdc1f8e3
|
eth, eth/downloader: surface downloaded block origin, drop on error
|
2015-05-26 14:00:21 +03:00 |
|
Péter Szilágyi
|
cbd3ae6906
|
p2p/discover: fix #838, evacuate self entries from the node db
|
2015-05-21 19:41:46 +03:00 |
|
Péter Szilágyi
|
af24c271c7
|
p2p/discover: fix database presistency test folder
|
2015-05-21 19:28:10 +03:00 |
|
Péter Szilágyi
|
06a041589f
|
eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K
|
2015-05-21 18:16:04 +03:00 |
|
Péter Szilágyi
|
52db6d8be5
|
eth/downloader: circumvent a forged block chain with known parent attack
|
2015-05-21 08:37:27 +03:00 |
|
Péter Szilágyi
|
e8b22b9253
|
eth/downloader: prevent a peer from dripping bad hashes
|
2015-05-21 08:07:58 +03:00 |
|
Péter Szilágyi
|
3c8227b935
|
eth: fix odd method names in peer set
|
2015-05-20 10:34:45 +03:00 |
|
Péter Szilágyi
|
6f54eb6d9a
|
eth/downloader: fix test to it doesn't time out on a slow machine
|
2015-05-20 10:15:42 +03:00 |
|
Péter Szilágyi
|
4755caeb2d
|
eth: remote a superfluous peerSet method
|
2015-05-18 21:35:42 +03:00 |
|
Péter Szilágyi
|
5422fe5125
|
eth: make the peer set thread safe
|
2015-05-18 21:33:37 +03:00 |
|
Péter Szilágyi
|
412cf98bbc
|
eth/downloader: fix #992, where tests may time out on a slow machine
|
2015-05-15 21:16:42 +03:00 |
|
Péter Szilágyi
|
f3ae8f50a5
|
eth/downloader: circumvent download race between crosscheck and hashes
|
2015-05-15 20:54:10 +03:00 |
|
Péter Szilágyi
|
4f0d88cb02
|
eth/downloader: fix cancel channel double close
|
2015-05-15 19:43:42 +03:00 |
|
Péter Szilágyi
|
5c1a7b965c
|
eth/downloader: circumvent a fake blockchain attack
|
2015-05-15 15:04:15 +03:00 |
|
Péter Szilágyi
|
b517967f86
|
eth/downloader: don't penalize for stale cross checks
|
2015-05-15 15:03:08 +03:00 |
|
Péter Szilágyi
|
83226762c2
|
eth, eth/downloader: detect and handle madeup hash attacks
|
2015-05-15 15:01:58 +03:00 |
|
Péter Szilágyi
|
9ad515d2dc
|
eth: drop a sync peer if it sends an invalid hash chain
|
2015-05-15 15:01:58 +03:00 |
|
Péter Szilágyi
|
72411eb24c
|
eth/downloader: circumvent hash reordering attacks
|
2015-05-15 15:01:58 +03:00 |
|
Péter Szilágyi
|
bcc2980179
|
eth/downloader: check sync after failed attacks
|
2015-05-15 15:01:58 +03:00 |
|
Péter Szilágyi
|
366e9627e8
|
eth/downloader: add a test for detecting missing blocks
|
2015-05-15 15:01:58 +03:00 |
|
Péter Szilágyi
|
cd2fb09051
|
eth, eth/downloader: prevent hash repeater attack
|
2015-05-15 15:01:58 +03:00 |
|
Péter Szilágyi
|
fe87feccb1
|
eth/downloader: add a small additional check to the test
|
2015-05-14 15:44:54 +03:00 |
|
Péter Szilágyi
|
ebf1eb9359
|
eth/downloader: remove a previous leftover
|
2015-05-14 15:40:28 +03:00 |
|
Péter Szilágyi
|
3eda70c64c
|
eth, eth/downloader: remove parent verification from the downlaoder
|
2015-05-14 15:38:49 +03:00 |
|
Péter Szilágyi
|
a4246c2da6
|
eth, eth/downloader: handle a potential unknown parent attack
|
2015-05-14 15:24:18 +03:00 |
|
Péter Szilágyi
|
3edc4698fe
|
Merge pull request #954 from karalabe/fix-downloader-nil-panic
eth/downloader: fix nil panic caused by wrong variable use
|
2015-05-13 18:15:18 +02:00 |
|
Péter Szilágyi
|
910a6d4e46
|
eth/downloader: fix nil panic caused by wrong variable use
|
2015-05-13 17:25:01 +03:00 |
|
Péter Szilágyi
|
de3a71cafd
|
eth/downloader: remove a redundant sync progress check
|
2015-05-13 16:56:01 +03:00 |
|
Péter Szilágyi
|
48ee0777a5
|
eth/downloader: add a user sync notificaton
|
2015-05-13 16:03:05 +03:00 |
|
Péter Szilágyi
|
ec57aa64cd
|
eth/downloader: sync the cancel channel during cancel too
|
2015-05-13 14:01:08 +03:00 |
|
Péter Szilágyi
|
ee0c892303
|
eth/downloader: fix deliveries to check for sync cancels
|
2015-05-13 13:47:21 +03:00 |
|
Péter Szilágyi
|
d2d5dbc6fb
|
eth/downloader: fix active peer shadowing, polish func names
|
2015-05-13 13:13:43 +03:00 |
|
Péter Szilágyi
|
064cf16099
|
eth/downloader: use count instead of peers, clearer
|
2015-05-11 17:21:22 +02:00 |
|
Péter Szilágyi
|
d37a2559b9
|
eth/downloader: revert to demotion, use harsher penalty
|
2015-05-11 17:21:22 +02:00 |
|
Péter Szilágyi
|
70c65835f4
|
eth/downloader: fix #910, thread safe peers & polishes
|
2015-05-11 17:21:22 +02:00 |
|
Péter Szilágyi
|
fa53c5e074
|
eth/downloader: use count instead of peers, clearer
|
2015-05-11 17:10:00 +03:00 |
|
Péter Szilágyi
|
ebbd8b0743
|
eth/downloader: revert to demotion, use harsher penalty
|
2015-05-11 16:47:58 +03:00 |
|
Péter Szilágyi
|
685862d2ce
|
eth/downloader: fix #910, thread safe peers & polishes
|
2015-05-11 14:26:20 +03:00 |
|
Péter Szilágyi
|
0ad5898c0f
|
rpc, xeth: fix #881, gracefully handle offline whisper
|
2015-05-11 11:53:53 +03:00 |
|
Péter Szilágyi
|
edad47bf0e
|
eth/downloader: fix leftover state between syncs
|
2015-05-08 17:39:03 +03:00 |
|
Péter Szilágyi
|
bd5720f480
|
eth, eth/downloader: handle sync errors a bit more gracefully
|
2015-05-08 15:22:48 +03:00 |
|
Péter Szilágyi
|
9d188f73b5
|
eth, eth/downloader: make synchronize thread safe
|
2015-05-07 21:07:20 +03:00 |
|
Péter Szilágyi
|
8735e5addd
|
p2p: increase the handshake timeout in the tests
|
2015-05-07 15:30:56 +03:00 |
|
Péter Szilágyi
|
4d5a719f25
|
cmd, eth, p2p: introduce pending peer cli arg, add tests
|
2015-05-07 15:30:56 +03:00 |
|
Péter Szilágyi
|
af93217775
|
p2p: reduce the concurrent handshakes to 10/10 in/out
|
2015-05-07 15:22:09 +03:00 |
|
Péter Szilágyi
|
2060bc8bac
|
p2p: fix dial throttling race condition
|
2015-05-07 15:22:08 +03:00 |
|
Péter Szilágyi
|
29fef349ef
|
p2p: fix a dialing race in the throttler
|
2015-05-07 15:22:08 +03:00 |
|
Péter Szilágyi
|
3953bf0031
|
p2p: limit the outbound dialing too
|
2015-05-07 15:22:08 +03:00 |
|
Péter Szilágyi
|
43901c9282
|
eth/downloader: fix priority queue reset, add throttling test
|
2015-05-07 14:40:50 +03:00 |
|
Péter Szilágyi
|
45f8304f3c
|
eth/downloader: fix expiration not running while fetching
|
2015-05-07 12:59:19 +03:00 |
|
Péter Szilágyi
|
4800c94392
|
eth/downloader: prioritize block fetch based on chain position, cap memory use
|
2015-05-07 10:57:34 +03:00 |
|
Péter Szilágyi
|
c750ef09e1
|
cmd/geth: fix #853 colorize console output in windows
|
2015-05-05 14:44:39 +03:00 |
|
Péter Szilágyi
|
4accc187d5
|
eth, p2p: add trusted node list beside static list
|
2015-05-04 13:59:51 +03:00 |
|
Péter Szilágyi
|
2382da4179
|
cmd/mist: fix a stale error message
|
2015-05-04 13:11:43 +03:00 |
|
Péter Szilágyi
|
54db54931e
|
p2p: add static node dialing test
|
2015-05-04 13:08:42 +03:00 |
|
Péter Szilágyi
|
e82ddd9198
|
p2p: correct a leftover trusted -> static
|
2015-04-30 19:34:33 +03:00 |
|
Péter Szilágyi
|
413ace37d3
|
eth, p2p: rename trusted nodes to static, drop inbound extra slots
|
2015-04-30 19:32:48 +03:00 |
|
Péter Szilágyi
|
701591b403
|
cmd, eth, p2p: fix review issues enumerated by Felix
|
2015-04-30 16:15:29 +03:00 |
|
Péter Szilágyi
|
1528dbc171
|
p2p: add trust check to handshake, test privileged connectivity
Conflicts:
p2p/server_test.go
|
2015-04-30 16:06:47 +03:00 |
|
Péter Szilágyi
|
14f32a0c3a
|
p2p: reduce the severity of a debug log
|
2015-04-30 16:04:09 +03:00 |
|
Péter Szilágyi
|
679c90b873
|
cmd/geth, cmd/utils, eth: internalize trusted node config file
|
2015-04-30 16:03:47 +03:00 |
|
Péter Szilágyi
|
de0549fabb
|
cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peers
|
2015-04-30 16:03:10 +03:00 |
|
Péter Szilágyi
|
b569550a39
|
p2p/discover: fix api issues caused by leveldb update
|
2015-04-28 13:57:57 +03:00 |
|
Péter Szilágyi
|
7e3b080f85
|
godeps: update leveldb and snappy, dump serpent-go
|
2015-04-28 12:18:01 +03:00 |
|
Péter Szilágyi
|
978ffd3097
|
rpc, xeth: finish cleaning up xeth
|
2015-04-28 10:49:05 +03:00 |
|
Péter Szilágyi
|
2b9fd6b40a
|
whisper: add full filter test suite
|
2015-04-28 10:49:05 +03:00 |
|
Péter Szilágyi
|
406e74e2af
|
whisper: fix a small data race duirng peer connection
|
2015-04-28 10:49:05 +03:00 |
|
Péter Szilágyi
|
70ded4cbf0
|
xeth: fix un-decoded whisper RPC topic string bug
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
e252dae499
|
rpc: use nil topic wildcards instead of ""
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
db615a85ec
|
ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
ae4bfc3cfb
|
rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
15586368e5
|
whisper: fix spurious From identity with untargeted messages
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
87447f9f3f
|
whisper: fix payload loss in case of plaintext decrypt
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
7f48eb8737
|
whisper, xeth/whisper: surface TTL and hash to the API
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
19bc4624ea
|
eth: pull in a lost merge change
Ref: https://github.com/Gustav-Simonsson/go-ethereum/commit/21c4c155ee68890a069654dcc5bc083a867f65cd
|
2015-04-28 10:49:04 +03:00 |
|
Péter Szilágyi
|
7948cc0029
|
rpc, whisper, xeth: fix RPC message retrieval data race
|
2015-04-28 10:47:35 +03:00 |
|
Péter Szilágyi
|
5aa523e32b
|
whisper: fix send timestamp omission during envelope opening
|
2015-04-28 10:47:35 +03:00 |
|
Péter Szilágyi
|
3563c59b12
|
rpc, whisper, xeth: polish whisper RPC interface
|
2015-04-28 10:47:35 +03:00 |
|
Péter Szilágyi
|
4992765032
|
p2p/discover: fix goroutine leak due to blocking on sync.Once
|
2015-04-28 10:28:04 +03:00 |
|
Péter Szilágyi
|
437cf4b3ac
|
p2p/discover: add node expirer and related tests
|
2015-04-27 17:38:28 +03:00 |
|
Péter Szilágyi
|
a136e2bb22
|
p2p/discover: parametrize nodedb version, add persistency tests
|
2015-04-27 15:28:17 +03:00 |
|
Péter Szilágyi
|
75fd738dea
|
p2p/discover: drop a superfluous warning
|
2015-04-27 15:06:31 +03:00 |
|
Péter Szilágyi
|
706da56f75
|
p2p/discover: wrap the pinger to update the node db too
|
2015-04-27 14:56:42 +03:00 |
|
Péter Szilágyi
|
85b4b44235
|
p2p/discover: use iterator based seeding, drop old protocol test
|
2015-04-27 14:45:35 +03:00 |
|
Péter Szilágyi
|
8de8f61d36
|
p2p/discover: write the basic tests, catch RLP bug
|
2015-04-27 12:33:06 +03:00 |
|
Péter Szilágyi
|
0201c04b95
|
p2p/discovery: fix issues raised in the nodeDb PR
|
2015-04-27 10:19:16 +03:00 |
|
Péter Szilágyi
|
8646365b42
|
cmd/bootnode, eth, p2p, p2p/discover: use a fancier db design
|
2015-04-24 18:04:41 +03:00 |
|
Péter Szilágyi
|
6def110c37
|
cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth.
|
2015-04-24 11:33:55 +03:00 |
|