Commit Graph
82 Commits
Author SHA1 Message Date
Revertron fb53d775a1 Fixed refactor of setup of mining threads. 2021-03-16 21:42:16 +01:00
Revertron 99eabff874 Refactored setup of mining threads. 2021-03-16 20:54:44 +01:00
Revertron 8d56fcb5e7 Another fix of MacOS build. 2021-03-16 20:42:53 +01:00
Revertron f4bab8a091 Fixed MacOS build. 2021-03-16 20:22:35 +01:00
Revertron 96ec25c0d0 Added a decent reaction to a new block in chain in mining process. 2021-03-16 18:16:31 +01:00
Revertron ffd70c92a6 Added optimization level for dev and test profiles. 2021-03-16 15:06:21 +01:00
Revertron c7e845af05 Made it possible to run ALFIS without settings file. It will be created if not found. 2021-03-16 14:00:14 +01:00
Revertron 394463ef15 Added more restriction for blocks and zone names. 2021-03-16 12:24:31 +01:00
Revertron 809256b955 Added more restriction by public key. Added alternative zones to restrictions. 2021-03-13 21:04:40 +01:00
Revertron b39f5fa7f0 Added restriction by public key, made some refactoring. 2021-03-12 01:36:54 +01:00
Revertron 186f9cb05b Added a restriction for IANA domain zones. Users cannot mine them from now on. 2021-03-11 01:41:19 +01:00
Revertron 5d57473122 Major refactoring. Changed mining algorithm to Blakeout. Changed keypair mining algorithm. 2021-03-10 22:21:50 +01:00
Revertron 5c2373b40d Small changes. 2021-03-08 10:41:22 +01:00
Revertron aa32599092 Added some more checks for block properties, moved them around. 2021-03-07 22:13:06 +01:00
Revertron 9718fa8a81 Tuned some constants adn options. 2021-03-07 17:47:33 +01:00
Revertron 0d40f6599b Fixed hash-tail tests. 2021-03-07 02:12:00 +01:00
Revertron 9f7a6a126b Fixed linux tests. 2021-03-07 01:59:59 +01:00
Revertron eec595f30e Another iteration of dependency configuration. 2021-03-07 01:17:10 +01:00
Revertron bf1bf1b2bc Changed build dependencies in order to exclude MacOS from building thread-priority. Hoping that it is not Unix :) 2021-03-07 00:52:45 +01:00
Revertron ffc8e14b5f Fixed MacOS build, again. 2021-03-07 00:27:50 +01:00
Revertron dddc540484 Fixed MacOS build. 2021-03-07 00:17:03 +01:00
Revertron 1cd1fed178 Added full IPv6 support for DNS-resolver upstreams. 2021-03-06 23:53:30 +01:00
Revertron ce212ab749 Changed format of DNS-listen options. Added DNS-thread count options to config. 2021-03-06 22:54:17 +01:00
Revertron ac915a1e92 Changed settings format file from JSON to Toml. 2021-03-06 22:40:19 +01:00
Revertron c5d20d2e00 Made all mining threads low-priority. 2021-03-06 21:56:54 +01:00
Revertron b0e78edb3d Changed origin block index to 1. Added "locker" blocks - mining, exchange etc. Removed unnecesarry creation of 'zones' directory on startup. Changed bind port of DNS-UDP socket to random (fixes inability to start several copies of Alfis). Sped up block exchange by sending additional pings when we have more blocks than other peers. Fixed unnecesarry double requests of blocks. Totally reworked block checking on arrival. Added target tags for logging in main. Added a commandline flag to list all blocks in DB and exit. 2021-03-06 21:28:06 +01:00
Revertron 59df68d7c7 Added hash of last block to Ping/Pong messages. 2021-03-02 19:35:12 +01:00
Revertron 92ebefce91 Changed and refactored block and transaction structures. Moved signature from transaction scope to block. 2021-03-02 18:11:17 +01:00
Revertron d5a19c92c3 Merge remote-tracking branch 'origin/master' 2021-02-28 22:19:54 +01:00
Revertron 1045777ee5 Finished the work on status bar. All status information is in sync now. 2021-02-28 22:17:03 +01:00
Revertron 2356f363f9 Version increment. 2021-02-27 18:57:48 +01:00
Revertron e53245315f Implemented status bar with some status information: sync process, connected nodes and blockchain height. 2021-02-27 18:57:15 +01:00
Revertron 0d3b8c3db0 Version increment. 2021-02-26 21:05:40 +01:00
Revertron 46c49fe4c9 Fixed filtering of existing zones in blockchain. 2021-02-26 21:00:08 +01:00
Revertron 49ea42d9ca Incremented version for release. 2021-02-25 16:18:11 +01:00
Revertron a8e7797863 Small GUI changes. 2021-02-25 16:13:33 +01:00
Revertron 6a3d7c6ab6 Changed logging in DNS-server. 2021-02-25 14:14:25 +01:00
Revertron e75bbf21cc Fixed warnings in hermes. 2021-02-24 12:05:41 +01:00
Revertron 790dbe272a Fixed some things in readme. 2021-02-22 23:46:37 +01:00
Revertron f2d7db812c Added a test passing badge from Github Actions. 2021-02-22 23:43:32 +01:00
Revertron f48f198c96 Implemented setting bind-host for DNS-resolver, fix. 2021-02-22 22:03:56 +01:00
Revertron 074a709f3b Implemented setting bind-host for DNS-resolver. 2021-02-22 22:02:01 +01:00
Revertron d7911dfe04 Implemented mining zone screen. Added a lot of user input checks. 2021-02-22 21:45:32 +01:00
Revertron 2766cc4a05 Added clearing of records when you start mining. 2021-02-22 17:45:18 +01:00
Revertron 9a9adbe251 Fixed more duplicate peers from exchange. 2021-02-22 15:06:36 +01:00
Revertron df19021c62 Fixed high CPU usage, duplicate peers from exchange and tab change code. 2021-02-22 14:55:23 +01:00
Revertron 803b70fc25 Speedup initial blockchain receiving. 2021-02-22 12:49:36 +01:00
Revertron ecb58b9984 Fixed config path option. 2021-02-22 10:11:22 +01:00
Revertron 193275da7f Implemented rotating DNS upstreams from config. Fixed warnings. 2021-02-21 21:56:56 +01:00
Revertron daf1592341 Implemented adding complex DNS-records like MX, TXT, SRV. 2021-02-21 21:08:20 +01:00
Revertron 38feb11cff Fixed DNS-records search. 2021-02-21 12:29:09 +01:00
Revertron 0847b7b8a6 Implemented peer domains resolve. 2021-02-21 01:21:40 +01:00
Revertron 483be5215a Improved peer reconnection code. 2021-02-20 21:36:58 +01:00
Revertron 93d688c479 Added a decent logging. 2021-02-20 16:28:10 +01:00
Revertron bf341dc802 Changed default config for testers to connect to bootstrap node. 2021-02-19 23:17:31 +01:00
Revertron 71f7fe3c88 Minor network fixes. 2021-02-19 23:00:55 +01:00
Revertron 2bea778e0f Fixed running with console on Windows when compiled as GUI app. 2021-02-19 22:04:58 +01:00
Revertron 6676c0779f Made peer connections more reliable. 2021-02-19 21:47:31 +01:00
Revertron 8c9809bc0c Fixed some network errors. 2021-02-19 18:14:48 +01:00
Revertron d135204af7 Implemented DNS on blockchain. Beautified a lot of code, fixed some things. 2021-02-19 16:41:43 +01:00
Revertron 4b5e5112da First DNS compile. Took DNS code from https://github.com/EmilHernvall/hermes. 2021-02-17 16:59:40 +01:00
Revertron b4ae51088d Suppressed console errors from webview.
Fixes: https://github.com/Revertron/Alfis/issues/1
2021-02-17 14:54:55 +01:00
Revertron a033cbcf38 Removed vertical scroll-bar. 2021-02-17 14:53:45 +01:00
Revertron 1ec02381e8 Moved mining indicator to left-bottom corner, fixed mining canceling. 2021-02-17 13:06:24 +01:00
Revertron f28bedb8a1 Fixed panic when you try to mine genesis with existing origin hash in config. 2021-02-17 12:35:26 +01:00
Revertron c5bbf1b772 Updated README with steps to build Alfis. 2021-02-16 23:27:25 +01:00
Revertron c3a2fb21e3 Updated serde version and some imports. 2021-02-16 22:06:03 +01:00
Revertron eddb4ffbce Fixed initial keystore display. 2021-02-16 15:14:29 +01:00
Revertron 364a969a53 Refactored key-management a lot. 2021-02-15 23:09:30 +01:00
Revertron 4c4493f797 Fixed block exchange and server reconnection. 2021-02-15 00:29:30 +01:00
Revertron abb2455d1c Implemented block adding check. Cleared many warnings, cleaned code. 2021-02-14 18:20:30 +01:00
Revertron 1331f44b0e Refactored block and transaction structure. Introduced a 'confirmation' entity to avoid block interceptions (at least make them pointless). 2021-02-13 23:37:44 +01:00
Revertron 279b3e87c3 Implemented P2P peer exchange. Refactored project structure. 2021-02-11 21:51:32 +01:00
Revertron 9e7a1b8834 Implemented P2P network protocol. Refactored project structure. 2021-02-05 22:24:28 +01:00
Revertron 562c004b0d Implemented and added usage of eventbus. Added a lot of UI interaction. Added a lot of DB work. 2021-01-30 14:18:37 +01:00
Revertron 9e6a01847e Changed chain id to chain name (it will be a string). Implemented saving blockchain to sqlite DB. 2021-01-20 19:23:41 +01:00
Revertron 70b3a833b9 Implemented loading Settings from file. Implemented mining of Keystore (key pair). Changed Transaction structure a lot. Added an icon to windows build. Changed some HTML. 2021-01-18 00:18:35 +01:00
Revertron 4703ae6f49 Implemented multi-threaded CPU-miner. 2021-01-14 18:34:43 +01:00
Revertron 01f37cc238 Made a full refactoring of synchronization primitives between settings, keystore, blockchain and miner. 2020-04-18 21:31:40 +02:00
Revertron 3eaf63ba79 Made some pancurses interface, but it will lead to a bunch of problems. Commiting just for the history, will change it to web-view. 2019-12-08 12:32:51 +01:00
Revertron b5e36da737 Removed Hash struct, cleaned the code. Renamed Wyrd to wyrd_ns. 2019-12-02 16:33:19 +01:00
Revertron f46367c95d First correct working serialization. 2019-12-01 22:45:25 +01:00