about summary refs log tree commit diff stats
path: root/ntcoin
Commit message (Collapse)AuthorAgeFilesLines
* Bug fix to ntcoin~login@aussies.space2019-10-031-11/+19
| | | | | | Previously, the executables 'tcoin' and 'pcoin', which had setuid set, were stored in tcoin/bin/*. However, the "tcoin" directory is restricted, so any executables inside it are inaccessible to users. To fix this, the compile_tcoin and compile_pcoin scripts have been modified to store the executables in a third specified directory, called the <bin dir> in the help. <bin dir> will be accessible to all users. The symbolic constants/preprocessor directives have also been changed to reflect the updated paths.
* Updated ntcoin to add more symbolic constants~login@aussies.space2019-09-301-2/+6
| | | | I had missed two symbolic constants that are present in pcoin.cpp but not tcoin.cpp. Those two have been added now.
* Bug fixes to ntcoin~login@aussies.space2019-09-301-19/+28
| | | | | | 1. Single quotes closed before command substitutions, and opened again right after them. (Some cases were missed previously.) 2. The u+s mode/permission is used on all subdirectories of the tcoin directory and the tcoin directory itself now, so that files created are owned by the owner of the containing directory by default. This will prevent the class of bugs that would arise when files are created through the tcoin executable (which has the setuid bit set). 3. A mistake in the file name and location of the base amount (tcoin/base/base.txt) was corrected.
* Adding an option to view the #define configuration without creating any ↵~login@aussies.space2019-09-301-1/+18
| | | | | | directories This option was added to allow the #define configuration to be reprinted even if ntcoin was already used to recreate tcoin's subdirectory structure.
* Adding chmod u+x to scripts (and scrypt)~login@aussies.space2019-09-301-0/+0
|
* Updated ntcoin to get rid of trailing slashlogin0002019-09-301-77/+77
| | | | Uses "realpath" to get rid of all trailing slashes and check that each directory in the path supplied exist (other than the innermost directory).
* Creates ntcoin to set up relevant directories, scripts, and binaries for ↵login0002019-09-301-0/+150
tcoin and pcoin 1. Sets up all relevant directories, scripts and binaries for tcoin and pcoin, assuming the current directory is right inside the GitHub repo (same depth as the LICENSE file). 2. Creates soft-links to the executables in "bin" folder inside the "tcoin" folder in the "~/bin" folder. 3. Prints the relevant preprocessor directives to be put in tcoin.cpp and pcoin.cpp (without actually putting it in those two files). Because of 3. above, the tcoin.cpp and pcoin.cpp files will have to be modified again, after which "compile_tcoin" and "compile_pcoin" can be called again to update the binaries.