Commit Graph

139 Commits

Author SHA1 Message Date
x
4f30aae91d doc: Update book links 2026-01-02 17:28:09 +00:00
x
fcdf5ee488 chore: Update crate dependencies 2026-01-01 19:48:04 +00:00
x
ed9be657ab serial: Bring it back home 2026-01-01 19:48:04 +00:00
x
9785777642 chore: Update copyright license year
Happy 2026!
2026-01-01 11:40:45 +00:00
oars
1c9391b0b6 example/dchat/dchatd: DEP-0007: add network profiles to net setting section of the toml configs 2025-12-30 11:30:54 +03:00
oars
179211b2c7 bin,example/dchat,script: DEP-006: retrieve app_name and app_version from CARGO_PKG_NAME and CARGO_PKG_VERSION for use in net Version message 2025-12-30 11:30:54 +03:00
x
add9bb596c chore: Update crate dependencies 2025-12-25 12:22:56 +00:00
x
aa537b9e4b chore: Update crate dependencies 2025-11-24 12:12:14 +02:00
oars
d85cf80dbf replace log imports with tracing everywhere 2025-11-07 10:15:36 +03:00
oars
ac0365cc60 Cargo.toml, Cargo.lock: change dependencies used for logging
- replace log crate with tracing,
- replace simple-log crate with tracing-subscriber and tracing-appender
- add nu-ansi-term crate as a dependency which is itself tracing-subscriber's dependency,
  inorder to write colored outputs to the terminal since we override formatting provided
  by tracing-subscriber
2025-11-07 10:15:36 +03:00
skoupidi
99fad7773c src|tests|example: chore clippy 2025-06-28 17:13:23 +03:00
parazyd
2e2de47c69 v0.5.0 release 2025-06-06 13:50:10 +02:00
parazyd
46d815ace0 chore: Update crate deps and freeze RandomX git rev 2025-05-21 15:01:54 +02:00
parazyd
81f37b7b2a chore: Update crate dependencies 2025-05-03 10:35:40 +02:00
parazyd
c040d9c00f chore: Update crate dependencies 2025-04-15 10:49:43 +02:00
skoupidi
6c02b4a450 net/message: optional metering infra for rate limitting added 2025-03-06 20:16:41 +02:00
skoupidi
b27dec9b45 net/message: optional max message bytes limit added 2025-02-28 15:03:35 +02:00
parazyd
f5baac83cf chore: Update crate dependencies 2025-02-25 12:15:28 +01:00
skoupidi
a671d43cee chore: fmt and fixed minor comments inconsistencies 2025-02-19 13:54:38 +02:00
darkfi
2bbe39e0ee use RpcSettings and RpcSettingsOpt 2025-02-19 13:21:12 +02:00
oars
a5a063f05d dchat-cli: change dchatd default port 2025-02-10 11:26:33 +02:00
oars
9bf13afe4e dchat-cli: implement send and recv rpc requests 2025-02-09 13:45:06 +00:00
parazyd
13620224c0 chore: Update crate dependencies 2025-02-09 10:32:33 +01:00
darkfi
0bf59aad78 net: just patch any external_addr which is set to [::], rather than looping over inbounds 2025-02-08 11:19:48 +01:00
darkfi
bbaa871971 net: use the version exchange to auto-discover our own address when connecting to outbound (protocol_address) or seed (protocol_seed), AND our inbound is set to tcp or tcp+tls with host = [::] (ipv6). 2025-02-08 11:04:06 +01:00
darkfi
f6c6f5b14a dchat: add allowed_transports to example configs 2025-02-06 11:08:10 +01:00
darkfi
08ceaf8c3f Revert "dchat: add accepted_transports to example configs"
This reverts commit 1db8dae9ee.
2025-02-06 11:06:57 +01:00
darkfi
1db8dae9ee dchat: add accepted_transports to example configs 2025-02-06 11:04:29 +01:00
darkfi
6419c759eb dchat: add scripts to autorun a localnet deployment. useful for debugging net code. 2025-02-06 10:43:43 +01:00
parazyd
604f443fd1 chore: Update license header year 2025-01-24 10:36:02 +01:00
parazyd
b5d7c52191 chore: Update crate dependencies 2025-01-21 14:21:32 +01:00
skoupidi
bc22307e8b rcp/server: generalize RequestHandler so we can create multiple instances of it 2024-12-05 16:22:43 +02:00
parazyd
7a3b554e0d chore: Use published darkfi-serial crate where applicable 2024-10-15 16:20:47 +02:00
parazyd
242fe81658 chore: Update crate dependencies 2024-10-01 14:15:03 +02:00
skoupidi
82520041eb chore: clippy elided lifetimes 2024-09-17 16:56:38 +03:00
parazyd
165cb8434b chore: Update crate dependencies 2024-08-29 20:39:22 +02:00
skoupidi
67604acf47 chore: removed duplicate features imports 2024-08-29 18:47:21 +03:00
skoupidi
5f4e2803a9 Cargo.toml: reenabled p2p-tor feature and dropped libsqlite3-sys dep 2024-08-19 19:39:11 +03:00
draoi
c2f8fab5b3 dchatd: enable tor 2024-08-19 11:23:27 +02:00
parazyd
27fd3785f8 chore: Update crate dependencies and CI Rust version 2024-07-09 12:20:06 +02:00
parazyd
46a74e6b60 net: Use AtomicBool for dnet_enabled mark 2024-07-09 09:42:25 +02:00
parazyd
c6227e38e4 net: Create datastore in P2p::new() 2024-07-05 11:17:58 +02:00
skoupidi
8c33d59f40 chore: updated all repo references to codeberg 2024-06-19 20:51:25 +03:00
foo
4eba00236d clippy: add suggested clippy lints to top-level Cargo.toml and enable
clippy linting at the workspace level for all crates

Configure all workspaces to use lints from the top-level Cargo.toml
  file
Add example lints that the project could configure to improve security
  and reliability.
Configure lints to warn level. Using deny level makes other binaries
fail to compile if even one of them has a failure.
No lints are added in this commit. Future changes can enable and fix
lints
2024-06-09 10:35:09 -04:00
parazyd
2e37330d0d chore: Update crate dependencies 2024-05-27 15:29:58 +02:00
draoi
2b18e5307b session: cleanup SessionBitFlags
Add an additional byte to SessionBitFlags to accommodate SESSION_REFINE
and reduce the risk of logic errors.

Additionally:

* `!SESSION_SEED & !SESSION_REFINE` is now referred to as `SESSION_DEFAULT`
* `!SESSION_REFINE` is refered to as `SESSION_NET`.
* `SESSION_ALL` has been deleted since it was conceptually out-dated
* Binaries have been updated.
2024-04-06 11:40:07 +02:00
parazyd
0de97d0db3 chore: Update crate dependencies 2024-03-05 08:47:43 +01:00
draoi
cf431cbd69 dchatd: downgrade version to match master 2024-01-29 15:31:37 +01:00
draoi
ffee76843a dchatd: bugfix
shutdown p2p network only after other tasks have been shutdown
2024-01-27 17:42:53 +01:00
draoi
74f91dd3bc dchat: fix mistakes on default config 2024-01-25 13:22:11 +01:00