The Status module that consumes go-ethereum https://status.im
Go to file
Adam Babik fb75054a35 Fix TestJailWhisper e2e test (#442)
We have a test called TestJailWhisper that checks various Whisper communication scenarios (like sending a message signed with a symmetric key, asymmetric keys etc.). However, it was written in a bit cryptic way, so I also refactored it.

Important changes:
* Cleaner way of importing keys using AddKeyPair() method in the test suite,
* Removed TestEncryptedAnonymousMessage because it is not needed anymore as "test 4" in TestJailWhisper was fixed,
* Bumped PoW to 2.0. 0.01 used by status-react makes this test flaky.
2017-11-06 11:04:45 -05:00
.github Fixed according to comments 2017-10-24 19:58:18 +03:00
build Get rid of build/env.sh Fixes #418 (#446) 2017-11-04 00:20:17 -04:00
cmd Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
e2e Fix TestJailWhisper e2e test (#442) 2017-11-06 11:04:45 -05:00
extkeys Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
geth Remove go.rice in favour of go generate (#444) 2017-11-03 18:11:37 -04:00
helpers/profiling Feature/profiling #257 (#264) 2017-09-01 21:09:11 +07:00
lib Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
static Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
testing Update makefiles and make changes regards review 2017-10-26 14:11:24 +01:00
vendor Remove go.rice in favour of go generate (#444) 2017-11-03 18:11:37 -04:00
xgo Arch dependent status headers. Fixes #80 2016-12-16 02:00:08 +03:00
.dockerignore cmd/statusd: faucet sub-command added, refs #159 2017-05-16 10:51:11 +03:00
.gitignore Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
.travis.yml Fix duplicate lint 2017-10-25 16:36:03 +03:00
Dockerfile cmd/statusd: faucet sub-command added, refs #159 2017-05-16 10:51:11 +03:00
Jenkinsfile add 'g' prefix before artifact SHA (#358) 2017-09-25 18:06:13 +02:00
Jenkinsfile-manual fix Jenkinsfile-manual to build both platforms (#393) 2017-10-11 20:24:48 +03:00
LICENSE.md Create LICENSE.md 2016-09-21 10:00:29 +08:00
Makefile Fix TestJailWhisper e2e test (#442) 2017-11-06 11:04:45 -05:00
README.md Get rid of build/env.sh Fixes #418 (#446) 2017-11-04 00:20:17 -04:00
package.json Extended testGetDefaultConfig to support Rinkeby (#241) 2017-09-08 15:32:02 +03:00

README.md

Status bindings for go-ethereum

TravisCI Builds GoDoc Master Build Status Develop Build Status

Docs

Intro

status-go is an underlying part of Status - a browser, messenger, and gateway to a decentralized world.

It's written in Go and requires Go 1.8 or above.

It uses Makefile to do most common actions. See make help output for available commands.

status-go uses forked ethereum-go with some changes in it, located under vendor/ dir.

Build

There are two main modes status-go can be built:

  • standalone server
  • library to link for Android or iOS

Use following Makefile commands:

  • make statusgo (builds binary into build/bin/statusd)
  • make statusgo-android) (builds .aar file build/android-16/aar)
  • make statusgo-ios and make statusgo-ios-simulator (builds iOS related artifacts in build/os-9.3/framework)

Testing

To test statusgo, use: make ci. To test statusgo using a giving network by name, use: make ci networkid=rinkeby. To test statusgo using a giving network by id number, use: make ci networkid=3.

If you want to launch specific test, for instance RPCSendTransactions, use the following command:

go test -v ./geth/api/ -testify.m ^RPCSendTransaction$

Note -testify.m as testify/suite is used to group individual tests.

Licence

Mozilla Public License 2.0