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
Felix Lange
b3c058a9e4
p2p: improve disconnect signaling at handshake time
...
As of this commit, p2p will disconnect nodes directly after the
encryption handshake if too many peer connections are active.
Errors in the protocol handshake packet are now handled more politely
by sending a disconnect packet before closing the connection.
10 years ago
Péter Szilágyi
f8a4cd7ec1
xeth/whisper, ui/qt/qwhisper: fix API update breaks.
10 years ago
Péter Szilágyi
0e4f21fc37
whisper: polish the Envelope a bit, prep for tests.
10 years ago
Péter Szilágyi
7d8ce53eca
whisper: polish the messages, fix some bugs, tests
...
Bugs fixed:
- Use randomly generated flags as the spec required.
- During envelope opening check the first bit only for signature.
10 years ago
Felix Lange
99a1db2d40
p2p: don't mess with the socket deadline in Peer.readLoop
...
netWrapper already sets a read deadline in ReadMsg.
10 years ago
Felix Lange
145330fdf2
p2p: properly decrement peer wait group counter for setup errors
10 years ago
Felix Lange
f1d710af00
p2p: fix Peer shutdown deadlocks
...
There were multiple synchronization issues in the disconnect handling,
all caused by the odd special-casing of Peer.readLoop errors. Remove the
special handling of read errors and make readLoop part of the Peer
WaitGroup.
Thanks to @Gustav-Simonsson for pointing at arrows in a diagram
and playing rubber-duck.
10 years ago
Felix Lange
22d1f0faf1
p2p: improve peer selection logic
...
This commit introduces a new (temporary) peer selection
strategy based on random lookups.
While we're here, also implement the TODOs in dialLoop.
10 years ago
Felix Lange
7be05b4b9d
p2p/discover: don't log packet content
10 years ago
Felix Lange
9cd8c96157
p2p/discover: make packet processing less concurrent
10 years ago
Péter Szilágyi
7e54a9c07f
whisper: rename test file according to Go style
10 years ago
Péter Szilágyi
a4c8e947b0
whisper: make the test app runnable & do something inside
10 years ago
Gustav Simonsson
6d20d634ca
Enable more tx tests by expecting most common encoding of values
10 years ago
Gustav Simonsson
6dc2146ed7
Remove unneeded map assignments for working tx RLP tests
10 years ago
Gustav Simonsson
9ac5671c18
Add TransactionTests wrapped as Go tests
...
* Add initial go wrapping for TransactionTests with some tests
disabled in lieu of consistent HEX encodings and a few other
pending bugfixes
* TODO: Consider better way of perhaps modelling each test in
the JSON files as a single Go test, instead of one Go test per
JSON file
10 years ago
Gustav Simonsson
1e18f4544b
Update JSON test files
10 years ago
obscuren
fc1d1f9afd
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
obscuren
3755cfccb3
Skipped td test
10 years ago
Jeffrey Wilcke
20fd60902b
Merge pull request #687 from karalabe/develop
...
xeth: fix #640 , panic converting nil recipient to hex.
10 years ago
Péter Szilágyi
d1729acd2b
cmd/mist: fix another nil recipient address panic.
10 years ago
Péter Szilágyi
b2b1241dd7
cmd/mist: fix #640 , panic converting nil recipient to hex.
...
Fetching the recipient address from a transaction was changed to return nil
instead of a zero-address, but this code path was not updated, so whenever
a contract was created, a nil panic occured.
10 years ago
Jeffrey Wilcke
4de1e1609a
Merge pull request #682 from bas-vk/issue_567
...
bugfix as a result of PR 671
10 years ago
Bas van Kervel
dc2b9fd458
bugfix as a result of PR 671
10 years ago
obscuren
ec9fbf09aa
Added some quotes ....
10 years ago
obscuren
9f5d24be31
glog
10 years ago
obscuren
b0f40beea6
Added proper contract for registrar
10 years ago
obscuren
ab015959e1
bump
10 years ago
obscuren
2747df3df1
added contracts
10 years ago
obscuren
01ee012197
Merge branch 'ethersphere-frontier/blockpool' into develop
10 years ago
obscuren
764a802eaa
Disabled TD check
...
@zelig : Temporarily commented out TD check untill the rest of the network has
been fixed.
10 years ago