BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::proposal_delete_operation Struct Reference

The proposal_delete_operation deletes an existing transaction proposal. More...

#include <proposal.hpp>

Inheritance diagram for graphene::protocol::proposal_delete_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
- Public Member Functions inherited from graphene::protocol::base_operation
virtual ~base_operation ()=default
 
template<typename T >
share_type calculate_fee (const T &params) const
 
virtual void get_required_authorities (vector< authority > &) const
 
virtual void get_required_active_authorities (flat_set< account_id_type > &) const
 
virtual void get_required_owner_authorities (flat_set< account_id_type > &) const
 
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) const
 

Public Attributes

account_id_type fee_paying_account
 
bool using_owner_authority = false
 
asset fee
 
proposal_id_type proposal
 
extensions_type extensions
 

Additional Inherited Members

- Static Public Member Functions inherited from graphene::protocol::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

The proposal_delete_operation deletes an existing transaction proposal.

This operation allows the early veto of a proposed transaction. It may be used by any account which is a required authority on the proposed transaction, when that account's holder feels the proposal is ill-advised and he decides he will never approve of it and wishes to put an end to all discussion of the issue. Because he is a required authority, he could simply refuse to add his approval, but this would leave the topic open for debate until the proposal expires. Using this operation, he can prevent any further breath from being wasted on such an absurd proposal.

Definition at line 156 of file proposal.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::protocol::proposal_delete_operation::fee_payer ( ) const
inline

Definition at line 166 of file proposal.hpp.

◆ validate()

void graphene::protocol::proposal_delete_operation::validate ( ) const
virtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 74 of file proposal.cpp.

Member Data Documentation

◆ extensions

extensions_type graphene::protocol::proposal_delete_operation::extensions

Definition at line 164 of file proposal.hpp.

◆ fee

asset graphene::protocol::proposal_delete_operation::fee

Definition at line 162 of file proposal.hpp.

◆ fee_paying_account

account_id_type graphene::protocol::proposal_delete_operation::fee_paying_account

Definition at line 160 of file proposal.hpp.

◆ proposal

proposal_id_type graphene::protocol::proposal_delete_operation::proposal

Definition at line 163 of file proposal.hpp.

◆ using_owner_authority

bool graphene::protocol::proposal_delete_operation::using_owner_authority = false

Definition at line 161 of file proposal.hpp.


The documentation for this struct was generated from the following files: