BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
30 namespace graphene {
namespace custom_operations {
41 vector<object_id_type> results;
48 if(itr !=
index.end()) {
49 results.push_back(itr->id);
62 if(itr ==
index.end())
70 if(row.second.valid())
73 results.push_back(created.id);
75 catch(
const fc::parse_error_exception& e) {
wlog(e.to_detail_string()); }
81 if(row.second.valid())
86 results.push_back(itr->id);
88 catch(
const fc::parse_error_exception& e) {
wlog((e.to_detail_string())); }
tracks the blockchain state in an extensible manner
optional< variant > value
static variant from_string(const string &utf8_str, parse_type ptype=legacy_parser, uint32_t max_depth=DEFAULT_MAX_RECURSION_DEPTH)
const T & create(F &&constructor)
constexpr uint16_t CUSTOM_OPERATIONS_MAX_KEY_SIZE
custom_generic_evaluator(database &db, const account_id_type account)
const object & get(object_id_type id) const
virtual const object * find(object_id_type id) const =0
vector< object_id_type > do_apply(const account_storage_map &o)
flat_map< string, optional< string > > key_values
void remove(const object &obj)
const IndexType & get_index_type() const
abstract base class for accessing objects indexed in various ways.
void modify(const T &obj, const Lambda &m)