Commit Graph

25 Commits

Author SHA1 Message Date
Revertron a06390009e Fixed small bug and test. 2021-03-16 21:59:51 +01:00
Revertron 99eabff874 Refactored setup of mining threads. 2021-03-16 20:54:44 +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 b39f5fa7f0 Added restriction by public key, made some refactoring. 2021-03-12 01:36:54 +01:00
Revertron 5d57473122 Major refactoring. Changed mining algorithm to Blakeout. Changed keypair mining algorithm. 2021-03-10 22:21:50 +01:00
Revertron dddc540484 Fixed MacOS build. 2021-03-07 00:17:03 +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 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
Revertron 193275da7f Implemented rotating DNS upstreams from config. Fixed warnings. 2021-02-21 21:56:56 +01:00
Revertron 93d688c479 Added a decent logging. 2021-02-20 16:28:10 +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 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 364a969a53 Refactored key-management a lot. 2021-02-15 23:09: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 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