Commit Graph

17 Commits

Author SHA1 Message Date
Kleissner
7be31a9e34 Refactoring code. Use protocol.HashData and HashSize. Move PublicKey2NodeID into protocol. 2021-10-17 17:15:22 +02:00
Kleissner
0c7b1e0e03 Start refactoring protocol code into sub package. Move Packet Encoding and list of Commands. Change SetSelfReportedPorts parameters.
More related commits to follow!
2021-10-17 16:28:19 +02:00
Kleissner
fbeb01e7ff Major refactoring of blockchain code into new sub-package. 2021-10-11 01:21:38 +02:00
Kleissner
2c20fa950d Add node ID field to file structure 2021-09-28 19:55:30 +02:00
Kleissner
608dbf6f47 Simplified profile code. 2021-09-28 05:39:38 +02:00
Kleissner
680723faf3 Blockchain: New function UserProfileDelete to delete user profile data. 2021-09-20 14:19:04 +02:00
Kleissner
06b846ca34 Blockchain functions: Return version number. Add record deletion and refactoring function. Allow to delete files. 2021-09-19 00:01:31 +02:00
Kleissner
928c16c492 New profile functions to read/write profile fields and blobs 2021-09-03 02:24:26 +02:00
Kleissner
a3750af1c8 Fix bug correct block number 2021-08-28 13:26:06 +02:00
Kleissner
7c88763f28 Minor fix when creating new blockchain, initializing used public key 2021-08-27 17:38:36 +02:00
Kleissner
a2384ca627 Blockchain: Change of block format.
File records:
* Add unique ID to file record.
* Introducing tags which are flexible. Close #31
* Name and Directory fields are now tags.
* Embedded basic compression by storing duplicate file tags as single record.
Added date field to record structure.
2021-08-27 03:12:30 +02:00
Kleissner
ea80588fa1 Add format field to the blockchain header. This allows backward compatibility. Close #32 2021-08-25 01:13:00 +02:00
Kleissner
6c399a7be9 New function UserBlockchainListFiles to list all files in the users blockchain.
Refactor block record decoding code.
2021-08-19 16:49:37 +02:00
Kleissner
a2420b8468 Store user blockchain data in file. Close #30
Refactoring sanitize code into separate sub-package
Refactoring block and block record decoding code
2021-08-19 04:13:08 +02:00
Kleissner
7c7048c4c7 Use Pogreb as key/value store instead for now. 2021-08-11 22:49:00 +02:00
Kleissner
5d01fc6c72 Initial code to read/create the users blockchain database on the file system. 2021-08-11 22:36:47 +02:00
Kleissner
323f379ee7 Message encoding of announcement and response messages.
More changes coming.
Rename of organization to Peernet s.r.o.
InformationRequest proper termination signal.
2021-03-14 04:30:57 +01:00