Commit Graph

336 Commits

Author SHA1 Message Date
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 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 445733fd29 Added a github link to help page. 2021-04-06 12:08:50 +02:00
Revertron db86bfcd07 Fixed key generated success message. 2021-04-06 11:21:31 +02:00
Revertron 7830681b38 Refactored interface. Added log events to Events tab. 2021-04-06 00:31:50 +02:00
Revertron fd294580c7 Optimized network stuff. 2021-04-04 13:13:32 +02:00
Revertron 9afedb50ed Changed log levels to make alfis less chatty. 2021-04-03 23:27:36 +02:00
Revertron cde1ccb6f7 Added a profound error message in case DNS servers could not bind. 2021-04-03 21:09:55 +02:00
Revertron 6dae3e41c0 Changed log levels to make alfis less chatty. 2021-04-03 18:29:41 +02:00
Revertron 291dae3b0a Changed log type for some lines. 2021-04-03 15:55:58 +02:00
Revertron 7edc425bc6 Added commandline flags to genenerate and upgrade config files. 2021-04-03 14:57:56 +02:00
Revertron fba9a976ea Fixed duplicate zone names in GUI. 2021-04-03 12:07:44 +02:00
Revertron 8168ab37b3 (Hopefully) fixed network stucks. 2021-04-03 11:28:55 +02:00
Revertron cddfa7b347 Updated some dependencies. 2021-04-02 20:05:46 +02:00
Revertron 5495686807 Fixed sending SOA for records in hosts files. 2021-04-02 18:40:25 +02:00
Revertron db6b96f8dc Added a disconnect for sockets with 3+ spurious wakeups. 2021-04-02 15:25:56 +02:00
Revertron bc0726d3f9 Moved check for spurious wakeup, and added registry.reregister for socket. May help further. 2021-04-02 13:19:33 +02:00
Revertron 905bb9e734 Added debug print for events in server socket. 2021-04-02 12:59:03 +02:00
Revertron 588ac6ae00 Hopefully fixed spurious wakeups of 'mio.poll'. 2021-04-02 12:36:46 +02:00
Revertron aa54e9fab6 Changed allowed zone difficulty to 15-30. 2021-04-02 03:26:36 +02:00
Revertron e1d0df33d5 Fixed resolve of CNAME records. 2021-04-02 03:24:53 +02:00
Revertron 882d826c26 Implemented hosts-file support. You can resolve local names or block ads on DNS level! 2021-04-01 20:59:52 +02:00
Revertron edf202b255 Optimized imports. 2021-04-01 15:44:14 +02:00
Revertron 39accf7bd3 Small fix in p2p. 2021-04-01 15:43:19 +02:00
Revertron 8d7f1b2c6b Some optimization for P2P part. Added panic on error of reregistering server token - needed for investigation of stuck network. 2021-04-01 14:44:37 +02:00
Revertron d70b107955 Speed up of initial peer discovery. 2021-04-01 12:16:22 +02:00
Revertron 11bc887fbb Fixed operation with zones in JS. 2021-04-01 12:09:38 +02:00
Revertron e806cf5612 Added config option to ignore all nodes except from Yggdrasil. 2021-03-31 16:50:22 +02:00
Revertron a4ecb1f0f7 Very important DNS resolver fix. 2021-03-30 20:50:20 +02:00
Revertron 7e742c1553 Fixed DNS answers for provided zones. 2021-03-30 19:10:26 +02:00
Revertron bbcfa102b1 Fixed erroneous ignore of nodes if there was some error. 2021-03-30 16:51:16 +02:00
Revertron cb8b207f34 Fixed a warning. 2021-03-29 14:58:35 +02:00
Revertron 4e0b0b3d1c Added mining threads count option. 2021-03-29 11:10:48 +02:00
Revertron fd6edce6b5 Remastered domain mining interface! 2021-03-26 18:22:43 +01:00
Revertron 594878614f Added horizontal tabs to the new interface. 2021-03-26 12:39:19 +01:00
Revertron fc90706213 Added success notifications from miner. 2021-03-25 20:55:09 +01:00
Revertron f21f299fb5 Changed FontAwesome to LineAwsome to go away from Google. 2021-03-25 15:33:14 +01:00
Revertron a8ccd81783 Fixed synchronizing status in statusbar. 2021-03-25 13:48:07 +01:00
Revertron ffd03aa62e Updated Bulma CSS. Remastered whole GUI. 2021-03-24 19:06:22 +01:00
Revertron 1225bf6fbc Added a keys check on load. Added a warning on errors. 2021-03-23 19:29:51 +01:00
Revertron f5949e6ec0 Reworked handling appropriate (mined) keys absence. Now that info handled in UI as well. It won't allow users without keys to mine domains or zones. 2021-03-23 18:55:11 +01: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 fdc5b8f233 Added app_version to handshake. 2021-03-21 00:48:32 +01:00
Revertron d23990c3e7 Fixed some warnings. 2021-03-21 00:32:32 +01:00