23 Commits

Author SHA1 Message Date
jjimenezgarcia
902222b9c8
Update backend/src/util/validate.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-10-24 08:05:37 +02:00
joseji
259475755c fixed wrong responsabilities of exception throwing and implementation of calculateBalance() 2022-10-18 23:24:43 +02:00
joseji
2fd37a7503 fixed tests and negative numbers are now detected 2022-10-14 13:59:41 +02:00
3ef0074d33
free not only the link value but also the decay amount withheld 2022-03-31 21:47:55 +02:00
ef675980a8
lint fixes 2022-03-31 21:04:16 +02:00
b53aef90f8
Update backend/src/util/validate.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-03-31 20:52:59 +02:00
04807bd225
corrected comment 2022-03-31 12:34:09 +02:00
fa7f2b9d87
calculateBalance: If we redeem a link, make sure we do not consider its amount as blocked when calculating the balance 2022-03-31 12:33:29 +02:00
Moriz Wahl
e42c91f6e0 rename summary query 2022-03-11 11:07:15 +01:00
Moriz Wahl
3aa3ead86e refactor transaction link sum query, add virtual transaction for transaction links to transaction list 2022-03-10 21:06:09 +01:00
Moriz Wahl
3436253bbe transaction link repository, use raw query to get sum of hold available amount 2022-03-10 15:33:26 +01:00
Moriz Wahl
8107066d2b balance includes transactions to hold available, calculateBalance checks for pending transaction links 2022-03-09 18:18:22 +01:00
Moriz Wahl
9879c4550e path to models 2022-03-07 21:58:30 +01:00
5f0cb6dbfe
fixed sendcoins 2022-02-28 01:29:53 +01:00
e988cf9371
defining precision in config seems to work properly afterall 2022-02-27 13:05:27 +01:00
9c27568f77
include decimal with precision definition 2022-02-27 03:09:18 +01:00
7644bf1834
backend compiles 2022-02-26 03:42:20 +01:00
736310f5d5
fix build error - type errors 2022-02-02 19:48:20 +01:00
5bc23a4857
remove typeorm from backend project and reference the one installed in database. This way the default connection of the enteties can be used - this was not possible before since the connection waa created in the backend typeorm, but the entities are defined in the database installation.
We now remove the typeorm from backend and rely solely on the database typeorm. We now can use both activeRecord and dataMapper pattern.
2022-02-01 04:14:54 +01:00
elweyn
557ccf5da3 Merge master into this branch, comment out the protobuf encryption module to see if the structure would work without it. 2021-10-22 14:55:06 +02:00
einhornimmond
8911bf761c implement more of create send coin transaction 2021-10-06 20:07:50 +02:00
einhorn_b
6699b4d6eb first steps for send coins 2021-10-06 12:41:05 +02:00
Einhornimmond
e963a34b36 add settings as key value approach 2021-10-01 18:42:48 +02:00