Péter Szilágyi
f4a2672e14
cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks
2015-11-27 11:06:12 +02:00
Jeffrey Wilcke
94435fbc73
whisper: fixed broadcast race
...
Whisper's expire and broadcast loops happen in two separate go routines.
Whenever an envelope is being expired it's removed from the set of
envelopes and it looses all information about the envelope, including
the "known hash". After the envelope has been removed it can be
re-accepted by a broadcasting peer putting back the envelope in the set
of envelopes. Since the envelope broadcast loop is separate of the
expire loop expired messages may be broadcast to other peer, resulting
in messages **never** being dropped.
This PR includes an expire check before adding new messages to the set
of envelopes.
2015-11-25 12:10:47 +01:00
Felix Lange
cf6d3a90a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
2015-07-23 18:35:11 +02:00
Felix Lange
6c3d851763
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
2015-07-22 18:51:45 +02:00
Felix Lange
72939fa459
all: update license information
2015-07-07 14:12:44 +02:00
Felix Lange
52d9c9de38
p2p, whisper: use glog for peer-level logging
2015-05-06 23:19:14 +02:00
Péter Szilágyi
16f5dcc574
whisper: fix a small data race duirng peer connection
2015-04-28 10:49:05 +03:00
Péter Szilágyi
2d8bbab6f6
rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters
2015-04-28 10:49:04 +03:00
Péter Szilágyi
5f9a6cf972
whisper: fix spurious From identity with untargeted messages
2015-04-28 10:49:04 +03:00
Péter Szilágyi
6ed3972ade
rpc, whisper, xeth: polish whisper RPC interface
2015-04-28 10:47:35 +03:00
Péter Szilágyi
ede795bf61
whisper: cleanup lefover scoping
2015-04-17 14:11:46 +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
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
a166fc8054
whisper: push work in progress for bug report
2015-04-13 16:19:34 +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
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
obscuren
1dd2fbcf9c
Updated logging
2015-04-07 14:57:04 +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
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
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
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
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
obscuren
8cac6de890
err
2015-01-08 23:15:46 +01:00
obscuren
b98cbf3566
just enable by default
2015-01-08 22:18:23 +01:00
obscuren
07f13c2a3a
Fixed some whisper issues
2015-01-08 21:41:32 +01:00
obscuren
58a79af01a
Added whisper js api
2014-12-22 13:23:11 +01:00
obscuren
41d25efeba
Whisper watches fixes
2014-12-16 19:55:57 +01:00
obscuren
d8e4fe3d99
Removed debug message
2014-12-15 22:18:58 +01:00
obscuren
e30cfa6028
During env open check for pub error which indicated unencrypted payload.
2014-12-15 21:55:00 +01:00
obscuren
33fea77326
Added whisper debug interface + whisper fixes
2014-12-15 17:14:02 +01:00
obscuren
979aff5cdb
added whisper
2014-12-15 12:01:55 +01:00
obscuren
eac0355883
Implemented watching using filter package
...
* Added filters / watches
* Removed event dep
2014-12-12 22:23:42 +01:00
obscuren
7295b15afd
Updated whisper messages to new crypto api + added tests
2014-12-10 14:17:32 +01:00
obscuren
bf61506fd3
Added encryption for messages better API for sealing messages
2014-12-10 00:03:50 +01:00