220 Commits

Author SHA1 Message Date
Péter Szilágyi
f47bc1dc62 whisper: don't issue signature warning if none present 2015-04-16 18:24:39 +03:00
Péter Szilágyi
fc2aa3b87e whisper: track active peers, add peer cache expiry test 2015-04-16 13:05:35 +03:00
Péter Szilágyi
9cb90b5904 whisper: remove dead code, rename a few constants 2015-04-16 11:20:01 +03:00
Péter Szilágyi
f53eb01b40 whisper: use async handshakes to handle blocking peers 2015-04-15 13:01:22 +03:00
Péter Szilágyi
49b0698fa2 whisper: remove some unneeded testing complexity 2015-04-15 12:50:10 +03:00
Péter Szilágyi
c8e0ddb790 whisper: global message expiration tests, polishes 2015-04-15 10:50:31 +03:00
Péter Szilágyi
ec62c6f014 whisper: mock tests to use simulated peers 2015-04-14 19:00:57 +03:00
Péter Szilágyi
2beff1aaaf whisper: add basic tests for the whiper peers 2015-04-14 18:21:56 +03:00
Péter Szilágyi
4a94682be3 whisper: shorten constants to TTL and PoW 2015-04-14 15:16:02 +03:00
Péter Szilágyi
15343affa9 whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakages 2015-04-14 15:02:31 +03:00
Péter Szilágyi
80bf0fa9bd whisper: add known message expiration to peers, cleanup 2015-04-14 14:28:59 +03:00
Péter Szilágyi
b9a6e71617 whisper: general cleanups, documentation 2015-04-14 13:24:43 +03:00
Péter Szilágyi
4e11ce0cdc whisper: fix anonymous broadcast drop, add broadcast tests 2015-04-14 12:12:47 +03:00
Péter Szilágyi
87b9ab70e7 whisper: add utility functions for creating topics 2015-04-14 11:12:09 +03:00
Péter Szilágyi
a166fc8054 whisper: push work in progress for bug report 2015-04-13 16:19:34 +03:00
Péter Szilágyi
1fe2469359 whisper: start adding integration tests 2015-04-13 13:15:01 +03:00
Péter Szilágyi
80f4ced67c whisper: clean up and integrate topics 2015-04-13 12:16:51 +03:00
Péter Szilágyi
fbdab18524 whisper: separate out magic number from the code 2015-04-13 11:31:51 +03:00
Péter Szilágyi
4efb1130aa whisper: fix comment entity capitalizations 2015-04-12 14:34:53 +03:00
Péter Szilágyi
582125ed37 whisper: polish the Envelope a bit, prep for tests. 2015-04-10 16:52:01 +03:00
Péter Szilágyi
a1854781c2 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.
2015-04-10 15:53:21 +03:00
Péter Szilágyi
033fc4cf49 whisper: rename test file according to Go style 2015-04-10 13:46:08 +03:00
Péter Szilágyi
4b1c229f66 whisper: make the test app runnable & do something inside 2015-04-10 13:42:49 +03:00
Jeffrey Wilcke
b80fdeac5b Merge pull request #648 from Gustav-Simonsson/forward_ecrecover_err_and_remove_dup_checks
Forward and log EC recover err and remove dup pubkey len check
2015-04-07 20:48:56 +02:00
obscuren
1dd2fbcf9c Updated logging 2015-04-07 14:57:04 +02:00
Gustav Simonsson
e9bb242561 Use logger.Error instead of 0 with glog 2015-04-07 12:48:19 +02:00
Gustav Simonsson
a2d9bee9a9 Forward and log EC recover err and remove dup pubkey len check 2015-04-07 12:48:19 +02:00
obscuren
7c01fab58d Moved logging to logger.Core 2015-04-04 13:24:01 +02:00
Taylor Gerring
c49e2ad229 Move version to const and expose via Version() 2015-03-25 12:08:48 +01:00
Felix Lange
72981282ea whisper: use common.Hash 2015-03-21 00:57:18 +01:00
Felix Lange
d1402120d8 whisper: use package rlp 2015-03-21 00:49:58 +01:00
Felix Lange
e1d7f07e4a eth, whisper: adapt for RLP encoder switch in package p2p
I have rewritten the protocol test to use p2p.MsgPipe because
p2p.NewMsg is gone.
2015-03-19 15:18:31 +01:00
Taylor Gerring
9e83aab7e2 Comment out whisper remove identity stubs 2015-03-17 09:11:01 -04:00
Taylor Gerring
9f7640db03 Initial support to remove Whisper identities per #491 2015-03-16 14:46:46 -04:00
obscuren
b78437f958 Moved ethutil => common 2015-03-16 11:27:38 +01:00
obscuren
cab1262495 don't log whisper start ups 2015-03-10 22:43:07 +01:00
Felix Lange
4cd5cf05fa eth, whisper: fix msg.Payload reads 2015-03-04 13:25:01 +01:00
obscuren
4e7d4bfb1e Properly uninstall filters. Mining issue fixed #closes #365
* Added an additional tx state which is used to get the current nonce
* Refresh transient state each time a new canonical block is found
* Properly uninstall filters. Fixes a possible crash in RPC
2015-02-23 15:43:41 +01:00
obscuren
f4514f8e6b Moved ECIES to repo & added secondary title for webview
* ECIES moved from obscuren to ethereum
* Added html META[name=badge] to reflect menuItem.secondaryTitle
2015-02-14 00:25:47 +01:00
obscuren
01f38ab37e Fixed "to" field 2015-02-10 13:20:06 +01:00
obscuren
3a64b03e88 API changed to use Pubkey only. Reflected that change in the rest of the api 2015-02-05 15:00:59 -08:00
obscuren
191b2753de Fixed whisper "to" filtering. Closes #283 2015-02-03 07:16:05 -08:00
obscuren
ff98540dcc Added missing whisper timestamp. Closes #284 2015-02-03 06:56:19 -08:00
obscuren
753045f38c Fixed whisper pub key bug
* Unrecoverable messages would cause segfault when recovering invalid
  pub key
2015-01-30 13:24:20 +01:00
obscuren
311263f714 UI Updates
* Browser now has tabs
* Fixed a callback issue
2015-01-22 12:35:31 +01:00
obscuren
577f866011 Moved obscuren secp256k1-go 2015-01-22 00:35:00 +01:00
obscuren
28c10af79f fixed url bug in browser 2015-01-20 18:42:29 +01:00
obscuren
533137ca08 Changed public whisper api not to reveal temporary private keys 2015-01-14 18:12:18 +01:00
obscuren
6bbfc0cf62 Fixed whisper messages
* Whisper protocol wasn't properly suppling envelope slices
* Message history wasn't properly propagated
* Added 'Messages' method, filtering any current envelope with the
  supplied filter.
2015-01-13 13:36:44 +01:00
obscuren
b364029acf Added manual triggering of filters 2015-01-12 20:36:45 +01:00