void transaction_validator::validate_name_output( const trx_output& out, transaction_evaluation_state& state, const block_evaluation_state_ptr& block_state ) { auto claim = out.as<claim_name_output>(); block_state->add_name_output( claim ); if( !state.has_name_input( claim ) ) { auto name_rec = _db->lookup_name( claim.name ); FC_ASSERT( !name_rec ); } FC_ASSERT( out.amount.unit == 0 ); state.add_output_asset( out.amount ); }
void transaction_validator::validate_pts_signature_output( const trx_output& out, transaction_evaluation_state& state, const block_evaluation_state_ptr& block_state ) { state.add_output_asset( out.amount ); }