Commit Graph

198 Commits

Author SHA1 Message Date
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
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 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 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 e2f06f0757 wip 2023-01-24 20:38:47 +03:00
Dmitry Zuikov 8782318d8f wip 2023-01-24 18:19:00 +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