Rod Vagg
26d3fd2ecc
chore: lint: fix lint errors with new linting config
...
Ref: https://github.com/filecoin-project/lotus/issues/11967
2024-05-13 14:52:09 +10:00
Andrew Jackson (Ajax)
81ba6ab6f0
feat: Curio - Easy Migration ( #11617 )
...
* feat: lp mig - first few steps
* lp mig: default tasks
* code comments
* docs
* lp-mig-progress
* shared
* comments and todos
* fix: curio: rename lotus-provider to curio (#11645 )
* rename provider to curio
* install gotext
* fix lint errors, mod tidy
* fix typo
* fix API_INFO and add gotext to circleCI
* add back gotext
* add gotext after remerge
* lp: channels doc
* finish easy-migration TODOs
* out generate
* merging and more renames
* avoid make-all
* minor doc stuff
* cu: make gen
* make gen fix
* make gen
* tryfix
* go mod tidy
* minor ez migration fixes
* ez setup - ui cleanups
* better error message
* guided setup colors
* better path to saveconfigtolayer
* loadconfigwithupgrades fix
* readMiner oops
* guided - homedir
* err if miner is running
* prompt error should exit
* process already running, miner_id sectors in migration
* dont prompt for language a second time
* check miner stopped
* unlock repo
* render and sql oops
* curio easyMig - some fixes
* easyMigration runs successfully
* lint
* review fixes
* fix backup path
* fixes1
* fixes2
* fixes 3
---------
Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: LexLuthr <lexluthr@protocol.ai>
2024-03-15 16:38:13 -05:00
Andrew Jackson (Ajax)
56498f1fb4
fix circleci and fiximports
2023-11-13 18:09:11 -06:00
Andrew Jackson (Ajax)
3c4e22ff0c
gen fix
2023-11-13 17:59:34 -06:00
Andrew Jackson (Ajax)
535423a1f4
lotus-provider before harmonytask
2023-08-23 18:57:34 -05:00
Aayush
66fc6dc3e5
refactor: stop using deprecated io/ioutil
2023-03-29 15:40:49 -04:00
ZenGround0
43da108466
feat:config:force existing users to opt into new defaults ( #10488 )
...
* Config default does not comment out EnableSplitstore
* Loadability check
* Remove test used for debugging
* regexp for properly safe check that config is set
* regexp for safely matching the EnableSpitstore field in the config
* Add instructions for undeleting config and remind users to set splitstore false for full archive
* UpdateConfig small docs and functional opts
* make gen
* Lint
* Fix
* nil pointer check on validate
* Unit testing of EnableSplitstore cases
* Address Review
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-03-20 12:19:14 -04:00
Peter Rabbitson
818b3b8daf
fix: extend LOTUS_CHAIN_BADGERSTORE_DISABLE_FSYNC to the markset
...
Without doing this walking a badger markset on a non-nvme knocks the
node hopelessly out of sync during a compaction.
2023-02-01 21:00:39 +01:00
Geoff Stuart
a8436074a6
Store mapping from hashes for Ethereum transactions to Filecoin Message Cids
2023-01-16 01:17:56 -05:00
Łukasz Magiera
ec89424c42
make repo not depend on ffi
2022-11-08 09:37:43 +00:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
28099a3905
storage: Move storage/sealer/stores to storage/paths
2022-06-14 20:25:52 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
vyzo
a313dcba74
only enable rcmgr by default in full nodes
...
opt-in with envvar for other nodes, as there are still some issues
with markets related protocols
2022-05-31 12:03:03 +03:00
Anton Evangelatov
62e352ef88
move APIInfoEnvVars, RepoFlags, APIFlags under RepoType
2022-03-03 16:45:11 +01:00
Anton Evangelatov
066d0edf51
add SupportsStagingDeals trait
2022-03-03 15:37:23 +01:00
Anton Evangelatov
949ec65118
drop defConfForType
2022-03-03 15:37:23 +01:00
Anton Evangelatov
f1f878a000
unexport repo types; use a global var for every repo type
2022-03-03 15:37:23 +01:00
Anton Evangelatov
e3edab66e3
refactor RepoType
2022-03-03 15:37:23 +01:00
Raúl Kripalani
3144da86f3
add RepoType#String; adjust repo parsing logic.
2021-07-29 13:49:51 +01:00
Raúl Kripalani
4e19d8d562
support MARKETS_API_INFO env var; support markets-repo, markets-api-url flags.
2021-07-29 10:55:37 +01:00
Peter Rabbitson
4830a3406b
Introduce the LOTUS_CHAIN_BADGERSTORE_DISABLE_FSYNC envvar
...
Allows the user to control the opts.SyncWrites option of BadgerDs
2021-07-21 22:38:14 +02:00
Łukasz Magiera
260ddacc47
Fix wallet import cycle, better trash key backup
2021-03-09 16:52:51 +01:00
jennijuju
49c44b70c2
Aftering importing a previously deleted key, be able to delete it again.
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2021-03-09 16:43:01 +01:00
Raúl Kripalani
3795cc2bd2
segregate chain and state blockstores.
...
This paves the way for better object lifetime management.
Concretely, it makes it possible to:
- have different stores backing chain and state data.
- having the same datastore library, but using different parameters.
- attach different caching layers/policies to each class of data, e.g.
sizing caches differently.
- specifying different retention policies for chain and state data.
This separation is important because:
- access patterns/frequency of chain and state data are different.
- state is derivable from chain, so one could never expunge the chain
store, and only retain state objects reachable from the last finality
in the state store.
2021-02-28 22:49:44 +00:00
Raúl Kripalani
7f0f7d0b36
Merge branch 'master' into refactor/lib/blockstore
2021-02-28 19:55:23 +00:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Peter Rabbitson
9334e73396
Snake a context through the Chain-blockstore creation
2021-01-04 15:27:52 +01:00
Raúl Kripalani
55061ae6fb
fix blockstore directory not created automatically.
2020-11-19 15:55:02 +00:00
Peter Rabbitson
7be7a9b5e3
Stop referring to github.com/ipfs/go-ipfs-blockstore outside of lib
2020-11-12 06:01:35 +01:00
Raúl Kripalani
5a98660d1b
make repo.Blockstore() idempotent; wrap in IDStore.
2020-11-01 16:56:20 +00:00
Raúl Kripalani
d8d85373f5
fix lotus-shed datastore commands.
2020-11-01 13:50:41 +00:00
Raúl Kripalani
d2e2322fd2
make the lotus node use the new native badger blockstore.
2020-11-01 13:01:26 +00:00
Łukasz Magiera
8783c7434e
Merge remote-tracking branch 'origin/master' into feat/signing-backends
2020-10-09 00:50:41 +02:00
Łukasz Magiera
9b5a0815fc
backup: open datastores in readonly in offline mode
2020-10-01 17:55:47 +02:00
Aayush Rajasekaran
6abccc4d5e
Add an option to set config
2020-09-30 03:19:04 -04:00
Frank
dcae513487
make nested dir
2020-09-14 16:49:35 +08:00
Łukasz Magiera
780f6dba34
Remote wallet backends
2020-09-05 21:39:09 +02:00
Raúl Kripalani
efdc428d5d
keep storage-fsm (renamed to storage-sealing) and sector-storage in extern.
2020-08-17 14:26:18 +01:00
Raúl Kripalani
3c17cd655e
integrate extern/sector-storage into lotus proper.
2020-08-16 11:09:58 +01:00
Frank
c38b8b1265
close file
2020-07-23 18:21:13 +08:00
Jakub Sztandera
f2ebeaa7e4
Fix lint
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-17 22:29:39 +02:00
Jakub Sztandera
cc1d23a94c
Use single multi ds
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-17 22:14:37 +02:00
Łukasz Magiera
66237415c5
Merge remote-tracking branch 'origin/next' into feat/client-multi-bstore
2020-07-08 22:48:47 +02:00
Łukasz Magiera
99796220f9
Support fast-retrieval deals
2020-07-08 20:42:07 +02:00
Łukasz Magiera
8e0d33a1fd
Updates for sectors-storge next
2020-07-08 17:23:27 +02:00
Łukasz Magiera
92e4507cf7
fsrepo: multi-datastores
2020-07-06 23:03:04 +02:00
laser
fb1d5197fa
pass SetConfig a mutator func, as per PR feedback
...
- fsLockedRepo.config gets a mutex
- add missing checkToken call to lockedMemRepo#GetStorage and lockedMemRepo#SetStorage
- LockedRepo#SetConfig accepts a mutating function as per @magik
2020-06-11 08:49:19 -07:00
laser
cf321f7667
add support for replacing config after node starts
...
- TODO: does a "locked repo" need fine-grained (i.e. field-level) locking?
2020-06-11 08:49:19 -07:00