ucwong
6975172d01
whisper/mailserver : recover corrupt db files before opening ( #20891 )
...
* whisper/mailserver : recover db file when openfile corrupted
* whisper/mailserver : fix db -> s.db
* whisper/mailserver : common/errors for dbfile
2020-04-08 11:26:16 +02:00
Felix Lange
c8e9a91672
build: upgrade to golangci-lint 1.24.0 ( #20901 )
...
* accounts/scwallet: remove unnecessary uses of fmt.Sprintf
* cmd/puppeth: remove unnecessary uses of fmt.Sprintf
* p2p/discv5: remove unnecessary use of fmt.Sprintf
* whisper/mailserver: remove unnecessary uses of fmt.Sprintf
* core: goimports -w tx_pool_test.go
* eth/downloader: goimports -w downloader_test.go
* build: upgrade to golangci-lint 1.24.0
2020-04-08 11:07:29 +03:00
Guillaume Ballet
5d80a1b665
whisper/mailserver: reduce the max number of opened files ( #18142 )
...
This should reduce the occurences of travis failures on MacOS
Also fix some linter warnings
2018-11-20 20:14:37 +01:00
Pedro Pombeiro
16e95f33b7
whisper: Fix interpretation of to
parameter in shh_requestMessages
( #16996 )
...
The argument is inclusive rather than exclusive, according to docs.
2018-09-19 17:44:30 +02:00
Ivan Daniluk
d2fe83dc5c
whisper/mailserver: pass init error to the caller ( #16671 )
...
* whisper/mailserver: pass init error to the caller
* whisper/mailserver: add returns to fmt.Errorf
* whisper/mailserver: check err in mailserver init test
2018-05-04 12:10:18 +03:00
Vlad
ee75a90ab4
whisper: topics replaced by bloom filters
2018-03-01 16:04:09 +01:00
Vlad
dadf4d53ab
whisper: mailserver no longer supports the signature vaidation
2018-02-27 15:45:00 +01:00
Guillaume Ballet
5cf75a30c1
whisper: get wnode to work with v6 ( #16051 )
...
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.
2018-02-10 15:35:32 +02:00
Egon Elbre
d375193797
whisper: fix megacheck warnings ( #14925 )
...
* whisper: fix megacheck warnings
* whisper/whisperv5: regenerate json codec to fix unused override type
2017-08-08 14:48:06 +03:00
Felix Lange
0cc492f815
all: update license information
2017-04-14 10:29:00 +02:00
gluk256
9cd7135516
whisper: big refactoring ( #13852 )
...
* 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)
2017-04-09 23:49:22 +02:00
Péter Szilágyi
1ca20a2697
cmd, whisper/mailserver: revert to utils.Fatalf
2017-02-23 12:16:46 +02:00
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
2017-02-23 12:16:44 +02:00
gluk256
65ed6a9def
whisper: add tests for mailserver ( #3631 )
2017-02-13 13:15:20 +01:00
gluk256
690f6ea1d7
cmd/wnode, whisper: add whisper CLI tool and mail server ( #3580 )
2017-01-31 11:16:20 +01:00