MCPcopy Create free account
hub / github.com/cryptonomex/graphene / use_network_node_api

Method use_network_node_api

libraries/wallet/wallet.cpp:2270–2286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2268 }
2269
2270 void use_network_node_api()
2271 {
2272 if( _remote_net_node )
2273 return;
2274 try
2275 {
2276 _remote_net_node = _remote_api->network_node();
2277 }
2278 catch( const fc::exception& e )
2279 {
2280 std::cerr << "\nCouldn't get network node API. You probably are not configured\n"
2281 "to access the network API on the witness_node you are\n"
2282 "connecting to. Please follow the instructions in README.md to set up an apiaccess file.\n"
2283 "\n";
2284 throw(e);
2285 }
2286 }
2287
2288 void network_add_nodes( const vector<string>& nodes )
2289 {

Callers

nothing calls this directly

Calls 1

network_nodeMethod · 0.80

Tested by

no test coverage detected