Revertron
acf73ce968
Fixed block requests.
2021-05-05 14:53:51 +02:00
Revertron
fe92983945
Added record constraints.
2021-05-05 09:11:23 +02:00
Revertron
bc6d2fbae3
Added second keypair for encryption of domain names.
...
Changed keys file format to include second pair of keys, it will be in TOML now.
Made many adjustments to block and transaction structures.
Changed block serialization to binary format for hashing/mining.
Removed old build dependencies.
2021-05-04 16:47:03 +02:00
Revertron
64f5f1027b
Removed all external zones.
2021-05-02 16:02:14 +02:00
Revertron
9949d13e62
First commit of 0.5.* branch.
2021-05-02 12:55:51 +02:00
Revertron
6d4dfb282f
Added additional material for consensus.
2021-04-29 19:27:45 +02:00
Revertron
f60e42eb2e
Fixed #86 - shuffling domain zones list.
2021-04-27 17:10:05 +02:00
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
7bee4bc61c
Fixes for previous release2.
2021-04-25 00:04:30 +02:00
Revertron
c0e49bbab5
Optimized p2p connections a bit.
2021-04-24 19:02:24 +02:00
Revertron
640e2a0619
Fixed ping processing.
...
Changed the limit of active connections from 10 to 15.
2021-04-23 21:22:22 +02:00
Revertron
65483f73c9
Added app version to Shake message.
2021-04-23 17:27:05 +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
46226f8dc6
Refactored and optimized signings.
2021-04-21 16:51:51 +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
5ee8558aa4
Added a check for mining state.
2021-04-20 20:56:35 +02:00
Revertron
5c1c0630a6
Improved signing blocks operations.
2021-04-20 20:54:45 +02:00
Revertron
161e600290
Added blockchain full check on start. Fixed cond_var blocking.
2021-04-20 18:46:06 +02:00
Revertron
e0425f46dc
Fixed banning process.
2021-04-19 23:36:08 +02:00
Revertron
04ef49764a
Optimized signing blocks scheduler.
2021-04-19 21:19:00 +02:00
Revertron
d681d1a219
Fixed build.
2021-04-19 15:44:54 +02:00
Revertron
078781a6da
Fixed block checking code. Optimized build.rs.
2021-04-19 15:31:05 +02:00
Revertron
9ca952ee67
Several small optimizations.
2021-04-19 01:09:08 +02:00
Revertron
214ef69927
More fixes for signing blocks.
2021-04-18 16:55:10 +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
7229a112e5
Improved new block handling.
2021-04-15 21:45:49 +02:00
Revertron
37941103ba
Changed some logging.
2021-04-13 23:37:10 +02:00
Revertron
aef30818be
Changed some logging.
2021-04-13 23:19:47 +02:00
Revertron
536515519a
Refactored the work with signing blocks.
2021-04-13 18:49:26 +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
6dae3e41c0
Changed log levels to make alfis less chatty.
2021-04-03 18:29:41 +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
8168ab37b3
(Hopefully) fixed network stucks.
2021-04-03 11:28:55 +02:00
Revertron
cddfa7b347
Updated some dependencies.
2021-04-02 20:05:46 +02:00
Revertron
db6b96f8dc
Added a disconnect for sockets with 3+ spurious wakeups.
2021-04-02 15:25:56 +02:00
Revertron
bc0726d3f9
Moved check for spurious wakeup, and added registry.reregister for socket. May help further.
2021-04-02 13:19:33 +02:00
Revertron
905bb9e734
Added debug print for events in server socket.
2021-04-02 12:59:03 +02:00
Revertron
588ac6ae00
Hopefully fixed spurious wakeups of 'mio.poll'.
2021-04-02 12:36:46 +02:00
Revertron
882d826c26
Implemented hosts-file support. You can resolve local names or block ads on DNS level!
2021-04-01 20:59:52 +02:00