MCPcopy Create free account
hub / github.com/cryptonomex/graphene / validate

Method validate

libraries/chain/protocol/custom.cpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace graphene { namespace chain {
24
25void custom_operation::validate()const
26{
27 FC_ASSERT( fee.amount > 0 );
28}
29share_type custom_operation::calculate_fee(const fee_parameters_type& k)const
30{
31 return k.fee + calculate_data_fee( fc::raw::pack_size(*this), k.price_per_kbyte );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected