Commit Graph

6670 Commits

Author SHA1 Message Date
y
9ff94cde44 doc: add fuzz instructions to Contributing 2023-08-24 18:36:19 +00:00
lunar-mining
cd9cb7b6de dnetview: remove dnetview from /bin and Cargo.toml
we are working on a rewrite in python and this current version is broken
on master and unmaintained.
2023-08-24 18:35:33 +02:00
lunar-mining
a378f9a761 doc: remove dchat from summary
temporarily remove dchat from the visibly accessible docs as it needs to
be ported over to the new network code. dnetview usage will also change
with the new release, so we are just disabling the tutorial for now.
2023-08-24 18:34:37 +02:00
x
1575d21f6c doc: add missing lines in prev commit 2023-08-24 17:08:46 +02:00
x
6dcf6a6d6a doc: add services page 2023-08-24 16:58:42 +02:00
parazyd
2291a2bc90 lib: Minor clippy lints. 2023-08-24 15:33:41 +02:00
parazyd
2d0e3b0d89 lib: Clean up imports 2023-08-24 15:29:16 +02:00
parazyd
481066de2f tests/network-transports: Add example of (de)serializing directly to streams. 2023-08-24 14:27:03 +02:00
parazyd
98703d361a lib: Add necessary traits around for async serial. 2023-08-24 14:27:03 +02:00
parazyd
75cb654068 serial: Introduce full async serialization support.
Unfortunately this duplicates the code, but it is beneficial for perf.
2023-08-24 14:27:03 +02:00
parazyd
dfdb4c0d5e darkfi-derive: Apply changes for internal Async{Encodable,Decodable} derive. 2023-08-24 14:27:03 +02:00
parazyd
e6fd1d5221 darkfi-derive-internal: Add support for Async{Encodable,Decodable} derive. 2023-08-24 14:27:02 +02:00
x
a53e84f5ea hosts: make quarantine_limit a configurable setting 2023-08-24 12:19:17 +02:00
x
61c269f776 net/outbound_session: start() doesnt return Err so remove error handling and result 2023-08-24 11:42:19 +02:00
x
2db408de14 p2p: greatly simplify & delet kod. p2p doesnt need a StoppableTask - the sessions themselves create their own StoppableTasks when calling start() and yield immediately. 2023-08-24 11:36:31 +02:00
x
21df1a2f52 add assert_err macro 2023-08-24 11:16:26 +02:00
x
d4ba515f7d net: remove p2p.run(), now we simply call p2p.start() and p2p.stop() 2023-08-24 11:00:58 +02:00
x
a2ae02ad9f net: reorganize code of outbound session into individual separated slots 2023-08-24 09:37:04 +02:00
x
2e1bc56371 net: remove redundant check, the prev line does p2p.exists(host). All sessions should add to this list through Session::perform_handshake_protocols() 2023-08-24 08:32:50 +02:00
x
68d51f794a net/hosts: rename load_*/get_* to fetch_*. We are doing an async get, so fetch more accurately conveys meaning here 2023-08-24 08:23:51 +02:00
parazyd
fe215e632c fuzz: Add zkas Lexer fuzzer. 2023-08-23 23:54:33 +02:00
parazyd
576a20e057 zkas: Propagate io::Result instead of aborting on errors. 2023-08-23 23:42:57 +02:00
parazyd
00e4456787 fuzz: Serialize attempt 2023-08-23 22:21:42 +02:00
parazyd
3d867832ac doc: Stop building rustdoc for dependencies. 2023-08-23 20:12:09 +02:00
parazyd
f5b34c56e6 contract/money: Enable forgotten test. 2023-08-23 19:50:14 +02:00
parazyd
535bd2c870 CI: Update mdbook binaries 2023-08-23 19:17:46 +02:00
parazyd
cee481b0c3 chore: Update crate dependencies 2023-08-23 19:15:03 +02:00
parazyd
dbe31b80cc contrib: Fix compile_all_bins.sh 2023-08-23 18:56:47 +02:00
Dastan-glitch
e67e7b25e2 rpc: fix close connection cleanly 2023-08-23 17:53:13 +03:00
y
ed53f896af chore: fix typos in comments and logs 2023-08-23 09:12:40 +00:00
greptile
970698f4a9 consensus: add unit test for bounds on f (#192)
* consensus: add unit test for bounds on f

Added test f_is_bounded to src/validator/consensus/pid.rs

Test by running:
cargo test --release --all-features f_is_bounded

* fix CI error (cargo fmt)

---------

Co-authored-by: y <y>
2023-08-23 09:12:13 +00:00
parazyd
ba0728a392 zkas: Remove clap dependency. 2023-08-23 11:06:27 +02:00
x
7399f8c15e doc: p2p-net.md improve wording further 2023-08-23 11:05:17 +02:00
x
507e4e02a6 doc: p2p-net.md improve wording for 1.1 2023-08-23 11:03:07 +02:00
x
c445c0f8eb doc: p2p-net.md clarify protocol and specify it more 2023-08-23 10:54:22 +02:00
x
3b4103e40b net: change private p2p functions to pub(crate) 2023-08-23 10:45:59 +02:00
x
97176c4424 update Cargo.lock 2023-08-23 09:58:22 +02:00
x
f203b77281 Revert "bugfix: get_log_config(), the log level is set in TermLogger::new(), not in get_log_config() which simply controls the formatting."
This reverts commit 39db8099d9.
2023-08-23 09:41:58 +02:00
x
39db8099d9 bugfix: get_log_config(), the log level is set in TermLogger::new(), not in get_log_config() which simply controls the formatting. 2023-08-23 09:25:06 +02:00
x
dfcf89e4be doc: arch/p2p.md fix small typos 2023-08-23 08:30:59 +02:00
x
723adfd01d doc: add arch/p2p.md 2023-08-23 08:17:01 +02:00
parazyd
ae6a2b7707 contract: Fix test compilation. 2023-08-22 20:25:29 +02:00
parazyd
9b4418931f zkas: Remove itertools dependency. 2023-08-22 20:22:58 +02:00
parazyd
2b3859e194 util/parse: Delete unused truncate() function. 2023-08-22 19:59:51 +02:00
parazyd
9b969aaef3 Update Cargo.lock 2023-08-22 19:55:37 +02:00
parazyd
478bfa2a00 contract: Remove async-std dependencies. 2023-08-22 19:55:37 +02:00
parazyd
a5360368aa bin: Remove async-std dependencies. 2023-08-22 19:55:37 +02:00
parazyd
a02e3475f6 lib: Remove async-std dependency. 2023-08-22 19:55:37 +02:00
x
4c94fa251c add docstring for StoppableTask 2023-08-22 15:19:50 +02:00
Dastan-glitch
cdb0598ef2 default datastore path to be ~/.local/darkfi/ for darkirc and tau 2023-08-22 16:18:54 +03:00