DECENT
Functions
Subscription

Functions

void graphene::app::database_api::set_pending_transaction_callback (std::function< void(const variant &)> cb)
 
void graphene::app::database_api::set_block_applied_callback (std::function< void(const variant &block_id)> cb)
 
void graphene::app::database_api::set_content_update_callback (std::function< void()>cb, const string &URI)
 

Detailed Description

Function Documentation

void graphene::app::database_api::set_block_applied_callback ( std::function< void(const variant &block_id)>  cb)
Parameters
cb

Definition at line 299 of file database_api.cpp.

void graphene::app::database_api::set_content_update_callback ( std::function< void()>  cb,
const string &  URI 
)
Parameters
URIcontent we are monitoring
cbcallback

Definition at line 279 of file database_api.cpp.

void graphene::app::database_api::set_pending_transaction_callback ( std::function< void(const variant &)>  cb)
Parameters
cb

Definition at line 289 of file database_api.cpp.