Commit graph

310 commits

Author SHA1 Message Date
EntireTwix
58c16457cf changed endpoints and API_VERSION conditional 2021-06-29 12:58:56 -07:00
EntireTwix
bec9538bc9 changed endpoints and API_VERSION conditional 2021-06-29 12:21:14 -07:00
EntireTwix
e8941d60cd 🔥🐎 cleaned up 2021-06-28 20:18:24 -07:00
EntireTwix
0e62dbe9ef finished Endpoint/Internal rewrite 2021-06-28 19:47:17 -07:00
EntireTwix
0c34bc3689 🐛 fixing last commit 2021-06-27 22:12:31 -07:00
EntireTwix
6e46cb8f7a 🐎 save_flag is not required if conservative saving is disabled 2021-06-27 21:49:42 -07:00
EntireTwix
23928235eb 🐎 slight include optimization 2021-06-27 21:47:42 -07:00
EntireTwix
d5490ebc56 made log settings Macros 2021-06-27 21:44:40 -07:00
EntireTwix
1adb23f5b8 🐎 GetLog() snapshot 2021-06-27 21:08:10 -07:00
EntireTwix
ba20e461f6 ChangeFlag class 2021-06-27 20:27:03 -07:00
EntireTwix
1aa450e112 🐎 improved SetBal() 2021-06-27 18:10:38 -07:00
EntireTwix
1a434c6bcb SetBal() 2021-06-27 18:05:33 -07:00
EntireTwix
deae9fab7c 🐛 was set to 0 for testing 2021-06-27 17:55:04 -07:00
EntireTwix
3028c6153a 🎨 improved CONSERVATIVE_DISK_SAVE flags usage 2021-06-27 17:53:46 -07:00
EntireTwix
a4964d2742 🎨 moved macros 2021-06-27 17:43:17 -07:00
EntireTwix
d92bc60e79 🎨 changed how API versions are handled 2021-06-27 17:35:31 -07:00
EntireTwix
d9986db962 🎨 changed how API versions are handled 2021-06-27 17:34:12 -07:00
EntireTwix
539df650ea API version compiler flag 2021-06-27 17:13:19 -07:00
EntireTwix
7dec3bea72 admin filter header 2021-06-27 17:10:51 -07:00
EntireTwix
371cd16e38 🐎 made admin vpass internal 2021-06-27 16:59:22 -07:00
EntireTwix
a32efe611f admin filter 2021-06-27 16:58:34 -07:00
EntireTwix
b64e562235 changed error status 2021-06-27 12:47:20 -07:00
EntireTwix
faf63b0d4b changed structure 2021-06-27 11:33:46 -07:00
EntireTwix
a4505b1408 :construction 2021-06-27 00:01:00 -07:00
EntireTwix
8eadc3e6d9 changed some constexpr flags to macros 2021-06-26 19:21:39 -07:00
EntireTwix
42ed5b3424 UserFilter for endpoints 2021-06-26 19:21:20 -07:00
EntireTwix
9a0e59c83a 🚧 converting functions 2021-06-26 19:20:41 -07:00
EntireTwix
d8faf47801 changed comments 2021-06-24 10:35:18 -07:00
EntireTwix
85ffb7e1c3 changed comments 2021-06-24 10:34:28 -07:00
EntireTwix
6abca9b0f0 made constexpr rather then macro 2021-06-23 19:47:22 -07:00
EntireTwix
6161ca8d59 simplified changes saved 2021-06-23 18:51:10 -07:00
EntireTwix
57a0ab5d54 changed default 2021-06-23 18:15:56 -07:00
EntireTwix
f98975ae35 🐛 got change flag working 2021-06-23 18:15:42 -07:00
EntireTwix
72c5369b58 🔥 removed alg header 2021-06-23 18:15:28 -07:00
EntireTwix
2ea4d93c10 atomic flag 2021-06-23 17:17:13 -07:00
EntireTwix
33ff53de1d 🐛 corrected macro usage 2021-06-23 15:32:22 -07:00
EntireTwix
d8a840d052 changed default and added to comment 2021-06-23 15:28:50 -07:00
EntireTwix
dabcf1d311 updated comments 2021-06-23 15:24:59 -07:00
EntireTwix
839d7eb96b conservative saving 2021-06-23 15:24:00 -07:00
EntireTwix
cf036901bb conservative saving 2021-06-23 15:23:54 -07:00
EntireTwix
6637f0042e 🐛 changed uint64 to time_t 2021-06-23 14:24:20 -07:00
EntireTwix
e2c657bf2d 🐎 supplemented chrono ms for ctime time() 2021-06-23 14:20:11 -07:00
EntireTwix
9be3333efb renamed bank_f->bank_api 2021-06-23 14:18:47 -07:00
EntireTwix
85cbff7a62 🐛 fixed previous commits 2021-06-23 10:17:21 -07:00
EntireTwix
29f9905b53 changed b arg to reference 2021-06-23 10:07:05 -07:00
EntireTwix
6f84d90f51 🔥 removed simdjson in pursuit of a serialization lib 2021-06-22 17:43:56 -07:00
EntireTwix
3905ec219a renamed BankF->api 2021-06-22 17:23:04 -07:00
EntireTwix
ec9b9f389d added simdjson 2021-06-22 17:22:27 -07:00
EntireTwix
0b10a51a19 Return to Reserve Feature 2021-06-20 21:54:32 -07:00
EntireTwix
f2b7a563d9 🐎 made send funds 30% faster 2021-06-19 14:23:19 -07:00
EntireTwix
e40aa29b59 🎨 formatting 2021-06-16 21:42:46 -07:00
EntireTwix
e681b4109d made user & config save configurable 2021-06-16 21:40:31 -07:00
EntireTwix
bd357db0ac admin wrong password removed 2021-06-14 22:14:16 -07:00
EntireTwix
67a8642245 added ? to query param of setbal & sendfunds 2021-06-14 10:59:03 -07:00
EntireTwix
9b9d5cf430 made Contains return -1 instead of 0 in false case 2021-06-12 22:34:19 -07:00
EntireTwix
3e857f455e removed AdminWrongPassword error 2021-06-12 20:50:46 -07:00
EntireTwix
c7695dd6db made responses more inuitive for vpass and admin/vpass & fixed send funds bug 2021-06-12 20:39:07 -07:00
EntireTwix
eed41a1de1 🐛 fixed unintuitive design of AddUser having password in body 2021-06-10 21:30:30 -07:00
EntireTwix
9bcc9b13b6 made string_view to work with PASS_HEADER 2021-06-10 20:19:31 -07:00
EntireTwix
503462508f reverted xxhash changes 2021-06-10 14:11:51 -07:00
EntireTwix
cc23bc8142 🐎 made xxhash dynamically linked 2021-06-10 13:14:12 -07:00
EntireTwix
84f934f39d Split .hpp into .h and .cpp 2021-06-10 01:57:18 -07:00
EntireTwix
b1e8021821 fixed header for now renamed endpoint.h 2021-06-10 00:02:29 -07:00
EntireTwix
437c8b5f20 updated logs and fixed renamed header 2021-06-10 00:02:02 -07:00
EntireTwix
179deb85cc re-ordered maps 2021-06-09 23:49:07 -07:00
EntireTwix
01bf8bea9a made methods GET 2021-06-09 22:00:50 -07:00
EntireTwix
c0439ed6a8 renamed to error responses 2021-06-09 21:20:58 -07:00
EntireTwix
ba21d5b6aa finished password header 2021-06-09 21:07:06 -07:00
EntireTwix
3b6cf887c8 🐛 saving bug foundg 2021-06-09 20:47:42 -07:00
EntireTwix
803aeb11c3 implementing password in header 2021-06-09 20:44:44 -07:00
EntireTwix
37dbe3a3c6 made system indepdent 2021-06-09 19:36:39 -07:00
EntireTwix
7646d4861e further path changes 2021-06-09 17:33:51 -07:00
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