Commit Graph

7 Commits

Author SHA1 Message Date
Kleissner
0dc383e767 Moving blockchain code into separate files (no code changes). 2021-10-14 02:40:28 +02:00
Kleissner
1c0406dc60 Housekeeping! Removing unnecessary "blockchain" prefix of status codes within the blockchain package. 2021-10-13 21:22:17 +02:00
Kleissner
b556acb86c webapi: New function /blockchain/file/update
blockchain: Add readme.md. Add function ReplaceFiles.
2021-10-13 20:09:09 +02:00
Kleissner
336de68801 Refactor blockchain code into separate files (no code changes). 2021-10-13 15:30:35 +02:00
Kleissner
c2f110169a Automatically delete files from Warehouse in case there are no other references when deleting files from the blockchain via /blockchain/self/delete/file.
New function blockchain.FileExists.
blockchain.DeleteFiles now returns list of deleted files.
2021-10-13 06:00:40 +02:00
Kleissner
335f83d79b /blockchain/self/add/file checks now if the file exists in the Warehouse and aborts with StatusCorruptBlockRecord if not. 2021-10-13 02:42:04 +02:00
Kleissner
fbeb01e7ff Major refactoring of blockchain code into new sub-package. 2021-10-11 01:21:38 +02:00