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

Method is_database_api_allowed

libraries/app/api.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 bool login_api::is_database_api_allowed() const
114 {
115 bool is_allowed = ( _allowed_apis.find("database_api") != _allowed_apis.end() );
116 return is_allowed;
117 }
118
119 // block_api
120 block_api::block_api(const graphene::chain::database& db) : _db(db) { /* Nothing to do */ }

Callers 1

new_connectionMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected