Commit Graph

1054 Commits

Author SHA1 Message Date
Derrick Hammer 6eeed24707
fix: need to divide maxStoragePrice by a tib unit 2024-03-10 14:33:46 -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 1568aa9007
fix: redundancy applies to storage not downloads, and add debug logging per rate computed 2024-03-10 14:14:36 -04:00
Derrick Hammer 5687e72a32
refactor: change SCPriceHistory table name 2024-03-10 13:58:45 -04:00
Derrick Hammer e425c038e1
fix: use config PriceHistoryDays 2024-03-10 13:56:41 -04:00
Derrick Hammer effb341418
refactor: don't block price updates, but do fatal on error 2024-03-10 13:52:49 -04:00
Derrick Hammer 8c05180703
refactor: move price tracker init to a lifecycle 2024-03-10 13:29:43 -04:00
Derrick Hammer 21ae6d093d
refactor: fetch redundancy settings and divide on it so price is always the total 2024-03-10 13:25:33 -04:00
Derrick Hammer c9683453c0
feat: add RedundancySettings getter 2024-03-10 13:13:25 -04:00
Derrick Hammer ae178f003f
refactor: put sia config under storage 2024-03-10 13:07:44 -04:00
Derrick Hammer b6683a5744
fix: default to debug if no config is passed, we will then error on config parsing after 2024-03-10 13:02:31 -04:00
Derrick Hammer 39a39b00b7
fix: need prefix on setDefaultsForObject for core to be core 2024-03-10 12:54:15 -04:00
Derrick Hammer dd296bd78a
feat: add initial price tracker 2024-03-10 12:43:18 -04:00
Derrick Hammer 736dc8aa9d
refactor: simplify sia upload to not try to parallel process as it corrupts data. We will come back to this optimization in the future. 2024-03-10 11:54:32 -04:00
Derrick Hammer 6c60dae743
fix: if the render end is 0, ensure the range header is valid syntax and skip it 2024-03-10 11:53:24 -04:00
Derrick Hammer f56377df2b
dep: update libs5 2024-03-10 09:17:46 -04:00
Derrick Hammer 8c0a2451e4
dep: update libs5 2024-03-10 09:11:26 -04:00
Derrick Hammer 89bbd8b061
dep: update libs5 2024-03-10 08:58:23 -04:00
Derrick Hammer ce977da5c1
dep: update libs5 2024-03-10 08:56:29 -04:00
Derrick Hammer 770e3335d1
dep: update libs5 2024-03-10 08:41:21 -04:00
Derrick Hammer ab5356f024
dep: update libs5 2024-03-10 07:39:23 -04:00
Derrick Hammer 673cd535a0
dep: update libs5 2024-03-10 07:26:05 -04:00
Derrick Hammer 1f1f204b35
fix: only return noop is we are SeekStart and want the beginning, otherwise this is likely actually needing to start a partial content seek 2024-03-09 17:46:18 -05:00
Derrick Hammer e89a9450e9
fix: don't tie contexts to tus http context 2024-03-09 16:55:10 -05:00
Derrick Hammer 0c90924f31
refactor: add checking tus for metadata before uploads 2024-03-09 15:37:58 -05:00
Derrick Hammer f3040399e4
feat: add GetUploadSize 2024-03-09 15:37:16 -05:00
Derrick Hammer 887f51f88d
fix: need to set upload id on siaUpload 2024-03-09 14:45:31 -05:00
Derrick Hammer 4020b9f7c7
fix: S5File::Exists needs to check tus before uploads 2024-03-09 14:27:07 -05:00
Derrick Hammer d0d67d2ae5
dep: update libs5 2024-03-09 13:23:07 -05:00
Derrick Hammer 1a1d34ef7a
dep: update libs5 2024-03-09 07:17:13 -05:00
Derrick Hammer 1da600f1ca
dep: update libs5 2024-03-09 07:00:55 -05:00
Derrick Hammer 2bff5d2b9e
refactor: switch to new libs5 kv db interface 2024-03-09 06:58:32 -05:00
Derrick Hammer 5e31dc2f02
dep: update libs5 2024-03-09 06:55:13 -05:00
Derrick Hammer 4261bb6a5d
refactor: if the file exists locally, pull from out own node before fetching it from the net 2024-03-07 16:59:50 -05:00
Derrick Hammer e489de1e86
dep: update libs5 2024-03-07 16:54:57 -05:00
Derrick Hammer 8a6516e157
fix: if root return a file with that set 2024-03-07 16:48:56 -05:00
Derrick Hammer 6e97b582ba
fix: pass Name to override using CID 2024-03-07 16:48:20 -05:00
Derrick Hammer 3e4eed12ae
fix: typo 2024-03-07 04:38:56 -05:00
Derrick Hammer 91d58ee87f
refactor: change login to respond with the jwt token in the body 2024-03-06 18:13:34 -05:00
Derrick Hammer 550398c701
feat: add swagger spec and support to account api 2024-03-06 04:58:04 -05:00
Derrick Hammer 6fb77d102a
refactor: add logic to find any unpinned files of a child manifest if the root is pinned but the children aren't 2024-03-05 16:27:29 -05:00
Derrick Hammer 111d0a7ead
dep: update libs5 2024-03-05 15:22:29 -05:00
Derrick Hammer dcbc54cec5
refactor: set p2p.max_connection_attempts to 10 2024-03-05 15:16:31 -05:00
Derrick Hammer 1f008c40b4
dep: update libs5 2024-03-05 15:14:43 -05:00
Derrick Hammer 0896a70cfb
dep: update libs5 2024-03-05 15:07:21 -05:00
Derrick Hammer 6479104d5a
dep: update libs5 2024-03-05 15:02:52 -05:00
Derrick Hammer c4a124b521
dep: update libs5 2024-03-05 14:26:31 -05:00
Derrick Hammer caac09cc6f
feat: add CtxAborted and use in account pin 2024-03-05 13:41:47 -05:00
Derrick Hammer e6d51cd9e7
dep: update libs5 2024-03-05 13:13:16 -05:00
Derrick Hammer 0df51358d6
chore: add todo 2024-03-05 12:59:52 -05:00