|
rippled
|
Basic wrapper of a proposed position taken by a peer. More...
#include <Peer.h>

Public Member Functions | |
| Position (Proposal const &p) | |
| Proposal const & | proposal () const |
| Json::Value | getJson () const |
| std::string | render () const |
Private Attributes | |
| Proposal | proposal_ |
Basic wrapper of a proposed position taken by a peer.
For real consensus, this would add additional data for serialization and signing. For simulation, nothing extra is needed.
Definition at line 47 of file test/csf/Peer.h.
| ripple::test::csf::Peer::Position::Position | ( | Proposal const & | p | ) |
Definition at line 50 of file test/csf/Peer.h.
| Proposal const & ripple::test::csf::Peer::Position::proposal | ( | ) | const |
Definition at line 55 of file test/csf/Peer.h.
| Json::Value ripple::test::csf::Peer::Position::getJson | ( | ) | const |
Definition at line 61 of file test/csf/Peer.h.
| std::string ripple::test::csf::Peer::Position::render | ( | ) | const |
Definition at line 67 of file test/csf/Peer.h.
|
private |
Definition at line 73 of file test/csf/Peer.h.