Commit Graph
100 Commits
Author SHA1 Message Date
Revertron daf6c23967 Fixed signers cache after block replace. 2021-04-27 12:17:52 +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 5677b860e4 A fix for miner stuck after dropped signing. 2021-04-26 01:16:34 +02:00
Revertron ef38315452 Added dropdown close on blur for zones dropdown.
Added zones sorting in dropdown menu.
2021-04-25 19:54:36 +02:00
Revertron 7bee4bc61c Fixes for previous release2. 2021-04-25 00:04:30 +02:00
Revertron 6c5e374408 Fixes for previous release. 2021-04-24 23:32:08 +02:00
Revertron d95fb82067 Miner queue refactoring. 2021-04-24 22:19:44 +02:00
Revertron c0e49bbab5 Optimized p2p connections a bit. 2021-04-24 19:02:24 +02:00
Revertron 9b6a6f1718 Added and updated some configs. 2021-04-23 23:09:39 +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 1b406baeca Changed domain encryption scheme. 2021-04-23 19:17:05 +02:00
Revertron 70c0c25a6a Fixed UI mining stats. 2021-04-23 17:36:47 +02:00
Revertron 65483f73c9 Added app version to Shake message. 2021-04-23 17:27:05 +02:00
Revertron 349540b9f2 Refactored loop connection detection and processing. 2021-04-23 15:05:01 +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 0d944ca1dc Fixed a problem with allowed mining while waiting for signers.
Sped up initial blocks downloading.
Changed block consensus a bit.
2021-04-23 01:09:38 +02:00
Revertron dee53887cb Added more block supremacy checks. 2021-04-22 16:31:42 +02:00
Revertron b248d839e1 Fixed a problem with forks longer than one. 2021-04-22 14:52:14 +02:00
Revertron 7e1ea8e23d Version increment. 2021-04-22 00:36:37 +02:00
Revertron ae8a90be7f Fixed max block constant. 2021-04-22 00:32:56 +02:00
Revertron e34d16aaed Set hosts test to ignore, as Github Actions are hostsless from now on, it seems. 2021-04-21 23:13:47 +02:00
Revertron 864edab203 Disabled full blockchain check on start.
Fixed non-working debug version.
Fixed p2p connections handling.
Lowered ping interval to 30-60 seconds.
Fixed stuck with lower number of blocks.
2021-04-21 23:11:10 +02:00
Revertron 92b03344eb Version increment and cargo exclusion for working files. 2021-04-21 17:33:39 +02:00
Revertron 66d38d4a60 Version increment. 2021-04-21 17:06:04 +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 46226f8dc6 Refactored and optimized signings. 2021-04-21 16:51:51 +02:00
Revertron edec631c39 Fixed database truncation. 2021-04-21 14:38:37 +02:00
Revertron f8d47df370 Fixed check for correct sign block. 2021-04-21 11:31:55 +02:00
Revertron 6ed4fb4830 Made p2p connections somewhat more reliable. 2021-04-20 23:36:48 +02:00
Revertron 3bf44c77b8 Version increment. 2021-04-20 20:56:53 +02:00
Revertron 5ee8558aa4 Added a check for mining state. 2021-04-20 20:56:35 +02:00
Revertron 5c1c0630a6 Improved signing blocks operations. 2021-04-20 20:54:45 +02:00
Revertron 3fb70d3a74 Removed debug prints. 2021-04-20 18:52:18 +02:00
Revertron 161e600290 Added blockchain full check on start. Fixed cond_var blocking. 2021-04-20 18:46:06 +02:00
Revertron 51633f3e27 Fixed tabbar hiding bug, and flex-shrinking messages bug. 2021-04-20 18:35:44 +02:00
Revertron 9eb6f51d56 Merge remote-tracking branch 'origin/master' 2021-04-20 18:01:05 +02:00
Revertron e898348624 Version increment. 2021-04-20 00:22:52 +02:00
Revertron e0425f46dc Fixed banning process. 2021-04-19 23:36:08 +02:00
Revertron 068ff395f7 Version increment. 2021-04-19 21:23:34 +02:00
Revertron 04ef49764a Optimized signing blocks scheduler. 2021-04-19 21:19:00 +02:00
Revertron 2680a7da70 Fixed consensus error. Added a delay before signing. 2021-04-19 21:00:32 +02:00
Revertron 3f48919adf Fixed signers calculation. 2021-04-19 17:45:57 +02:00
Revertron d681d1a219 Fixed build. 2021-04-19 15:44:54 +02:00
Revertron e8124ec211 Version increment. 2021-04-19 15:34:16 +02:00
Revertron 078781a6da Fixed block checking code. Optimized build.rs. 2021-04-19 15:31:05 +02:00
Revertron 9ca952ee67 Several small optimizations. 2021-04-19 01:09:08 +02:00
Revertron 8cbc26fdb8 Final touches for release script. 2021-04-18 23:46:59 +02:00
Revertron 3229f23b98 Fixed macos script build, sped up ubuntu builds. 2021-04-18 23:11:54 +02:00
Revertron 84985d467f Fixed parallel release script. 2021-04-18 22:41:49 +02:00
Revertron e3a2b6759b Added parallel build script. 2021-04-18 22:21:48 +02:00
Revertron bdbe99c7df Fixed check of the need to mine signing blocks if we already signed this one. 2021-04-18 18:59:57 +02:00
Revertron ad5247d4d8 Build fix. 2021-04-18 18:46:21 +02:00
Revertron 41fcea1920 Hopefully, fixed signing. 2021-04-18 18:39:44 +02:00
Revertron f4c17bc15f Added some checks to prevent user from mining if last full block is not signed enough. 2021-04-18 18:34:32 +02:00
Revertron dd558464a5 Fixed ability to stop mining if we are waiting for signing blocks in miner. 2021-04-18 18:05:33 +02:00
Revertron 1997ccc298 Removed postrm scripts from debs, they are not working as expected anyway. 2021-04-18 17:01:06 +02:00
Revertron 214ef69927 More fixes for signing blocks. 2021-04-18 16:55:10 +02:00
Revertron d12ebf6ede Version increment. 2021-04-18 16:23:49 +02:00
Revertron 72d11ae80b Fixed 35 block signers error. 2021-04-18 16:23:15 +02:00
Revertron 75125b971b Changed command flag -v to show version and exit. Selection of other log levels will be possible in config in the future. 2021-04-17 20:37:20 +02:00
Revertron bd76b712ad Changed build system and Github Actions script for build generation. From now on builds will be UPXed. And there will be naked binaries for every (linux nogui) build. 2021-04-17 19:06:40 +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 64b353f069 Added a workaround for old domains, that have old name encryption. 2021-04-17 13:15:53 +02:00
Revertron 67757a3f16 Another fix for postrm file in debs. 2021-04-17 12:00:29 +02:00
Revertron 661130847d Version increment. 2021-04-17 03:25:27 +02:00
Revertron a76972dde8 Fixed postrm script in generate.sh. 2021-04-17 02:52:29 +02:00
Revertron 47c398118a Optimized new block processing. Added quick-ban for those, who send wrong blocks. 2021-04-17 01:51:14 +02:00
Revertron de61d17845 Added new configuration for cross-platform compilation. 2021-04-17 00:08:07 +02:00
Revertron c2712a1e3a Added an option to change working directory on start. Use '-w' flag. 2021-04-16 23:12:06 +02:00
Revertron 6a1aa6c0d5 Reworked p2p code, optimized a lot. 2021-04-16 16:53:31 +02:00
Revertron 1242cbac87 Changed postrm script for deb. 2021-04-16 16:43:28 +02:00
Revertron 9d51912733 Fixed #45, ability to work with old keys and domains. 2021-04-15 22:19:45 +02:00
Revertron 675bb466c1 More peer connections optimization. 2021-04-15 22:18:32 +02:00
Revertron 3d26b81383 Optimized peer connections. 2021-04-15 21:59:11 +02:00
Revertron 7229a112e5 Improved new block handling. 2021-04-15 21:45:49 +02:00
Revertron 0e153ae47e Fixed #44, no external object in Arch Linux webkit. 2021-04-15 21:44:34 +02:00
Revertron 5994622f59 Fixed resolve of SOA records #40. 2021-04-15 12:33:47 +02:00
Revertron 9b093a8172 Implemented presentation and editing for domains. 2021-04-15 12:21:41 +02:00
Revertron b179f063d0 Added first FAQ section. Incremented version. 2021-04-14 22:49:22 +02:00
Revertron 6c3135d1e3 Updated consensus code. 2021-04-14 14:09:41 +02:00
Revertron 40a4af4cc1 Updated readme - added installation and usage instructions. 2021-04-14 12:59:47 +02:00
Revertron 37941103ba Changed some logging. 2021-04-13 23:37:10 +02:00
Revertron aef30818be Changed some logging. 2021-04-13 23:19:47 +02:00
Revertron 27352ba0d8 Increased DNS client timeout from 3 second to 10. Changed 1 bootstrap address. 2021-04-13 23:16:09 +02:00
Revertron 2b58d063dd Increased DNS client timeout from 1 second to 3. Added YGGv6 address to bootstrap peers. Incremented version. 2021-04-13 19:17:05 +02:00
Revertron 536515519a Refactored the work with signing blocks. 2021-04-13 18:49:26 +02:00
Revertron ee9b73b190 Fixed negative DNS responses. 2021-04-13 18:46:48 +02:00
Revertron 63bc120105 Added 'meship' zone to reserved zones list. 2021-04-13 11:45:23 +02:00
Revertron 858122c31d Added first version of about_ru.md 2021-04-12 01:07:34 +02:00
Revertron ae77ee6780 Removed check_db() as not needed now. Maybe we will need it sometimes. 2021-04-11 17:52:54 +02:00
Revertron 92209689d6 Fixed parsing of DomainData, many other fixes. 2021-04-11 17:50:55 +02:00
Revertron 514c49307a Added hints to controls. 2021-04-10 22:26:49 +02:00
Revertron a8f7838b87 Fixed some styles. 2021-04-10 21:11:59 +02:00
Revertron f671de3746 Added some checks for "Yggdrasil only" zones. 2021-04-10 20:02:51 +02:00
Revertron 04189f319a Added target difficulty to statusbar. 2021-04-10 17:59:17 +02:00
Revertron 61a6fbe54e Small changes in deb generator. 2021-04-10 14:45:59 +02:00
Revertron b97304ba20 Added postrm script to debs, to delete blockchain on uninstall. 2021-04-10 14:15:59 +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