decred / dcrdex

The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
Other
187 stars 95 forks source link

dcrdex config should set a default epoch duration #300

Closed chappjc closed 2 years ago

chappjc commented 4 years ago

Fair enough, will check for 0 there. Also seems reasonable to replace 0/-1/omitted with a the specd default.

Originally posted by @chappjc in https://github.com/decred/dcrdex/pull/283

ukane-philemon commented 2 years ago

@chappjc, what do you think is a sensible default for epoch duration? Looks like we are already handling the situation where poch index is not set but not for epoch duration.