Suggestion: Wallet Storage Location
This is not a bug, but a feature request rather.
It would be great if we could specify the folder/location on our local HDD for where to store the chain's data.
Worked around it by relocating ~/.config/Neuron and creating a symbolic link in place of the directory.
Worked around it by relocating and creating a symbolic link in place of the directory.
~/.config/Neuron
How do you get people who don't know technology to do it
@Vtarj That's why I used the term "workaround", since it's not a "solution" in any way and not a recommendation either, just a workaround that "works for me" (luckily - I've encountered other wallets where even that doesn't work).
So in general, The Neuron wallet must get configuration settings for configuration/cache/... directories.
Simply the fact that it writes everything under ~/.config is a mis-use of that location. As the name could imply, it is intended for configuration data only, not large storage.
No idea why wallet creators only in very rare cases care about these things from the start. It's not a new issue at all in data-intensive applications (and anything with some form of data "sync" - blockchain data or other things - is data intensive, irrespective of the actual size, since it tends to grow anyway).
Thanks for the workaround @ancoron
Hi @dapptain and @Vtarj , it seems to be more desired to specify the path of chain's data with CKB node growing dramatically. We'll list it in our features and enable it within one or two months. I'll update this issue once it's done.
Hi @dapptain @ancoron @0xfather
We just released Neuron v0.103.2 https://github.com/nervosnetwork/neuron/releases/tag/v0.103.2 which supports custom data path by PR https://github.com/nervosnetwork/neuron/pull/2433, now data paths of ckb node and ckb indexer can be set in Setting -> Data
Remember to move current data into the new directory so neuron can continue from a synchronized height.
Current file directory can be opened by clicking open directory next to the displayed path

Hi, I've tried to change both paths but it seems it does not work, trying to connect in infinite loop :

Hi, I've tried to change both paths but it seems it does not work, trying to connect in infinite loop :
Hi @spg1383 sorry for that, but I'd suggest holding this feature on until the next version of Neuron(which should be released soon after [email protected] is released) because ckb-indexer has been merged into ckb node so the storage directory will be updated, too. Only one path should be specified.
Besides, there will be a data migration to merge data of ckb-indexer into ckb-node so the data can be moved easily.
Ref:
- merge indexer: https://github.com/nervosnetwork/ckb/pull/3609
- update of neuron: https://github.com/Magickbase/neuron-public-issues/issues/71
- release [email protected]: https://github.com/nervosnetwork/ckb/issues/3710