Commit Graph

226 Commits

Author SHA1 Message Date
voidlizard 3e4762d880 better. most probably fix rpc lock issue 2025-02-15 14:00:29 +03:00
voidlizard 8ca4dd79bf most probably fix rpc lock issue 2025-02-15 13:51:36 +03:00
voidlizard dd310888a5 wip, rpc issue fix? 2025-02-15 13:48:16 +03:00
voidlizard 1b9a1f30df callRpcWaitRetry 2024-12-04 13:42:58 +03:00
voidlizard 2abfbb0fb4 fixed Unix.hs 2024-12-04 13:42:58 +03:00
Dmitry Zuikov 835c01bfaa ghc-9.6.6 + updated db-pipe 2024-09-25 11:28:17 +03:00
Dmitry Zuikov 9bab121743 merged hbs2-cli ans hbs2-sync 2024-08-07 15:20:19 +03:00
Dmitry Zuikov 26a023d60d hbs2-peer refchan cat && hbs2-peer reflog cat 2024-04-09 12:04:13 +03:00
Dmitry Zuikov e9c7c9dbae merged new download and some intermediate changes 2024-03-06 16:10:24 +03:00
Dmitry Zuikov 83b4d8bff8 boosted download 2024-02-14 12:02:03 +03:00
Dmitry Zuikov 00a316b786 basic hbs2-share 2024-01-07 10:01:12 +03:00
Dmitry Zuikov 835a0322e0 refchan refactoring 2023-12-28 06:21:57 +03:00
Dmitry Zuikov 5820b808c5 refactor: removing Proxy in HasDeferred 2023-12-27 06:48:18 +03:00
Dmitry Zuikov f0d469766e small-encrypted-block wip 2023-12-26 07:34:23 +03:00
Dmitry Zuikov 09f9eed01f basic key manager 2023-12-23 07:25:54 +03:00
Dmitry Zuikov 2ef2bb493c collect own messages in rechannotify log 2023-12-20 06:48:29 +03:00
Dmitry Zuikov 24272ad4d9 refchannotify log 2023-12-20 05:54:13 +03:00
Dmitry Zuikov 18bb821dfd timestamp-to-refchan-accept 2023-12-16 07:28:51 +03:00
Dmitry Zuikov cd1b6ddf77 minor fix 2023-11-24 06:19:01 +03:00
Dmitry Zuikov 79efb093bf refchan head with reades
- added readers field into refchan  head

 - introduced "sigil" PUBLIC artefact (sign-pk, (encrypt-pk, metadata))

 - partial ccompatibility (new version reads older heads,
   old version wan't read new heads with readers (but will read new heads
   without readers)

 - RefChanHeadBlockSmall is to delete in nearest future

 - RefChanHeadBlock1 is to be a single RefChanHeadBlock

 - Yes, absense of readers initially was a fuckup

 - Object's versioning approaches are in their way of
   tries and failes
2023-11-24 05:35:47 +03:00
Dmitry Zuikov 002ecf7b3e merged notify-proto-debug fixes 2023-11-06 08:56:10 +03:00
Dmitry Zuikov 35905b94bd Notify proto + wiping resource-t in Messaging/Unix 2023-11-03 16:49:29 +03:00
Dmitry Zuikov 41ace9c87b Notify protocol 2023-10-31 07:33:29 +03:00
Dmitry Zuikov eab3175d52 fixed minor possible leak on callService 2023-10-29 07:46:15 +03:00
Dmitry Zuikov 93a3be5a1f process-only-subscribed-reflogs 2023-10-26 10:30:29 +03:00
Dmitry Zuikov c44a6b997b new protocol encryption + minor tuning 2023-10-25 09:01:23 +03:00
Dmitry Zuikov 0f69757813 multiple PEX fixes 2023-10-21 08:58:31 +03:00
Dmitry Zuikov 66ce6a659d Revert "faster-download-start"
This reverts commit 351ac97d44.
2023-10-20 21:28:18 +03:00
Dmitry Zuikov 351ac97d44 faster-download-start 2023-10-20 15:53:37 +03:00
Dmitry Zuikov 6336a69252 minor fix + todo 2023-10-19 10:57:39 +03:00
Dmitry Zuikov 29fdd23602 fixed reflog sync bug 2023-10-18 10:16:11 +03:00
Dmitry Zuikov d3c63ab8e4 accept reflogupdate only for subcribed refs or from friendly peers 2023-10-15 09:26:49 +03:00
Dmitry Zuikov 3bccfa2e98 minor refactoring 2023-10-15 09:01:45 +03:00
Dmitry Zuikov c829a6d37c group-keys / repository-encryption to test 2023-10-12 09:58:13 +03:00
Dmitry Zuikov 8842843ffb hbs2-git-to-new-rpc 2023-10-07 14:29:40 +03:00
Dmitry Zuikov 5cd40a17dd StorageClient
... for RPC
2023-10-05 13:53:53 +03:00
Dmitry Zuikov 15d6a1d06f modular-rpc-api
1. Making the API modular
2. Running all via single socket, including storage
2023-10-05 11:54:36 +03:00
Dmitry Zuikov 613f26e418 moved to RPC2
New RPC works over a Unix socket and assumes synchronous
requests with callService.

A new protocol, 'ServiceProto,' is introduced.

New RPC operates over a Unix socket.

Note the setting: (rpc2 unix "/tmp/hbs2-rpc2.socket").

The default rpc2 socket is located at /tmp/hbs2-rpc2.socket.

In the future, TCP RPC may be introduced, requiring only:

1. Authorization/Authentication

This might be accomplished through another wrapped protocol, for instance.

"Dialog"-associated elements are commented out for now,
as they will likely require their own Unix socket.
2023-10-04 10:54:39 +03:00
Dmitry Zuikov 3c545b01fa service-protocol-proof-of-concept 2023-10-02 17:03:48 +03:00
Dmitry Zuikov 7572b3ffe9 symmetric, deterministic merkle-tree encryption
suckless-conf bumped
2023-09-26 18:19:33 +03:00
Dmitry Zuikov 09e070e38f merged 2023-09-21 08:40:05 +03:00
Dmitry Zuikov a980569ce4 qblf merged
- Requires testing and bugfixing
- Needs high CPU usage investigation (polling/packet flood?)
- Bundles are downloading repeatedly, that is weird
2023-09-21 08:40:05 +03:00
Dmitry Zuikov a5628a19ed bundle-basic-implementation 2023-09-21 08:39:59 +03:00
Dmitry Zuikov 51597c58cb Revert "merged"
This reverts commit eeb2735c4dc10409ba996b37cf83ba2fb178d392.
2023-09-21 08:10:16 +03:00
Sergey Ivanov 08c95bc9a9 Typelevel dialog server spec 2023-09-15 20:18:15 +04:00
Sergey Ivanov b22dc35283 Move encryption keys to ProxyMessaging
Change key for encryption key map from PeerData to EncryptionKeyIDKey

Test for quasidistributiveness of the encodeFrames

Move Dialog to HBS2.Net

Fixes with hlint:   hbs2-peer/app/PeerMain/DialogCliCommand.hs
2023-09-15 18:43:21 +04:00
Dmitry Zuikov 80278834b8 minor-fix: extracted SignedBox and code sweeped 2023-09-15 10:59:54 +03:00
Dmitry Zuikov 93137d8f4c minor-fix: extracted SignedBox and code sweeped 2023-09-15 09:43:05 +03:00
Dmitry Zuikov 40ba5fca68 RefLogKey moved to HBS2.Net.Proto.RefLog...
... since it is just one of many possible refs
2023-08-10 05:50:39 +03:00
Dmitry Zuikov 7274c6ceeb current refchan-notify and multiple fixes 2023-07-31 13:56:33 +03:00