|
|
@ -162,7 +162,7 @@ Main::Main(QWidget *parent) : |
|
|
|
QSettings s("ethereum", "alethzero"); |
|
|
|
m_networkConfig = s.value("peers").toByteArray(); |
|
|
|
bytesConstRef network((byte*)m_networkConfig.data(), m_networkConfig.size()); |
|
|
|
m_webThree.reset(new WebThreeDirect(string("AlethZero/v") + dev::Version + "/" DEV_QUOTED(ETH_BUILD_TYPE) "/" DEV_QUOTED(ETH_BUILD_PLATFORM), getDataDir() + "/AlethZero", false, {"eth", "shh"}, p2p::NetworkPreferences(), network)); |
|
|
|
m_webThree.reset(new WebThreeDirect(string("AlethZero/v") + dev::Version + "/" DEV_QUOTED(ETH_BUILD_TYPE) "/" DEV_QUOTED(ETH_BUILD_PLATFORM), getDataDir(), false, {"eth", "shh"}, p2p::NetworkPreferences(), network)); |
|
|
|
|
|
|
|
m_httpConnector.reset(new jsonrpc::HttpServer(8080)); |
|
|
|
m_server.reset(new OurWebThreeStubServer(*m_httpConnector, *web3(), keysAsVector(m_myKeys), this)); |
|
|
|