Commit Graph

479 Commits

Author SHA1 Message Date
oars
594db1878f example/tx-decode: a simple python tool to decode darkfid transactions showing contract function calls and their parameters as well as signatures for each call 2025-11-11 13:58:57 +03: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
e1abdf37b4 example/wasm-hello-world: example client added to interact with contract onchain 2025-10-28 16:16:05 +02:00
skoupidi
ea24557db4 chore: clippy 2025-10-15 18:20:05 +03:00
oars
670e462c48 example/wasm-hello-world: fix dependency issue 2025-10-15 16:33:01 +03:00
parazyd
fda2a84034 chore: Update dependencies 2025-08-05 09:41:05 +02: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
Paul Otten
721502a468 Move from "nightly" toolchain to "stable".
Intended to address tau RefID "Gifn1u".

There are still a few things that require nightly.
- cargo +nightly fmt
- fuzzing
2025-04-14 19:42:15 -04: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
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