rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ripple::test::csf::Peer::Position Class Reference

Basic wrapper of a proposed position taken by a peer. More...

#include <Peer.h>

Collaboration diagram for ripple::test::csf::Peer::Position:
Collaboration graph
[legend]

Public Member Functions

 Position (Proposal const &p)
 
Proposal const & proposal () const
 
Json::Value getJson () const
 
std::string render () const
 

Private Attributes

Proposal proposal_
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Position()

ripple::test::csf::Peer::Position::Position ( Proposal const &  p)

Definition at line 50 of file test/csf/Peer.h.

Member Function Documentation

◆ proposal()

Proposal const & ripple::test::csf::Peer::Position::proposal ( ) const

Definition at line 55 of file test/csf/Peer.h.

◆ getJson()

Json::Value ripple::test::csf::Peer::Position::getJson ( ) const

Definition at line 61 of file test/csf/Peer.h.

◆ render()

std::string ripple::test::csf::Peer::Position::render ( ) const

Definition at line 67 of file test/csf/Peer.h.

Member Data Documentation

◆ proposal_

Proposal ripple::test::csf::Peer::Position::proposal_
private

Definition at line 73 of file test/csf/Peer.h.