Commit Graph

219 Commits

Author SHA1 Message Date
Péter Szilágyi e5e91e9eb3 whisper: track active peers, add peer cache expiry test 2015-04-16 13:05:35 +03:00
Péter Szilágyi ee6531c5ff whisper: remove dead code, rename a few constants 2015-04-16 11:20:01 +03:00
Péter Szilágyi 6ceb253f74 whisper: use async handshakes to handle blocking peers 2015-04-15 13:01:22 +03:00
Péter Szilágyi 46ea193a49 whisper: remove some unneeded testing complexity 2015-04-15 12:50:10 +03:00
Péter Szilágyi bcf41797ca whisper: global message expiration tests, polishes 2015-04-15 10:50:31 +03:00
Péter Szilágyi 4fb7ab5d09 whisper: mock tests to use simulated peers 2015-04-14 19:00:57 +03:00
Péter Szilágyi 86372b20c0 whisper: add basic tests for the whiper peers 2015-04-14 18:21:56 +03:00
Péter Szilágyi f6efdd8aad whisper: shorten constants to TTL and PoW 2015-04-14 15:16:02 +03:00
Péter Szilágyi 1a4cfc173e whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakages 2015-04-14 15:02:31 +03:00
Péter Szilágyi e2b7498c9d whisper: add known message expiration to peers, cleanup 2015-04-14 14:28:59 +03:00
Péter Szilágyi 59bff46505 whisper: general cleanups, documentation 2015-04-14 13:24:43 +03:00
Péter Szilágyi 5205b2f19b whisper: fix anonymous broadcast drop, add broadcast tests 2015-04-14 12:12:47 +03:00
Péter Szilágyi 4af7743663 whisper: add utility functions for creating topics 2015-04-14 11:12:09 +03:00
Péter Szilágyi cb707ba50c whisper: push work in progress for bug report 2015-04-13 16:19:34 +03:00
Péter Szilágyi 89358d25a4 whisper: start adding integration tests 2015-04-13 13:15:01 +03:00
Péter Szilágyi 9a53390f49 whisper: clean up and integrate topics 2015-04-13 12:16:51 +03:00
Péter Szilágyi 7b501906db whisper: separate out magic number from the code 2015-04-13 11:31:51 +03:00
Péter Szilágyi 5467e7b312 whisper: fix comment entity capitalizations 2015-04-12 14:34:53 +03:00
Péter Szilágyi 0e4f21fc37 whisper: polish the Envelope a bit, prep for tests. 2015-04-10 16:52:01 +03:00
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.
2015-04-10 15:53:21 +03:00
Péter Szilágyi 7e54a9c07f whisper: rename test file according to Go style 2015-04-10 13:46:08 +03:00
Péter Szilágyi a4c8e947b0 whisper: make the test app runnable & do something inside 2015-04-10 13:42:49 +03:00
Jeffrey Wilcke 758205b187 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 688d118c7e Updated logging 2015-04-07 14:57:04 +02:00
Gustav Simonsson 2591883a18 Use logger.Error instead of 0 with glog 2015-04-07 12:48:19 +02:00
Gustav Simonsson 3f306f63d4 Forward and log EC recover err and remove dup pubkey len check 2015-04-07 12:48:19 +02:00
obscuren 1889727144 Moved logging to logger.Core 2015-04-04 13:24:01 +02:00
Taylor Gerring c956bcb13c Move version to const and expose via Version() 2015-03-25 12:08:48 +01:00
Felix Lange 069c87b960 whisper: use common.Hash 2015-03-21 00:57:18 +01:00
Felix Lange 483d43a15a whisper: use package rlp 2015-03-21 00:49:58 +01:00
Felix Lange e80dda6051 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 fe819f3b9f Comment out whisper remove identity stubs 2015-03-17 09:11:01 -04:00
Taylor Gerring 03ac0f18ae Initial support to remove Whisper identities per #491 2015-03-16 14:46:46 -04:00
obscuren b523441361 Moved ethutil => common 2015-03-16 11:27:38 +01:00
obscuren eba4f389a6 don't log whisper start ups 2015-03-10 22:43:07 +01:00
Felix Lange 6e7e5d5fd5 eth, whisper: fix msg.Payload reads 2015-03-04 13:25:01 +01:00
obscuren b2a225a52e 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 84f7c966f7 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 ddccea75e8 Fixed "to" field 2015-02-10 13:20:06 +01:00
obscuren e40c1c62ce API changed to use Pubkey only. Reflected that change in the rest of the api 2015-02-05 15:00:59 -08:00
obscuren 7bd2fbe2b1 Fixed whisper "to" filtering. Closes #283 2015-02-03 07:16:05 -08:00
obscuren 623469cb6c Added missing whisper timestamp. Closes #284 2015-02-03 06:56:19 -08:00
obscuren c48644490f Fixed whisper pub key bug
* Unrecoverable messages would cause segfault when recovering invalid
  pub key
2015-01-30 13:24:20 +01:00
obscuren b777d6aa3f UI Updates
* Browser now has tabs
* Fixed a callback issue
2015-01-22 12:35:31 +01:00
obscuren 67f9783e6a Moved `obscuren` secp256k1-go 2015-01-22 00:35:00 +01:00
obscuren 87f50659db fixed url bug in browser 2015-01-20 18:42:29 +01:00
obscuren 62e0e18030 Changed public whisper api not to reveal temporary private keys 2015-01-14 18:12:18 +01:00
obscuren e3cad04dec 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 34689cb3f3 Added manual triggering of filters 2015-01-12 20:36:45 +01:00
obscuren c9f566269b merged 2015-01-09 13:28:48 +01:00
obscuren c8a4c04b36 err 2015-01-08 23:15:46 +01:00
obscuren 26f066f0c7 just enable by default 2015-01-08 22:18:23 +01:00
obscuren 4a0ade4788 Fixed some whisper issues 2015-01-08 21:41:32 +01:00
obscuren e2d1d832ef added nil check 2015-01-02 13:00:25 +01:00
obscuren 4051c0333f Added whisper js api 2014-12-22 13:23:11 +01:00
obscuren 52b54631a4 Whisper watches fixes 2014-12-16 19:55:57 +01:00
obscuren 93edae280d doc desc 2014-12-15 22:50:38 +01:00
obscuren b55fabc7be Removed debug message 2014-12-15 22:18:58 +01:00
obscuren 54605d8c8e During env open check for pub error which indicated unencrypted payload. 2014-12-15 21:55:00 +01:00
obscuren 01a6db9324 Added whisper debug interface + whisper fixes 2014-12-15 17:14:02 +01:00
obscuren db89c3e1a3 Merge branch 'develop' into poc8 2014-12-15 16:13:08 +01:00
obscuren ef4135eabe Added topic utility functions to whisper 2014-12-15 16:12:34 +01:00
obscuren afc8b887ab added whisper 2014-12-15 12:01:55 +01:00
obscuren a17a1f9208 Implemented watching using filter package
* Added filters / watches
* Removed event dep
2014-12-12 22:23:42 +01:00
obscuren dda778eda7 Updated whisper messages to new crypto api + added tests 2014-12-10 14:17:32 +01:00
obscuren 984c7e6689 Added encryption for messages better API for sealing messages 2014-12-10 00:03:50 +01:00
obscuren 76842b0df8 Additional checks and debug output 2014-12-08 14:25:52 +01:00
obscuren e3a8412df3 Proper start/stoping wpeers 2014-12-08 13:16:50 +01:00
obscuren ebe2d9d872 First draft of Whisper messages relaying 2014-12-08 12:43:33 +01:00