Skip to content

Commit

Permalink
Refactored in order to switch P2P vs NonP2P
Browse files Browse the repository at this point in the history
Refactored Run.hs

- Cleaned up imports
- Use mkDiffusionArgumentsP2P in Run.hs
- Added handleSimpleNodeNonP2P to Run.hs
- Cleaned up and fixed missing imports
- Added createDiffusionArgumentsNonP2P
- Added producerAddressesNonP2P
- Use NetworkP2PMode switch in Run.hs
- Add trace logging that tells which mode was picked
- Accomodate ouroboros-network changes

Refactored Tracers.hs

- Add P2P and NonP2P null tracers
- Clean up some imports
- Use NetworkP2PMode switch in Tracers.hs
  • Loading branch information
bolt12 authored and karknu committed Oct 18, 2021
1 parent 454f359 commit 8d8fc6d
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 110 deletions.
Loading

0 comments on commit 8d8fc6d

Please sign in to comment.