summary refs log tree commit diff
AgeCommit message (Collapse)Author
2019-07-15Removed redundant code in pcoin.cpplogin000
pcoin.cpp had redundant code in 'int main()', where user_amount was redeclared (and thus became a local variable that shadowed the global version inside 'int main()' (!). Fixed by removing the redeclared, redundant line.
2019-07-15Fixed bug in "tcoin init" and "tcoin"login000
Fixed bug in "tcoin init" and "tcoin" when an uninitialised user runs them. Previously, it used to display the following error: Error! Could not open file at <file_path>! Assuming its internal content is "0\n" because 'user_amount' in 'int main()' was read from the file before checking if the user had initialised.
2019-06-25Added #define DEBUG, fixed pcoin error messagelogin000
Added #define DEBUG and put a few check statements under it. Fixed error message in pcoin that suggested the incorrect "add_internal_balance" amount when "internal_balance" owed to a particular user was not enough (and was lesser than the number of tildecoins being sent using the "send" command to said user). Also, fixed an error in retrieving the amount owed to a particular user when doing checks during the "send" command ("temp_program_sender_username" instead of "program_sender_username").
2019-06-22Fixed std:;strcpy to std::strcpylogin000
credit to eigenellies/diodelasses and npa
2019-04-18Fixing daily-adventure integration in pcoin.cpplogin000
daily-adventure changed how it stores state, so this new code fixes daily-adventure integration to the new format that daily-adventure stores state in.
2019-04-18Fix daily-adventure integration in tcoin.cpplogin000
daily-adventure changed how it stores state, so this new code fixes daily-adventure integration to the new format that daily-adventure stores state in.
2019-03-10bash script to create new program accountslogin000
bash script creates directory structure for new program accounts
2019-03-10Copied pcoin.cpp from tilde.townlogin000
2019-03-10Updated tcoin.cpp to latest versionlogin000
2018-03-06Create README.mdlogin000
2018-03-06Initial Commitlogin000
2018-03-06Create LICENSElogin000