Does anyone know if you can use tags like [test] to separate configs that are only applied to testnet or [main] to mainnet? I've seen some people do this.
Yes
So to understand the formatting, everything needs to be packed right next below the tag or can you sort it out with comments, gaps etc? example
[main]
#RCP
bind=127.0.0.1
rcpbind=127.0.0.1
#enable this when not using tor
#listen=0
#tor
proxy=127.0.0.1:9050
listen=1
listenonion=1
onlynet=onion
[test]
bind=127.0.0.1
rcpbind=127.0.0.1
listen=0
I mean what im saying is, everything under [main] until the next tag [test] is applied in main, and anything under [test] is applied in testnet3, even if there are these gaps or #.