Andrea Maria Piana
58bd36e79e
Automate github releases ( #1263 )
2018-11-05 15:02:16 +01:00
Adam Babik
b71058d73f
update golangci to 1.10.2 ( #1246 )
2018-10-17 12:17:58 +02:00
Adam Babik
ac8da3c0f0
Use patched go-ethereum from our fork instead of patching it on-the-fly ( #1184 )
...
* update to 1.8.16
2018-09-27 21:16:15 +02:00
Pedro Pombeiro
6a1cd7f2b0
Fix xgo creating files as `root` ( #1210 )
2018-09-24 22:21:13 +02:00
Andrea Maria Piana
dcaf8caed0
Add x3dh key exchange ( #1127 )
...
* Add x3dh key exchange
* Encrypt using the double ratchet
* Multi device with auto-pairing
* Add pfs enabled flag
2018-09-24 20:07:34 +02:00
Pedro Pombeiro
518234803a
Add support for testing static nodes to node-canary. Closes #1202 ( #1203 )
2018-09-20 13:25:32 +02:00
Pedro Pombeiro
4e7ae20eae
Add script to update fleets static JSON. Closes #1188 ( #1189 )
2018-09-14 10:46:34 +02:00
Pedro Pombeiro
3d00af7fa3
Streamline configuration in status-go. Part of #1180 ( #1183 )
...
- Replace command line flags with `-c` config flag. Part of #1180
- Convert node config private keys to hex-encoded string versions.
- Remove `GenerateConfig` from library.
- Remove unused `FirebaseConfig` from library.
- Fix loading of `config/status-chain-genesis.json` in non-dev machines.
2018-09-13 18:31:29 +02:00
Adam Babik
e8c6841f30
fix getting git commit in Makefile ( #1181 )
2018-09-04 17:19:16 +02:00
Adam Babik
5664a24b10
remove 'v' from version from git tag in Makefile ( #1178 )
2018-08-31 07:28:12 +02:00
Adam Babik
16c7b94eb5
Add labels to docker images and add Jenkinsfile to build docker images ( #1160 )
...
* fixed generating `params.Version`
* added labels to all Docker images including git_commit and the author of the build (using `$USER` env variable)
2018-08-24 12:25:07 +02:00
Dmitry Shulyak
6858662d59
Proxy records found in ethereum discovery v5 ( #1165 )
2018-08-24 06:17:32 +03:00
Kishan Sagathiya
0f5ad2545d
Issue #765 Read configuration without go-bindata ( #1158 )
...
In the current codebase if you want to use different keys (or any
other configuration) for tests it is required to place them at a
certain path in static folder, bundle them with go-bindata and only
then run tests. This is simply unnecessary.
This commit instead directs loads configurations from file without
relying on go-bindata
2018-08-21 14:46:10 +02:00
Pedro Pombeiro
ebc77374b2
Remove unused `test.sol` file
...
- File is no longer used after jail code was removed
- Ensure that `go-bindata` is set up on `make setup`
2018-08-15 14:52:40 +02:00
Adam Babik
f26e849fb2
Revert "Add build tags to signal package ( #1119 )" ( #1148 )
...
This reverts commit 27e432a5b1
.
2018-08-10 13:23:28 +02:00
Pedro Pombeiro
840b5b64d2
Implement mailserver canary service. Closes #1086
2018-08-07 17:17:59 +02:00
Ivan Daniluk
27e432a5b1
Add build tags to signal package ( #1119 )
2018-08-07 11:10:20 +03:00
Ivan Daniluk
4b8c669154
Speedup Makefile ( #1123 )
2018-08-02 19:16:39 +02:00
Ivan Daniluk
801053a17d
Remove jail package ( #1106 )
2018-07-24 12:05:21 +02:00
Adam Babik
03bf6e37a3
silence error when calculating GIT_REMOTE without develop branch ( #1107 )
2018-07-20 13:32:26 +02:00
Adrià Cidre
bfbb02019f
Discover mail servers on demand. ( #1082 )
...
* [#1076 ] Discover mail servers on start up.
* [#1076 ] On-demand mail-server discovery
2018-07-16 09:40:40 +02:00
Adam Babik
f33c803614
make calculating GIT_REMOTE in Makefile more explicit ( #1092 )
2018-07-12 11:45:31 +02:00
Adrià Cidre
f19e3eae8e
Move TestSentEnvelope to status-scale repo ( #1071 )
2018-07-02 22:29:03 +02:00
Pedro Pombeiro
7c51f9a382
Update to golangci-lint 1.9.1. Get rid of standalone misspell linter.
2018-07-02 18:41:10 +02:00
Jakub
4f9a7a908e
Make sure all new docker images are also tagged with commit ( #1062 )
...
This change also defines new makefile targets which prevent from pushing `latest` image tags by accident.
2018-07-02 18:27:59 +02:00
Adrià Cidre
5bbfabde94
New debug_postSync endpoint ( #1046 )
...
* [#ISSUE-1041] New debug_postconfirm endpoint
* move debug service api inside shhext service
2018-06-25 15:27:17 +02:00
Pedro Pombeiro
3b052098fe
Update to geth 1.8.11. Closes #1033
...
- Replace deprecated common.Hex with hexutil.Encode.
- Remove upstreamed 0010-geth-17-fix-npe-in-filter-system.patch.
- Remove upstreamed 0020-discv5-metrics.patch.
- Remove upstreamed 0026-ethdb-error-deadlock.patch.
- Update goleveldb to same version used by geth 1.8.11.
- Update PublicTransactionPoolAPI.GasPrice return type to match type in internal geth interface.
2018-06-22 18:04:13 +02:00
Pedro Pombeiro
3abfe3ffda
Replace gometalinter with golangci-lint (4.5x faster). Closes #1017
2018-06-14 13:52:51 +02:00
Ivan Daniluk
5f0768472f
Add GOPATH check to Makefile ( #995 )
2018-06-14 13:28:09 +02:00
Adam Babik
bbe7fba0c9
Benchmark tests ( #986 )
...
A set of tests used to benchmark Whisper and MailServer nodes.
2018-06-11 12:48:42 +02:00
Adrià Cidre
d5be8c525d
[ #856 ] move geth subpackages to root level ( #1007 )
2018-06-08 13:29:50 +02:00
Adam Babik
8ce6efc749
Make statusd distinct from StatusIM client ( #1008 )
2018-06-08 11:20:30 +02:00
Andrea Franz
5d0120ee28
add Dockerfile and Makefile tasks to build statusd-prune docker image ( #1005 )
...
* add Dockerfile and Makefile tasks to build statusd-prune docker image
* add image ENTRYPOINT
* set default CMD to statusd-prune
2018-06-07 12:30:18 +02:00
Dmitry Shulyak
ed1cdf0418
Custom status bootnodes ( #968 )
...
This change makes invalidation mechanism more aggressive. With a primary goal to invalidate short living nodes faster. In current setup any node that became known in terms of discovery will stay in this state until it will fail to respond to 5 queries. Removing them earlier from a table allows to reduce latency for finding required nodes.
The second change, one adds a version for discovery, separates status dht from ethereum dht.
After we rolled out discovery it became obvious that our boot nodes became spammed with irrelevant nodes. And this made discovery process very long, for example with separate dht discovery takes ~2s, with mutual dht - it can take 1m-10m and there is still no guarantee to find a max amount of peers, cause status nodes is a very small part of whole ethereum infra.
In my understanding, we don't need to be a part of ethereum dht, and lower latency is way more important for us.
Closes : #941
Partially closes : #960 (960 requires futher investigations on devices)
2018-05-18 16:43:07 +03:00
Ivan Danyliuk
6fec9fa653
Bump up Go version to 1.10
2018-05-09 16:13:34 +02:00
Igor Mandrigin
153d4160e1
Fix `make ci` if `dep` wasn't pre-installed.
2018-05-04 14:17:17 +02:00
Adrià Cidre
8c9db81bec
Expose status specific methods (login/signup/joinpublicchannel) through the RPC api ( #877 )
2018-05-03 12:36:56 +02:00
Pedro Pombeiro
4438d116b1
Ensure that Travis CI fails the build if the patches are incorrect
2018-05-02 13:28:39 +02:00
Igor Mandrigin
f4cd8d27b5
Add `shhext_getNewFilterMessages` function to RPC APIs.
...
This function returns only the new messages from the filter, never
returns the same message for the same user twice.
2018-04-27 15:24:37 +02:00
Igor Mandrigin
4cc6028d59
Implement `personal_sign`.
...
This commit implements `personal_sign` RPC or web3 personal.sign
methods.
NB! Contains breaking API changes.
2018-04-17 11:18:58 +02:00
Adrià Cidre
e277ae8b2d
Mockgen import cycle not allowed && recover missing mockgens ( #824 )
2018-04-13 15:10:37 +02:00
Adam Babik
0d652c3851
Expose only public APIs in inproc RPC client [breaking-change] ( #815 )
...
`CallRPC` binding, which is used as a provider for web3.js, exposes only public or whitelisted APIs.
2018-04-12 18:17:10 +02:00
Dmitry Shulyak
fc3decf661
Add tests for topic flags
2018-04-10 16:18:02 +03:00
Daniel Regeci
e34af8d6eb
Create status-go API to return a current revision ( #804 )
...
Change `BUILD_FLAGS` in Makefile and update `github.com/status-im/status-go/geth/params.VersionMeta` value with the current Git SHA.
2018-04-10 12:36:11 +02:00
Dmitry Shulyak
b120587c9b
Update bindata
2018-04-09 15:42:36 +02:00
Adam Babik
e9c2292776
Switch mockgen to reflect mode ( #800 )
...
Switch mockgen to use reflect mode as source mode does not support vendored packages.
2018-04-05 15:14:47 +02:00
Igor Mandrigin
d2df4bb323
Unbreak `make mock` command and compilation of our develop branch.
2018-03-29 17:51:00 +02:00
Pedro Pombeiro
f329ad2256
Add `setup` makefile target and rename `race-check` to `test-e2e-race` for consistency
...
- `make setup` is used to simplify CI script
2018-03-27 17:07:06 +02:00
Pedro Pombeiro
c4d7a6167e
Add `race-check` target to Makefile. Closes #710 ( #769 )
...
* Add `race-check` and `test-unit-race` target to Makefile. Closes #710
2018-03-27 14:38:41 +02:00
Adam Babik
8b264199c9
Enable metrics by default when building docker image ( #774 )
...
Prometheus metrics are enabled by default when running `make docker-image`.
2018-03-27 14:36:40 +02:00