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 chain {
44 vote_id = vote_id_type(vote_id_type::witness, p.next_available_vote_id++);
49 obj.signing_key = op.block_signing_key;
53 return new_witness_object.
id;
69 if( op.new_url.valid() )
70 wit.url = *op.new_url;
71 if( op.new_signing_key.valid() )
72 wit.signing_key = *op.new_signing_key;
#define FC_CAPTURE_AND_RETHROW(...)
tracks the blockchain state in an extensible manner
const T & get(const object_id_type &id) const
account_id_type witness_account
const T & create(F &&constructor)
An ID for some votable object.
account_id_type witness_account
The account which owns the witness. This account pays the fee for this operation.
Create a witness object, as a bid to hold a witness position on the network.
account_id_type witness_account
The account which owns the witness. This account pays the fee for this operation.
Update a witness object's URL and block signing key.
void_result do_evaluate(const witness_create_operation &o)
witness_id_type witness
The witness object to update.
void_result do_evaluate(const witness_update_operation &o)
void_result do_apply(const witness_update_operation &o)
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
Maintains global state information (committee_member list, current fees)
object_id_type do_apply(const witness_create_operation &o)
const global_property_object & get_global_properties() const
void modify(const T &obj, const Lambda &m)