Commit Graph

317 Commits

Author SHA1 Message Date
Dmitry Zuykov 34585e0007 wip 2025-05-17 12:54:04 +03:00
Dmitry Zuykov bb4fa83022 wip, test against sqlite 2025-05-16 18:54:44 +03:00
Dmitry Zuykov af295029ec wip, merge storage 2025-05-16 11:25:36 +03:00
Dmitry Zuykov 98a97ba55f wip, merge storage 2025-05-16 10:45:21 +03:00
Dmitry Zuykov 31a476a73a wip, merge storage 2025-05-16 10:01:22 +03:00
Dmitry Zuykov 90b9204e58 wip, ncq fixed races 2025-05-16 05:52:43 +03:00
Dmitry Zuykov c0b6b0984d wip 2025-05-14 16:18:59 +03:00
Dmitry Zuykov 11159be468 wip, Storage 2025-05-14 14:09:30 +03:00
Dmitry Zuykov 77589bfbbd wip, Storage 2025-05-14 13:40:00 +03:00
Dmitry Zuykov f26cae04a3 wip, references 2025-05-14 13:29:01 +03:00
Dmitry Zuykov 67acde04d6 wip, new block format 2025-05-14 12:39:20 +03:00
Dmitry Zuykov a97685a74d wip, tcq 2025-05-13 16:41:32 +03:00
Dmitry Zuykov 41ce441f82 wip, fixed ncqCheckDeleted 2025-05-13 14:36:50 +03:00
Dmitry Zuykov 407bfadbff wip 2025-05-13 12:39:34 +03:00
Dmitry Zuykov 77a0052ffb wip 2025-05-13 11:41:41 +03:00
Dmitry Zuykov 9722fa7c01 wip 2025-05-13 10:46:09 +03:00
Dmitry Zuykov aa3d32387d wip, tcq 2025-05-13 10:41:03 +03:00
Dmitry Zuykov 7196fcc54c wip 2025-05-13 07:59:12 +03:00
Dmitry Zuykov bb9df9c25b wip 2025-05-13 07:13:22 +03:00
Dmitry Zuykov efe2a2cda9 wip 2025-05-12 15:18:15 +03:00
Dmitry Zuykov db41293fa2 wip, compiles 2025-05-12 10:56:54 +03:00
Dmitry Zuykov 24a46e1c02 wip, wip 2025-05-12 10:56:54 +03:00
Dmitry Zuykov 03ec08509a wip, remove deleted records log 2025-05-12 10:56:54 +03:00
voidlizard 3dece0d8e3 wip 2025-05-12 10:56:54 +03:00
voidlizard 326989a9fa wip 2025-05-12 10:56:54 +03:00
voidlizard b8b2ed4d14 wip 2025-05-12 10:56:54 +03:00
voidlizard d7dadfed41 wip, only delete once 2025-05-12 10:56:54 +03:00
voidlizard 7597ed2822 wip 2025-05-12 10:56:54 +03:00
voidlizard 569b55d401 wip, ncq storage 2025-05-12 10:56:54 +03:00
voidlizard 9a0ab0e024 urgent fix download bug 2025-02-16 05:44:38 +03:00
voidlizard 778b6b9d06 init 2025-02-15 20:55:28 +03:00
voidlizard a54fcb6ade wip 2025-02-13 12:47:11 +03:00
voidlizard 274fefc84d some scripts added 2025-02-13 07:51:09 +03:00
voidlizard 79e850ebe2 fixed? git clone and clone test 2025-02-12 14:10:40 +03:00
voidlizard 513e2deef8 simple-test 2025-02-12 13:51:59 +03:00
voidlizard 9bdede5643 wtf 2024-12-06 09:09:03 +03:00
voidlizard 02a9c24302 wip10, missed stuff 2024-12-04 13:42:59 +03:00
voidlizard 5ee4c3630a wip 2024-12-04 13:42:59 +03:00
voidlizard 43eb9abb7e merged 2024-12-04 13:42:58 +03:00
voidlizard 82b3106ca6 fixed-messaging-and-basic-probes 2024-12-04 13:42:58 +03:00
voidlizard 2abfbb0fb4 fixed Unix.hs 2024-12-04 13:42:58 +03:00
Snail a70988c379 TestWalkMerkleConditional 2024-11-26 08:14:43 +03:00
Snail e29b15f90c Test walkMerkle, walkMerkleV2, streamMerkle 2024-10-05 06:07:16 +03:00
Dmitry Zuikov c240b8ad9e fixme-new 2024-09-25 11:19:41 +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 da6bb6bcb4 0.24.1 2024-03-20 08:17:22 +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 62eb5ca49f fixed UuoMCa4gxd 2024-01-28 06:49:18 +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 f3a4082099 new encryption format 2023-12-01 10:59:07 +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 88df87a1d5 test-notify moved to hbs2-tests 2023-10-31 07:58:04 +03:00
Dmitry Zuikov 41ace9c87b Notify protocol 2023-10-31 07:33:29 +03:00
Dmitry Zuikov c44a6b997b new protocol encryption + minor tuning 2023-10-25 09:01:23 +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 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 eb449383a2 test-proto-service as test 2023-10-03 03:40:17 +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
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 c52be7cf5e merged PR 8ey8Fnr4c4 remove-lref-commands 2023-07-27 10:00:01 +03:00
Dmitry Zuikov 9c8c58766b PR CGPnKdSirc hbs2-suckless-conf-update 2023-07-25 10:49:44 +03:00
Dmitry Zuikov 970502796b merged PR 41MJ5i2NdR hbs2-peer-raw-tx-api
Squashed commit of the following:

commit d3fcc52a294adef00de6fa9a0581e37c95bc96ef
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Fri Jul 7 18:47:10 2023 +0300

    API handler for posting raw txs

commit 1fce9bceeefbabdc665e60a823a98d91151dbda6
Author: Vladimir Krutkin <krutkinvs@gmail.com>
Date:   Tue Jul 4 18:14:53 2023 +0300

    fixme
2023-07-12 10:52:59 +03:00
Dmitry Zuikov 3681fd7bee hbs2-git-log-segmentation 2023-06-29 10:26:27 +03:00
Dmitry Zuikov 66ac8cee18 misc-async-management-approach 2023-05-26 07:05:51 +03:00
Dmitry Zuikov e9a552d78a introducing resourcet 2023-05-26 07:05:51 +03:00
Dmitry Zuikov 453b7fd822 introducing resourcet 2023-05-26 07:05:51 +03:00
Dmitry Zuikov 4424466c84 tcp 2023-04-13 19:02:25 +03:00
Dmitry Zuikov 9b7c22414b fixed BCXLsnhgWC reliable-storage-write 2023-03-28 11:25:19 +03:00
Dmitry Zuikov 6d7e587a24 hbs-git alpha 2023-03-23 20:48:44 +03:00
Dmitry Zuikov 124ad73b1f fixed FHMMGPm8Kh hbs2-create-acb 2023-02-17 13:35:21 +03:00
Dmitry Zuikov 9377bf14f0 testing 4MmfVifgBS 2023-02-13 11:37:58 +03:00
Dmitry Zuikov b44f83e6f7 simple saltine tests 2023-02-11 10:21:11 +03:00
Dmitry Zuikov 6fe20ab1a8 ghc 9.2.4 / latest nixpkgs 2023-02-09 11:44:43 +03:00
Dmitry Zuikov 1f36cc82a0 lesser memory footprint 2023-02-06 12:19:18 +03:00
Dmitry Zuikov a3fcd26ea1 logger fixed 2023-02-03 12:27:55 +03:00
Dmitry Zuikov 41da76483c peer announces and basic logging 2023-02-03 09:44:01 +03:00
Dmitry Zuikov 4851f4b0dd peer credentials 2023-02-02 15:05:06 +03:00
Dmitry Zuikov ceba76ddc4 compiles 2023-01-28 09:39:36 +03:00
Dmitry Zuikov 8efd981ffd wip 2023-01-28 07:26:41 +03:00
Dmitry Zuikov 245d9451ea wip 2023-01-28 07:23:57 +03:00
Dmitry Zuikov 56a60b2251 limits lowered 2023-01-28 06:55:34 +03:00
Dmitry Zuikov a8084d1ae3 survived 1.2G 2023-01-28 06:03:19 +03:00
Dmitry Zuikov 4c0f96342d wip 2023-01-27 13:20:44 +03:00
Dmitry Zuikov ab3d22747d wip 2023-01-27 12:46:35 +03:00
Dmitry Zuikov 2525f1abb0 ... 2023-01-27 11:24:53 +03:00
Dmitry Zuikov 2f4bfe1cfb little bit better 2023-01-27 11:07:38 +03:00
Dmitry Zuikov c2af04b79f wip 2023-01-27 10:37:45 +03:00
Dmitry Zuikov 36b9eb090a wip 2023-01-27 10:06:11 +03:00
Dmitry Zuikov d1c8972b09 wip 2023-01-27 09:44:46 +03:00
Dmitry Zuikov 93b7164f8c faster writer 2023-01-27 09:20:23 +03:00
Dmitry Zuikov d046ae0bc7 faster writer 2023-01-27 09:18:50 +03:00
Dmitry Zuikov 8c5615d8ae proper chunk writer test 2023-01-27 07:59:12 +03:00
Dmitry Zuikov ebaa2d7f74 weird 2023-01-27 07:53:22 +03:00
Dmitry Zuikov eaa2c41827 removed bytestring pinning from Peer 2023-01-27 07:04:54 +03:00
Dmitry Zuikov d19777660c Cache -> HashMap in Messaging.Fake 2023-01-26 19:50:03 +03:00
Dmitry Zuikov 9dfa09c462 LICENSE 2023-01-26 18:24:12 +03:00
Dmitry Zuikov 477a1e22b5 LICENSE 2023-01-26 18:15:32 +03:00
Dmitry Zuikov c50b91ff47 better, but wtf 2023-01-26 17:38:57 +03:00
Dmitry Zuikov f528b5d888 wip 2023-01-26 15:57:10 +03:00
Dmitry Zuikov ceb03a558a wtf 2023-01-26 15:41:36 +03:00
Dmitry Zuikov 8a2d153914 fucking fuck 2023-01-26 13:26:37 +03:00
Dmitry Zuikov 5c46d7cec0 works-but-slow 2023-01-26 11:41:00 +03:00
Dmitry Zuikov 6fee1ef8c1 better, but wtf 2023-01-26 10:36:10 +03:00
Dmitry Zuikov 5c4fbca977 wip 2023-01-26 08:54:41 +03:00
Dmitry Zuikov e7ce36591a wip 2023-01-26 08:31:23 +03:00
Dmitry Zuikov 25f857f889 wip 2023-01-25 13:37:10 +03:00
Dmitry Zuikov f0c4756b11 wip 2023-01-25 13:14:31 +03:00
Dmitry Zuikov b29d17aa4a wip 2023-01-25 13:07:22 +03:00
Dmitry Zuikov 5197c2fa2b file corruption during concurrent writes 2023-01-25 10:15:00 +03:00
Dmitry Zuikov 6133c1cb2f wtf 2023-01-25 08:48:36 +03:00
Dmitry Zuikov aa739d64e7 blocks per second measurements 2023-01-25 08:11:41 +03:00
Dmitry Zuikov 3511003e66 wip 2023-01-25 05:26:16 +03:00
Dmitry Zuikov e2f06f0757 wip 2023-01-24 20:38:47 +03:00
Dmitry Zuikov 8782318d8f wip 2023-01-24 18:19:00 +03:00
Dmitry Zuikov a3924fb4a3 tests 2023-01-24 18:17:36 +03:00
Dmitry Zuikov c2a2473eb1 works 2023-01-24 15:51:34 +03:00
Dmitry Zuikov aff86cf2b3 wip 2023-01-24 14:37:10 +03:00
Dmitry Zuikov 3d03d1ce0f wip 2023-01-24 13:32:41 +03:00
Dmitry Zuikov e63441b289 wip 2023-01-24 13:20:33 +03:00
Dmitry Zuikov 07937ce32b wip 2023-01-24 13:15:32 +03:00
Dmitry Zuikov 6a4503e4a3 wip 2023-01-24 11:47:30 +03:00
Dmitry Zuikov eef460c439 wip. now looks working, but still slow 2023-01-24 11:36:01 +03:00
Dmitry Zuikov 3f6e483299 wip 2023-01-24 11:01:34 +03:00
Dmitry Zuikov c56400a6b0 wip 2023-01-24 07:39:45 +03:00
Dmitry Zuikov defa1540e5 wip 2023-01-24 07:14:33 +03:00
Dmitry Zuikov 8b1e3fbbfd works on 10m per peer, explodes on 40m 2023-01-24 07:13:14 +03:00
Dmitry Zuikov 2d06149e25 better 2023-01-23 10:13:48 +03:00
Dmitry Zuikov fe27c56c35 super slow 2023-01-23 07:16:09 +03:00
Dmitry Zuikov 7c51ab4e85 SLOW 2023-01-22 22:32:08 +03:00
Dmitry Zuikov 762fc12de9 detecting data && deferred emit 2023-01-22 21:03:21 +03:00
Dmitry Zuikov 9985ec68de wip 2023-01-22 20:40:53 +03:00
Dmitry Zuikov 7bac05bfd5 checking if block is here 2023-01-22 18:56:19 +03:00
Dmitry Zuikov 76e977327f proto block announces. it works! 2023-01-22 18:25:04 +03:00
Dmitry Zuikov 264314e255 proto peer locator 2023-01-22 16:02:53 +03:00
Dmitry Zuikov de97258fe1 wip 2023-01-22 15:38:46 +03:00
Dmitry Zuikov 6c0aef1e25 good. 2023-01-22 14:53:15 +03:00