Commit Graph

257 Commits

Author SHA1 Message Date
Marin 4fb0faa061 Small NodeManager refactoring (#253)
Introduced `isNodeAvailable()`.
2017-09-11 17:07:35 +03:00
Ivan Tomilov c85525e139 Extended testGetDefaultConfig to support Rinkeby (#241)
This pull requests only extends testGetDefaultConfig to run against Rinkeby as well and fixes TestJailWhisper.
2017-09-08 15:32:02 +03:00
Adam Babik 8fb2424ea5 Port the transactions queue from go-ethereum to status-go (#261)
Now all transactions in both cases are waiting for CompleteTransaction or DiscardTransaction to proceed independently from their destination: upstream of local
2017-09-04 15:56:58 +03:00
Ivan Daniluk 0c4603d825 Add file logger support (#269) 2017-09-02 01:44:50 +07:00
Marin 97bba3d835 Feature/profiling #257 (#264) 2017-09-01 21:09:11 +07:00
Ivan Daniluk 4321f9b2e5 Fix log levels and enable ethereum-go logger (#256) 2017-08-24 15:50:16 +07:00
Ivan Tomilov 278b231efa Fixed: faucet now accepts HTTPEnabledFlag
(cherry picked from commit b6545a0)
2017-08-17 15:58:08 +07:00
Adam Babik 7433828a26 Validate JSON config (#240)
* exposed ValidateNodeConfig()
* extended NodeConfig interface with Validate() method
* added validate tag to some NodeConfig fields
2017-08-10 22:31:29 +07:00
Ivan Tomilov ebd77aabe2 Merging bug/whisper-on-geth1.6.1 (#236) which acts like develop
* static: updates Whisper test (to work with Geth 1.6.1)
* jail: VM persistence implemented
* jail: sendMessage/showSuggestions minor fixes (to be squashed)
* node: CHT and boot nodes auto-load implemented
* Replaced CHT data file from farazdagi's to tiabc's
* Rewrote config_test.go using testify having reduced it twice in size
* Increased SyncTime and panic timeout in tests
* Fixed test - remove go default test to testify/suite (#207)
* Add flag setup for RPCEnabled and add comment (#225)
* jail: register method handlers before running initial js in jail (#226)
* Console Jail Mod #179 (#228)
* Added ./statusd-data into .gitignore
* Increased log level for the test node from INFO to ERROR
* Add call to loop.Run to evaluate all setTimeout/setIntervals methods. (#208)
* Rebase onto geth1.6.7 (#232)
* Got back sync duration from 60s to 30s, updated bindata.go
2017-08-04 23:14:17 +07:00
Victor Farazdagi 6b3f7aabdf node: expose in-proc RPC (CallRPC), closes #144 2017-05-28 17:05:33 +03:00
Victor Farazdagi 0e2839b705 node manager: make API async, fully cover with tests
- API is async
- Node manager, backend and API modules have more that 90% coverage
- For each level (node manager, backend, public API) random testing
  was used to ensure that we don't have race conditions
2017-05-27 23:42:02 +03:00
Victor Farazdagi 349103de1a major refactoring: node manager, tx queue, accounts, jail
- node: signals and node reset, fixes #152
- tests update (testify is used)
- node manager refactored, race conditions fixed
- node wrapper has been removed, we rely on go-ethereum node now
- tx queue refactored
- jail refactored
- backend and API introduced
2017-05-24 00:29:20 +03:00
Victor Farazdagi 82fe888853 whisper5: minor fixes 2017-05-16 11:02:34 +03:00
Victor Farazdagi 4d1d5c7912 statusd: les sub-command implemented, closes #159 2017-05-16 10:51:11 +03:00
Victor Farazdagi 4f27a79d83 config: homestead and rinkeby confg + allow dev/prod modes 2017-05-16 10:51:11 +03:00
Victor Farazdagi 88394690c2 cmd/statusd: faucet sub-command added, refs #159 2017-05-16 10:51:11 +03:00
Victor Farazdagi 3e8f9076c1 VerifyAccountPassword: locate key file by traversing key store folder 2017-05-16 00:49:22 +03:00
Victor Farazdagi 68d4d20d66 cmd/statusd, geth: VerifyAccountPassword method exposed, closes #151 2017-05-15 13:48:27 +03:00
Victor Farazdagi 2f0c93fd3b refactor: linters + recommendations applied, closes #146 2017-05-15 08:19:46 +03:00
Victor Farazdagi 92afd0d47e vendor/whisper, statusd: push notifications implemented, closes #135 2017-05-03 16:09:48 +03:00
Victor Farazdagi ecea845d88 rebase: minor fixes to integrate with Geth 1.6.1 2017-05-03 16:00:36 +03:00
Victor Farazdagi eab1458ba2 config: allow to specify keystore directory, closes #147 2017-04-28 11:50:12 +03:00
Victor Farazdagi 9a68fd211f whisper: `statusd wnode` sub-command, closes #140 2017-04-28 11:50:12 +03:00
Victor Farazdagi 3ce913f661 geth, jail: Whisper ver.5 enabled, tests expanded 2017-04-03 14:57:51 +03:00
Victor Farazdagi b130d586ca cmd/statusd: expose LES, SHH, Swarm. Closes #128 2017-04-01 10:08:08 +03:00
Victor Farazdagi 5615ec40d6 geth, geth/params: customized logger implemented 2017-03-29 00:48:09 +03:00
Victor Farazdagi 031eeb33b8 geth/params: node settings implemented #116 2017-03-17 17:38:22 +03:00
Victor Farazdagi 34b19e6af9 geth: optimizes tests 2017-03-16 10:40:17 +03:00
Victor Farazdagi 57fb99c4ca jail, params: moved into geth package, refactored 2017-03-16 10:40:17 +03:00
Victor Farazdagi 4159f97e74 cmd/status, geth/params: move version into separate file (starts 0.9.5) 2017-03-16 10:39:28 +03:00
Victor Farazdagi 908f34939a params, geth, cmd: Scaleway cluster enabled 2017-03-10 04:11:19 +03:00
Victor Farazdagi 3d80686783 geth: force peer population 2017-02-27 16:49:39 +03:00
Victor Farazdagi 34ea4e9c4c optimizes test parameters 2017-02-27 16:49:39 +03:00
Victor Farazdagi caab90e62d geth,cmd/status: disable IPC and WS servers by default 2017-02-27 16:49:39 +03:00
Victor Farazdagi e38864fec2 geth,cmd/status: IPC-RPC server enabled 2017-02-27 16:49:39 +03:00
Victor Farazdagi cf7b8fb96c geth,cmd/status: WS-RPC server enabled 2017-02-27 16:49:39 +03:00
Victor Farazdagi fd36dcfdb4 geth,cmd/status: pause/resume node fixes #96 2017-02-27 16:49:39 +03:00
Victor Farazdagi a77c2362d5 adds ResetChainData() fixes #63 2017-02-27 16:49:39 +03:00
Victor Farazdagi 26841d91e7 geth: better error notification 2017-02-27 16:49:38 +03:00
Victor Farazdagi 1cc8259589 vendor: rebase fixes 2017-02-27 16:28:58 +03:00
Victor Farazdagi cd96e53442 vendor: rebase fixes 2017-02-23 20:28:45 +03:00
Victor Farazdagi 8952961703 vendor: rebase fixes 2017-02-23 05:12:48 +03:00
Victor Farazdagi 87e345c1cc fixes issue when non-originator can complete a tx 2017-02-01 20:08:03 +03:00
Victor Farazdagi 473d997849 refactors signal sending + localStorage.set() tests. Fixes #75 2016-12-19 03:32:20 +03:00
Victor Farazdagi 0057d8f4cd node_manager: start/stop RPC server methods added 2016-12-11 17:19:53 +03:00
Victor Farazdagi e5bb6a24f7 replaces dependency on go-ethereum "cmd/*" packages. Fixes #72 2016-12-08 01:04:09 +03:00
Victor Farazdagi 2ee729e7a5 starts on 1.1.0-unstable version 2016-11-30 17:48:57 +03:00
Victor Farazdagi 067f034b7c Version bump 2016-11-30 17:47:24 +03:00
Victor Farazdagi 4415ee65f6 update bindings to work correctly w/ geth-1.5.3-unstable 2016-11-25 11:06:47 +03:00
Victor Farazdagi e87ad0705f Cover exposed methods (library.go) with tests. Fixes #57 2016-11-14 04:35:58 +03:00
Victor Farazdagi 1f6e59d160 DiscardTransactions() + CompleteTransactions(). Fixes #32 2016-11-12 21:26:33 +03:00
Victor Farazdagi c29dedf84a implements DiscardTransaction(), required for #32 2016-10-31 02:28:30 +03:00
Victor Farazdagi 286a8fc344 Allow conditionally build for Testnet/Mainnet. Closes #40 2016-10-13 14:46:54 +03:00
Victor Farazdagi a9c9818bc9 Version bump 2016-09-28 21:30:45 +03:00
Victor Farazdagi 376f8a6ed6 Version bump 2016-09-21 15:22:42 +03:00
Victor Farazdagi b66188941d Non-blocking StartNode() 2016-09-15 06:13:40 +03:00
Victor Farazdagi edd8763c3c Major code refactoring
- geth package implemented
- jail package implemented (and tested)
- cgo and xgo (android, ios) builds w/o any issues
- better conditional compilation of signals code
2016-09-15 06:13:40 +03:00