31 namespace graphene {
namespace chain {
49 obj.signing_key = op.block_signing_key;
53 return new_witness_object.
id;
void modify(const T &obj, const Lambda &m)
witness_id_type witness
The witness object to update.
tracks the blockchain state in an extensible manner
account_id_type witness_account
Create a witness object, as a bid to hold a witness position on the network.Accounts which wish to be...
optional< public_key_type > new_signing_key
The new block signing key.
void_result do_apply(const witness_update_operation &o)
const T & get(const object_id_type &id) const
optional< string > new_url
The new URL.
Update a witness object's URL and block signing key.
#define FC_CAPTURE_AND_RETHROW(...)
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
void_result do_evaluate(const witness_update_operation &o)
void_result do_evaluate(const witness_create_operation &o)
account_id_type witness_account
The account which owns the witness. This account pays the fee for this operation. ...
An ID for some votable object.
object_id_type do_apply(const witness_create_operation &o)
account_id_type witness_account
The account which owns the witness. This account pays the fee for this operation. ...
Maintains global state information (committee_member list, current fees)This is an implementation det...
const T & create(F &&constructor)
const global_property_object & get_global_properties() const