Derrick Hammer
|
973c40afb4
|
refactor: switch to using decimals in db, a fork of the siacentral api to return decimals, strings for currency settings, and rats to do big number math safety
|
2024-03-11 07:51:48 -04:00 |
Derrick Hammer
|
e7caa50932
|
fix: don't store MaxRPCSCPrice as a float, and use big.Rat to compute it
|
2024-03-11 06:42:51 -04:00 |
Derrick Hammer
|
22a5c661bc
|
refactor: update max_rpc_sc_price default to 0.1
|
2024-03-10 14:36:45 -04:00 |
Derrick Hammer
|
51d74b6483
|
refactor: add max_contract_sc_price to defaults
|
2024-03-10 14:35:37 -04:00 |
Derrick Hammer
|
57c5088a1f
|
fix: max_rpc_price needs to be max_rpc_sc_price
|
2024-03-10 14:35:05 -04:00 |
Derrick Hammer
|
af29081a3a
|
refactor: have rpc and contract prices be in SC as they are expected to change very rarely
|
2024-03-10 14:26:17 -04:00 |
Derrick Hammer
|
dd296bd78a
|
feat: add initial price tracker
|
2024-03-10 12:43:18 -04:00 |
Derrick Hammer
|
960c2b01d9
|
refactor: move all config defaults and add some validations. remove initCheckRequiredConfig.
|
2024-02-28 09:04:47 -05:00 |
Derrick Hammer
|
7f12ee5b0d
|
refactor: implement new configuration management system
|
2024-02-22 02:13:59 -05:00 |