mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
* Implement PeerFinder business logic. * Support fixed peers (including DNS support). * Add journal support to Peer and Peers. * Refactor PeerDoor support. * Tidy up Peers and eliminate connection functionality and timers. * Refactor Peer interface and add journal support. * Allow construction of incoming Peer using an existing socket. * Remove TESTNET support. * Allow connections from/to cluster peers without consuming slots * Misc. cleanups.
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.