What is the safest way to rename my altcoin from "bitcoin" to "myaltcoin" in the source code?
I am creating my own altcoin for learning purposes and have successfully built the bitcoin code from source with my own genesis block.
Now is it time for me to change the name of the coin, so that it is truly my own alt coin.
To do this, I presume that I must change every instance of bitcoin to myaltcoin in the code, so that when I run bitcoin-qt (after the change I hope to be able to run myaltcoin-qt), everything inside the GUI will say myaltcoin and not bitcoin.
How I propose to do this...
I figure that the best way to do this would be to do some kind of case sensitive find and replace, to recursively go through all files and directories and the strings in the files, changing every instance of bitcoin to myaltcoin
The QuestionWhat is the safest way to do this in the linux terminal? To do this safely I assume I must:
- Account for case sensitivity.
- Replace file names of bitcoin to myaltcoin
- Replace text instances of bitcoin to myaltcoin within files
- Replace bitcoin to myaltcoin in directory names
I presume there is some way to do this with find, but I'm not sure what the best way is.
http://ift.tt/2zc9Ll6
Comments
Post a Comment