Commit Graph

15 Commits

Author SHA1 Message Date
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