Egon Elbre
d375193797
whisper: fix megacheck warnings ( #14925 )
...
* whisper: fix megacheck warnings
* whisper/whisperv5: regenerate json codec to fix unused override type
7 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
gluk256
79789af2e7
whisper: project restructured, version 5 introduced ( #3022 )
...
whisper: project restructured, version 5 introduced
This commits adds a draft version of the new shh v5 protocol.
The new version is not on by default, --shh still selects version 2.
8 years ago
Felix Lange
3a5bdef962
whisper: deflake Test*MessageExpiration
...
These tests have become a common annoyance on CI. Fix them by allowing
messages with expiration == now into the cache and delaying the check
for expired message handling slightly.
9 years ago
Bas van Kervel
19b2640e89
rpc: migrated the RPC insterface to a new reflection based RPC layer
9 years ago
Bas van Kervel
eae81465c1
rpc: new RPC implementation with pub/sub support
9 years ago
Péter Szilágyi
1e806c4c77
cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks
9 years ago
Jeffrey Wilcke
5f0a4416db
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.
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
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".
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Felix Lange
6a2fec5309
p2p, whisper: use glog for peer-level logging
10 years ago
Péter Szilágyi
406e74e2af
whisper: fix a small data race duirng peer connection
10 years ago
Péter Szilágyi
ae4bfc3cfb
rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters
10 years ago
Péter Szilágyi
15586368e5
whisper: fix spurious From identity with untargeted messages
10 years ago
Péter Szilágyi
3563c59b12
rpc, whisper, xeth: polish whisper RPC interface
10 years ago
Péter Szilágyi
4afc22ba6e
whisper: cleanup lefover scoping
10 years ago
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
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
cb707ba50c
whisper: push work in progress for bug report
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
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
obscuren
688d118c7e
Updated logging
10 years ago
obscuren
1889727144
Moved logging to logger.Core
10 years ago
Taylor Gerring
c956bcb13c
Move version to const and expose via Version()
10 years ago
Felix Lange
069c87b960
whisper: use common.Hash
10 years ago
Taylor Gerring
fe819f3b9f
Comment out whisper remove identity stubs
10 years ago
Taylor Gerring
03ac0f18ae
Initial support to remove Whisper identities per #491
10 years ago
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
10 years ago
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
10 years ago
obscuren
ddccea75e8
Fixed "to" field
10 years ago
obscuren
e40c1c62ce
API changed to use Pubkey only. Reflected that change in the rest of the api
10 years ago
obscuren
7bd2fbe2b1
Fixed whisper "to" filtering. Closes #283
10 years ago
obscuren
c48644490f
Fixed whisper pub key bug
...
* Unrecoverable messages would cause segfault when recovering invalid
pub key
10 years ago
obscuren
62e0e18030
Changed public whisper api not to reveal temporary private keys
10 years ago
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.
10 years ago
obscuren
34689cb3f3
Added manual triggering of filters
10 years ago
obscuren
c8a4c04b36
err
10 years ago
obscuren
26f066f0c7
just enable by default
10 years ago
obscuren
4a0ade4788
Fixed some whisper issues
10 years ago
obscuren
4051c0333f
Added whisper js api
10 years ago
obscuren
52b54631a4
Whisper watches fixes
10 years ago
obscuren
b55fabc7be
Removed debug message
10 years ago