Align submodule versions
This commit is contained in:
parent
b43d52312b
commit
c2a3467c02
6 changed files with 8 additions and 8 deletions
2
docs
2
docs
|
|
@ -1 +1 @@
|
||||||
Subproject commit 740407c22154634aa0881e6b85e19ad0191e8325
|
Subproject commit 8d8b69d82482101279460fa02f814d0e4030966f
|
||||||
|
|
@ -226,7 +226,7 @@ namespace detail {
|
||||||
|
|
||||||
void new_connection( const fc::http::websocket_connection_ptr& c )
|
void new_connection( const fc::http::websocket_connection_ptr& c )
|
||||||
{
|
{
|
||||||
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(*c, GRAPHENE_MAX_NESTED_OBJECTS);
|
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(c, GRAPHENE_MAX_NESTED_OBJECTS);
|
||||||
auto login = std::make_shared<graphene::app::login_api>( std::ref(*_self) );
|
auto login = std::make_shared<graphene::app::login_api>( std::ref(*_self) );
|
||||||
login->enable_api("database_api");
|
login->enable_api("database_api");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0358ca257e4ce9d66c1097cd2e8e2d34ff89a297
|
Subproject commit fb27454cdf1626e5e108e42848bd1bcfe60c9540
|
||||||
|
|
@ -65,7 +65,7 @@ void delayed_node_plugin::plugin_set_program_options(bpo::options_description& c
|
||||||
|
|
||||||
void delayed_node_plugin::connect()
|
void delayed_node_plugin::connect()
|
||||||
{
|
{
|
||||||
my->client_connection = std::make_shared<fc::rpc::websocket_api_connection>(*my->client.connect(my->remote_endpoint), GRAPHENE_MAX_NESTED_OBJECTS);
|
my->client_connection = std::make_shared<fc::rpc::websocket_api_connection>(my->client.connect(my->remote_endpoint), GRAPHENE_MAX_NESTED_OBJECTS);
|
||||||
my->database_api = my->client_connection->get_remote_api<graphene::app::database_api>(0);
|
my->database_api = my->client_connection->get_remote_api<graphene::app::database_api>(0);
|
||||||
my->client_connection_closed = my->client_connection->closed.connect([this] {
|
my->client_connection_closed = my->client_connection->closed.connect([this] {
|
||||||
connection_failed();
|
connection_failed();
|
||||||
|
|
|
||||||
|
|
@ -176,7 +176,7 @@ int main( int argc, char** argv )
|
||||||
fc::http::websocket_client client;
|
fc::http::websocket_client client;
|
||||||
idump((wdata.ws_server));
|
idump((wdata.ws_server));
|
||||||
auto con = client.connect( wdata.ws_server );
|
auto con = client.connect( wdata.ws_server );
|
||||||
auto apic = std::make_shared<fc::rpc::websocket_api_connection>(*con, GRAPHENE_MAX_NESTED_OBJECTS);
|
auto apic = std::make_shared<fc::rpc::websocket_api_connection>(con, GRAPHENE_MAX_NESTED_OBJECTS);
|
||||||
|
|
||||||
auto remote_api = apic->get_remote_api< login_api >(1);
|
auto remote_api = apic->get_remote_api< login_api >(1);
|
||||||
edump((wdata.ws_user)(wdata.ws_password) );
|
edump((wdata.ws_user)(wdata.ws_password) );
|
||||||
|
|
@ -216,7 +216,7 @@ int main( int argc, char** argv )
|
||||||
_websocket_server->on_connection([&wapi]( const fc::http::websocket_connection_ptr& c ){
|
_websocket_server->on_connection([&wapi]( const fc::http::websocket_connection_ptr& c ){
|
||||||
std::cout << "here... \n";
|
std::cout << "here... \n";
|
||||||
wlog("." );
|
wlog("." );
|
||||||
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(*c, GRAPHENE_MAX_NESTED_OBJECTS);
|
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(c, GRAPHENE_MAX_NESTED_OBJECTS);
|
||||||
wsc->register_api(wapi);
|
wsc->register_api(wapi);
|
||||||
c->set_session_data( wsc );
|
c->set_session_data( wsc );
|
||||||
});
|
});
|
||||||
|
|
@ -234,7 +234,7 @@ int main( int argc, char** argv )
|
||||||
{
|
{
|
||||||
_websocket_tls_server = std::make_shared<fc::http::websocket_tls_server>(cert_pem);
|
_websocket_tls_server = std::make_shared<fc::http::websocket_tls_server>(cert_pem);
|
||||||
_websocket_tls_server->on_connection([&]( const fc::http::websocket_connection_ptr& c ){
|
_websocket_tls_server->on_connection([&]( const fc::http::websocket_connection_ptr& c ){
|
||||||
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(*c, GRAPHENE_MAX_NESTED_OBJECTS);
|
auto wsc = std::make_shared<fc::rpc::websocket_api_connection>(c, GRAPHENE_MAX_NESTED_OBJECTS);
|
||||||
wsc->register_api(wapi);
|
wsc->register_api(wapi);
|
||||||
c->set_session_data( wsc );
|
c->set_session_data( wsc );
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ client_connection::client_connection(
|
||||||
wallet_data.ws_password = "";
|
wallet_data.ws_password = "";
|
||||||
websocket_connection = websocket_client.connect( wallet_data.ws_server );
|
websocket_connection = websocket_client.connect( wallet_data.ws_server );
|
||||||
|
|
||||||
api_connection = std::make_shared<fc::rpc::websocket_api_connection>(*websocket_connection, GRAPHENE_MAX_NESTED_OBJECTS);
|
api_connection = std::make_shared<fc::rpc::websocket_api_connection>(websocket_connection, GRAPHENE_MAX_NESTED_OBJECTS);
|
||||||
|
|
||||||
remote_login_api = api_connection->get_remote_api< graphene::app::login_api >(1);
|
remote_login_api = api_connection->get_remote_api< graphene::app::login_api >(1);
|
||||||
BOOST_CHECK(remote_login_api->login( wallet_data.ws_user, wallet_data.ws_password ) );
|
BOOST_CHECK(remote_login_api->login( wallet_data.ws_user, wallet_data.ws_password ) );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue