Commit Graph

317 Commits

Author SHA1 Message Date
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
Dmitry Zuikov 9a497efea4 okay... 2023-01-22 14:51:30 +03:00
Dmitry Zuikov 1893123ccb wtf? 2023-01-22 14:19:14 +03:00
Dmitry Zuikov 069bc1ef28 debugging 2023-01-22 13:11:33 +03:00
Dmitry Zuikov 8bc8ddf564 wip 2023-01-22 13:05:26 +03:00
Dmitry Zuikov 7e4914b73e wip 2023-01-22 13:03:35 +03:00
Dmitry Zuikov 717f24deab wip 2023-01-22 13:02:21 +03:00
Dmitry Zuikov 8492b41087 wip 2023-01-22 10:39:12 +03:00
Dmitry Zuikov 0c32275176 wip 2023-01-22 10:14:27 +03:00
Dmitry Zuikov f9748ed1fc wip 2023-01-22 09:20:47 +03:00
Dmitry Zuikov 0f458134d3 basic events work 2023-01-22 07:39:31 +03:00
Dmitry Zuikov e0efd2ac1d wip 2023-01-22 06:06:26 +03:00
Dmitry Zuikov fc65aa8656 wip 2023-01-21 16:28:23 +03:00
Dmitry Zuikov 881b60d6ea wip 2023-01-21 16:27:39 +03:00
Dmitry Zuikov 1bdf9e58ae wtf 2023-01-21 16:00:26 +03:00
Dmitry Zuikov d5ea301ffc wip 2023-01-21 15:24:53 +03:00
Dmitry Zuikov 76579675b6 wip 2023-01-21 14:41:26 +03:00
Dmitry Zuikov 31c49e2169 wip 2023-01-21 12:37:48 +03:00
Dmitry Zuikov 5cb889dcc8 wip 2023-01-21 11:21:52 +03:00
Dmitry Zuikov f147ae962a wip 2023-01-21 10:57:01 +03:00
Dmitry Zuikov d3dcdbb186 wip 2023-01-21 09:31:37 +03:00
Dmitry Zuikov 6b1db9529d wip 2023-01-21 08:31:12 +03:00
Dmitry Zuikov 61bb4adf3e wip 2023-01-21 08:21:08 +03:00
Dmitry Zuikov 5cc1ea7a49 wip 2023-01-21 07:48:00 +03:00
Dmitry Zuikov 7cd6afd165 wip 2023-01-21 06:01:38 +03:00
Dmitry Zuikov 234dd8bde0 todo 2023-01-20 22:07:57 +03:00
Dmitry Zuikov ada3542ec6 wip 2023-01-20 21:05:57 +03:00
Dmitry Zuikov f25693a826 crazy shit heads blown 2023-01-20 20:06:23 +03:00
Dmitry Zuikov 5d3d60778d gonna-fuckup 2023-01-20 19:09:11 +03:00
Dmitry Zuikov ec417fe3ef wip 2023-01-20 15:41:27 +03:00
Dmitry Zuikov 2b223644a4 wip 2023-01-20 09:14:24 +03:00
Dmitry Zuikov 9452e4e5b2 WTF-MTF 2023-01-20 08:42:54 +03:00
Dmitry Zuikov cea8a22e1b wip 2023-01-20 07:10:12 +03:00
Dmitry Zuikov f1d9513ad5 wip 2023-01-20 06:48:00 +03:00
Dmitry Zuikov e752075eed generarting some sort of cookie 2023-01-19 10:27:22 +03:00
Dmitry Zuikov adcfbf5be2 wip 2023-01-19 09:42:15 +03:00
Dmitry Zuikov a58193eb96 session reworking wip 2023-01-19 08:31:57 +03:00
Dmitry Zuikov eaec1a862a session reworking wip 2023-01-19 07:46:58 +03:00
Dmitry Zuikov 42ed4573b2 session reworking wip 2023-01-19 07:36:54 +03:00
Dmitry Zuikov 66d62127a1 session reworking wip 2023-01-19 07:11:53 +03:00
Dmitry Zuikov c63c771120 wip 2023-01-18 20:18:09 +03:00
Dmitry Zuikov ba4f02c25b block receiving fsm 2023-01-18 20:06:43 +03:00
Dmitry Zuikov 630cacc960 block receiving fsm 2023-01-18 20:04:26 +03:00
Dmitry Zuikov 0ebebc4c87 wip 2023-01-18 19:30:14 +03:00
Dmitry Zuikov 33052af876 wip 2023-01-18 19:28:33 +03:00
Dmitry Zuikov 0bc07eb912 wip 2023-01-18 18:47:21 +03:00
Dmitry Zuikov d338c5c37a wip 2023-01-18 17:42:17 +03:00
Dmitry Zuikov d3a40299d6 wip 2023-01-18 14:24:06 +03:00
Dmitry Zuikov b8696cc9db wip 2023-01-18 13:44:10 +03:00
Dmitry Zuikov befc44da7e wip 2023-01-18 12:42:49 +03:00
Dmitry Zuikov bcb4887974 wip 2023-01-18 12:34:26 +03:00
Dmitry Zuikov afabbd7b85 compiles 2023-01-18 11:35:27 +03:00
Dmitry Zuikov 5964e79d0b BlockInfo 2023-01-18 07:47:12 +03:00
Dmitry Zuikov 5df9b43a20 wip 2023-01-18 07:39:39 +03:00
Dmitry Zuikov ac39a3f51d ResponseM monad 2023-01-18 07:31:50 +03:00
Dmitry Zuikov 6e67d1d0ae ResponseM monad 2023-01-18 07:16:59 +03:00
Dmitry Zuikov 6021c70aef wip 2023-01-18 06:22:54 +03:00
Dmitry Zuikov 85ad732cfc wip 2023-01-18 06:21:00 +03:00
Dmitry Zuikov d76aef7eca wip 2023-01-18 05:53:29 +03:00
Dmitry Zuikov 37065c62da zzz 2023-01-17 14:49:50 +03:00
Dmitry Zuikov e08ffd653e wtf 2023-01-17 14:41:39 +03:00
Dmitry Zuikov dc44776950 wip 2023-01-17 14:32:51 +03:00
Dmitry Zuikov d5ce8000a1 basic get-block-info 2023-01-17 12:52:49 +03:00
Dmitry Zuikov 57748eb4e9 wip 2023-01-17 12:02:49 +03:00
Dmitry Zuikov 791b1789bd wip 2023-01-17 11:42:34 +03:00
Dmitry Zuikov 85399d9777 wip 2023-01-17 09:10:07 +03:00
Dmitry Zuikov 99252cbdf0 wip 2023-01-17 08:57:41 +03:00
Dmitry Zuikov db7a72a21c wip 2023-01-17 08:38:24 +03:00