Commit Graph

6485 Commits

Author SHA1 Message Date
aggstam
80ffd5afd6 validator/consensus: proposal generation implemented 2023-08-10 19:32:06 +03:00
y
c4be1e61c8 [docs] fix rustdoc 404 due to ircd name change 2023-08-10 15:24:58 +00:00
parazyd
78c4180c90 net: Improve log message. 2023-08-10 17:23:57 +02:00
parazyd
9b61334f1a chore: cargo fmt 2023-08-10 17:20:49 +02:00
Dastan-glitch
7a088ee6e3 bin/darkirc: add abbility to recover our own public key from secret key 2023-08-10 00:09:06 +03:00
Dastan-glitch
74cac6c765 book: [event_graph] fix syncevent name 2023-08-09 23:06:22 +03:00
lunar-mining
a4d14cc768 dnetview: comment out debug statement 2023-08-08 21:20:19 +02:00
aggstam
a2fb71e8cc darkfid2: various json-rpc subscribers added 2023-08-08 19:00:49 +03:00
aggstam
d3aa5ba643 rpc/jsonrpc: simplyfied subscibers usage 2023-08-08 19:00:49 +03:00
lunar-mining
db530515c2 dnetview: add daemons to default config 2023-08-08 16:35:32 +02:00
lunar-mining
03d5c6f1d3 dnetview: enable memory leak
we enable dnet logs at the start of dnetview. we never disable them, so
this makes the switch logic pointless and reintroduces a memory leak.

we will push an update soon that also disables dnet logs.
2023-08-08 16:28:47 +02:00
Dastan-glitch
cc571fa5f1 bin/darkirc: add rpc_listen to darkirc_config.toml 2023-08-08 17:01:58 +03:00
Dastan-glitch
aef87a66e8 bin/darkirc: [bots] skip tasks also by thier workspace 2023-08-08 04:58:33 +03:00
Dastan-glitch
b9da1808e7 bin/darkirc: [mirror-bot] honest mistake 2023-08-07 03:47:59 +03:00
Dastan-glitch
8203ce633e bin/darkirc: add mirror-bot script 2023-08-07 03:39:42 +03:00
Dastan-glitch
a1328cf745 update Cargo.lock 2023-08-07 03:38:20 +03:00
lunar-mining
2b4cfa4522 dnetview: sleep for 2 sec between poll instead of 2000 sec
also cargo fmt and cleanup
2023-08-06 17:04:32 +02:00
lunar-mining
7deb7ca787 dnetview: ignore node data if dnetview is not enabled 2023-08-06 13:43:07 +02:00
lunar-mining
8e020cb31a dnetview: replace tui dependency with ratatui
As per https://github.com/fdehau/tui-rs/issues/654, tui-rs is no longer
being actively maintained. This commit updates dnetview to work with
ratatui, a community-maintained fork of tui-rs.
2023-08-06 13:24:27 +02:00
lunar-mining
51bfdfdd58 dnetview: add dnet_enabled() flag to NodeInfo and update View
View now displays a warning when dnetview is not enabled.
2023-08-06 12:34:53 +02:00
lunar-mining
526a4c7e77 dnetview: various bug fixes and cleanup
* fix bug that was multiplying the number of inbound and outbounds due to including null() sessions in a loop
* stop looping through session.info in make_ordered_list (it's not a vew now)
* create a specific networkID for lilith networks (better debugging)
* rename Connect to Slot
2023-08-06 10:12:50 +02:00
lunar-mining
11250d1b6c dnetview: bug fixes and cleanup
Fix bug causing slot info to replicate via nested vectors. Also make
state and Option<String>.
2023-08-06 10:12:50 +02:00
ertosns
265b2a919c [research/lotterysim] write log every 100th step of running time 2023-08-05 19:43:19 +03:00
ertosns
635c326c17 [research/lotterysim] fix drop in accuracy after 0mint distribution ends; starting with 0 premint at genesis/pre-genesis 2023-08-05 13:23:16 +03:00
Dastan-glitch
98aa63cb9f bin/darkirc: bots don't need history 2023-08-05 05:45:25 +03:00
Dastan-glitch
f1e01243e8 event_graph: minor correction of a comment 2023-08-05 05:45:08 +03:00
aggstam
67d5ed7d28 validator: current slot generation added 2023-08-04 18:42:05 +03:00
lunar-mining
1410e8b280 dnetview: remove annoying empty brackets when there's no remote id 2023-08-04 17:36:46 +02:00
lunar-mining
6c5be7fbfe dnetview: handle session object properly and reduce LOC
replaces parse_inbound() and parse_outbound() with a single function,
parse_session().

also receives and handles json replies regarding session objects properly.
2023-08-04 17:36:46 +02:00
lunar-mining
c80f53a322 dnetview: improve NodeInfo data type + re-enable view
Pass inbound and outbound as two Vec<SessionInfo> into NodeInfo.
Update and re-enable UI.
2023-08-04 17:36:46 +02:00
lunar-mining
12e74f0a22 dnetview: update parse_inbound() and parse_outbound()
Restructure json parsing according to f73c9c8f61,
2023-08-04 17:36:46 +02:00
lunar-mining
782fd151b2 dnetview: update data structures
Update dnetview data structures according to
f73c9c8f61.
2023-08-04 17:36:46 +02:00
lunar-mining
75cbdeca86 dnetview: update Lilith render to latest RPC API
Lilith no longer returns a list of URLs in the top level json along
with its own info, so we remove that from the view. We retain the list
of URLs that are nested within NetworkInfo.
2023-08-04 17:36:46 +02:00
aggstam
bfa6a9e3c5 the numbers mason what do they mean 2023-08-03 22:15:36 +03:00
aggstam
490436b11e validator: check that eta is carried as slots progress 2023-08-03 19:11:18 +03:00
aggstam
df5f2a7568 blockchain/Slot: renamed previous.eta to last_eta 2023-08-03 18:13:01 +03:00
parazyd
bea7596209 Revert "Embed git revision in CLI version output."
This reverts commit 459170ff09.
2023-08-03 11:52:16 +02:00
Dastan-glitch
51c251cc23 bin/darkirc: fix not replaying user's own messages when getting history 2023-08-03 02:43:46 +03:00
Dastan-glitch
dc76d43b74 bin/tau: show task number with title when creating a task 2023-08-03 02:27:32 +03:00
Dastan-glitch
f3b8087856 event_graph: fix failing commented tests 2023-08-03 02:15:42 +03:00
Dastan-glitch
399f63acb9 event_graph: fix prune_chains() and diff_depth() 2023-08-03 02:14:01 +03:00
greptile
fa8ecdac4f cleanup: remove typo and git merge info from documentation (#188)
* cleanup: remove git merge info from dchat README

* doc: fix spelling mistake

---------

Co-authored-by: y <y>
2023-08-02 15:42:38 +00:00
aggstam
2cb64488ed noob detected 2023-08-02 18:40:50 +03:00
aggstam
e71264d376 darkfid2: moved p2p protos from validator to darkfid using wrapper structs for messages 2023-08-02 18:37:43 +03:00
parazyd
459170ff09 Embed git revision in CLI version output. 2023-08-01 22:15:40 +02:00
aggstam
41c77f0706 validator:consensus: minor functions rename 2023-08-01 19:51:29 +03:00
aggstam
a854452621 chore: fmt 2023-08-01 19:46:12 +03:00
aggstam
cc25514ed2 validator:consensus: proposal verification added 2023-08-01 19:45:50 +03:00
lunar-mining
0c7aecd50d dchat: update README with lilith usage 2023-08-01 17:54:51 +02:00
lunar-mining
3904492f7c dchat: add libsqlite3-sys dependency to Cargo.toml 2023-08-01 17:52:30 +02:00