Commit Graph

456 Commits

Author SHA1 Message Date
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
fbe6937a20 chore: Update crate dependencies 2024-10-15 16:08:54 +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
dasman
9ad05642a3 example/p2pdebug: fix fromatting 2024-06-12 02:46:16 +03:00
dasman
823db436e4 replace last couple of ircd words 2024-06-12 02:40:37 +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
998ea5ac6b example: Remove obsolete code 2024-06-04 12:18:41 +02:00
parazyd
aaef3705e5 example: Add very basic hello-world contract 2024-06-04 12:18:41 +02:00
parazyd
2e37330d0d chore: Update crate dependencies 2024-05-27 15:29:58 +02:00
skoupidi
080417bb3f chore: replaced all MerkleTree::new(100) with MerkleTree::new(1) for consistency 2024-04-27 16:02:36 +03: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
zero
4532b8d229 for most .zk proofs, provide a corresponding witness.json file which is usable with zkrunner, benchmarks and other utils (using import_witness_json()). 2024-03-27 11:30:04 +01:00
parazyd
8778d57b42 chore: Update crate dependencies 2024-03-07 14:17:17 +01: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
parazyd
0e6f51e895 chore: Update copyright year in license headers 2024-01-16 13:07:22 +01:00
parazyd
43030a9eea chore: Enable some additional arti-client crate features
Additionally perform a dependency update.
2024-01-09 15:58:39 +01:00
parazyd
dedc29430e chore: Update crate dependencies 2024-01-08 15:58:50 +01:00
parazyd
bec3b520e5 dchat: Remove stray lines in Cargo.toml 2024-01-08 12:52:14 +01:00
parazyd
64377fe908 example/dummy-contract: Fix paths 2024-01-08 12:47:22 +01:00
lunar-mining
bbf2a67531 dchat: add anchors/ fix ports/ uncomment daemon 2023-12-30 10:47:24 +01:00
lunar-mining
f8dc600fd9 dchat: renamed dchat to dchatd and add placeholder dchat-cli 2023-12-30 10:43:27 +01:00
parazyd
9270910db0 chore: Minor license header fix 2023-12-26 13:33:21 +01:00
parazyd
0aba4e7864 chore: fmt 2023-12-13 12:01:09 +01:00
parazyd
b23021e3a1 chore: Update crate dependencies 2023-12-13 10:14:43 +01:00
lunar-mining
369f894fb7 dchat: add p2p.get_info() method to rpc 2023-12-09 14:53:15 +01:00
lunar-mining
fb97d433ea dchat: fix dchat_config.toml to be v basic for education purposes. 2023-12-09 11:07:16 +01:00
lunar-mining
7a56d67e9c dchat: cleanup Cargo.toml 2023-12-08 21:14:37 +01:00
lunar-mining
777a455c23 dchat: add to darkfi workspace and fix bug in dchat Cargo.toml 2023-12-08 21:11:44 +01:00
lunar-mining
4ec4ddb1a5 dchat: implement rpc methods for send + recv and cleanup 2023-12-08 21:07:05 +01:00
lunar-mining
e4e1cec5fe dchat: refactor to use async-daemonize
TODO: to make dchat compatiable with async-daemonize, we needed to
seperate the dchat daemon from dchat messenger cli.

previously we made a custom daemon so that we could run daemon processes
in the background while leaving the terminal clear for stdin().

the next step is to reimplement the dchat send message menu in python
as a very basic cli.
2023-12-08 21:06:48 +01:00
lunar-mining
914e8037aa dchat: update to new RPC + p2p API and delete redundant dependecies 2023-12-08 21:03:42 +01:00