Akilan Selvacoumar
ae5f1d2fd7
New features ( #110 )
...
* added upload status
* added changes for progress bar with more logs and bug fixes, Documentation yet to be added
* huge changes that need more doucmenting
* added possibility to get profile using NodeID
* added fix profile listing user profile information
* removed profile image from the explore reult struct
* saving current changes
* added filter to search based on NodeID
* Monday bug fixing
* updates to the profile
* changes for tracing the blockchain profile image not shown
* added condition to ensure TAG is not sent and removed debug prints
* updated webapi docs
2023-06-28 00:38:17 +01:00
Akilan Selvacoumar
9775525d35
gofmt peernet ( #103 )
2023-02-12 09:59:31 +00:00
Kleissner
39d6f71a7f
Blockchain multi-store: Provide filter callbacks. Store statistics about blockchains (Count File Records, Size All Files). New iterate function.
2022-01-03 00:52:02 +01:00
Kleissner
c053c617c2
Add users blockchain data to the search index and provide it in search results. Updated webapi search and download.
2021-12-14 15:45:03 +01:00
Kleissner
c12b68c35c
Update blockchain height to 64-bits according to the Whitepaper 0.9.2. Close #74
2021-12-11 20:43:38 +01:00
Kleissner
5db25f2704
Minor fix for mobile: Explicitly cast length to uint64 so it works on stupid systems (32-bit) as well
2021-12-11 18:46:43 +01:00
Kleissner
c8e0d1cfbe
Blockchain: New TargetBlockSize which is honored for files and profile fields. Close #80 , close #75
2021-12-11 18:07:48 +01:00
Kleissner
2900f06281
Add blockchain multi store implementation. Close #73
2021-12-11 03:58:23 +01:00
Kleissner
4aa15d6a78
Minor fix in test code
2021-12-08 04:19:04 +01:00
Kleissner
65f1d4eab7
Blockchain: Add functions GetBlockRaw and DecodeBlockRaw
2021-12-04 03:09:27 +01:00
Kleissner
e10ece7358
Blockchain: blockchain.IterateDeleteRecord decode all records at once, fixing multiple issues with file tags that could result in corrupted or orphaned records. Fix #66 , fix #37 , fix #38
2021-11-29 02:06:51 +01:00
Kleissner
d7f66474ef
Blockchain: Fix bug in encodeBlockRecordFiles. Virtual tags were mistakenly counted, resulting in corruption.
2021-11-29 01:52:25 +01:00
Kleissner
e5c2d8d91d
Protocol change: Implement merkle tree for files and store root hash and fragment size in the blockchain.
2021-11-28 21:59:52 +01:00
Kleissner
9626fa8088
Fork btcec to remove external dependency. This significantly reduces the count of indirect modules (cuts it by half). Close #7
...
Update the other Go modules.
2021-11-14 22:37:07 +01:00
Kleissner
e45d6fe888
New function to delete account. Create deletion functions for blockchain and warehouse. Add function /account/delete to webapi. Close #42
2021-10-20 08:46:53 +02:00
Kleissner
7be31a9e34
Refactoring code. Use protocol.HashData and HashSize. Move PublicKey2NodeID into protocol.
2021-10-17 17:15:22 +02:00
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