Revertron
3d26b81383
Optimized peer connections.
3 years ago
Revertron
7229a112e5
Improved new block handling.
3 years ago
Revertron
0e153ae47e
Fixed #44 , no external object in Arch Linux webkit.
3 years ago
Revertron
5994622f59
Fixed resolve of SOA records #40 .
3 years ago
Revertron
9b093a8172
Implemented presentation and editing for domains.
3 years ago
Revertron
da15a02e11
Fixed a string
3 years ago
Revertron
6c3135d1e3
Updated consensus code.
3 years ago
Revertron
37941103ba
Changed some logging.
3 years ago
Revertron
aef30818be
Changed some logging.
3 years ago
Revertron
27352ba0d8
Increased DNS client timeout from 3 second to 10. Changed 1 bootstrap address.
3 years ago
Revertron
2b58d063dd
Increased DNS client timeout from 1 second to 3. Added YGGv6 address to bootstrap peers. Incremented version.
3 years ago
Revertron
536515519a
Refactored the work with signing blocks.
3 years ago
Revertron
ee9b73b190
Fixed negative DNS responses.
3 years ago
Revertron
ae77ee6780
Removed check_db() as not needed now. Maybe we will need it sometimes.
3 years ago
Revertron
92209689d6
Fixed parsing of DomainData, many other fixes.
3 years ago
Revertron
514c49307a
Added hints to controls.
3 years ago
Revertron
a8f7838b87
Fixed some styles.
3 years ago
Revertron
f671de3746
Added some checks for "Yggdrasil only" zones.
3 years ago
Revertron
04189f319a
Added target difficulty to statusbar.
3 years ago
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'.
3 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.
3 years ago
Revertron
445733fd29
Added a github link to help page.
3 years ago
Revertron
db86bfcd07
Fixed key generated success message.
3 years ago
Revertron
7830681b38
Refactored interface. Added log events to Events tab.
3 years ago
Revertron
fd294580c7
Optimized network stuff.
3 years ago
Revertron
9afedb50ed
Changed log levels to make alfis less chatty.
3 years ago
Revertron
cde1ccb6f7
Added a profound error message in case DNS servers could not bind.
3 years ago
Revertron
6dae3e41c0
Changed log levels to make alfis less chatty.
3 years ago
Revertron
291dae3b0a
Changed log type for some lines.
3 years ago
Revertron
7edc425bc6
Added commandline flags to genenerate and upgrade config files.
3 years ago
Revertron
fba9a976ea
Fixed duplicate zone names in GUI.
3 years ago
Revertron
8168ab37b3
(Hopefully) fixed network stucks.
3 years ago
Revertron
cddfa7b347
Updated some dependencies.
3 years ago
Revertron
5495686807
Fixed sending SOA for records in hosts files.
3 years ago
Revertron
db6b96f8dc
Added a disconnect for sockets with 3+ spurious wakeups.
3 years ago
Revertron
bc0726d3f9
Moved check for spurious wakeup, and added registry.reregister for socket. May help further.
3 years ago
Revertron
905bb9e734
Added debug print for events in server socket.
3 years ago
Revertron
588ac6ae00
Hopefully fixed spurious wakeups of 'mio.poll'.
3 years ago
Revertron
aa54e9fab6
Changed allowed zone difficulty to 15-30.
3 years ago
Revertron
e1d0df33d5
Fixed resolve of CNAME records.
3 years ago
Revertron
882d826c26
Implemented hosts-file support. You can resolve local names or block ads on DNS level!
3 years ago
Revertron
edf202b255
Optimized imports.
3 years ago
Revertron
39accf7bd3
Small fix in p2p.
3 years ago
Revertron
8d7f1b2c6b
Some optimization for P2P part. Added panic on error of reregistering server token - needed for investigation of stuck network.
3 years ago
Revertron
d70b107955
Speed up of initial peer discovery.
3 years ago
Revertron
11bc887fbb
Fixed operation with zones in JS.
3 years ago
Revertron
e806cf5612
Added config option to ignore all nodes except from Yggdrasil.
3 years ago
Revertron
a4ecb1f0f7
Very important DNS resolver fix.
3 years ago
Revertron
7e742c1553
Fixed DNS answers for provided zones.
3 years ago
Revertron
bbcfa102b1
Fixed erroneous ignore of nodes if there was some error.
3 years ago
Revertron
cb8b207f34
Fixed a warning.
3 years ago
Revertron
4e0b0b3d1c
Added mining threads count option.
3 years ago
Revertron
fd6edce6b5
Remastered domain mining interface!
3 years ago
Revertron
594878614f
Added horizontal tabs to the new interface.
3 years ago
Revertron
fc90706213
Added success notifications from miner.
3 years ago
Revertron
f21f299fb5
Changed FontAwesome to LineAwsome to go away from Google.
3 years ago
Revertron
a8ccd81783
Fixed synchronizing status in statusbar.
3 years ago
Revertron
ffd03aa62e
Updated Bulma CSS. Remastered whole GUI.
3 years ago
Revertron
1225bf6fbc
Added a keys check on load. Added a warning on errors.
3 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.
3 years ago
Revertron
046c06beeb
First signed block number changed to 35 to be able to get more signers.
...
Refactored cloning of Arcs.
3 years ago
Revertron
4ddacd2f57
Tuned up difficulty constant for comfortable use with new algo.
...
Mined new origin block to start over test network.
3 years ago
Revertron
c5204aaed1
Refactored a lot of cryptography. Moved from "rust-crypto" to https://github.com/RustCrypto
3 years ago
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).
3 years ago
Revertron
0b5f5d0793
Implemented purging old disconnected peers.
3 years ago
Revertron
fdc5b8f233
Added app_version to handshake.
3 years ago
Revertron
d23990c3e7
Fixed some warnings.
3 years ago
Revertron
dcf5bb72b0
Eliminated connection loops.
...
Optimized network processes.
Removed some unnecessary logging.
Fixed status bar info inconsistency.
3 years ago
Revertron
71edf68279
Small fixes and update of screenshot.
3 years ago
Revertron
57da059379
Fixed GUI/NoGUI logic in builds.
3 years ago
Revertron
decb430d82
Small fix in miner.
3 years ago
Revertron
8a19d02b1a
Added features to control building with or without GUI, or use Edge engine on Windows.
3 years ago
Revertron
31bbb65ce9
Fixed deadlock.
3 years ago
Revertron
dda44f7df6
Implemented immidiate check of DNS records, reverted Edge usage.
3 years ago
Revertron
863854790f
Updated WebView version, added support for Edge engine on Windows, fixed some HTML.
3 years ago
Revertron
8eee9afb6a
Added some info to main screen and a screenshot of it to readme.
3 years ago
Revertron
7e24383894
Major GUI refactoring.
3 years ago
Revertron
a4e9d92680
Fixed getting zone difficulty.
3 years ago
Revertron
278f7a8c34
Fixed an important TODO.
3 years ago
Revertron
d3d67b6d0e
Small optimization.
3 years ago
Revertron
1d9833db0f
Implemented right way to constrain zone difficulty.
3 years ago
Revertron
d8ac1e3c32
Fixed wait for signing mode in miner.
3 years ago
Revertron
a06390009e
Fixed small bug and test.
3 years ago
Revertron
fb53d775a1
Fixed refactor of setup of mining threads.
3 years ago
Revertron
99eabff874
Refactored setup of mining threads.
3 years ago
Revertron
8d56fcb5e7
Another fix of MacOS build.
3 years ago
Revertron
f4bab8a091
Fixed MacOS build.
3 years ago
Revertron
96ec25c0d0
Added a decent reaction to a new block in chain in mining process.
3 years ago
Revertron
c7e845af05
Made it possible to run ALFIS without settings file. It will be created if not found.
3 years ago
Revertron
394463ef15
Added more restriction for blocks and zone names.
3 years ago
Revertron
809256b955
Added more restriction by public key. Added alternative zones to restrictions.
3 years ago
Revertron
b39f5fa7f0
Added restriction by public key, made some refactoring.
3 years ago
Revertron
186f9cb05b
Added a restriction for IANA domain zones. Users cannot mine them from now on.
3 years ago
Revertron
5d57473122
Major refactoring. Changed mining algorithm to Blakeout. Changed keypair mining algorithm.
3 years ago
Revertron
5c2373b40d
Small changes.
3 years ago
Revertron
aa32599092
Added some more checks for block properties, moved them around.
3 years ago
Revertron
9718fa8a81
Tuned some constants adn options.
3 years ago
Revertron
0d40f6599b
Fixed hash-tail tests.
3 years ago
Revertron
9f7a6a126b
Fixed linux tests.
3 years ago
Revertron
dddc540484
Fixed MacOS build.
3 years ago
Revertron
1cd1fed178
Added full IPv6 support for DNS-resolver upstreams.
3 years ago
Revertron
ce212ab749
Changed format of DNS-listen options. Added DNS-thread count options to config.
3 years ago
Revertron
ac915a1e92
Changed settings format file from JSON to Toml.
3 years ago
Revertron
c5d20d2e00
Made all mining threads low-priority.
3 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.
3 years ago
Revertron
59df68d7c7
Added hash of last block to Ping/Pong messages.
3 years ago
Revertron
92ebefce91
Changed and refactored block and transaction structures. Moved signature from transaction scope to block.
3 years ago
Revertron
1045777ee5
Finished the work on status bar. All status information is in sync now.
3 years ago
Revertron
e53245315f
Implemented status bar with some status information: sync process, connected nodes and blockchain height.
3 years ago
Revertron
46c49fe4c9
Fixed filtering of existing zones in blockchain.
3 years ago
Revertron
a8e7797863
Small GUI changes.
3 years ago
Revertron
6a3d7c6ab6
Changed logging in DNS-server.
3 years ago
Revertron
e75bbf21cc
Fixed warnings in hermes.
3 years ago
Revertron
f48f198c96
Implemented setting bind-host for DNS-resolver, fix.
3 years ago
Revertron
074a709f3b
Implemented setting bind-host for DNS-resolver.
3 years ago
Revertron
d7911dfe04
Implemented mining zone screen. Added a lot of user input checks.
3 years ago
Revertron
2766cc4a05
Added clearing of records when you start mining.
3 years ago
Revertron
9a9adbe251
Fixed more duplicate peers from exchange.
3 years ago
Revertron
df19021c62
Fixed high CPU usage, duplicate peers from exchange and tab change code.
3 years ago
Revertron
803b70fc25
Speedup initial blockchain receiving.
3 years ago
Revertron
ecb58b9984
Fixed config path option.
3 years ago
Revertron
193275da7f
Implemented rotating DNS upstreams from config. Fixed warnings.
3 years ago
Revertron
daf1592341
Implemented adding complex DNS-records like MX, TXT, SRV.
3 years ago
Revertron
38feb11cff
Fixed DNS-records search.
3 years ago
Revertron
0847b7b8a6
Implemented peer domains resolve.
3 years ago
Revertron
483be5215a
Improved peer reconnection code.
3 years ago
Revertron
93d688c479
Added a decent logging.
3 years ago
Revertron
71f7fe3c88
Minor network fixes.
3 years ago
Revertron
2bea778e0f
Fixed running with console on Windows when compiled as GUI app.
3 years ago
Revertron
6676c0779f
Made peer connections more reliable.
3 years ago
Revertron
8c9809bc0c
Fixed some network errors.
3 years ago
Revertron
d135204af7
Implemented DNS on blockchain. Beautified a lot of code, fixed some things.
3 years ago
Revertron
4b5e5112da
First DNS compile. Took DNS code from https://github.com/EmilHernvall/hermes .
3 years ago
Revertron
b4ae51088d
Suppressed console errors from webview.
...
Fixes: https://github.com/Revertron/Alfis/issues/1
3 years ago
Revertron
a033cbcf38
Removed vertical scroll-bar.
3 years ago
Revertron
1ec02381e8
Moved mining indicator to left-bottom corner, fixed mining canceling.
3 years ago
Revertron
f28bedb8a1
Fixed panic when you try to mine genesis with existing origin hash in config.
3 years ago
Revertron
c3a2fb21e3
Updated serde version and some imports.
3 years ago
Revertron
eddb4ffbce
Fixed initial keystore display.
3 years ago
Revertron
364a969a53
Refactored key-management a lot.
3 years ago
Revertron
4c4493f797
Fixed block exchange and server reconnection.
3 years ago
Revertron
abb2455d1c
Implemented block adding check. Cleared many warnings, cleaned code.
3 years ago
Revertron
1331f44b0e
Refactored block and transaction structure. Introduced a 'confirmation' entity to avoid block interceptions (at least make them pointless).
3 years ago
Revertron
279b3e87c3
Implemented P2P peer exchange. Refactored project structure.
3 years ago
Revertron
9e7a1b8834
Implemented P2P network protocol. Refactored project structure.
3 years ago
Revertron
562c004b0d
Implemented and added usage of eventbus. Added a lot of UI interaction. Added a lot of DB work.
3 years ago
Revertron
9e6a01847e
Changed chain id to chain name (it will be a string). Implemented saving blockchain to sqlite DB.
3 years ago
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.
3 years ago
Revertron
4703ae6f49
Implemented multi-threaded CPU-miner.
3 years ago
Revertron
01f37cc238
Made a full refactoring of synchronization primitives between settings, keystore, blockchain and miner.
4 years ago
Revertron
3eaf63ba79
Made some pancurses interface, but it will lead to a bunch of problems. Commiting just for the history, will change it to web-view.
5 years ago
Revertron
b5e36da737
Removed Hash struct, cleaned the code. Renamed Wyrd to wyrd_ns.
5 years ago
Revertron
f46367c95d
First correct working serialization.
5 years ago