2015-07-08 20:39:23 +00:00
|
|
|
/* Copyright (C) Cryptonomex, Inc - All Rights Reserved **/
|
2015-07-13 20:06:02 +00:00
|
|
|
#include <graphene/chain/protocol/committee_member.hpp>
|
2015-07-08 20:39:23 +00:00
|
|
|
|
|
|
|
|
namespace graphene { namespace chain {
|
|
|
|
|
|
2015-07-13 20:06:02 +00:00
|
|
|
void committee_member_create_operation::validate()const
|
2015-07-08 20:39:23 +00:00
|
|
|
{
|
|
|
|
|
FC_ASSERT( fee.amount >= 0 );
|
|
|
|
|
FC_ASSERT(url.size() < GRAPHENE_MAX_URL_LENGTH );
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-13 20:06:02 +00:00
|
|
|
void committee_member_update_global_parameters_operation::validate() const
|
2015-07-08 20:39:23 +00:00
|
|
|
{
|
|
|
|
|
FC_ASSERT( fee.amount >= 0 );
|
|
|
|
|
new_parameters.validate();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} } // graphene::chain
|