BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
31 namespace graphene {
namespace protocol {
75 (predicate_was_false)(null_optional)(incorrect_variant_type))
restriction_predicate_function get_restriction_predicate(vector< restriction > rs, operation::tag_type op_type)
get_restriction_predicate Get a predicate function for the supplied restriction
FC_REFLECT_TYPENAME(fc::log_message)
A type describing the result of a restriction predicate.
bool success
Whether or not the operation complied with the restrictions or not.
static predicate_result Success()
static predicate_result Rejection(vector< predicate_result > branches)
predicate_result & reverse_path()
Reverse the order of the rejection path. Returns a reference to this object.
std::function< predicate_result(const operation &)> restriction_predicate_function
A restriction predicate is a function accepting an operation and returning a predicate_result.
static predicate_result Rejection(rejection_reason reason)
FC_REFLECT_ENUM(graphene::net::core_message_type_enum,(trx_message_type)(block_message_type)(core_message_type_first)(item_ids_inventory_message_type)(blockchain_item_ids_inventory_message_type)(fetch_blockchain_item_ids_message_type)(fetch_items_message_type)(item_not_available_message_type)(hello_message_type)(connection_accepted_message_type)(connection_rejected_message_type)(address_request_message_type)(address_message_type)(closing_connection_message_type)(current_time_request_message_type)(current_time_reply_message_type)(check_firewall_message_type)(check_firewall_reply_message_type)(get_current_connections_request_message_type)(get_current_connections_reply_message_type)(core_message_type_last))(different_chain)(already_connected)(connected_to_self)(not_accepting_connections)(blocked)(invalid_hello_message)(client_too_old))(inbound)(outbound))(firewalled)(not_firewalled))(unable_to_connect)(connection_successful)) namespace std
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
vector< rejection_indicator > rejection_path
Failure indicators, ordered from the outermost restriction to the innermost (the location of the reje...
rejection_reason
Enumeration of the general reasons a predicate may reject.