Commit Graph

49 Commits (master)

Author SHA1 Message Date
Revertron b3d077c2a0 Fixed max-nodes constant, changed by mistake. 2 years ago
Revertron 287e88c7e2 Updated dependencies. 2 years ago
Revertron a612f73649 Fixed the consensus about expired domains. 2 years ago
Revertron f9fb935264 Fixed ban mechanism, updated dependencies. 2 years ago
Revertron 410bc9b7e4 Fixed signers' calculation loop. Fixed block checks. Added trace logging level. Updated dependencies. 2 years ago
Revertron 5b5943a4aa Decoupled domain records change from domain renewal. 2 years ago
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.
2 years ago
la-ninpre 370db66ce5
Added OpenBSD support 2 years ago
Revertron efa3e3f79d Small p2p optimizations. 2 years ago
Revertron b8d505da2e Sped up P2P reconnections after sleep. Ensured successfull peer resolution. Updated dependencies. 2 years ago
Revertron c111da6250 Fixed network message reading. 2 years ago
Revertron 797584c516 Fixed multiple clippy warnings. 2 years ago
Revertron 66242464c4 Removed tight restrictions of blocks sync. Sped up initial sync a lot. 3 years ago
Revertron d502b6c890 Added the TLSA DNS record. 3 years ago
Revertron d513c29cfe Code reformatting. 3 years ago
Revertron c8183e0e58 More optimizations for initial blocks sync. 3 years ago
Revertron e82f0ee9b1 Optimized initial blocks sync. 3 years ago
Revertron bb1f1acce5 Optimized read of network messages. 3 years ago
Revertron 319051edbd Implemented P2P traffic encryption.
Changed serialization format of P2P messages.
Refactored P2P network code.
3 years ago
Revertron a9f2193fce Implemented resolve of PTR records. 3 years ago
Revertron 92222dd51b Refactored event bus to lazy_static. 3 years ago
Revertron f9c1bf1679 Added some tests and text in readme. 3 years ago
Revertron fe92983945 Added record constraints. 3 years ago
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.
3 years ago
Revertron c3576d62d8 Removed old constants. 3 years ago
Revertron 64f5f1027b Removed all external zones. 3 years ago
Revertron 9949d13e62 First commit of 0.5.* branch. 3 years ago
Revertron f5423f8463 Added Limited Confidence to work with forks. 3 years ago
Revertron 5afd9906b3 Added a failsafe mechanism, that will restart all swarm connections if network is stale. 3 years ago
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.
3 years ago
Revertron 6c5e374408 Fixes for previous release. 3 years ago
Revertron c0e49bbab5 Optimized p2p connections a bit. 3 years ago
Revertron 640e2a0619 Fixed ping processing.
Changed the limit of active connections from 10 to 15.
3 years ago
Revertron 520f485899 Optimized p2p connections.
Added a limit for 10 active connections to save bandwidth and CPU.
3 years ago
Revertron 04491e8558 Added environment variable ALFIS_DEBUG to set ALFIS to always run in debug mode. 3 years ago
Revertron 04ef49764a Optimized signing blocks scheduler. 3 years ago
Revertron f16a95f51e Added new option `-l` to write log messages to file. Changed old `-l` flag to `-b`. 3 years ago
Revertron 6c3135d1e3 Updated consensus code. 3 years ago
Revertron 536515519a Refactored the work with signing blocks. 3 years ago
Revertron f671de3746 Added some checks for "Yggdrasil only" zones. 3 years ago
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'. 3 years ago
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.
3 years ago
Revertron e806cf5612 Added config option to ignore all nodes except from Yggdrasil. 3 years ago
Revertron 046c06beeb First signed block number changed to 35 to be able to get more signers.
Refactored cloning of Arcs.
3 years ago
Revertron 4ddacd2f57 Tuned up difficulty constant for comfortable use with new algo.
Mined new origin block to start over test network.
3 years ago
Revertron c5204aaed1 Refactored a lot of cryptography. Moved from "rust-crypto" to https://github.com/RustCrypto 3 years ago
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).
3 years ago
Revertron 0b5f5d0793 Implemented purging old disconnected peers. 3 years ago
Revertron dcf5bb72b0 Eliminated connection loops.
Optimized network processes.
Removed some unnecessary logging.
Fixed status bar info inconsistency.
3 years ago