|
xrpld
|
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 |
Static Public Member Functions | |
| static std::string | render () |
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 45 of file test/csf/Peer.h.
| xrpl::test::csf::Peer::Position::Position | ( | Proposal const & | p | ) |
Definition at line 48 of file test/csf/Peer.h.
| Proposal const & xrpl::test::csf::Peer::Position::proposal | ( | ) | const |
Definition at line 53 of file test/csf/Peer.h.
| json::Value xrpl::test::csf::Peer::Position::getJson | ( | ) | const |
Definition at line 59 of file test/csf/Peer.h.
|
static |
Definition at line 65 of file test/csf/Peer.h.
|
private |
Definition at line 71 of file test/csf/Peer.h.