Commit graph

238 commits

Author SHA1 Message Date
EntireTwix
6bc3a38aa2 🐛 load/save error caught 2021-06-09 16:20:21 -07:00
EntireTwix
86ab9a0e8e making error returns uniform 2021-06-09 16:12:33 -07:00
doggo
552c2deca8 Changed initial check to all static assertions 2021-06-07 09:03:04 -05:00
William Katz
a4ffee5992
removed var 2021-06-06 16:54:49 -07:00
William Katz
0947ad9b93
🐛 bugged for loop 2021-06-06 16:53:28 -07:00
doggo
a6c0595f64 Branchless loop init 2021-06-05 22:15:01 -05:00
doggo
84f835e8b8 User log constructor change
Now shifts to the end, is in order but takes only the lotest logs that it is able to.
2021-06-05 21:25:27 -05:00
doggo
6a79ca9c39 request 2021-06-04 21:51:06 -05:00
doggo
a652fded48 Changed logging, added assertations in main, changed user constructor to enforce logging struct reqs 2021-06-04 00:27:47 -05:00
EntireTwix
4455ddf308 fixed direction of getlogsg 2021-06-03 20:23:47 -07:00
EntireTwix
d5551aa74a fixed direction of getlogsg 2021-06-03 20:21:25 -07:00
EntireTwix
acfbb738bb reverted getlog direction 2021-06-03 20:18:07 -07:00
EntireTwix
2e05197791 fixed build issues 2021-06-03 18:39:18 -07:00
William Katz
5095ad0adb
legacy print 2021-06-03 18:24:23 -07:00
William Katz
e6988b8abc
fixed logic 2021-06-03 18:18:13 -07:00
William Katz
c6c08832e7
reverted doggos changes till fixed 2021-06-03 18:17:43 -07:00
William Katz
5e4113bf8f
reversed endpoint to match new internal structure 2021-06-03 18:16:56 -07:00
doggo
69121557a9 User constructor now enforces logging rule 2021-06-03 19:11:32 -05:00
doggo
ab11101611 Idiot changed the variable name 2021-06-03 17:36:44 -05:00
doggo
af51335aa7 Code comments for logs 2021-06-03 16:50:13 -05:00
doggo
a2287a4d36 Logging update, adding transactions optimized 2021-06-03 16:40:08 -05:00
EntireTwix
9e056a640a 🐛 for loop in wrong direction when full 2021-06-03 14:19:15 -07:00
EntireTwix
00ec8397d6 🐛 forgot conditional for if log is has reached max size 2021-06-03 14:09:29 -07:00
EntireTwix
d4179ed063 major simplification via reserve() and capacity() 2021-06-03 13:49:35 -07:00
EntireTwix
a78b4e5b1d 🐎 made getlogs endpoint cache result when disabled 2021-06-03 12:47:50 -07:00
EntireTwix
9101a42b5d slight change 2021-06-03 02:27:35 -07:00
EntireTwix
899851bec3 Simplified and Commented log end->size 2021-06-03 02:19:05 -07:00
EntireTwix
a1988d3bd5 🐛 further bug fixes 2021-06-03 01:54:58 -07:00
EntireTwix
aa7a389de0 🐛 degrading logs bug 2021-06-03 01:17:30 -07:00
EntireTwix
bf1a904c84 :bug 2021-06-01 16:53:22 -07:00
EntireTwix
6927061705 default users.json location 2021-06-01 16:30:29 -07:00
EntireTwix
596ae46286 further safegaurds 2021-06-01 16:17:40 -07:00
EntireTwix
cc3aa0882a 🐛 finally fixed big "end" bug 2021-05-29 21:26:11 -07:00
EntireTwix
742396c32e Serialize dont log 0 amount 2021-05-29 20:28:39 -07:00
EntireTwix
c833f66d9f 🐛 seg fault bug fixed 2021-05-29 20:11:02 -07:00
EntireTwix
56aa6f31f0 Merge branch 'main' of https://github.com/EntireTwix/CCash 2021-05-28 16:20:27 -07:00
EntireTwix
aa91026012 🐎 improved saving for when logs are disabled 2021-05-28 16:20:21 -07:00
William Katz
48a7c34f6f
typo 2021-05-28 02:47:17 -07:00
William Katz
662685a0ac
Update user.hpp 2021-05-28 02:41:13 -07:00
William Katz
dc11416d9a
New time constructor 2021-05-28 02:39:57 -07:00
EntireTwix
239573e246 🐎 improved getlogs endpoint when max log size is 0 2021-05-28 02:25:48 -07:00
EntireTwix
a45dca028c 🐛 fixed logs finally 2021-05-28 02:23:01 -07:00
EntireTwix
efec7d0da9 🐛 fixed last commit 2021-05-28 01:58:56 -07:00
EntireTwix
4a0b7cafa6 🐛 infinite allocate bug 2021-05-28 01:56:16 -07:00
EntireTwix
c95753550c 🐛 fixed a 0 amount bug on logs 2021-05-21 16:17:49 -07:00
EntireTwix
630ea79b17 legacy logging 2021-05-20 22:10:11 -07:00
EntireTwix
b808351621 🐛 Log saving fixed 2021-05-20 22:03:30 -07:00
EntireTwix
0d7b7b5df2 🐛 saving of logs bug fixed 2021-05-20 22:00:52 -07:00
William Katz
5a6ac776bd
🐛 if load data was larger then max size, incorrect resize would occur 2021-05-20 21:29:46 -07:00
EntireTwix
59417ccebf 🐛 Log Size reduction will load correctly now 2021-05-19 14:27:29 -07:00
EntireTwix
517f6dfcbe 🐛 2021-05-19 14:24:43 -07:00
EntireTwix
0d4f49213e 🐛 last commit changes 2021-05-19 14:23:41 -07:00
EntireTwix
dc74da6072 🐎 Max size 0 optimizations 2021-05-19 14:18:01 -07:00
EntireTwix
47319ae412 changed logs prefetch 2021-05-19 13:22:01 -07:00
EntireTwix
4d52d4c821 🐎 reworked memory prefetching for lower memory usage 2021-05-19 13:20:48 -07:00
EntireTwix
74861d8a74 🐛 fixed loading for logs 2021-05-19 13:09:10 -07:00
EntireTwix
eb9b724be5 Logging Saved 2021-05-19 13:06:51 -07:00
William Katz
0a919a07c8
🔥 removed legacy logging 2021-05-12 18:03:40 -07:00
William Katz
00c476954c
removed legacy logging 2021-05-12 18:01:26 -07:00
EntireTwix
8f3f2f0b32 🐛 fixed logging broken 2021-05-03 17:31:21 -07:00
EntireTwix
e241de3cf9 🐛 fixed Log method 2021-04-26 19:00:00 -07:00
EntireTwix
4b969003dc Limited Usernames to 50 chars, expanded log size to 50 2021-04-26 18:45:45 -07:00
EntireTwix
4a62e7e0e4 🐛 json indexing 2021-04-25 13:49:35 -07:00
EntireTwix
c5120b8944 🐎 made logs more cache coherent 2021-04-25 13:29:46 -07:00
EntireTwix
25802ecd0d 🔥 legacy code removed 2021-04-22 12:39:01 -07:00
EntireTwix
94b52f6566 🐛 blank reciever in logs 2021-04-22 11:17:24 -07:00
EntireTwix
a898d6bb02 🐛 -1 fix 2021-04-22 01:13:35 -07:00
EntireTwix
9ec6a5de56 🐛 finally fixed Log bug 2021-04-22 01:08:10 -07:00
EntireTwix
4e442d7abc 0 return re-implemented 2021-04-22 00:52:10 -07:00
EntireTwix
4f657a3ecd 🐛 GetLogs Seg fault out range seg 2021-04-22 00:36:53 -07:00
EntireTwix
7e76c668f2 Docs Updated 2021-04-22 00:18:21 -07:00
EntireTwix
f75f519e64 integrated logs into user struct 2021-04-22 00:11:13 -07:00
EntireTwix
a3d93b5831 🐎 reduced time vars size 2021-04-21 23:25:16 -07:00
EntireTwix
34ced37a71 🐛 fixed sendfunds log 2021-04-21 23:21:50 -07:00
EntireTwix
417f52253b 🐛 concurrent del user & adding log entry would allow a ghost log to be made 2021-04-21 21:42:30 -07:00
EntireTwix
7d38974ba0 🐛 json 64 bug 2021-04-21 21:24:23 -07:00
EntireTwix
9e8ce406ec 🐛 made time 64 bit 2021-04-21 21:22:56 -07:00
EntireTwix
d96364d1f0 time added as part of log 2021-04-21 20:54:49 -07:00
EntireTwix
fcff1c5074 🐛 return 0 for logs wasnt working 2021-04-21 20:30:43 -07:00
EntireTwix
f7b62913cd 🐛 return 0 for logs wasnt working 2021-04-21 20:29:11 -07:00
EntireTwix
5f6a413923 🐛 return 0 for logs wasnt working 2021-04-21 20:28:35 -07:00
EntireTwix
66f29b795f 🐛 many GetLogs Bugs 2021-04-21 20:16:36 -07:00
EntireTwix
cfc99627f8 🐎 reduced by one locking call 2021-04-21 19:30:50 -07:00
EntireTwix
8634c99785 🐎 avoiding one branch 2021-04-21 19:25:47 -07:00
EntireTwix
3965cc0ce3 🐛 fixed last commit 2021-04-21 19:20:40 -07:00
EntireTwix
b0af12d4ce AdminDel/Del now delete logs aswell 2021-04-21 19:17:00 -07:00
EntireTwix
57c755c415 🐛 fixed last commit 2021-04-21 19:11:56 -07:00
EntireTwix
3b36ec90cc 🔥 removed recieving 2021-04-21 19:09:29 -07:00
EntireTwix
fb3000820f 🐎 Logs are only created when first transaction is made 2021-04-21 18:32:20 -07:00
EntireTwix
666258519a 🐛 forgot to add files 2021-04-21 15:59:29 -07:00
EntireTwix
839dd96145 Docs for logs 2021-04-21 15:54:19 -07:00
EntireTwix
588c56a6cc 🐛 fixed state bug 2021-04-21 15:46:37 -07:00
EntireTwix
491f5f9adf 🐎 SendFunds lock time decreased 2021-04-21 15:44:27 -07:00
EntireTwix
32ea81bac2 Intitial Logging Functionality 2021-04-21 15:42:42 -07:00
William Katz
a96e26ff15
Updated comment 2021-04-19 22:42:59 -07:00
EntireTwix
17091ad9d2 🐎 replaced hash function 2021-04-19 06:58:56 -07:00
EntireTwix
50e8ca5c7c 🔥 simplified via removing allusers 2021-04-19 03:56:41 -07:00
EntireTwix
32b6af280e incremented too soon in allusers 2021-04-19 03:42:39 -07:00
EntireTwix
a80f6b5959 fixed allusers 2021-04-19 03:23:46 -07:00
EntireTwix
13cafcca85 fixed allusers 2021-04-19 03:18:53 -07:00