02_20-03-2024.md (1415B)
1 # Meeting 20.03.2024 2 3 ## gana 4 5 we can not delete the gana submodul from the donau. We use the gana from the exchange for the error codes, but not for the signature codes. 6 7 how to update gana: 8 9 1. update gnu-taler-error-codes/registry.rec and gnu-taler-error-codes/taler_error_codes.rst (Donau error code (ec) 8600 - 8700. 10 11 2. update gana in exchange 12 13 ```bash 14 cd contrib/gana 15 git pull 16 checkout master 17 git add . # gana-bumb commit and push 18 # install exchange 19 ``` 20 21 ## keys 22 23 the keys route has two main tasks: 24 25 1. act as route and return requested keys 26 27 2. sign for other routes! -> Other routes do not have access to the private keys! 28 - We do not sort the keys therefore we don't need a heap. We can directly iterate over the donation unit map. 29 - krd_array can be deleted. Its already hashed ??? 30 - Put KeysResponseData into the main datastructure. It contains the etag (year in our case and version) 31 32 ## issue receipts 33 34 We must ensure that the update the receipts to date of a charity and the receipt request are both saved in the database or thrown away. To do this, we need transactions. Its best practice to try a database insert 3 times to reduce the risk of serialization errors (if it has not worked after 3 times, the error is probably somewhere else). 35 36 ## uncrystify 37 38 install uncrystify. If so you cant upload bad formated code. With uncrystify you can automatically format the code.