CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
proposals.h File Reference
#include "ccf/ds/json.h"
#include "ccf/service/map.h"
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  formatter< ccf::ProposalState >
 

Namespaces

namespace  ccf
 

Typedefs

using ccf::ProposalId = std::string
 

Enumerations

enum class  ccf::ProposalState {
  ccf::OPEN , ccf::ACCEPTED , ccf::WITHDRAWN , ccf::REJECTED ,
  ccf::FAILED , ccf::DROPPED
}
 

Functions

 ccf::DECLARE_JSON_ENUM (ProposalState, {{ProposalState::OPEN, "Open"}, {ProposalState::ACCEPTED, "Accepted"}, {ProposalState::WITHDRAWN, "Withdrawn"}, {ProposalState::REJECTED, "Rejected"}, {ProposalState::FAILED, "Failed"}, {ProposalState::DROPPED, "Dropped"}})