MCPcopy Create free account
hub / github.com/bitshares/bitshares-core / crypto

Method crypto

libraries/app/api.cpp:299–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297 }
298
299 fc::api<crypto_api> login_api::crypto()
300 {
301 bool is_allowed = ( _allowed_apis.find("crypto_api") != _allowed_apis.end() );
302 FC_ASSERT( is_allowed, "Access denied" );
303 if( !_crypto_api )
304 {
305 _crypto_api = std::make_shared< crypto_api >();
306 }
307 return *_crypto_api;
308 }
309
310 fc::api<asset_api> login_api::asset()
311 {

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64