rippled
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...

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
 

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 61 of file test/csf/Peer.h.

Constructor & Destructor Documentation

◆ Position()

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

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

Member Function Documentation

◆ proposal()

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

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

◆ getJson()

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

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

Member Data Documentation

◆ proposal_

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

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