decred / tinydecred

Python tools for Decred
ISC License
27 stars 14 forks source link

multi: use "netParams" everywhere for network parameters #126

Closed teknico closed 4 years ago

teknico commented 4 years ago

Currently the following names are used for variables referencing the network parameters modules:

chain, chainParams, net, netParams, params.

This PR changes them to always use netParams. It also updates the relevant docstrings and comments. I also made the matching comments in the wallet and tested it a bit.

I was careful to not change unrelated instances of chain and params; please check that I didn't break anything, and tell me if I missed some of the names.