decred / dcrstakepool

Stakepool for Decred.
Other
73 stars 75 forks source link

max users needs to be a config setting or project wide const #310

Open chappjc opened 5 years ago

chappjc commented 5 years ago

We need to get around to making this a config setting at some point. Note that inaddition to the 10000 magic number appearing various config files for address derivation, it's also set as a package-level var in the controller package: https://github.com/decred/dcrstakepool/blob/f6b21eee683a50f109e367625e540b42c7ffe508/controllers/main.go#L46

Originally posted by @chappjc in https://github.com/decred/dcrstakepool/pull/308

JoeGruffins commented 5 years ago

I'll take this If that's ok.