Commit Graph

100 Commits

Author SHA1 Message Date
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
parazyd
0e6f51e895 chore: Update copyright year in license headers 2024-01-16 13:07:22 +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
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
lunar-mining
247a87e608 dchat: add .gitignore 2023-12-08 21:02:26 +01:00
lunar-mining
1bb4f67e14 dchat: commit erroring code
error: failed to select a version for darkfi.

... required by package dchat v0.4.1 (/home/x/src/darkfi/example/dchat)

versions that meet the requirements * are: 0.4.1

the package dchat depends on darkfi, with features: async_daemonize but darkfi does not have these features.

failed to select a version for darkfi which could resolve this conflict
2023-12-08 21:01:56 +01:00
lunar-mining
bd78a5e5bf dchat: add async daemonize macro to Cargo.toml 2023-12-08 21:01:47 +01:00
parazyd
295c8dcff9 chore: Update crate dependencies 2023-12-04 19:58:59 +01:00
parazyd
f188c2bb05 chore: Update crate dependencies 2023-11-09 14:20:57 +01:00
parazyd
b61127af9a chore: Update crate dependencies 2023-10-27 09:02:18 +02:00
parazyd
cbe9c64065 chore: Update crate dependencies 2023-08-29 13:08:35 +02:00
parazyd
cee481b0c3 chore: Update crate dependencies 2023-08-23 19:15:03 +02:00
parazyd
44982d320e chore: Update crate dependencies 2023-08-18 10:15:14 +02:00
parazyd
1eb00ef9c2 chore: Update crate dependencies 2023-08-12 13:01:32 +02: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
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
parazyd
c045210763 chore: Update crate dependencies. 2023-07-31 08:05:13 +02:00
y
69602de999 [example] fix outdated link and filename in README
- Fixed outdated link so it no longer gives 404
- Updated folder name from `dchat-seed` to `dchat`
2023-07-28 09:44:55 +00:00
parazyd
d34b9cbb03 chore: Update crate dependencies 2023-07-22 13:16:16 +02:00
parazyd
8d07dc2258 chore: Update crate dependencies 2023-07-20 12:23:58 +02:00
parazyd
d7c994b679 chore: Update crate dependencies. 2023-07-13 19:22:32 +02:00
parazyd
cf307669aa chore: Update crate dependencies. 2023-07-10 15:19:41 +02:00
parazyd
98ef7c834e chore: Update project dependencies. 2023-07-08 20:17:47 +02:00
aggstam
5d63d86083 chore: cleanup 2023-07-08 19:04:47 +03:00
aggstam
1ea8adfb28 repo: updated everything to merged stuff 2023-06-29 16:13:43 +03:00
parazyd
48ce9fd7c5 chore: Update crate dependencies 2023-06-12 14:31:20 +02:00
parazyd
bfc99c79ea chore: Update crate dependencies. 2023-06-06 14:06:36 +02:00