Commit Graph

485 Commits

Author SHA1 Message Date
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
Dmitry Zuikov 39c0ca71cc wip, polling function 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 476ecddb6d wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e68ee36429 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 72d0c8222c wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 82aa6576b5 wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 208a2a0644 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 04a274f7cc wip, dump refchan head block 2023-07-25 12:27:43 +03:00
Dmitry Zuikov b2249c15f5 wip, refchans 2023-07-25 12:27:13 +03:00
Dmitry Zuikov 973873b340 wip, refchans 2023-07-25 12:27:13 +03:00
Dmitry Zuikov 66d147e3f5 wip, refchans 2023-07-25 12:27:13 +03:00
Dmitry Zuikov 0f1880ff53 wip, refchans 2023-07-25 12:27:13 +03:00
Dmitry Zuikov bcd24078b3 wip, refchans 2023-07-25 12:27:13 +03:00
Dmitry Zuikov 9c8c58766b PR CGPnKdSirc hbs2-suckless-conf-update 2023-07-25 10:49:44 +03:00
Sergey Ivanov 03ccf9b088 Drop unused imports in EncryptionHandshake 2023-07-19 05:39:28 +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 d8b1937b78 Fix newPeerEnv: add _envEncryptionKeys 2023-07-19 00:15:12 +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 c2c1dd84a0 _envEncryptionKeys :: Map -> HashMap 2023-07-18 22:11:51 +04:00
Sergey Ivanov 9bad166566 Move types 2023-07-18 21:43:35 +04:00
Sergey Ivanov 5a8f1cef8b emit PeerExpiredEventKey (PeerExpiredEvent @e p mpeerData) 2023-07-18 19:56:39 +04:00
Sergey Ivanov 563377c855 emit PeerExpiredEventKey (PeerExpiredEvent @e p) 2023-07-18 19:37:02 +04:00
Sergey Ivanov 792d627870 drop: instance Hashable (EventKey e (EncryptionHandshake e)) 2023-07-13 00:36:50 +04:00
Sergey Ivanov 5b5c9bd909 Drop EENonce from EncryptionHandshake 2023-07-13 00:32:41 +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
Dmitry Zuikov 01982d37c1 Squashed commit of the following:
commit cc3d5a357eee5c0e01f530808f8122f83b5103a2
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Tue Jul 4 15:29:09 2023 +0300

    fixme

commit abae50a7895fdfc70e3a9204288a1af1a00f1c77
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jul 3 20:05:08 2023 +0400

    encryption debug -> traces

commit e8cab85da295ad81896726bf41f118bc2eb6e79e
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jul 3 00:21:34 2023 +0400

    bus encryption fixed

commit cbb3e796b0d919d6d425a5d8c669cfce2ed02182
Merge: a740db8 55cdf97
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sat Jul 1 23:17:52 2023 +0400

    Merge branch 'master' into iv/bus-crypt

commit a740db82351dcbc40604413df9af210212e1cbc1
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 21 16:08:05 2023 +0400

    drop one traceShowId uasge

commit 82de8d8c675cf21e732dc8db9b64139c7c2407ad
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 21 13:33:34 2023 +0400

    Edit README.md fix typo

commit ec4dc7733215f19009da9334b82fd568e16eb143
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 21 13:32:54 2023 +0400

    Rename deserialiseTrace -> deserialiseCustom

commit 863394449798d8c534c58dc2d69add3e5a807e56
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 15 05:37:52 2023 +0400

    PR bus-crypt

commit 78dd65959906944935f99371ee973fc6c2c659b9
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 15 05:33:13 2023 +0400

    Drop unused lines

commit 9736077a96061c62e928b657e7c7558f9172636c
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 15 05:24:33 2023 +0400

    Encryption works

commit c69aede965242281b525c088e1f27708a6741651
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 14 20:52:48 2023 +0400

    wip

commit 88fc2aac5b4fc1d452e74bf99213a57dad09b1c3
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 14 15:52:32 2023 +0400

    Test roundtrip combineNonceBS/extractNonce

commit 2d2f6945f4c917347c8f30e195764e2b0837fb25
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue Jun 13 14:08:56 2023 +0400

    wip

commit 31466fd036d74d8c4b769c7ffb0fa9dfda03eb26
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue Jun 13 10:03:15 2023 +0400

    trace locked requests

commit 85eb68a6747fb307c07fb0fcf681118250b37fab
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jun 12 20:02:32 2023 +0400

    added Show instances

commit 74383bd7db9dd6838b4d026a3997c5c5b4799fa4
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jun 12 09:56:14 2023 +0400

    DEBUG

commit d62b30dbcdae6584f78cc2b6d8a801ff46cfdfa8
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sun Jun 11 18:28:49 2023 +0400

    wip

commit 78b3f24ae1c4b632756f3a28873f4d03bbaa1330
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sun Jun 11 08:45:58 2023 +0400

    trace encrypted receiveing

commit 93e2b9f7a7c2b579e5e46b6329a6509b8e5119de
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sat Jun 10 16:57:59 2023 +0400

    wip

commit 4686274d0fb401b722fca10ec0c2dbee00a4c68a
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Fri Jun 9 23:38:56 2023 +0400

    Use PeerDataExt

commit 0c24c2702b47db262fa086efb6cff108b8ce28e8
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 8 03:04:39 2023 +0400

    Encrypted Handshake

commit 789536f20bc4f95320d2a4779a4a5b06d52b98f2
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 7 00:56:34 2023 +0400

    Fixed fillPeerMeta timeout algorithm

commit d52ac19777ba1c47f1123c5452309da4391ca21f
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Fri Jun 2 01:50:17 2023 +0400

    wip

commit ea6833f812f9f137880229547622a3cf1ae55222
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue May 30 22:14:25 2023 +0400

    wip

commit 4ffdfc60ccc5c053da2d81ea16847f25f14c6220
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sat May 27 21:42:01 2023 +0400

    Symmetrical encryption in ProxyMessaging

commit 7cd1214e9e00901fcd3d9e2966348dd800ab4119
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Fri May 26 15:03:43 2023 +0400

    pex monitor
2023-07-04 15:29:54 +03:00
Dmitry Zuikov 55cdf976da tcp minor fix + fixme 2023-07-01 06:17:12 +03:00
Dmitry Zuikov 1c5a90984f fixing tcp pex 2023-06-30 13:43:53 +03:00
Dmitry Zuikov 27b8fb9f40 trying to close tcp stuff on respawn 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 b0a25f6640 minor review 2023-05-26 07:05:51 +03:00
Sergey Ivanov fbed52c921 wip 2023-05-26 07:05:50 +03:00
Sergey Ivanov 78bb0c45c1 wip 2023-05-26 07:05:50 +03:00
Sergey Ivanov 829c7378fd wip 2023-05-26 07:05:50 +03:00
Sergey Ivanov 382cb2c9fc wip tcp-pex 2023-05-26 07:05:50 +03:00
Sergey Ivanov efc48d1c34 Added listen-tcp to PeerMeta 2023-04-14 14:31:11 +04:00
Dmitry Zuikov ed47e18d24 done oYxxWDF4nX-seems-like-a-bad-idea 2023-04-14 09:07:19 +03:00
Dmitry Zuikov 4424466c84 tcp 2023-04-13 19:02:25 +03:00
Dmitry Zuikov 731f9c8209 merged CzgtqSWJQN
Squashed commit of the following:

commit f392c62836977b635f440437cf53859c891aa8c4
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Apr 13 18:18:24 2023 +0400

    Fixes by review

commit 9a805fcb587071f88c68d85c3b85c81daa6ddeea
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Thu Apr 13 07:09:47 2023 +0300

    review

commit 8062035ceb1eb99f570df9c275aa875d5bf2a089
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Apr 12 17:51:21 2023 +0400

    Tune updatePeerHttpAddrs

commit cd5423d10be5359869b5399fec3470bc1902934d
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Apr 12 02:03:23 2023 +0400

    Update PR implement-http-block-download-worker

commit c1b32d9b7d4ad46f1924bf340374d64c29cefb67
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Apr 12 01:58:45 2023 +0400

    Fixed blockHttpDownloadLoop

commit 8eaa3e3d84e2611f3781db471c59d8591ace9b68
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Apr 3 01:42:01 2023 +0400

    http block download worker

commit 32f7ae80e15c1ff71f1a33359b34c0728b19b4ef
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Mar 27 19:21:21 2023 +0400

    modified:   .fixme/log
2023-04-13 18:36:29 +03:00
Dmitry Zuikov cbb084f5d9 chunk-calculation-fix 2023-04-11 18:54:34 +03:00
Dmitry Zuikov 1c8f6b978b merged refactor-crypto-remove-l4-protocol-dependency 2023-04-06 09:22:45 +03:00
Dmitry Zuikov 7ed6116c45 new-udp-download-sequence 2023-04-05 08:59:23 +03:00
Dmitry Zuikov f035827731 fixed 6kx1sdj7ej 2023-04-05 05:04:13 +03:00
Dmitry Zuikov 098a748e7e udp-download-fix 2023-04-03 11:25:54 +03:00
Dmitry Zuikov fd7b0e31d5 ping rtt measurement 2023-04-02 12:57:52 +03:00
Dmitry Zuikov 60e420f668 fixme 2023-04-02 11:49:28 +03:00
Dmitry Zuikov d89e6d0ec5 fix proxy-fetch-for 2023-04-01 12:16:02 +03:00
Dmitry Zuikov f27cfbfabb rtt 2023-04-01 10:36:56 +03:00
Dmitry Zuikov 56c0ac4bc1 better-download-algorithm 2023-04-01 09:30:28 +03:00
Dmitry Zuikov 3f47cd102c quickfix 2023-03-30 08:44:42 +03:00
Dmitry Zuikov e10fae26db block-download-fix 2023-03-29 16:32:27 +03:00
Dmitry Zuikov 153139d90b wip 2023-03-29 10:19:41 +03:00
Dmitry Zuikov 2b71b27dca wip 2023-03-29 09:59:53 +03:00
Dmitry Zuikov 2743d0131d devlog and timeouts 2023-03-29 08:47:06 +03:00
Dmitry Zuikov 4ccb58f8c0 9Y2v3fXdhz lesser-ping-period 2023-03-28 12:03:20 +03:00
Dmitry Zuikov 9b7c22414b fixed BCXLsnhgWC reliable-storage-write 2023-03-28 11:25:19 +03:00
Dmitry Zuikov e2d17322ed accepted 6Dpwned28fg ettime-non-linux 2023-03-27 19:51:20 +03:00
Dmitry Zuikov 6d7e587a24 hbs-git alpha 2023-03-23 20:48:44 +03:00
Sergey Ivanov b7f8c51b0c
Mutable linear references (#3)
* wip

* wip
2023-03-04 16:21:57 +03:00
Dmitry Zuikov fad91d4334 e5bd-download-stuck-on-big-volumes 2023-02-27 09:00:12 +03:00
Dmitry Zuikov 72549d01de wip 2023-02-26 18:38:10 +03:00
Dmitry Zuikov c8109d1c61 fix 2023-02-26 16:22:16 +03:00
Dmitry Zuikov 5b9c1a301d minor fix 2023-02-26 14:49:37 +03:00
Dmitry Zuikov 179a0b49a3 smarter-block-download 2023-02-26 13:39:35 +03:00
Dmitry Zuikov e2ca7d3a2f fixed (?) fetch speed degradation 2023-02-25 13:17:51 +03:00
Dmitry Zuikov 0ce52cc4ba verbose-debug-log 2023-02-25 09:16:28 +03:00
Dmitry Zuikov d7c93c8d3e faster-download-log-append 2023-02-25 07:27:08 +03:00
Dmitry Zuikov 3b569777bc optional-rpc-parameter 2023-02-25 06:18:33 +03:00
Dmitry Zuikov 962afec828 devlog+fixme+minor-change 2023-02-24 09:54:22 +03:00
Dmitry Zuikov 82b50a193a better block postpone algorithm 2023-02-24 09:32:23 +03:00
Dmitry Zuikov 12231d2e4d fixed BZjzN7BjQ4 dns-bootstrap 2023-02-23 06:54:10 +03:00
Dmitry Zuikov 819ac05397 new download 2023-02-22 12:39:04 +03:00
Dmitry Zuikov f22410ba81 q only 2023-02-20 11:26:21 +03:00
Dmitry Zuikov 7efa5edbb7 fixed FHMMGPm8Kh hbs2-create-acb 2023-02-17 13:46:08 +03:00
Dmitry Zuikov 124ad73b1f fixed FHMMGPm8Kh hbs2-create-acb 2023-02-17 13:35:21 +03:00
Sergey Ivanov 809a78e49a
groupkey without secret (#2) 2023-02-17 07:27:17 +03:00
Dmitry Zuikov e63004882d wip HEsUhP3CJN 2023-02-16 13:10:32 +03:00
Sergey Ivanov eb43510f23
Draft merkle wrapper for encryption (#1)
* Draft merkle wrapper for encryption

* wip encryption

* encryption to check

* Fixes by comments

* Drop keyring, pubkey opts from store command

* Fix wrong deserialise call

* Edit README.md. Add example of store encrypted file

* minor issues found

---------

Co-authored-by: Dmitry Zuikov <dzuikov@gmail.com>
2023-02-16 08:49:40 +03:00
Dmitry Zuikov 3e97699775 fixing consequences of the prev. minor fix 2023-02-13 12:01:55 +03:00
Dmitry Zuikov d9e5046a6a minor fix 2023-02-13 11:59:32 +03:00
Dmitry Zuikov 9377bf14f0 testing 4MmfVifgBS 2023-02-13 11:37:58 +03:00
Dmitry Zuikov ec5a0fb10b fixed F7whmzJkZX busyloop-postponed
limited min. period of the same messages.

i.e. message flood is still possible for protocols
with nonces and so on.
2023-02-13 08:21:13 +03:00
Dmitry Zuikov 2c7c09a838 peer-config, peer-blacklist, peer-accept-announce 2023-02-12 14:55:25 +03:00
Dmitry Zuikov 51c1c77151 block-download-fixed 2023-02-12 14:13:47 +03:00
Dmitry Zuikov 6fe20ab1a8 ghc 9.2.4 / latest nixpkgs 2023-02-09 11:44:43 +03:00
Dmitry Zuikov 830bcf30a6 basic-keyring-maagement 2023-02-09 09:27:52 +03:00
Dmitry Zuikov 887ff91b80 wip 2023-02-09 07:43:00 +03:00
Dmitry Zuikov 50775b4f91 frequency limit for requests
and some code moving
2023-02-07 08:13:46 +03:00
Dmitry Zuikov 1f36cc82a0 lesser memory footprint 2023-02-06 12:19:18 +03:00
Dmitry Zuikov 61a44eb544 basic PEX
has glitches; it's needed to determine when same
peer shows up under different address (like in case of
NAT)
2023-02-06 11:24:07 +03:00
Dmitry Zuikov a819bc82f1 increased peer announce period 2023-02-06 05:53:34 +03:00
Dmitry Zuikov b04fafa158 increased peer announce period 2023-02-06 05:52:43 +03:00
Dmitry Zuikov 775aebcb13 check peer nonce, dont download from unknown peer 2023-02-06 05:49:07 +03:00
Dmitry Zuikov 4ab83f0517 missed entry in flake.nix 2023-02-05 15:10:25 +03:00
Dmitry Zuikov 5bc1893377 fixed big blocks downloading bug 2023-02-05 07:24:55 +03:00
Dmitry Zuikov 668e2db8a5 burst calculation fixed...
... but we need a real conjestion control algorithm
on level of Messaging.

New Reno or Vegas, whatever.
2023-02-04 16:25:20 +03:00
Dmitry Zuikov 83f5f2a496 fixed issue with peer expiring 2023-02-04 15:53:02 +03:00
Dmitry Zuikov d5d7c6fbb7 added peer ping loop to remove inactive peers 2023-02-04 14:11:05 +03:00
Dmitry Zuikov fbf8bd27fb rpc ping right way 2023-02-04 13:14:19 +03:00
Dmitry Zuikov b9d2adac3d dynamic burst management. makes downloading better
commit 7781e1df1dd258fabfb5d6dd2f9748f4c4d5985a
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Sat Feb 4 11:14:55 2023 +0300

    burst tune

commit 4e837691a5bd7fcda1d0bc8b89c5a377aa18ae30
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Sat Feb 4 11:06:09 2023 +0300

    dynamic-burst-management-wip

commit 575ba7bb6a8952ad79021420c488ffd4ef84f413
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Sat Feb 4 11:01:14 2023 +0300

    dynamic-burst-management-wip

commit 5517df31d790c130e65cf6eb0049dabdd3d627da
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Sat Feb 4 10:18:53 2023 +0300

    dynamic-burst-management-wip

commit 4c5c0b580d9a8c81e4133cc61a15d42b737e2b3c
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Sat Feb 4 09:29:45 2023 +0300

    wip

commit 0132b55be40939e321dc9adc8f4f6176c98c46dc
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Sat Feb 4 09:14:47 2023 +0300

    wip

commit 0bb90781e857076bb20a2e34da8f7edaa63f7815
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Fri Feb 3 14:50:49 2023 +0300

    wip

commit 67befe2af5f7c4139eee5f018a26b78e95aa6cb3
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Fri Feb 3 13:51:57 2023 +0300

    wip

commit d6d5769e032245a130dd4508a2780654b046dceb
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Fri Feb 3 12:48:49 2023 +0300

    wip

commit c78bb51f10c14bea483bfa235aa464d6b857263d
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Fri Feb 3 12:46:03 2023 +0300

    wip
2023-02-04 11:15:56 +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 16cdf223af peers handshake somehow works 2023-02-02 19:08:16 +03:00
Dmitry Zuikov 58622b6326 wip 2023-02-02 17:08:39 +03:00
Dmitry Zuikov 4851f4b0dd peer credentials 2023-02-02 15:05:06 +03:00
Dmitry Zuikov 75d34f18d7 wip 2023-01-28 10:05:34 +03:00
Dmitry Zuikov ceba76ddc4 compiles 2023-01-28 09:39:36 +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 4c0f96342d wip 2023-01-27 13:20:44 +03:00
Dmitry Zuikov ab3d22747d wip 2023-01-27 12:46:35 +03:00
Dmitry Zuikov 2f4bfe1cfb little bit better 2023-01-27 11:07:38 +03:00
Dmitry Zuikov d1c8972b09 wip 2023-01-27 09:44:46 +03:00
Dmitry Zuikov 784ac22b0e intmap writer 2023-01-27 09:26:03 +03:00
Dmitry Zuikov d046ae0bc7 faster writer 2023-01-27 09:18:50 +03:00
Dmitry Zuikov 0ecd0bf437 weird 2023-01-27 07:30:58 +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 e390cc8c5d works-but-slow 2023-01-26 11:44:40 +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 38a000b2b6 better 2023-01-26 10:03:35 +03:00
Dmitry Zuikov 817dd9349a better 2023-01-26 10:00:26 +03:00
Dmitry Zuikov 81eae775bc error: file locked 2023-01-26 09:10:36 +03:00
Dmitry Zuikov e7ce36591a wip 2023-01-26 08:31:23 +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 bcb799f7e3 wip 2023-01-25 05:43:43 +03:00
Dmitry Zuikov 3511003e66 wip 2023-01-25 05:26:16 +03:00
Dmitry Zuikov 21d0828a52 speedup 2023-01-24 17:45:19 +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 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 eb452c06f5 wip 2023-01-24 09:47: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 b0bfe75e1f wip 2023-01-22 13:06:20 +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 881b60d6ea wip 2023-01-21 16:27:39 +03:00
Dmitry Zuikov af1009e194 wtf? 2023-01-21 16:09:13 +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 5cc1ea7a49 wip 2023-01-21 07:48:00 +03:00
Dmitry Zuikov ada3542ec6 wip 2023-01-20 21:05:57 +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 42ed4573b2 session reworking wip 2023-01-19 07:36:54 +03:00
Dmitry Zuikov 630cacc960 block receiving fsm 2023-01-18 20:04:26 +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 4256a3663f wip 2023-01-18 17:42:30 +03:00
Dmitry Zuikov d338c5c37a wip 2023-01-18 17:42:17 +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 41d5a9b21c wip 2023-01-18 07:41:34 +03:00
Dmitry Zuikov 23fe095d38 wip 2023-01-18 07:40:25 +03:00
Dmitry Zuikov 6e67d1d0ae ResponseM monad 2023-01-18 07:16:59 +03:00
Dmitry Zuikov d76aef7eca wip 2023-01-18 05:53:29 +03:00