Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Felix Lange
9b0af51386
crypto: add btcec fallback for sign/recover without cgo ( #3680 )
...
* vendor: add github.com/btcsuite/btcd/btcec
* crypto: add btcec fallback for sign/recover without cgo
This commit adds a non-cgo fallback implementation of secp256k1
operations.
* crypto, core/vm: remove wrappers for sha256, ripemd160
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
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
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
Péter Szilágyi
87447f9f3f
whisper: fix payload loss in case of plaintext decrypt
10 years ago
Péter Szilágyi
7f48eb8737
whisper, xeth/whisper: surface TTL and hash to the API
10 years ago
Péter Szilágyi
7948cc0029
rpc, whisper, xeth: fix RPC message retrieval data race
10 years ago
Péter Szilágyi
e5a03eb066
whisper: don't issue signature warning if none present
10 years ago
Péter Szilágyi
f6efdd8aad
whisper: shorten constants to TTL and PoW
10 years ago
Péter Szilágyi
4af7743663
whisper: add utility functions for creating topics
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
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
Gustav Simonsson
2591883a18
Use logger.Error instead of 0 with glog
10 years ago
Gustav Simonsson
3f306f63d4
Forward and log EC recover err and remove dup pubkey len check
10 years ago
obscuren
ddccea75e8
Fixed "to" field
10 years ago
obscuren
7bd2fbe2b1
Fixed whisper "to" filtering. Closes #283
10 years ago
obscuren
623469cb6c
Added missing whisper timestamp. Closes #284
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
c9f566269b
merged
10 years ago
obscuren
4a0ade4788
Fixed some whisper issues
10 years ago
obscuren
a17a1f9208
Implemented watching using filter package
...
* Added filters / watches
* Removed event dep
10 years ago
obscuren
dda778eda7
Updated whisper messages to new crypto api + added tests
10 years ago
obscuren
984c7e6689
Added encryption for messages better API for sealing messages
10 years ago
obscuren
ebe2d9d872
First draft of Whisper messages relaying
10 years ago