obscuren
9800c84348
eth: limit the amount of peers that will receive Block/Tx messages
...
All transaction and block messages are now limited using `sqrt(peers)`
10 years ago
obscuren
8310bcda61
state: fixed mutex lockes
10 years ago
obscuren
474aa924ca
p2p: added limiter function to limit package broadcasting
10 years ago
Péter Szilágyi
59bff46505
whisper: general cleanups, documentation
10 years ago
Péter Szilágyi
5205b2f19b
whisper: fix anonymous broadcast drop, add broadcast tests
10 years ago
Péter Szilágyi
4af7743663
whisper: add utility functions for creating topics
10 years ago
obscuren
b7e1b686aa
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
Jeffrey Wilcke
2ea98d9b74
Merge pull request #704 from fjl/p2p-concurrency-fixups
...
p2p: more concurrency fixups
10 years ago
obscuren
07eebc38b2
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
obscuren
333d4e0f27
core: during split properly insert parent blocks
...
During a split parent and grand parent were included in the database but
not in the canonical chain (numbered chain). Added a `merge` function
which finds the common ancestor of the chains and reinserts the missing
blocks.
10 years ago
Felix Lange
f6f9a0d515
Merge pull request #709 from ligi/patch-1
...
Fix links
10 years ago
ligi
3a33428578
Fix links
...
Where 404s before - now linking to the path that they stay valid a little longer ;-)
10 years ago
obscuren
4f3c169b4e
miner: don't break loop when encountering gas limit reach err
...
Processing transactions should continue when a transaction throws a gas
limit reached error. Other transactions may actually succeed.
10 years ago
obscuren
d423305f07
state: fixed nonce issue in managed state
...
Rlock => Lock when creating a new nonce
10 years ago
obscuren
d61ec9ca76
rpc: removed hash from LogRes. Closes #701
10 years ago
Felix Lange
0217652d1b
p2p/discover: improve timer handling for reply timeouts
10 years ago
Felix Lange
b8aeb04f6f
p2p/discover: remove unused field Node.activeStamp
10 years ago
Felix Lange
b9929d289d
p2p: fix unsynchronized map access during Server shutdown
...
removePeer can be called even after listenLoop and dialLoop have returned.
10 years ago
obscuren
333e539ce2
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
Jeffrey Wilcke
1fa844aaf5
Merge pull request #702 from ethersphere/frontier/blockpool
...
blockpool stability fixes:
10 years ago
Jeffrey Wilcke
5f9346bc7a
Merge pull request #700 from bas-vk/issue_650
...
Added blockchain DB versioning support, closes #650
10 years ago
Felix Lange
995fab2ebc
p2p: fix yet another disconnect hang
...
Peer.readLoop will only terminate if the connection is closed. Fix the
hang by closing the connection before waiting for readLoop to terminate.
This also removes the british disconnect procedure where we're waiting
for the remote end to close the connection. I have confirmed with
@subtly that cpp-ethereum doesn't adhere to it either.
10 years ago
obscuren
97d2954e22
eth: added downloader for syncing up the chain
10 years ago
Felix Lange
79a6782c1c
p2p: fix goroutine leak when handshake read fails
...
This regression was introduced in b3c058a9e4
.
10 years ago
Jeffrey Wilcke
ad4891a09a
Merge pull request #689 from Gustav-Simonsson/add_transaction_tests
...
Add transaction tests
10 years ago
obscuren
a8a2b2a488
downloader: added missing blocks catchup functionality
...
When a parent is missing in the block list an attempt should be made to
fetch the missing parent and grandparents.
10 years ago
Péter Szilágyi
cb707ba50c
whisper: push work in progress for bug report
10 years ago
zelig
3d57e377a4
blockpool stability fixes:
...
- follow up locks and fix them
- chainManager: call SetQueued for parentErr future blocks, uncomment TD checks, unskip test
- make ErrIncorrectTD non-fatal to be forgiving to genuine mistaken nodes (temp) but demote them to guard against stuck best peers.
- add purging to bounded nodeCache (config nodeCacheSize)
- use nodeCache when creating blockpool entries and let non-best peers add blocks (performance boost)
- minor error in addError
- reduce idleBestPeerTimeout to 1 minute
- correct status counts and unskip status passing status test
- glogified logging
10 years ago
Felix Lange
faa2747809
Merge pull request #690 from karalabe/whisper-cleanup
...
Whisper cleanup, part 1
10 years ago
Péter Szilágyi
89358d25a4
whisper: start adding integration tests
10 years ago
Péter Szilágyi
9a53390f49
whisper: clean up and integrate topics
10 years ago
Péter Szilágyi
7b501906db
whisper: separate out magic number from the code
10 years ago
Bas van Kervel
49a513bdeb
Added blockchain DB versioning support, closes #650
10 years ago
obscuren
7dcb9825c3
downloader: return an error for peer.fetch and return chunk to queue
...
If a peer was somehow already fetching and somehow managed to end up in
the `available` pool it should return it's work.
10 years ago
Péter Szilágyi
5467e7b312
whisper: fix comment entity capitalizations
10 years ago
obscuren
6efa8db888
downloader: renamed chunks to queue
10 years ago
obscuren
acf8452c33
downloader: implemented new downloader
10 years ago
Jeffrey Wilcke
61db7a71dd
Merge pull request #695 from ethersphere/frontier/blockpool
...
bugfixes for headsection deadlocks
10 years ago
zelig
406feee570
bugfixes for headsection deadlocks
...
- switchC initialised as closed
- move select in setChainInfoFromBlock out of peer lock
10 years ago
obscuren
f047699afb
Updated glog
10 years ago
obscuren
3aa5437a10
Set input to nil for create
10 years ago
obscuren
36fe11378c
Bump
10 years ago
obscuren
eb75a77151
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
Jeffrey Wilcke
6107b53de0
Merge pull request #692 from ethersphere/frontier/blockpool
...
td update from node + bugfix
10 years ago
obscuren
5d4f69f483
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
Jeffrey Wilcke
92fbb61625
Merge pull request #691 from fjl/discovery-fixes
...
p2p: a bunch of fixes
10 years ago
obscuren
3d29805322
Added pprof
10 years ago
zelig
da7332a731
td update from node
...
- reorg and simplify AddBlock
- introduce nodeCache
- TestPeerPromotionByTdOnBlock unskipped and passes
- move switchC/idleC channel creation around: solves deadlock (now respects the contract with section process: either can activate or complete at any one time)
10 years ago
Felix Lange
c5332537f5
p2p: limit number of lingering inbound pre-handshake connections
...
This is supposed to apply some back pressure so Server is not accepting
more connections than it can actually handle. The current limit is 50.
This doesn't really need to be configurable, but we'll see how it
behaves in our test nodes and adjust accordingly.
10 years ago
Felix Lange
56977c225e
p2p: use RLock instead of Lock for pre-dial checks
10 years ago