Revertron
dee53887cb
Added more block supremacy checks.
2021-04-22 16:31:42 +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
db86bfcd07
Fixed key generated success message.
2021-04-06 11:21:31 +02:00
Revertron
4e0b0b3d1c
Added mining threads count option.
2021-03-29 11:10:48 +02:00
Revertron
fc90706213
Added success notifications from miner.
2021-03-25 20:55:09 +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
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
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
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
0d40f6599b
Fixed hash-tail tests.
2021-03-07 02:12:00 +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
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
c3a2fb21e3
Updated serde version and some imports.
2021-02-16 22:06:03 +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
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
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