Files
rippled/src/ripple/testoverlay
Tom Swirly 390ea65e15 Refactor RippleCalc.cpp:
* Add comments
* Restrict code to 80 colums
* Remove boost::format
* Remove BOOST_FOREACH
* Make members private
* Add ripple_unordered_set to UnorderedContainers.h
* Replace boost::unordered_set with ripple::unordered_set
2014-05-09 12:03:57 -07:00
..
2014-03-23 15:23:55 -07:00
2014-05-09 12:03:57 -07:00
2013-11-12 09:18:11 -08:00

TestOverlay

This provides a set of template classes for simulating a peer to peer network. These facilities are provided:

  • Initial construction of the network.
  • Message passing between peers
  • Network wide state information.
  • Per-peer state information.

Description

Through the use of suitable template arguments, the logic and state information for each peer can be customized. Messages are packets of arbitrary size with template-parameter defined data. The network is modeled discretely; The time evolution of the network is defined by successive steps where messages are always delivered reliably on the next step after which they are sent.