29 Commits

Author SHA1 Message Date
Michael Bradley, Jr
51fd9cf5ff blockchain -- defaultHost, dockerHostSwap 2018-09-30 10:01:41 -04:00
Jonathan Rainville
8da1fca0bc remove useless change 2018-09-30 09:26:03 -04:00
Iuri Matias
8518e4aa2a fixes due to bad rebase 2018-09-30 09:18:45 -04:00
Jonathan Rainville
500ef163a7 wip fixes 2018-09-29 22:07:27 -04:00
Iuri Matias
0c25ae2bbf fixes due to bad rebase 2018-09-29 20:55:31 -04:00
Michael Bradley, Jr
7f6c2ba141 blockchain -- defaultHost, dockerHostSwap 2018-09-29 20:11:08 -04:00
Jonathan Rainville
2cd126b116 remove useless change 2018-09-29 19:47:39 -04:00
Jonathan Rainville
15ba457f60 wip fixes 2018-09-29 19:46:13 -04:00
Michael Bradley, Jr
ea6a63f754 Boolean() -> !! 2018-09-27 16:57:02 -05:00
Iuri Matias
b1b02f7518 restore ws functionality to webserver 2018-09-27 17:06:51 -04:00
Iuri Matias
71cbb07ad8
Merge pull request #878 from embark-framework/bug_fix/minewhenneeded-fixes-3
Fix datadir for miner (PR for next branch)
2018-09-21 09:36:06 -04:00
Anthony Laibe
907b486531 Send ready only when the proxy is started 2018-09-20 10:16:48 +01:00
Iuri Matias
4a321e3c0c coerce boolean value using more commmon !! 2018-09-20 15:33:33 +10:00
emizzle
ab7784c1e9 Fix datadir for miner
The datadir path was not being passed to the miner, was resolving as `undefined`, and therefore, was not setting up an ipc connection correctly and no communication was happening.

The fix passes the `datadir` from the blockchain config to the miner in the constructor.
2018-09-20 15:30:06 +10:00
emizzle
c477445896 Start HTTP and WS proxies individually
As geth is starting up, the output is monitored for endpoint info. Once the HTTP or WS endpoints are opened, the corresponding proxies are started.

This is more maintainable in the long run in case the geth process being started does not allow for rpc or websockets, or geth modifies the order in which endpoint are opened.
2018-09-20 15:08:02 +10:00
Michael Bradley, Jr
eba9ce361e setupProxy should not be conditional on isDev 2018-09-19 22:31:54 -05:00
Michael Bradley, Jr
917757b04c outer function doesn't need to be async 2018-09-19 21:13:19 -05:00
Michael Bradley, Jr
aae7954020 await proxy just before createFundAndUnlockAccounts 2018-09-19 20:11:36 -05:00
Michael Bradley, Jr
35c772d727 async setupProxy 2018-09-19 20:10:46 -05:00
Anthony Laibe
4c0b4c2410 Delay the start of the proxy 2018-09-18 12:12:17 +01:00
emizzle
472b87f4cd Adding back calling code block for dev_funds
This may have been removed in the rebase, adding it back in.
2018-09-17 22:48:24 +10:00
Anthony Laibe
8ffc9b89e2 Swarm use local data dir 2018-09-13 13:37:44 +01:00
Anthony Laibe
df651865c1 Enable no-else-return 2018-08-30 14:53:04 +01:00
Anthony Laibe
23f7ec396a Allow zero config in blockchain 2018-08-27 10:06:37 +01:00
Iuri Matias
792e7dff5b lint is king 2018-08-21 16:12:57 -04:00
Iuri Matias
58ba4bde48 move simulator & proxy to blockchain process module 2018-08-21 16:07:58 -04:00
Jonathan Rainville
363608287f fixes and linting 2018-08-21 16:05:59 -04:00
Iuri Matias
dc86cbaccb move proxy out of core 2018-08-21 16:02:18 -04:00
Iuri Matias
d7c67ffcf7 move blockchain process related files into blockchain module 2018-08-21 16:02:18 -04:00