Revertron
b3d077c2a0
Fixed max-nodes constant, changed by mistake.
2022-11-03 14:48:23 +01:00
Revertron
287e88c7e2
Updated dependencies.
2022-11-03 13:56:17 +01:00
Revertron
a612f73649
Fixed the consensus about expired domains.
2022-09-05 19:12:46 +02:00
Revertron
f9fb935264
Fixed ban mechanism, updated dependencies.
2022-06-09 16:57:57 +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
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
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
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
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
319051edbd
Implemented P2P traffic encryption.
...
Changed serialization format of P2P messages.
Refactored P2P network code.
2021-05-30 00:33:13 +02:00
Revertron
a9f2193fce
Implemented resolve of PTR records.
2021-05-16 16:05:22 +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
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
c3576d62d8
Removed old constants.
2021-05-02 20:46:27 +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
f5423f8463
Added Limited Confidence to work with forks.
2021-04-30 12:27:24 +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
fcb920e0de
Refactored Chain a lot to make it possible to test.
...
Added a CPU hard test for Chain, checking all current DB.
Added an option to config file to set a count of checked top blocks on start.
2021-04-26 21:49:01 +02:00
Revertron
6c5e374408
Fixes for previous release.
2021-04-24 23:32:08 +02:00
Revertron
c0e49bbab5
Optimized p2p connections a bit.
2021-04-24 19:02:24 +02:00
Revertron
640e2a0619
Fixed ping processing.
...
Changed the limit of active connections from 10 to 15.
2021-04-23 21:22:22 +02:00
Revertron
520f485899
Optimized p2p connections.
...
Added a limit for 10 active connections to save bandwidth and CPU.
2021-04-23 13:20:26 +02:00
Revertron
04491e8558
Added environment variable ALFIS_DEBUG to set ALFIS to always run in debug mode.
2021-04-21 17:05:07 +02:00
Revertron
04ef49764a
Optimized signing blocks scheduler.
2021-04-19 21:19:00 +02:00
Revertron
f16a95f51e
Added new option -l to write log messages to file. Changed old -l flag to -b.
2021-04-17 16:45:49 +02:00
Revertron
6c3135d1e3
Updated consensus code.
2021-04-14 14:09:41 +02:00
Revertron
536515519a
Refactored the work with signing blocks.
2021-04-13 18:49:26 +02:00
Revertron
f671de3746
Added some checks for "Yggdrasil only" zones.
2021-04-10 20:02:51 +02:00
Revertron
3900790f03
Returned low thread priorty as it seems after thorough tests that there is an impact afterall. But this functionality is now controlled by option 'mining.lower'.
2021-04-10 14:03:52 +02:00
Revertron
a74a0733ac
Changed identity format in transactions, now it will be double Sha256.
...
Added new checks for forked blocks.
Added options table.
Added posibility to replace blocks in DB by more appropriate forks.
Divided transactions table to domains and zones tables.
Added a timestamp to domains and zones table, it will give us possibility to purge old domains.
Changed difficulty check to check head and tail (sum of them) of the hash.
Added encrypted (by Chacha20) domain name to DomainData, added contacts and owners vectors for it too.
Added yggdrasil flag to ZoneData - it will restrict all IPs for domains in particular zone to Yggdrasil only.
Changed difficulties of various block types.
Added a temporary (for a run) unique ID to all handshakes.
Start of signing blocks mining will be after 60 seconds after full block.
Added mining status to statusbar.
2021-04-10 09:47:21 +02:00
Revertron
e806cf5612
Added config option to ignore all nodes except from Yggdrasil.
2021-03-31 16:50:22 +02:00
Revertron
046c06beeb
First signed block number changed to 35 to be able to get more signers.
...
Refactored cloning of Arcs.
2021-03-23 11:41:50 +01:00
Revertron
4ddacd2f57
Tuned up difficulty constant for comfortable use with new algo.
...
Mined new origin block to start over test network.
2021-03-22 22:57:54 +01:00
Revertron
c5204aaed1
Refactored a lot of cryptography. Moved from "rust-crypto" to https://github.com/RustCrypto
2021-03-22 19:20:51 +01:00
Revertron
0d719324a9
Removed setting mining threads priority, as it seems that it has no effect.
...
Changed monitoring for chain changes in miner to support MIPS architecture (needs testing).
2021-03-21 14:34:32 +01:00
Revertron
0b5f5d0793
Implemented purging old disconnected peers.
2021-03-21 01:31:33 +01:00
Revertron
dcf5bb72b0
Eliminated connection loops.
...
Optimized network processes.
Removed some unnecessary logging.
Fixed status bar info inconsistency.
2021-03-21 00:19:09 +01:00