Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | all: remove the duplicate 'the' in annotations (#17509) | Wenbiao Zheng | 2018-08-27 | 2 | -2/+2 |
| | |||||
* | whisper: fixed broken partial topic filtering | Eugene Valeyev | 2018-08-13 | 4 | -58/+5 |
| | | | Changes in #15811 broke partial topic filtering. Re-enable it. | ||||
* | whisper: remove unused error (#17315) | b00ris | 2018-08-07 | 1 | -7/+0 |
| | |||||
* | all: switch out defunct set library to different one (#16873) | Ralph Caraveo III | 2018-07-16 | 5 | -20/+20 |
| | | | | | | * keystore, ethash, eth, miner, rpc, whisperv6: tech debt with now defunct set. * whisperv5: swap out gopkg.in/fatih/set.v0 with supported set | ||||
* | whisper: Reduce message loop log from Warn to Info (#17055) | Adrià Cidre | 2018-06-26 | 2 | -2/+2 |
| | |||||
* | #15685 made peer_test.go more portable by using random free port instead of ↵ | Armin Braun | 2018-06-14 | 2 | -48/+35 |
| | | | | | | | | | | hardcoded port 30303 (#15687) Improves test portability by resolving 127.0.0.1:0 to get a random free port instead of the hard coded one. Now the test works if you have a running node on the same interface already. Fixes #15685 | ||||
* | crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932) | Felix Lange | 2018-06-12 | 2 | -12/+6 |
| | | | | | | ToECDSAPub was unsafe because it returned a non-nil key with nil X, Y in case of invalid input. This change replaces ToECDSAPub with UnmarshalPubkey across the codebase. | ||||
* | whisper/shhclient: update call to shh_post to expect string instead of bool ↵ | Andrea Franz | 2018-05-29 | 1 | -3/+3 |
| | | | | | (#16757) Fixes #16756 | ||||
* | whisper/shhclient: update call to shh_generateSymKeyFromPassword to pass a ↵ | Andrea Franz | 2018-05-09 | 1 | -2/+2 |
| | | | | string (#16668) | ||||
* | whisper/mailserver: pass init error to the caller (#16671) | Ivan Daniluk | 2018-05-04 | 2 | -8/+11 |
| | | | | | | | | * whisper/mailserver: pass init error to the caller * whisper/mailserver: add returns to fmt.Errorf * whisper/mailserver: check err in mailserver init test | ||||
* | whisper: Golint fixes in whisper packages (#16637) | Eli | 2018-05-02 | 8 | -78/+74 |
| | |||||
* | whisper/whisperv6: post returns the hash of sent message (#16495) | gluk256 | 2018-04-19 | 1 | -14/+26 |
| | |||||
* | build: enable goimports and varcheck linters (#16446) | thomasmodeneis | 2018-04-18 | 2 | -8/+0 |
| | |||||
* | whisper: fix issue in topic list copy (#16381) | Guillaume Ballet | 2018-03-27 | 2 | -3/+82 |
| | | | | | | | | - Fixes #16271. What was appeneded was a pointer to an object that changes during the iteration. - The topic is allocated as a 4-byte array, fill partial topics with 0s. Partial topics are currently disabled, but would crash as they rely on the presence of byte number 3. | ||||
* | whisper: switch all remaining components from v5 to v6 | Guillaume Ballet | 2018-03-26 | 1 | -10/+10 |
|\ | |||||
| * | whisper: some components are still using v5, switch to v6 | Guillaume Ballet | 2018-03-22 | 1 | -10/+10 |
| | | |||||
* | | ecies: drop randomness parameter from `PrivateKey.Decrypt` (#16374) | David Huie | 2018-03-26 | 2 | -2/+2 |
|/ | | | | | The parameter `rand` is unused in `PrivateKey.Decrypt`. Decryption in the ECIES encryption scheme is deterministic, so randomness isn't needed. | ||||
* | whisper: final refactoring (#16259) | gluk256 | 2018-03-07 | 1 | -0/+8 |
| | | | | whisper: final refactoring | ||||
* | Merge pull request #16231 from gluk256/303-reader | gluk256 | 2018-03-03 | 1 | -0/+4 |
|\ | | | | | whisper: filereader mode introduced to wnode | ||||
| * | whisper: filereader mode introduced to wnode | Vlad | 2018-03-02 | 1 | -0/+4 |
| | | |||||
* | | whisper/whisperv6: delete unused function (#16234) | gluk256 | 2018-03-03 | 1 | -14/+0 |
|/ | |||||
* | whisper: topics replaced by bloom filters | Vlad | 2018-03-01 | 8 | -61/+67 |
| | |||||
* | Merge pull request #16210 from gluk256/288-filter-optimization | Guillaume Ballet | 2018-03-01 | 4 | -78/+76 |
|\ | | | | | | | | | whisper: message filtering optimization Only run the message through filters who registered their interest. | ||||
| * | whisper: style fixes | Vlad | 2018-02-28 | 2 | -17/+10 |
| | | |||||
| * | whsiper: refactoring | Vlad | 2018-02-28 | 4 | -61/+22 |
| | | |||||
| * | whisper: message filtering optimized | Vlad | 2018-02-28 | 1 | -11/+55 |
| | | |||||
* | | Merge pull request #16214 from b00ris/whisperv6_datarace | Guillaume Ballet | 2018-02-28 | 1 | -7/+11 |
|\ \ | | | | | | | whisper: fixed dataraces in peer unit tests | ||||
| * | | whisper: fix typo | b00ris | 2018-02-28 | 1 | -2/+2 |
| | | | |||||
| * | | whisper: fixed datarace | b00ris | 2018-02-28 | 1 | -7/+11 |
| |/ | |||||
* | | whisper: comment updated | Vlad | 2018-02-28 | 1 | -1/+1 |
| | | |||||
* | | whisper: test fixed | Vlad | 2018-02-27 | 1 | -1/+2 |
| | | |||||
* | | whisper: mailserver no longer supports the signature vaidation | Vlad | 2018-02-27 | 1 | -2/+4 |
|/ | |||||
* | whisper: refactoring | Vlad | 2018-02-23 | 3 | -51/+3 |
| | |||||
* | Merge pull request #16172 from gluk256/244-light-client | gluk256 | 2018-02-23 | 2 | -4/+19 |
|\ | | | | | whisper: light client mode introduced | ||||
| * | whisper: light client mode introduced | Vlad | 2018-02-23 | 2 | -4/+19 |
| | | |||||
* | | Merge pull request #16146 from status-im/pombeirp/whisperv6-peer-race-cond-fix | Guillaume Ballet | 2018-02-23 | 1 | -0/+6 |
|\ \ | |/ |/| | Fix race condition in whisperv6/peer.go | ||||
| * | whisper: Fix race condition in whisperv6/peer.go | Pedro Pombeiro | 2018-02-21 | 1 | -0/+6 |
| | | |||||
* | | whisper: Support for v2 has long been discontinued, remove it. (#16153) | Guillaume Ballet | 2018-02-22 | 15 | -2892/+0 |
|/ | |||||
* | whisper: test timeout extended (#16088) | gluk256 | 2018-02-15 | 1 | -25/+74 |
| | | | | | | | | * whisper: timeout extended * whisper: test updated * whisper: test updated | ||||
* | whisper: get wnode to work with v6 (#16051) | Guillaume Ballet | 2018-02-10 | 10 | -38/+38 |
| | | | | | | | | | | The bulk of the issue was to adapt to the new requirement that a v6 filter has to either contain a symmertric key or an asymmetric one. This commits revert one of the fixes that I made to remove a linter warning: unexporting NewSentMessage. This is not really a problem as I have a cleanup in the pipe that will solve this issue. | ||||
* | whisper: bloom filter refactoring (#16046) | gluk256 | 2018-02-09 | 2 | -16/+21 |
| | | | | | | * whisper: bloom filter refactoring * whisper: fixed full node | ||||
* | whisper: Seal function fixed (#16048) | gluk256 | 2018-02-09 | 1 | -6/+14 |
| | |||||
* | whisper: improve a log message to analyze a travis issue | Guillaume Ballet | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | whisper: change the whisper message format so as to add the payload size ↵ | gluk256 | 2018-01-30 | 8 | -183/+193 |
| | | | | | | | | | | | | | | | | | | (#15870) * whisper: message format changed * whisper: tests fixed * whisper: style fixes * whisper: fixed names, fixed failing tests * whisper: fix merge issue in #15870 Occured while using the github online merge tool. Lesson learned. * whisper: fix a gofmt error for #15870 | ||||
* | whisper: remove linter warnings (#15972) | Guillaume Ballet | 2018-01-26 | 18 | -326/+361 |
| | | | | | | | | | | | | | | | | | | | | | | | * whisper: fixes warnings from the code linter * whisper: more non-API-breaking changes The remaining lint errors are because of auto-generated files and one is because an exported function has a non- exported return type. Changing this would break the API, and will be part of another commit for easier reversal. * whisper: un-export NewSentMessage to please the linter This is an API change, which is why it's in its own commit. This change was initiated after the linter complained that the returned type wasn't exported. I chose to un-export the function instead of exporting the type, because that type is an implementation detail that I would like to change in the near future to make the code more readable and with an increased coverage. * whisper: update gencodec output after upgrading it to new lint standards | ||||
* | whisper: fix empty topic (#15811) | b00ris | 2018-01-26 | 6 | -16/+92 |
| | | | | | | | | | | | | * whisper: fix empty topic * whisper: add check to matchSingleTopic * whisper: add tests * whisper: fix gosimple * whisper: added lastTopicByte const | ||||
* | whisper/whisperv6: implement pow/bloom exchange protocol (#15802) | gluk256 | 2018-01-12 | 7 | -75/+451 |
| | | | This is the main feature of v6. | ||||
* | all: regenerate codecs with gencodec commit 90983d99de (#15830) | Felix Lange | 2018-01-08 | 6 | -68/+68 |
| | | | Fixes #15777 because null is now allowed for hexutil.Bytes. | ||||
* | various: remove redundant parentheses (#15793) | Furkan KAMACI | 2018-01-03 | 2 | -4/+4 |
| | |||||
* | whisper/whisper2: fix Go 1.10 vet issues on type mismatches (#15783) | Péter Szilágyi | 2018-01-02 | 1 | -2/+2 |
| | |||||
* | whisper/whisperv6: PoW requirement (#15701) | gluk256 | 2017-12-21 | 5 | -54/+185 |
| | | | | New Whisper-level message introduced (PoW requirement), corresponding logic added, plus some tests. | ||||
* | whisper/whisperv6: message bundling (#15666) | gluk256 | 2017-12-21 | 2 | -20/+33 |
| | | | | | Changed the communication protocol for ordinary message, according to EIP 627. Messages will be send in bundles, i.e. array of messages will be sent instead of single message. | ||||
* | all: use gometalinter.v2, fix new gosimple issues (#15650) | Zach | 2017-12-13 | 1 | -2/+1 |
| | |||||
* | whisper: sym encryption message padding includes salt (#15631) | Guillaume Ballet | 2017-12-11 | 2 | -0/+60 |
| | | | | | Now that the AES salt has been moved to the payload, padding must be adjusted to hide it, lest an attacker guesses that the packet uses symmetric encryption. | ||||
* | whisper/whisperv6: remove Version from the envelope (#15621) | Guillaume Ballet | 2017-12-08 | 5 | -65/+28 |
| | |||||
* | whisper/whisperv6: remove aesnonce (#15578) | Guillaume Ballet | 2017-12-08 | 8 | -73/+168 |
| | | | | As per EIP-627, the salt for symmetric encryption is now part of the payload. This commit does that. | ||||
* | whisper: rename EnvNonce to Nonce in the v6 Envelope (#15579) | Guillaume Ballet | 2017-12-01 | 1 | -4/+4 |
| | |||||
* | build: enable unconvert linter (#15456) | ferhat elmas | 2017-11-11 | 4 | -6/+6 |
| | | | | | | | | | * build: enable unconvert linter - fixes #15453 - update code base for failing cases * cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter | ||||
* | whisper/whisperv6: initial commit (clone of v5) (#15324) | gluk256 | 2017-11-04 | 18 | -0/+5589 |
| | |||||
* | whisper/shhclient: fix Version return type (#15306) | baizhenxuan | 2017-10-18 | 1 | -2/+2 |
| | |||||
* | whisper/whisperv5: set filter SymKeyHash on creation (#15165) | Guillaume Ballet | 2017-10-06 | 5 | -17/+331 |
| | |||||
* | whisper: Fix spelling and grammar in error (#15009) | Noman | 2017-08-21 | 1 | -4/+4 |
| | | | | | | * whisper: Fix spelling and grammar in error * whisper: Fix grammar in comments | ||||
* | whisper: fix megacheck warnings (#14925) | Egon Elbre | 2017-08-08 | 9 | -20/+18 |
| | | | | | | * whisper: fix megacheck warnings * whisper/whisperv5: regenerate json codec to fix unused override type | ||||
* | whisper: renamed Info#Message to Info#Messages | Bas van Kervel | 2017-06-23 | 1 | -2/+2 |
| | |||||
* | whisper: use hexutil.UnmarshalFixedText for topic parsing | Bas van Kervel | 2017-06-21 | 2 | -33/+26 |
| | |||||
* | whisper: use syncmap for dynamic configuration options | Bas van Kervel | 2017-06-21 | 1 | -43/+18 |
| | |||||
* | whisper: move flags from whisper package to utils | Bas van Kervel | 2017-06-21 | 1 | -22/+1 |
| | |||||
* | whisper: renamed errors | Bas van Kervel | 2017-06-21 | 3 | -25/+25 |
| | |||||
* | whisper: fallback to default config if none is specified | Bas van Kervel | 2017-06-21 | 1 | -0/+4 |
| | |||||
* | whisper: remove obsolete api tests | Bas van Kervel | 2017-06-21 | 1 | -672/+0 |
| | |||||
* | whisper: remove gencodec override for config | Bas van Kervel | 2017-06-21 | 2 | -34/+0 |
| | |||||
* | whisper: move ShhClient to its own package | Bas van Kervel | 2017-06-21 | 1 | -9/+10 |
| | |||||
* | whisperv5: integrate whisper and add whisper RPC simulator | Bas van Kervel | 2017-06-15 | 19 | -473/+1134 |
| | |||||
* | whisper: switching to v5 + minor refactoring (#14387) | gluk256 | 2017-04-28 | 2 | -33/+33 |
| | |||||
* | whisper: message format refactoring (#14335) | gluk256 | 2017-04-27 | 13 | -218/+326 |
| | | | | | | | | | | | | | | * whisper: salt removed from AES encryption * whisper: padding format updated * whisper: padding test added * whisper: padding refactored, tests fixed * whisper: padding test updated * whisper: wnode bugfix * whisper: send/receive protocol updated * whisper: minor update * whisper: bugfix in test * whisper: updated parameter names and comments * whisper: functions renamed * whisper: minor refactoring | ||||
* | all: update license information | Felix Lange | 2017-04-14 | 2 | -16/+16 |
| | |||||
* | whisper: big refactoring (#13852) | gluk256 | 2017-04-10 | 13 | -675/+1223 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * whisper: GetMessages fixed; size restriction updated * whisper: made PoW and MaxMsgSize customizable * whisper: test added * whisper: sym key management changed * whisper: identity management refactored * whisper: API refactoring (Post and Filter) * whisper: big refactoring complete * whisper: spelling fix * whisper: variable topic size allowed for a filter * whisper: final update * whisper: formatting * whisper: file exchange introduced in wnode * whisper: bugfix * whisper: API updated + new tests * whisper: statistics updated * whisper: wnode server updated * whisper: allowed filtering for variable topic size * whisper: tests added * whisper: resolving merge conflicts * whisper: refactoring (documenting mostly) * whsiper: tests fixed * whisper: down cased error messages * whisper: documenting the API functions * whisper: logging fixed * whisper: fixed wnode parameters * whisper: logs fixed (typos) | ||||
* | trie, whisper/whisperv5: use math/rand Read function | Felix Lange | 2017-03-23 | 4 | -37/+22 |
| | |||||
* | common: move big integer math to common/math (#3699) | Felix Lange | 2017-02-27 | 2 | -9/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common: remove CurrencyToString Move denomination values to params instead. * common: delete dead code * common: move big integer operations to common/math This commit consolidates all big integer operations into common/math and adds tests and documentation. There should be no change in semantics for BigPow, BigMin, BigMax, S256, U256, Exp and their behaviour is now locked in by tests. The BigD, BytesToBig and Bytes2Big functions don't provide additional value, all uses are replaced by new(big.Int).SetBytes(). BigToBytes is now called PaddedBigBytes, its minimum output size parameter is now specified as the number of bytes instead of bits. The single use of this function is in the EVM's MSTORE instruction. Big and String2Big are replaced by ParseBig, which is slightly stricter. It previously accepted leading zeros for hexadecimal inputs but treated decimal inputs as octal if a leading zero digit was present. ParseUint64 is used in places where String2Big was used to decode a uint64. The new functions MustParseBig and MustParseUint64 are now used in many places where parsing errors were previously ignored. * common: delete unused big integer variables * accounts/abi: replace uses of BytesToBig with use of encoding/binary * common: remove BytesToBig * common: remove Bytes2Big * common: remove BigTrue * cmd/utils: add BigFlag and use it for error-checked integer flags While here, remove environment variable processing for DirectoryFlag because we don't use it. * core: add missing error checks in genesis block parser * common: remove String2Big * cmd/evm: use utils.BigFlag * common/math: check for 256 bit overflow in ParseBig This is supposed to prevent silent overflow/truncation of values in the genesis block JSON. Without this check, a genesis block that set a balance larger than 256 bits would lead to weird behaviour in the VM. * cmd/utils: fixup import | ||||
* | whisper: fixed temporary directory for tests (#3707) | gluk256 | 2017-02-24 | 1 | -2/+2 |
| | |||||
* | whisper: expiry refactoring (#3706) | gluk256 | 2017-02-24 | 5 | -36/+72 |
| | |||||
* | cmd, whisper/mailserver: revert to utils.Fatalf | Péter Szilágyi | 2017-02-23 | 1 | -4/+5 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 10 | -88/+80 |
| | |||||
* | Whisper API fixed (#3687) | gluk256 | 2017-02-23 | 10 | -78/+157 |
| | | | | | | | | | | | | | | | | | | | | | | * whisper: wnode updated for tests with geth * whisper: updated processing of incoming messages * whisper: symmetric encryption updated * whisper: filter id type changed to enhance security * whisper: allow filter without topic for asymmetric encryption * whisper: POW updated * whisper: logging updated * whisper: spellchecker update * whisper: error handling changed * whisper: JSON field names fixed | ||||
* | crypto: add btcec fallback for sign/recover without cgo (#3680) | Felix Lange | 2017-02-18 | 3 | -9/+11 |
| | | | | | | | | | | | * 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 | ||||
* | whisper: interface changed to simplify the transition to v5 | gluk256 | 2017-02-14 | 7 | -86/+91 |
| | | | | | | | | | | | | | | | | * whisper: mailserver test introduced, refactoring * whisper: validation test updated * whisper: max number of peers fixed * whisper: verification bug fixed * whisper: esthetic fix * whisper: interface changed to simplify the transition to v5 * whisper: preparation for version switch | ||||
* | whisper: add tests for mailserver (#3631) | gluk256 | 2017-02-13 | 2 | -8/+211 |
| | |||||
* | cmd/wnode, whisper: add whisper CLI tool and mail server (#3580) | gluk256 | 2017-01-31 | 7 | -30/+232 |
| | |||||
* | all: fix ineffectual assignments and remove uses of crypto.Sha3 | Felix Lange | 2017-01-09 | 4 | -17/+9 |
| | | | | | go get github.com/gordonklaus/ineffassign ineffassign . | ||||
* | all: fix spelling errors | Péter Szilágyi | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | all: fix issues reported by honnef.co/go/simple/cmd/gosimple | Felix Lange | 2017-01-07 | 10 | -34/+27 |
| | |||||
* | all: gofmt -w -s | Felix Lange | 2017-01-06 | 6 | -31/+31 |
| | |||||
* | rpc: remove HexNumber, replace all uses with hexutil types | Felix Lange | 2016-12-20 | 3 | -41/+39 |
| | | | | | This change couldn't be automated because HexNumber was used for numbers of all sizes. | ||||
* | rpc: remove HexBytes, replace all uses with hexutil.Bytes | Felix Lange | 2016-12-20 | 1 | -5/+6 |
| | |||||
* | whisper: refactoring (#3411) | gluk256 | 2016-12-20 | 12 | -66/+253 |
| | | | | | | | | | * whisper: refactored message processing * whisper: final polishing * whisper: logging updated * whisper: moved the check, changed the default PoW * whisper: refactoring of message queuing * whisper: refactored parameters | ||||
* | whisper/shhapi, whisper/whisperv5: refactoring (#3364) | gluk256 | 2016-12-02 | 14 | -650/+828 |
| | | | | | | | | | | * Filter refactoring * API tests added + bugfix * fixed the error logs * FilterID fixed * test cases fixed * key generation updated * POW updated * got rid of redundant stuff | ||||
* | whisper: project restructured, version 5 introduced (#3022) | gluk256 | 2016-10-29 | 30 | -14/+4447 |
| | | | | | | | 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. | ||||
* | Merge pull request #2458 from fjl/go-vet | Felix Lange | 2016-04-15 | 1 | -2/+2 |
|\ | | | | | all: fix go vet warnings | ||||
| * | all: fix go vet warnings | Felix Lange | 2016-04-15 | 1 | -2/+2 |
| | | |||||
* | | whisper: deflake Test*MessageExpiration | Felix Lange | 2016-04-15 | 2 | -9/+5 |
|/ | | | | | | 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. | ||||
* | all: update license information | Felix Lange | 2016-04-15 | 1 | -7/+7 |
| | |||||
* | rpc: various fixes/enhancements | Bas van Kervel | 2016-04-12 | 1 | -2/+2 |
| | | | | | | | | rpc: be less restrictive on the request id rpc: improved documentation console: upgrade web3.js to version 0.16.0 rpc: cache http connections rpc: rename wsDomains parameter to wsOrigins | ||||
* | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 3 | -5/+5 |
| | | | | As we aren't really using the standarized SHA-3 | ||||
* | rpc: migrated the RPC insterface to a new reflection based RPC layer | Bas van Kervel | 2016-01-26 | 2 | -2/+2 |
| | |||||
* | Merge pull request #2035 from bas-vk/rcp-v2-rebase | Felix Lange | 2015-12-15 | 2 | -0/+427 |
|\ | | | | | rpc: new RPC implementation with pub/sub support | ||||
| * | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 2 | -0/+427 |
| | | |||||
* | | crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar mult | Gustav Simonsson | 2015-11-30 | 1 | -4/+5 |
|/ | | | | thanks to Felix Lange (fjl) for help with design & impl | ||||
* | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 3 | -7/+13 |
| | |||||
* | whisper: fixed broadcast race | Jeffrey Wilcke | 2015-11-25 | 3 | -2/+19 |
| | | | | | | | | | | | | | | 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. | ||||
* | whisper: fix datarace in expiration test | Péter Szilágyi | 2015-11-05 | 1 | -2/+11 |
| | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 14 | -14/+14 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 14 | -56/+56 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 14 | -0/+224 |
| | |||||
* | p2p, whisper: use glog for peer-level logging | Felix Lange | 2015-05-07 | 2 | -7/+8 |
| | |||||
* | whisper: add full filter test suite | Péter Szilágyi | 2015-04-28 | 2 | -2/+51 |
| | |||||
* | whisper: fix a small data race duirng peer connection | Péter Szilágyi | 2015-04-28 | 2 | -14/+12 |
| | |||||
* | ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards | Péter Szilágyi | 2015-04-28 | 5 | -43/+213 |
| | |||||
* | rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters | Péter Szilágyi | 2015-04-28 | 5 | -32/+313 |
| | |||||
* | whisper: fix spurious From identity with untargeted messages | Péter Szilágyi | 2015-04-28 | 1 | -1/+3 |
| | |||||
* | whisper: fix payload loss in case of plaintext decrypt | Péter Szilágyi | 2015-04-28 | 2 | -4/+109 |
| | |||||
* | whisper, xeth/whisper: surface TTL and hash to the API | Péter Szilágyi | 2015-04-28 | 4 | -5/+18 |
| | |||||
* | rpc, whisper, xeth: fix RPC message retrieval data race | Péter Szilágyi | 2015-04-28 | 3 | -2/+41 |
| | |||||
* | whisper: fix send timestamp omission during envelope opening | Péter Szilágyi | 2015-04-28 | 1 | -0/+1 |
| | |||||
* | rpc, whisper, xeth: polish whisper RPC interface | Péter Szilágyi | 2015-04-28 | 1 | -10/+3 |
| | |||||
* | whisper: fix comment for rlpenv | Felix Lange | 2015-04-17 | 1 | -4/+5 |
| | |||||
* | cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limit | Felix Lange | 2015-04-17 | 1 | -1/+1 |
| | |||||
* | whisper: cleanup lefover scoping | Péter Szilágyi | 2015-04-17 | 3 | -4/+4 |
| | |||||
* | whisper: hide some internal types | Péter Szilágyi | 2015-04-17 | 1 | -3/+3 |
| | |||||
* | whisper: don't issue signature warning if none present | Péter Szilágyi | 2015-04-16 | 1 | -0/+5 |
| | |||||
* | whisper: track active peers, add peer cache expiry test | Péter Szilágyi | 2015-04-16 | 2 | -22/+86 |
| | |||||
* | whisper: remove dead code, rename a few constants | Péter Szilágyi | 2015-04-16 | 6 | -59/+7 |
| | |||||
* | whisper: use async handshakes to handle blocking peers | Péter Szilágyi | 2015-04-15 | 3 | -47/+12 |
| | |||||
* | whisper: remove some unneeded testing complexity | Péter Szilágyi | 2015-04-15 | 3 | -32/+5 |
| | |||||
* | whisper: global message expiration tests, polishes | Péter Szilágyi | 2015-04-15 | 3 | -16/+49 |
| | |||||
* | whisper: mock tests to use simulated peers | Péter Szilágyi | 2015-04-15 | 2 | -71/+55 |
| | |||||
* | whisper: add basic tests for the whiper peers | Péter Szilágyi | 2015-04-14 | 2 | -0/+221 |
| | |||||
* | whisper: shorten constants to TTL and PoW | Péter Szilágyi | 2015-04-14 | 5 | -15/+15 |
| | |||||
* | whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakages | Péter Szilágyi | 2015-04-14 | 1 | -16/+15 |
| | |||||
* | whisper: add known message expiration to peers, cleanup | Péter Szilágyi | 2015-04-14 | 2 | -95/+145 |
| | |||||
* | whisper: general cleanups, documentation | Péter Szilágyi | 2015-04-14 | 4 | -129/+146 |
| | |||||
* | whisper: fix anonymous broadcast drop, add broadcast tests | Péter Szilágyi | 2015-04-14 | 3 | -24/+99 |
| | |||||
* | whisper: add utility functions for creating topics | Péter Szilágyi | 2015-04-14 | 3 | -8/+58 |
| | |||||
* | whisper: push work in progress for bug report | Péter Szilágyi | 2015-04-13 | 2 | -6/+19 |
| | |||||
* | whisper: start adding integration tests | Péter Szilágyi | 2015-04-13 | 1 | -18/+118 |
| | |||||
* | whisper: clean up and integrate topics | Péter Szilágyi | 2015-04-13 | 7 | -43/+85 |
| | |||||
* | whisper: separate out magic number from the code | Péter Szilágyi | 2015-04-13 | 4 | -25/+29 |
| | |||||
* | whisper: fix comment entity capitalizations | Péter Szilágyi | 2015-04-12 | 2 | -7/+7 |
| | |||||
* | whisper: polish the Envelope a bit, prep for tests. | Péter Szilágyi | 2015-04-10 | 6 | -65/+75 |
| | |||||
* | whisper: polish the messages, fix some bugs, tests | Péter Szilágyi | 2015-04-10 | 6 | -88/+209 |
| | | | | | | Bugs fixed: - Use randomly generated flags as the spec required. - During envelope opening check the first bit only for signature. | ||||
* | whisper: rename test file according to Go style | Péter Szilágyi | 2015-04-10 | 1 | -0/+0 |
| | |||||
* | whisper: make the test app runnable & do something inside | Péter Szilágyi | 2015-04-10 | 1 | -12/+65 |
| | |||||
* | Merge pull request #648 from ↵ | Jeffrey Wilcke | 2015-04-08 | 1 | -1/+8 |
|\ | | | | | | | | | Gustav-Simonsson/forward_ecrecover_err_and_remove_dup_checks Forward and log EC recover err and remove dup pubkey len check | ||||
| * | Use logger.Error instead of 0 with glog | Gustav Simonsson | 2015-04-07 | 1 | -1/+2 |
| | | |||||
| * | Forward and log EC recover err and remove dup pubkey len check | Gustav Simonsson | 2015-04-07 | 1 | -1/+7 |
| | | |||||
* | | Updated logging | obscuren | 2015-04-07 | 1 | -4/+3 |
|/ | |||||
* | Moved logging to logger.Core | obscuren | 2015-04-04 | 1 | -1/+1 |
| | |||||
* | Move version to const and expose via Version() | Taylor Gerring | 2015-03-25 | 1 | -3/+8 |
| | |||||
* | whisper: use common.Hash | Felix Lange | 2015-03-21 | 4 | -41/+34 |
| | |||||
* | whisper: use package rlp | Felix Lange | 2015-03-21 | 2 | -37/+24 |
| | |||||
* | eth, whisper: adapt for RLP encoder switch in package p2p | Felix Lange | 2015-03-19 | 2 | -8/+3 |
| | | | | | I have rewritten the protocol test to use p2p.MsgPipe because p2p.NewMsg is gone. | ||||
* | Comment out whisper remove identity stubs | Taylor Gerring | 2015-03-17 | 1 | -8/+8 |
| | |||||
* | Initial support to remove Whisper identities per #491 | Taylor Gerring | 2015-03-17 | 1 | -0/+9 |
| | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -9/+9 |
| | |||||
* | don't log whisper start ups | obscuren | 2015-03-11 | 1 | -2/+2 |
| | |||||
* | eth, whisper: fix msg.Payload reads | Felix Lange | 2015-03-04 | 1 | -17/+10 |
| | |||||
* | Properly uninstall filters. Mining issue fixed #closes #365 | obscuren | 2015-02-23 | 1 | -0/+4 |
| | | | | | | * 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 | ||||
* | Moved ECIES to repo & added secondary title for webview | obscuren | 2015-02-14 | 2 | -2/+2 |
| | | | | | * ECIES moved from obscuren to ethereum * Added html META[name=badge] to reflect menuItem.secondaryTitle | ||||
* | Fixed "to" field | obscuren | 2015-02-10 | 2 | -0/+4 |
| | |||||
* | API changed to use Pubkey only. Reflected that change in the rest of the api | obscuren | 2015-02-06 | 3 | -3/+3 |
| | |||||
* | Fixed whisper "to" filtering. Closes #283 | obscuren | 2015-02-03 | 2 | -3/+3 |
| | |||||
* | Added missing whisper timestamp. Closes #284 | obscuren | 2015-02-03 | 1 | -0/+1 |
| | |||||
* | Fixed whisper pub key bug | obscuren | 2015-01-30 | 1 | -1/+1 |
| | | | | | * Unrecoverable messages would cause segfault when recovering invalid pub key | ||||
* | UI Updates | obscuren | 2015-01-22 | 1 | -1/+1 |
| | | | | | * Browser now has tabs * Fixed a callback issue | ||||
* | Moved `obscuren` secp256k1-go | obscuren | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | fixed url bug in browser | obscuren | 2015-01-21 | 1 | -9/+0 |
| | |||||
* | Changed public whisper api not to reveal temporary private keys | obscuren | 2015-01-15 | 1 | -9/+10 |
| | |||||
* | Fixed whisper messages | obscuren | 2015-01-13 | 3 | -27/+43 |
| | | | | | | | * 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. | ||||
* | Added manual triggering of filters | obscuren | 2015-01-13 | 1 | -7/+30 |
| | |||||
* | merged | obscuren | 2015-01-09 | 1 | -2/+0 |
| | |||||
* | err | obscuren | 2015-01-09 | 1 | -3/+0 |
| | |||||
* | just enable by default | obscuren | 2015-01-09 | 1 | -0/+3 |
| | |||||
* | Fixed some whisper issues | obscuren | 2015-01-09 | 3 | -2/+4 |
| | |||||
* | added nil check | obscuren | 2015-01-02 | 2 | -3/+3 |
| | |||||
* | Added whisper js api | obscuren | 2014-12-22 | 1 | -1/+1 |
| | |||||
* | Whisper watches fixes | obscuren | 2014-12-17 | 3 | -5/+16 |
| | |||||
* | doc desc | obscuren | 2014-12-16 | 1 | -0/+16 |
| | |||||
* | Removed debug message | obscuren | 2014-12-16 | 1 | -1/+0 |
| | |||||
* | During env open check for pub error which indicated unencrypted payload. | obscuren | 2014-12-16 | 2 | -2/+7 |
| | |||||
* | Added whisper debug interface + whisper fixes | obscuren | 2014-12-16 | 2 | -22/+5 |
| | |||||
* | Merge branch 'develop' into poc8 | obscuren | 2014-12-15 | 1 | -0/+27 |
|\ | |||||
| * | Added topic utility functions to whisper | obscuren | 2014-12-15 | 1 | -0/+27 |
| | | |||||
* | | added whisper | obscuren | 2014-12-15 | 1 | -10/+16 |
|/ | |||||
* | Implemented watching using filter package | obscuren | 2014-12-13 | 6 | -26/+145 |
| | | | | | * Added filters / watches * Removed event dep | ||||
* | Updated whisper messages to new crypto api + added tests | obscuren | 2014-12-10 | 5 | -11/+89 |
| | |||||
* | Added encryption for messages better API for sealing messages | obscuren | 2014-12-10 | 3 | -21/+89 |
| | |||||
* | Additional checks and debug output | obscuren | 2014-12-08 | 3 | -2/+14 |
| | |||||
* | Proper start/stoping wpeers | obscuren | 2014-12-08 | 2 | -5/+24 |
| | |||||
* | First draft of Whisper messages relaying | obscuren | 2014-12-08 | 7 | -0/+472 |