Commit Graph

2674 Commits

Author SHA1 Message Date
ghassmo
77a52ea0fe bin/ircd: run four executor threads 2022-03-09 17:49:21 +04:00
ghassmo
947282debc Makefile: check sql in script/sql 2022-03-09 17:49:21 +04:00
aggstam
eb2342d424 script/research/streamlet_rust: Block signature encoding modified 2022-03-09 15:22:44 +02:00
Dastan-glitch
657f8ec806 formatting 2022-03-09 10:22:46 -05:00
Dastan-glitch
24798b0a81 update Cargo.toml and Cargo.lock 2022-03-09 10:21:07 -05:00
Dastan-glitch
7c3810021f Add tau-cli in bin/ 2022-03-09 10:20:25 -05:00
Dastan-glitch
1a59f443f7 Add taud in bin/ with a simple cmd_add as an example on rpc 2022-03-09 10:20:05 -05:00
lunar-mining
70819883e2 poll: parse json data into Model structs
as the values may be null we cannot parse using this form:

    let foo: Foo = serde_json::from_value(bar)

manual_connect is the exception to this as right now we are just parsing
dummy data which is never null.

otherwise if the data is empty we simply write empty values to NodeInfo.
this will be rendered as Null in ui::ui()
2022-03-09 12:09:18 +01:00
lunar-mining
ab7650e3e0 model: created new data structures to handle p2p data
this change removes the struct called Connection and introduces ManualInfo, OutboundInfo and InboundInfo structs
2022-03-09 08:45:37 +01:00
lunar-mining
a3a8112f2e make DnvConfig a seperate crate and pass to ui 2022-03-09 08:45:37 +01:00
lunar-mining
0fadfe39d1 renamed MapConfig to DnvConfig and pass to render() 2022-03-09 08:45:37 +01:00
lunar-mining
b91955c151 cleaned up old comments and simplified run_rpc() 2022-03-09 08:45:36 +01:00
narodnik
a068ff2da9 add mdbook-katex to doc/README.md 2022-03-08 19:28:16 +01:00
parazyd
28510c2e5b book: Add blockchain.md to summary. 2022-03-08 19:16:17 +01:00
ghassmo
bcd4dcc2ee src/net: use to_string from Display trait for OutboundState and P2pState enums 2022-03-08 21:27:30 +04:00
ghassmo
573b858e67 rpc/jsonrpc: minor change 2022-03-08 21:24:16 +04:00
ghassmo
f41ca32e76 src/net: remove warning msg 2022-03-08 20:08:46 +04:00
ghassmo
860b2cf324 move sql to script dir 2022-03-08 19:55:25 +04:00
mohab
e9f3d2901b [doc/architecture] added missing raw in block 2022-03-08 16:39:51 +02:00
parazyd
d84f4c21b0 book: Move namespace from book to doc. 2022-03-08 10:55:16 +01:00
narodnik
cb1bd6af9c netcode add get_info for inbound session as well 2022-03-07 18:51:33 +01:00
narodnik
d7251ab2dd bugfix: dont remove address when connection is opened for outbound 2022-03-07 18:07:35 +01:00
narodnik
f143e10200 correct typo 2022-03-07 17:53:13 +01:00
narodnik
e3857fd211 add get_info() hooks throughout net code (incomplete) used for introspecting state while p2p network is live. 2022-03-07 15:47:07 +01:00
lunar-mining
d8a2ebab23 dnetview_config: change default rpc_port 2022-03-07 11:28:28 +01:00
lunar-mining
d3fd551e23 renamed map to dnetview
rationale: map is too generic. dnetview is a descriptive name as it
captures the following:

d for dark
net for network
view for view network topology
2022-03-07 10:44:07 +01:00
lunar-mining
e8bb31873b map/poll: parse info from rpc request and render in ui.rs.
there is now a new type of connection called manual session. this change
passes manual session to NodeInfo and renders.

rendering here is still very primitive-- we are still working with dummy
network values.
2022-03-07 10:37:03 +01:00
narodnik
198061daa2 add get_info() hook for p2p and sessions 2022-03-06 21:57:56 +01:00
lunar-mining
31a991ea7f poll(): print rpc reply and do not render for testing purposes 2022-03-06 21:59:12 +01:00
narodnik
fc79d6469b add LOG_TARGETS 2022-03-02 13:14:05 +01:00
narodnik
7c265f932f add README.md 2022-03-02 10:14:43 +01:00
Dastan-glitch
1680d56b2f ircd: cleanup 2022-03-01 21:01:43 -05:00
ghassmo
aad2caa3df clean up & remove warning messages 2022-02-27 00:51:35 +04:00
narodnik
1a901f50de improve halo2.sage doc 2022-02-26 20:58:21 +01:00
ghassmo
59261f0d43 rpc/jsonrpc: finish the implementation for supporting tor and nym protocols on client side 2022-02-26 23:24:05 +04:00
ghassmo
7067f6314c rpc/jsonrpc: handle errors properly inside send_request function 2022-02-26 22:05:31 +04:00
ghassmo
4229b934a5 error: add NoSocks5UrlFound error 2022-02-26 21:46:08 +04:00
ghassmo
a105813fb1 rpc/jsonrpc: WIP implement support for tor and nym protocols through socks5 2022-02-26 21:40:59 +04:00
ghassmo
d82ecbb6bc bin/darkfid: pass socks_url to send_request function 2022-02-26 20:14:05 +04:00
ghassmo
db39cc4948 bin/darkfid: add socks_url to darkfid's config 2022-02-26 20:00:37 +04:00
ghassmo
d6d629d44c rpc/jsonrpc: clean up send_request function 2022-02-26 19:54:42 +04:00
ghassmo
1210aaed3e add fast-socks5 crate 2022-02-26 19:53:49 +04:00
parazyd
45f82839ca example: WIP DAO proposal process. 2022-02-26 12:28:37 +01:00
Dastan-glitch
66699fd1d5 migrate net select::futures to use async_std timeout function instead 2022-02-25 21:26:06 -05:00
ghassmo
99238b7f26 bin/drk: use UrlConfig & cargo fmt 2022-02-25 18:52:46 +04:00
ghassmo
55c3532f23 bin/darkfid: use UrlConfig in configuration file 2022-02-25 18:28:41 +04:00
ghassmo
c66dddaee3 util/cli: implement UrlConfig for various url configuration in toml
files
2022-02-25 18:26:13 +04:00
ghassmo
2c31256b40 makefile: remove cli feature 2022-02-25 16:15:58 +04:00
aggstam
32daa3cf3e script/research/streamlet_rust: Moved tx confirmation to block finalization 2022-02-24 21:48:04 +02:00
ghassmo
035dbb1c21 add clap crate to dev-dependencies 2022-02-24 21:04:00 +04:00