Limiting Peers with DynamicSupervisor Options
Let’s use DynamicSupervisor’s built in :max_children
option to limit the number of peer connections made by our in-progress Bitcoin node:
Read next First Impression of Elixir, from a Rubyist’s Perspective