##
## bitcoin.conf configuration file. Lines beginning with # are comments.
##
## Generated by Chef. Do not edit directly, or your changes will be overwritten
## during the next Chef run!
##

<% @conf.sort.each do |key, value| %>
<%= "#{key}=#{value}" %>
<% end %>

<% if @mainnet_conf %>
# Options only for mainnet
[main]
<% @mainnet_conf.sort.each do |key, value| %>
<%= "#{key}=#{value}" %>
<% end %>
<% end %>

<% if @testnet_conf %>
# Options only for testnet
[test]
<% @testnet_conf.sort.each do |key, value| %>
<%= "#{key}=#{value}" %>
<% end %>
<% end %>

<% if @regtest_conf %>
# Options only for regtest
[regtest]
<% @regtest_conf.sort.each do |key, value| %>
<%= "#{key}=#{value}" %>
<% end %>
<% end %>
