Revertron
b248d839e1
Fixed a problem with forks longer than one.
3 years ago
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.
3 years ago
Revertron
46226f8dc6
Refactored and optimized signings.
3 years ago
Revertron
f8d47df370
Fixed check for correct sign block.
3 years ago
Revertron
6ed4fb4830
Made p2p connections somewhat more reliable.
3 years ago
Revertron
5ee8558aa4
Added a check for mining state.
3 years ago
Revertron
5c1c0630a6
Improved signing blocks operations.
3 years ago
Revertron
161e600290
Added blockchain full check on start. Fixed cond_var blocking.
3 years ago
Revertron
e0425f46dc
Fixed banning process.
3 years ago
Revertron
04ef49764a
Optimized signing blocks scheduler.
3 years ago
Revertron
d681d1a219
Fixed build.
3 years ago
Revertron
078781a6da
Fixed block checking code. Optimized build.rs.
3 years ago
Revertron
9ca952ee67
Several small optimizations.
3 years ago
Revertron
214ef69927
More fixes for signing blocks.
4 years ago
Revertron
f16a95f51e
Added new option `-l` to write log messages to file. Changed old `-l` flag to `-b`.
4 years ago
Revertron
47c398118a
Optimized new block processing. Added quick-ban for those, who send wrong blocks.
4 years ago
Revertron
6a1aa6c0d5
Reworked p2p code, optimized a lot.
4 years ago
Revertron
675bb466c1
More peer connections optimization.
4 years ago
Revertron
3d26b81383
Optimized peer connections.
4 years ago
Revertron
7229a112e5
Improved new block handling.
4 years ago
Revertron
37941103ba
Changed some logging.
4 years ago
Revertron
aef30818be
Changed some logging.
4 years ago
Revertron
536515519a
Refactored the work with signing blocks.
4 years ago
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.
4 years ago
Revertron
fd294580c7
Optimized network stuff.
4 years ago
Revertron
6dae3e41c0
Changed log levels to make alfis less chatty.
4 years ago
Revertron
291dae3b0a
Changed log type for some lines.
4 years ago
Revertron
7edc425bc6
Added commandline flags to genenerate and upgrade config files.
4 years ago
Revertron
8168ab37b3
(Hopefully) fixed network stucks.
4 years ago
Revertron
cddfa7b347
Updated some dependencies.
4 years ago
Revertron
db6b96f8dc
Added a disconnect for sockets with 3+ spurious wakeups.
4 years ago
Revertron
bc0726d3f9
Moved check for spurious wakeup, and added registry.reregister for socket. May help further.
4 years ago
Revertron
905bb9e734
Added debug print for events in server socket.
4 years ago
Revertron
588ac6ae00
Hopefully fixed spurious wakeups of 'mio.poll'.
4 years ago
Revertron
882d826c26
Implemented hosts-file support. You can resolve local names or block ads on DNS level!
4 years ago
Revertron
edf202b255
Optimized imports.
4 years ago
Revertron
39accf7bd3
Small fix in p2p.
4 years ago
Revertron
8d7f1b2c6b
Some optimization for P2P part. Added panic on error of reregistering server token - needed for investigation of stuck network.
4 years ago
Revertron
d70b107955
Speed up of initial peer discovery.
4 years ago
Revertron
e806cf5612
Added config option to ignore all nodes except from Yggdrasil.
4 years ago
Revertron
bbcfa102b1
Fixed erroneous ignore of nodes if there was some error.
4 years ago
Revertron
a8ccd81783
Fixed synchronizing status in statusbar.
4 years ago
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.
4 years ago
Revertron
046c06beeb
First signed block number changed to 35 to be able to get more signers.
...
Refactored cloning of Arcs.
4 years ago
Revertron
0b5f5d0793
Implemented purging old disconnected peers.
4 years ago
Revertron
fdc5b8f233
Added app_version to handshake.
4 years ago
Revertron
d23990c3e7
Fixed some warnings.
4 years ago
Revertron
dcf5bb72b0
Eliminated connection loops.
...
Optimized network processes.
Removed some unnecessary logging.
Fixed status bar info inconsistency.
4 years ago
Revertron
96ec25c0d0
Added a decent reaction to a new block in chain in mining process.
4 years ago
Revertron
c7e845af05
Made it possible to run ALFIS without settings file. It will be created if not found.
4 years ago
Revertron
394463ef15
Added more restriction for blocks and zone names.
4 years ago
Revertron
186f9cb05b
Added a restriction for IANA domain zones. Users cannot mine them from now on.
4 years ago
Revertron
5d57473122
Major refactoring. Changed mining algorithm to Blakeout. Changed keypair mining algorithm.
4 years ago
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.
4 years ago
Revertron
59df68d7c7
Added hash of last block to Ping/Pong messages.
4 years ago
Revertron
92ebefce91
Changed and refactored block and transaction structures. Moved signature from transaction scope to block.
4 years ago
Revertron
1045777ee5
Finished the work on status bar. All status information is in sync now.
4 years ago
Revertron
e53245315f
Implemented status bar with some status information: sync process, connected nodes and blockchain height.
4 years ago
Revertron
d7911dfe04
Implemented mining zone screen. Added a lot of user input checks.
4 years ago
Revertron
9a9adbe251
Fixed more duplicate peers from exchange.
4 years ago
Revertron
df19021c62
Fixed high CPU usage, duplicate peers from exchange and tab change code.
4 years ago
Revertron
803b70fc25
Speedup initial blockchain receiving.
4 years ago
Revertron
193275da7f
Implemented rotating DNS upstreams from config. Fixed warnings.
4 years ago
Revertron
0847b7b8a6
Implemented peer domains resolve.
4 years ago
Revertron
483be5215a
Improved peer reconnection code.
4 years ago
Revertron
93d688c479
Added a decent logging.
4 years ago
Revertron
71f7fe3c88
Minor network fixes.
4 years ago
Revertron
6676c0779f
Made peer connections more reliable.
4 years ago
Revertron
8c9809bc0c
Fixed some network errors.
4 years ago
Revertron
d135204af7
Implemented DNS on blockchain. Beautified a lot of code, fixed some things.
4 years ago
Revertron
364a969a53
Refactored key-management a lot.
4 years ago
Revertron
4c4493f797
Fixed block exchange and server reconnection.
4 years ago
Revertron
abb2455d1c
Implemented block adding check. Cleared many warnings, cleaned code.
4 years ago
Revertron
1331f44b0e
Refactored block and transaction structure. Introduced a 'confirmation' entity to avoid block interceptions (at least make them pointless).
4 years ago
Revertron
279b3e87c3
Implemented P2P peer exchange. Refactored project structure.
4 years ago
Revertron
9e7a1b8834
Implemented P2P network protocol. Refactored project structure.
4 years ago