Commit Graph

418 Commits

Author SHA1 Message Date
Dmitry Zuikov 98e589fe6f fixed-block-download-control 2023-10-20 11:16:11 +03:00
Dmitry Zuikov 0f0eb2a494 fix(?) findMissedBlocks 2023-10-20 06:37:23 +03:00
Dmitry Zuikov efe9d2940a fix(?) walkTree for MerkleAnn 2023-10-20 06:07:01 +03:00
Dmitry Zuikov 6336a69252 minor fix + todo 2023-10-19 10:57:39 +03:00
Dmitry Zuikov 328275d14e bugfixes 2023-10-18 17:06:43 +03:00
Dmitry Zuikov 27e2a6f761 fixed (?) wtf 2023-10-18 16:02:32 +03:00
Dmitry Zuikov a1bbc634f4 QBLF regression fixed
Multi-client unix socket failure
2023-10-18 15:14:32 +03:00
Dmitry Zuikov 29fdd23602 fixed reflog sync bug 2023-10-18 10:16:11 +03:00
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
Dmitry Zuikov 819cec6402 wip, refchanget proto skeleton, no log merge 2023-07-25 12:27:43 +03:00
Dmitry Zuikov d2141c304b wip, minor refactoring, before refchanget proto 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 204de9afc6 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 6dc3fc91f5 wip, wtf 2 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 6e690d038e wip, wtf 2023-07-25 12:27:43 +03:00
Dmitry Zuikov c28f5dee50 wip, cleanup round data 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 01c435ac5f wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 54da5a6530 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 55679307f7 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 3c46a14aa5 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov d7a4d5cdf2 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov a1f16efec3 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 73d0fc6162 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 7e1c115056 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 9e68723fe3 wip, debug 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 940248e99b wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 66d7444198 wip 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 758efdd455 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 264f6842af wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 33478cdebd wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e53c9fa995 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov f50aa24b4b wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov bb32e8b97c wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 7bd79453a6 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov ee934740ab wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 2d7a760a4c wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 95bcda9d8e wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 3e1b3917ee wip, receiving accept message 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 8b5d4522da wip, emitting accept message 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 07003409c3 wip, introduced typeclass for gossip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 3c10aad828 wip, hunting typeable-e-error 2023-07-25 12:27:43 +03:00
Dmitry Zuikov b304a514d7 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 5b052e8a56 wip, minor refactoring 2023-07-25 12:27:43 +03:00
Dmitry Zuikov bc39601fbc very basic acls work 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 5689576368 wip, trying to gen transaction 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 e4c759a49d feed-up-with-block-bytestring 2023-07-25 12:27:43 +03:00