Commit Graph

220 Commits

Author SHA1 Message Date
voidlizard c972edcc4a ghc metrics probe 2024-12-04 13:42:58 +03:00
Snail 5e997acc59 peermain probes 2024-12-04 13:42:58 +03:00
voidlizard 49a1791011 wip 2024-12-04 13:42:58 +03:00
voidlizard 251b9ce5c3 TCP probe 2024-12-04 13:42:58 +03:00
voidlizard 39e790ef32 storage w. AnyProbe 2024-12-04 13:42:58 +03:00
voidlizard 82b3106ca6 fixed-messaging-and-basic-probes 2024-12-04 13:42:58 +03:00
Yura Shelyag ed7a402fc3 Fixed die and SIGINT exit 2024-11-01 16:02:08 +03:00
Dmitry Zuikov 835c01bfaa ghc-9.6.6 + updated db-pipe 2024-09-25 11:28:17 +03:00
Dmitry Zuikov ff9ef2ddec merged refchan notifications and fixme-new (wip) 2024-09-15 10:20:14 +03:00
Dmitry Zuikov 9bab121743 merged hbs2-cli ans hbs2-sync 2024-08-07 15:20:19 +03:00
Dmitry Zuikov 9aafab745d hbs2-peer reflog cat 2024-04-09 13:09:13 +03:00
Dmitry Zuikov da6bb6bcb4 0.24.1 2024-03-20 08:17:22 +03:00
Dmitry Zuikov da42a1dc69 rolled back git-http-backend 2024-03-07 07:07:48 +03:00
Dmitry Zuikov e9c7c9dbae merged new download and some intermediate changes 2024-03-06 16:10:24 +03:00
Dmitry Zuikov cc7f2dd948 download fixes 2024-02-21 05:55:13 +03:00
Dmitry Zuikov 83b4d8bff8 boosted download 2024-02-14 12:02:03 +03:00
Dmitry Zuikov 3550d8d624 threaded download 2024-02-07 13:08:01 +03:00
Dmitry Zuikov e6ae5fb593 version command
commit 9df07ae34a6d1c7f53cee3abe2304ff81eb0a26c
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue Oct 24 22:25:34 2023 +0400

    `version` command for hbs2, hbs2-peer, git-hbs2
2024-01-28 07:52:08 +03:00
Dmitry Zuikov dc33ed75c5 default config/default tcp/default key 2024-01-24 12:40:25 +03:00
Dmitry Zuikov ed6a484f50 block fetch progress notification 2024-01-24 07:17:21 +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 24272ad4d9 refchannotify log 2023-12-20 05:54:13 +03:00
Dmitry Zuikov fc52fabbf9 maybe no-respawn on STM exception fixed 2023-11-14 05:38:34 +03:00
Dmitry Zuikov e107c318c3 emitNotify / RefChanNotify on RPC 2023-11-12 12:57:24 +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 93a3be5a1f process-only-subscribed-reflogs 2023-10-26 10:30:29 +03:00
Dmitry Zuikov 58d0e9d256 experimental SOCKS5 support
- no authorization supported (bad for network-tcp-simple)
2023-10-26 09:10:41 +03:00
Dmitry Zuikov 0a55f1a732 optional messagings (TCP, UDP) + watchdog 2023-10-26 06:18:27 +03:00
Dmitry Zuikov 27fd382cc3 fixed respawn 2023-10-26 03:53:44 +03:00
Dmitry Zuikov c44a6b997b new protocol encryption + minor tuning 2023-10-25 09:01:23 +03:00
Dmitry Zuikov 983f24ef78 fixed exit on http-port not set 2023-10-21 17:40:28 +03:00
Dmitry Zuikov 0f69757813 multiple PEX fixes 2023-10-21 08:58:31 +03:00
Dmitry Zuikov 1623b5b1a4 fixed pexinfo fix 2023-10-20 19:48:24 +03:00
Dmitry Zuikov 4d756d6eaf fixed? tcp pex 2023-10-20 19:45:40 +03:00
Dmitry Zuikov 4aeb91a4b2 removed http download 2023-10-20 13:14:50 +03:00
Dmitry Zuikov 98e589fe6f fixed-block-download-control 2023-10-20 11:16:11 +03:00
Dmitry Zuikov bac3f99588 fix exception in main loop thread 2023-10-18 19:47:58 +03:00
Dmitry Zuikov a1bbc634f4 QBLF regression fixed
Multi-client unix socket failure
2023-10-18 15:14:32 +03:00
Dmitry Zuikov 246518cd34 ghc 9.4.6 2023-10-16 06:13:27 +03:00
Dmitry Zuikov 3bccfa2e98 minor refactoring 2023-10-15 09:01:45 +03:00
Dmitry Zuikov 64400a425e dynamic polling management 2023-10-13 10:06:17 +03:00
Dmitry Zuikov 8842843ffb hbs2-git-to-new-rpc 2023-10-07 14:29:40 +03:00
Dmitry Zuikov 850354c529 done expose-all-new-rpc 2023-10-06 05:48:17 +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 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 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 93137d8f4c minor-fix: extracted SignedBox and code sweeped 2023-09-15 09:43:05 +03:00
Sergey Ivanov 3a04d7f0ab use native Exception.handle to respawn 2023-08-16 16:54:45 +04: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 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 0c645d5fbf reduced noise in log 2023-07-27 11:33:31 +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 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 819cec6402 wip, refchanget proto skeleton, no log merge 2023-07-25 12:27:43 +03:00
Dmitry Zuikov c6f6a398f7 wip, rpc for refchan get 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 609551b43e wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 697c79133e wip, renamed some stuff 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 2bb5b83eb9 wip, emitting accept message 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 28590c6936 wip, semion semionovich... 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 781c9ded4b very basic acls work 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 51d03f2265 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 075a28d9bf got rid of Block ByteString everywhere 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e71ff57773 wip, tryin to fetch refchan head 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 8e567c87d0 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 0e1959dfe5 wip, tryin to fetch refchan head 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 42be590baa wip, respect only polled refchans 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 2a9b43397e wip, cli refchan head get 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 72d0c8222c wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 50d843e4f0 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 82aa6576b5 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 36a0282256 wip, posting refchan head transaction 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e59d64bf0d wip, posting refchan head transaction 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 04a274f7cc wip, dump refchan head block 2023-07-25 12:27:43 +03:00
Sergey Ivanov 56537f0b68 call setEncryptionKey .. (Just symmk) in considerPeerAsymmKey 2023-07-19 01:23:29 +04:00
Sergey Ivanov 15b9438406 pass peer to setEncryptionKey 2023-07-19 00:42:37 +04:00
Sergey Ivanov 3316bb3d44 traces encryption events 2023-07-19 00:35:14 +04:00
Sergey Ivanov 21e5f4ac59 Implemented encryption key clearing on PeerExpiredEventKey 2023-07-18 23:49:47 +04:00
Sergey Ivanov 00bac2047f do not pass PeerData to encHandshake_considerPeerAsymmKey 2023-07-18 23:14:15 +04:00
Sergey Ivanov a0334f5dee Actual handlers for ProxyMessaging 2023-07-18 23:10:48 +04:00
Sergey Ivanov 9bad166566 Move types 2023-07-18 21:43:35 +04:00
Sergey Ivanov dd9cbcd284 Change encryption handshake brains methods 2023-07-13 01:08:28 +04:00
Sergey Ivanov 686ac2523d wip 2023-07-13 00:17:50 +04:00
Sergey Ivanov e53c6e84fc move emit PeerAsymmInfoKey to PeerMain 2023-07-12 23:27:51 +04:00
Sergey Ivanov e43f2c439d wip 2023-07-12 23:24:37 +04:00
Sergey Ivanov 9eed3a6d3f wip 2023-07-12 23:00:13 +04:00
Sergey Ivanov fdf5a72765 wip 2023-07-07 16:33:21 +04:00
Sergey Ivanov d1318c6fd1 Added encryptionHandshakeProto to PeerMain "all protos" thread 2023-07-04 23:46:52 +04:00
Sergey Ivanov 75232557f3 Extracted EncryptionHandshake from PeerHandshake 2023-07-04 22:47:26 +04:00