Revertron
9bf98214d4
Network optimizations, part 2.
2022-09-06 20:31:01 +02:00
Revertron
74b84f0e65
Network optimizations.
2022-09-06 19:17:04 +02:00
Revertron
a612f73649
Fixed the consensus about expired domains.
2022-09-05 19:12:46 +02:00
Revertron
beb09ed01c
Fixed chatty logging in debug mode.
2022-09-05 19:04:41 +02:00
Revertron
3949bd046b
Fixed stale connections.
2022-09-05 15:35:28 +02:00
Revertron
8cfc48e9c0
Small refactoring and fix LF escape in domain data.
2022-07-26 18:09:37 +02:00
Revertron
c8f68cb857
A lot of optimization for block checks. Will speed up initial sync by about 15-20% of time.
2022-07-25 11:50:08 +02:00
Revertron
cd311f7c9a
Build fix.
2022-07-11 14:51:16 +02:00
Revertron
20054e4be7
Optimized p2p communication. Disabled connections from v0.6.*. Updated dependencies.
2022-07-11 14:44:24 +02:00
Revertron
ef5cef290e
Fixed block-spam over the p2p if there is no consensus.
2022-07-11 02:17:30 +02:00
Revertron
a13c824f7d
Updated dependencies, fixed connection drop for banned nodes.
2022-06-29 19:02:11 +02:00
Fyodor Ustinov
bae5c1826a
code clean in peers.rs
...
peer already removed in close_peer
2022-06-28 09:53:38 +03:00
Revertron
f9fb935264
Fixed ban mechanism, updated dependencies.
2022-06-09 16:57:57 +02:00
Revertron
3e1f93f988
Fixed very chatty logging of network status.
2022-05-12 16:42:05 +02:00
Revertron
5b5943a4aa
Decoupled domain records change from domain renewal.
2022-04-13 13:02:58 +02:00
Revertron
542be0ea54
Fixed #218 .
2022-02-20 15:50:53 +01:00
Revertron
eec8a2d0a6
Updated dependencies.
2022-02-16 22:58:06 +01:00
Revertron
efa3e3f79d
Small p2p optimizations.
2022-01-16 23:39:41 +01:00
Revertron
b8d505da2e
Sped up P2P reconnections after sleep. Ensured successfull peer resolution. Updated dependencies.
2022-01-12 15:56:16 +01:00
Revertron
6ce092f184
Some network refactoring, updated dependencies.
2022-01-02 15:10:33 +01:00
Revertron
c111da6250
Fixed network message reading.
2021-12-25 22:15:35 +01:00
Revertron
797584c516
Fixed multiple clippy warnings.
2021-12-25 18:40:36 +01:00
Revertron
ab742885dd
Optimized logging, fixing #175 .
2021-11-15 17:38:12 +01:00
Revertron
66242464c4
Removed tight restrictions of blocks sync. Sped up initial sync a lot.
2021-10-08 09:15:12 +02:00
Revertron
8facb69c3f
Implemented purging ignored IPs.
2021-06-10 22:31:05 +02:00
Revertron
d513c29cfe
Code reformatting.
2021-06-09 20:36:36 +02:00
Revertron
c8183e0e58
More optimizations for initial blocks sync.
2021-06-06 00:03:53 +02:00
Revertron
e82f0ee9b1
Optimized initial blocks sync.
2021-06-05 01:07:26 +02:00
Revertron
bb1f1acce5
Optimized read of network messages.
2021-06-02 13:12:54 +02:00
Revertron
2f9f71a795
Removed unnecessary manual drops.
2021-05-30 14:48:15 +02:00
Revertron
7cd9a871a5
Better error handling for P2P connections.
2021-05-30 14:43:30 +02:00
Revertron
dbd14e1599
Fixed excess logging.
2021-05-30 02:07:42 +02:00
Revertron
319051edbd
Implemented P2P traffic encryption.
...
Changed serialization format of P2P messages.
Refactored P2P network code.
2021-05-30 00:33:13 +02:00
Revertron
5398410d8d
Made temporary speedup for cold start.
2021-05-25 16:55:59 +02:00
Revertron
88404a635b
Added statistics to main screen.
2021-05-21 23:32:46 +02:00
Revertron
b83f8580dc
Added fork-stuck mitigation.
2021-05-15 12:43:31 +02:00
Revertron
bcb4cc1b6b
Changed behavior on spurious wakeups of p2p connections.
2021-05-10 11:17:03 +02:00
Revertron
92222dd51b
Refactored event bus to lazy_static.
2021-05-10 00:49:01 +02:00
Revertron
f9c1bf1679
Added some tests and text in readme.
2021-05-09 16:58:14 +02:00
Revertron
734529098c
Fixed lagging behind nodes with "better" last block.
2021-05-07 22:14:30 +02:00
Revertron
acf73ce968
Fixed block requests.
2021-05-05 14:53:51 +02:00
Revertron
fe92983945
Added record constraints.
2021-05-05 09:11:23 +02:00
Revertron
bc6d2fbae3
Added second keypair for encryption of domain names.
...
Changed keys file format to include second pair of keys, it will be in TOML now.
Made many adjustments to block and transaction structures.
Changed block serialization to binary format for hashing/mining.
Removed old build dependencies.
2021-05-04 16:47:03 +02:00
Revertron
64f5f1027b
Removed all external zones.
2021-05-02 16:02:14 +02:00
Revertron
9949d13e62
First commit of 0.5.* branch.
2021-05-02 12:55:51 +02:00
Revertron
6d4dfb282f
Added additional material for consensus.
2021-04-29 19:27:45 +02:00
Revertron
f60e42eb2e
Fixed #86 - shuffling domain zones list.
2021-04-27 17:10:05 +02:00
Revertron
5afd9906b3
Added a failsafe mechanism, that will restart all swarm connections if network is stale.
2021-04-26 23:18:00 +02:00
Revertron
7bee4bc61c
Fixes for previous release2.
2021-04-25 00:04:30 +02:00
Revertron
c0e49bbab5
Optimized p2p connections a bit.
2021-04-24 19:02:24 +02:00