Commit Graph

360 Commits

Author SHA1 Message Date
Dmitry Zuikov 246518cd34 ghc 9.4.6 2023-10-16 06:13:27 +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
Vladimir Krutkin e411e29246 Add file logger 2023-10-12 12:54:56 +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 28163d0123 storage rpc 2023-10-04 16:52:25 +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 902125da75 unix sockets to support multiple clients 2023-10-01 09:51:27 +03:00
Dmitry Zuikov 9eff409b66 group-key-update 2023-09-27 12:43:16 +03:00
Dmitry Zuikov e22834f0f2 minor speedup 2023-09-27 11:24:56 +03:00
Dmitry Zuikov a3a5cf8f7f symm-group-encryption, schema changed
Accordingly to vulnerabilities review made by rblaze
2023-09-27 09:12:15 +03:00
Dmitry Zuikov 7572b3ffe9 symmetric, deterministic merkle-tree encryption
suckless-conf bumped
2023-09-26 18:19:33 +03:00
Dmitry Zuikov a205b8a093 refchan-qblf example: balance caching fix 2023-09-21 12:52:29 +03:00
Dmitry Zuikov 7856129853 refchan-qblf example: cached balance 2023-09-21 11:57:32 +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 ed279f1d34 HPoqtobDAT implement-create-bundle 2023-09-14 11:04:56 +03:00
Sergey Ivanov b7079c2915 Revert "PR CG2C18TK8v "account asyncs, respawn node on errors""
This reverts commit 8904704edc.
2023-08-16 16:50:16 +04:00
Dmitry Zuikov 8904704edc PR CG2C18TK8v "account asyncs, respawn node on errors" 2023-08-11 06:10:09 +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
Dmitry Zuikov 71e325f8bc PR 3nmxU5Ro8b dialog-proto 2023-07-28 15:36:50 +03:00
Dmitry Zuikov 42309096e1 reduced noise in log 2023-07-27 11:21:15 +03:00
Dmitry Zuikov c52be7cf5e merged PR 8ey8Fnr4c4 remove-lref-commands 2023-07-27 10:00:01 +03:00
Dmitry Zuikov 8c9ea8408c wip, refchans+encryption, dev 2023-07-27 08:35:35 +03:00
Dmitry Zuikov 97f1bd2f8a added refchan-notify skeleton 2023-07-27 07:14:07 +03:00
Sergey Ivanov c60a0b4696 update after merge 2023-07-26 21:14:41 +04:00
Sergey Ivanov 75f03b9c95 Merge iv/integrate-encryption-test-dev2 into refchan-merge-2 (using imerge) 2023-07-25 16:11:47 +04:00
Dmitry Zuikov 23500ed822 ip, log merging, debug-30 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 29d12e7b4d wip, log merging, debug-23 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 308a0ce833 wip, log merging, debug-22 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 40f05a0051 wip, log merging, debug-21 2023-07-25 12:27:43 +03:00
Dmitry Zuikov a73c2c4659 wip, log merging, debug-20 2023-07-25 12:27:43 +03:00
Dmitry Zuikov baf0d6e3b6 wip, log merging, debug-18 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 9981d457e0 wip, log merging, debug-17 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 796a5a6f54 wip, log merging, debug-16 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e1725987c9 wip, log merging, debug-14 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 003fc43cc1 wip, log merging, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 84c74c3b4f wip, log merging 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 126994720f wip, refchanrequest events 2023-07-25 12:27:43 +03:00