silicoin-network / silicoin-blockchain

Silicoin blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
79 stars 28 forks source link

Replace Chia/XCH References with Silicoin/SIT #198

Closed WarutaShinken closed 2 years ago

WarutaShinken commented 2 years ago

One of my complaints about Silicoin is that it uses the CHIA_ROOT environment variable to determine the location of the mainnet directory. This can cause Silicoin to overwrite Chia's files, such as wallets, configs, certs and worst of all, the 40 GB blockchain database if not accounted for.

In this PR, I have replaced all instances of CHIA_ROOT with SIT_ROOT, so that users may define a custom mainnet directory location for Silicoin and Chia without them clashing with eachother. The same has been done with CHIA_KEYS_ROOT => SIT_KEYS_ROOT.

EDIT: Since the writing of this PR, I have added the following changes:

WarutaShinken commented 2 years ago

closed due to being superseeded by https://github.com/zcomputerwiz/silicoin-blockchain/tree/waruta-patches