Péter Szilágyi
e5e91e9eb3
whisper: track active peers, add peer cache expiry test
10 years ago
Péter Szilágyi
ee6531c5ff
whisper: remove dead code, rename a few constants
10 years ago
Péter Szilágyi
6ceb253f74
whisper: use async handshakes to handle blocking peers
10 years ago
Péter Szilágyi
46ea193a49
whisper: remove some unneeded testing complexity
10 years ago
Péter Szilágyi
bcf41797ca
whisper: global message expiration tests, polishes
10 years ago
Péter Szilágyi
4fb7ab5d09
whisper: mock tests to use simulated peers
10 years ago
Péter Szilágyi
86372b20c0
whisper: add basic tests for the whiper peers
10 years ago
Péter Szilágyi
f6efdd8aad
whisper: shorten constants to TTL and PoW
10 years ago
Péter Szilágyi
1a4cfc173e
whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakages
10 years ago
Péter Szilágyi
e2b7498c9d
whisper: add known message expiration to peers, cleanup
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
Péter Szilágyi
cb707ba50c
whisper: push work in progress for bug report
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
Péter Szilágyi
5467e7b312
whisper: fix comment entity capitalizations
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
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
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
obscuren
663fd8f849
Moved log to debug
10 years ago
obscuren
46898f1e55
Merge branch 'frontier/blockpool' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool
10 years ago
obscuren
0636e17dbe
Added default registrar
10 years ago
zelig
be25396340
separate lock for blacklist
10 years ago
zelig
a009132c24
oops peer unlocked before return - fixes deadlock
10 years ago
zelig
0e2bc23148
uncomment future block TD check, add test for skipping TD check on future block
10 years ago
zelig
e55747a074
fix deadlock issue in AddBlock
...
- add peer switch channel arg to activateChain - no peer locking within
- proper locking in AddBlock - fixes deadlock issue
- comment out TD check and skip incorrect TD test again for hotfix
10 years ago
zelig
262714fc6c
future queued block support
...
- queued bool // flag for blockpool to skip TD check
- set to true when future block queued
- in checkTD: skip check if queued
- TODO: add test (insertchain sets future block)
10 years ago
zelig
cbd0b42060
put back checkTD and unskip incorrectTD test
10 years ago
zelig
f546b486bf
introduce peers registry on nodes
...
- TestPeerPromotionByTdOnBlock renamed and skipped for now test should pass iff
if TD is updated based on an agreement
- senders register in AddBlock, flag records if they are coming from newblock
message (and therefore advertise their TD with the block) or block message
(TODO: latter are stored on the cache and updated by checkTD call;
protocol should also call AddBlock on newblock messages by non-best peers)
- remove TD update from optional TD field in addBlock: this is no longer part of
the eth protocol spec -> TODO: reflect in wiki
- only initialise peer map if at least two
10 years ago
zelig
42fb9652f5
fix blockpool deadlock
...
- do not break from headsection on error
[remove peer after protocol quit will close switchC, until then head block can arrive and block on channel while keeping peers lock causing a deadlock.]
- more careful locking in AddBlock
10 years ago
zelig
30830652ae
fix TestPoolStatus test crashing, skip tests failing (due to @obscuren hotfixes)
10 years ago
obscuren
c6b25a4046
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago