You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One other change I was looking to do was having a custom directory to store configuration and the cache. I'd be interesting in shipping chifra with the application but as of the moment the compile step also sets up some pre-requisite directories and configuration.
My Reponse:
Interesting...two things:
You can customize where the caches are inside the trueblocks.toml file (indexPath and cachePath), but maybe that doesn't solve your issues.
You're right, there needs to be a "build step" that installs some files. (I think there's only a few -- the trueblocks.toml, items in a folder called config and items in a folder called abis. The abis folder is a cache, so if it's not there things might be a bit slower initially, but it should work. The config has two things of interest: names and prefund balances. Both of these are "nice-to-have" but the core will work without them. The trueBlocks.toml file is required, but there might be a simple way to check for that file locally in the same folder that the application is running from. I don't have time to program that, but if you wanted to submit a PR, I'd consider it. Search for trueBlocks.toml. Warning, though. It may be much more complicated than it looks at first.
I'll copy this convo up to an issue just to save it for some possible future.
The text was updated successfully, but these errors were encountered:
User Comment:
One other change I was looking to do was having a custom directory to store configuration and the cache. I'd be interesting in shipping chifra with the application but as of the moment the compile step also sets up some pre-requisite directories and configuration.
My Reponse:
Interesting...two things:
indexPath
andcachePath
), but maybe that doesn't solve your issues.trueblocks.toml
, items in a folder calledconfig
and items in a folder calledabis
. Theabis
folder is a cache, so if it's not there things might be a bit slower initially, but it should work. Theconfig
has two things of interest:names
andprefund
balances. Both of these are "nice-to-have" but the core will work without them. ThetrueBlocks.toml
file is required, but there might be a simple way to check for that file locally in the same folder that the application is running from. I don't have time to program that, but if you wanted to submit a PR, I'd consider it. Search fortrueBlocks.toml
. Warning, though. It may be much more complicated than it looks at first.I'll copy this convo up to an issue just to save it for some possible future.
The text was updated successfully, but these errors were encountered: