Commit Graph

391 Commits

Author SHA1 Message Date
Revertron c199a62a04 Optimized network connections (added write timeouts). 2023-01-30 14:40:59 +01:00
Revertron aa246571a7 Fixed unimportant warning, and changed some constants in DoH client. 2022-11-03 17:55:32 +01:00
Revertron b3d077c2a0 Fixed max-nodes constant, changed by mistake. 2022-11-03 14:48:23 +01:00
Revertron e5657d6802 Reworked DNS-resolver. 2022-11-03 14:46:35 +01:00
Revertron 287e88c7e2 Updated dependencies. 2022-11-03 13:56:17 +01:00
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 a27b6cc75c Fixed block precedence calculation. 2022-07-10 23:07:59 +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 50d83b848a Fixed local timezone setting in logger. 2022-05-12 19:26:23 +02:00
Revertron 27ba7c5710 Fixed signers' calculation once more. 2022-05-12 18:49:54 +02:00
Revertron 3e1f93f988 Fixed very chatty logging of network status. 2022-05-12 16:42:05 +02:00
Revertron 72a39fad33 Small HTML fix. 2022-05-12 16:14:23 +02:00
Revertron 880d75fc53 Fixed logging time format in tests. 2022-05-12 15:54:15 +02:00
Revertron 9ff0d2d8e8 Fixed logging in tests. 2022-05-12 15:35:26 +02:00
Revertron e9aad8905c Updated dependencies. 2022-05-12 15:17:25 +02:00
Revertron 410bc9b7e4 Fixed signers' calculation loop. Fixed block checks. Added trace logging level. Updated dependencies. 2022-05-12 14:50:31 +02:00
Revertron 5b5943a4aa Decoupled domain records change from domain renewal. 2022-04-13 13:02:58 +02:00
la-ninpre e744b95a7e Add support for other BSDs
Tested basic functionality[1] on these systems:
FreeBSD
NetBSD
DragonflyBSD

[1]: by basic functionality I mean syncing the blockchain and resolving
DNS queries.

GUI doesn't work on NetBSD due to different locations of shared
libraries which could be fixed. DragonflyBSD isn't supported by
webview-sys create so GUI doen't work there too. Also DragonflyBSD
isn't supported by `thread-priority` crate, so it is disabled in the
code.
2022-04-13 00:09:11 +03:00
la-ninpre 370db66ce5 Added OpenBSD support 2022-04-09 14:37:05 +03:00
Revertron 594dabcab8 Implemented resolution of domain records through NS-servers. Updated dependencies. 2022-04-01 13:03:32 +02:00
Revertron fe43117a03 Fixed TXT records resolve. 2022-03-10 16:28:22 +01: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
Alex Averyanov ce235c0547 Recheck domain availability on TLD change 2022-02-14 19:22:03 +03: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 63d3593e10 Fixed default AdGuard DNS IP. 2022-01-03 22:08:59 +01:00
Revertron b2aa001dc5 Fixed build warning on linux. 2022-01-03 22:06:41 +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 0e8d39751e Changed the way how DNS-server start error is handled. Now ALFIS starts normally, and the error is shown in GUI. 2021-11-20 16:11:05 +01:00
Revertron ab742885dd Optimized logging, fixing #175. 2021-11-15 17:38:12 +01:00
Revertron e29c58bec3 Fixed logging to file on Windows without console window. 2021-10-25 17:22:50 +02:00
Revertron 3a6932e5b2 Fixed UI start without console window on Windows on Rust 1.56.0. 2021-10-24 16:48:27 +02:00
Revertron 66242464c4 Removed tight restrictions of blocks sync. Sped up initial sync a lot. 2021-10-08 09:15:12 +02:00
Revertron d502b6c890 Added the TLSA DNS record. 2021-10-08 09:14:24 +02:00
Revertron 2f577c6665 Fixed sending domain info with "'" to UI. 2021-09-22 11:52:56 +02:00
Revertron 522a75d511 Added an option to save current node status to file. 2021-09-21 15:25:42 +02:00