2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-12 19:10:48 +00:00
Commit Graph

95 Commits

Author SHA1 Message Date
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
Revertron
dcf5bb72b0 Eliminated connection loops.
Optimized network processes.
Removed some unnecessary logging.
Fixed status bar info inconsistency.
2021-03-21 00:19:09 +01:00
Revertron
71edf68279 Small fixes and update of screenshot. 2021-03-20 17:25:04 +01:00
Revertron
57da059379 Fixed GUI/NoGUI logic in builds. 2021-03-19 15:20:18 +01:00
Revertron
decb430d82 Small fix in miner. 2021-03-19 14:25:11 +01:00
Revertron
8a19d02b1a Added features to control building with or without GUI, or use Edge engine on Windows. 2021-03-19 11:37:49 +01:00
Revertron
31bbb65ce9 Fixed deadlock. 2021-03-18 22:48:29 +01:00
Revertron
dda44f7df6 Implemented immidiate check of DNS records, reverted Edge usage. 2021-03-18 18:53:14 +01:00
Revertron
863854790f Updated WebView version, added support for Edge engine on Windows, fixed some HTML. 2021-03-18 15:09:26 +01:00
Revertron
8eee9afb6a Added some info to main screen and a screenshot of it to readme. 2021-03-18 12:35:40 +01:00
Revertron
7e24383894 Major GUI refactoring. 2021-03-18 00:16:17 +01:00
Revertron
a4e9d92680 Fixed getting zone difficulty. 2021-03-17 20:05:05 +01:00
Revertron
278f7a8c34 Fixed an important TODO. 2021-03-17 18:35:02 +01:00
Revertron
d3d67b6d0e Small optimization. 2021-03-17 16:53:59 +01:00
Revertron
1d9833db0f Implemented right way to constrain zone difficulty. 2021-03-17 14:55:05 +01:00
Revertron
d8ac1e3c32 Fixed wait for signing mode in miner. 2021-03-17 10:22:34 +01:00
Revertron
a06390009e Fixed small bug and test. 2021-03-16 21:59:51 +01:00
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
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
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
1045777ee5 Finished the work on status bar. All status information is in sync now. 2021-02-28 22:17:03 +01:00