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
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
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
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
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
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
0b5f5d0793
Implemented purging old disconnected peers.
2021-03-21 01:31:33 +01:00