Revertron
5afd9906b3
Added a failsafe mechanism, that will restart all swarm connections if network is stale.
2021-04-26 23:18:00 +02:00
Revertron
349540b9f2
Refactored loop connection detection and processing.
2021-04-23 15:05:01 +02:00
Revertron
520f485899
Optimized p2p connections.
...
Added a limit for 10 active connections to save bandwidth and CPU.
2021-04-23 13:20:26 +02:00
Revertron
0d944ca1dc
Fixed a problem with allowed mining while waiting for signers.
...
Sped up initial blocks downloading.
Changed block consensus a bit.
2021-04-23 01:09:38 +02:00
Revertron
b248d839e1
Fixed a problem with forks longer than one.
2021-04-22 14:52:14 +02:00
Revertron
864edab203
Disabled full blockchain check on start.
...
Fixed non-working debug version.
Fixed p2p connections handling.
Lowered ping interval to 30-60 seconds.
Fixed stuck with lower number of blocks.
2021-04-21 23:11:10 +02:00
Revertron
f8d47df370
Fixed check for correct sign block.
2021-04-21 11:31:55 +02:00
Revertron
6ed4fb4830
Made p2p connections somewhat more reliable.
2021-04-20 23:36:48 +02:00
Revertron
e0425f46dc
Fixed banning process.
2021-04-19 23:36:08 +02:00
Revertron
9ca952ee67
Several small optimizations.
2021-04-19 01:09:08 +02:00
Revertron
f16a95f51e
Added new option -l to write log messages to file. Changed old -l flag to -b.
2021-04-17 16:45:49 +02:00
Revertron
47c398118a
Optimized new block processing. Added quick-ban for those, who send wrong blocks.
2021-04-17 01:51:14 +02:00
Revertron
6a1aa6c0d5
Reworked p2p code, optimized a lot.
2021-04-16 16:53:31 +02:00
Revertron
675bb466c1
More peer connections optimization.
2021-04-15 22:18:32 +02:00
Revertron
3d26b81383
Optimized peer connections.
2021-04-15 21:59:11 +02:00
Revertron
aef30818be
Changed some logging.
2021-04-13 23:19:47 +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
fd294580c7
Optimized network stuff.
2021-04-04 13:13:32 +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
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
e806cf5612
Added config option to ignore all nodes except from Yggdrasil.
2021-03-31 16:50:22 +02: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
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
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
e53245315f
Implemented status bar with some status information: sync process, connected nodes and blockchain height.
2021-02-27 18:57:15 +01:00
Revertron
d7911dfe04
Implemented mining zone screen. Added a lot of user input checks.
2021-02-22 21:45:32 +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
193275da7f
Implemented rotating DNS upstreams from config. Fixed warnings.
2021-02-21 21:56:56 +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
abb2455d1c
Implemented block adding check. Cleared many warnings, cleaned code.
2021-02-14 18:20:30 +01:00
Revertron
279b3e87c3
Implemented P2P peer exchange. Refactored project structure.
2021-02-11 21:51:32 +01:00