Commit Graph

8708 Commits

Author SHA1 Message Date
draoi
b0b192c3f2 system: rename Subscriber to Publisher + propagate change
We now subscribe to a Publisher which is clearer conceptually than
subscribing to a Subscriber.
2024-06-10 17:22:18 +02:00
foo
302d482475 money/client/transfer: Fix integer truncation issues when dividing for half-split
- Fix issue where `half` was calculated incorrectly for odd values of
  `value`
- Fix issue where sending a `value` of 1 and `half_split` of true would
  result in two empty value transfers

Note that this is only a client issue. The wasm back-end would cause the
invalid transfer to fail as the tx outputs from the client would not
match the inputs
2024-06-09 17:53:21 +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
dasman
49716b3e4c darkirc: fix getting NAMES list of history msgs 2024-06-08 03:12:58 +03:00
dasman
10c649f5dd darkirc+tau: add newly added args to config file 2024-06-08 03:10:29 +03:00
dasman
cfe9f49de2 dakirc+tau: do not create_dir_all on replay path if not needed 2024-06-08 03:03:24 +03:00
darkfi
09decc20a3 wallet: fix android crash(es) 2024-06-06 17:16:05 +02:00
darkfi
4ef00a37c0 wallet: add android build instructions and fix Cargo.toml paths 2024-06-06 14:41:01 +02:00
skoupidi
10a25005a7 darkfid: gracefully handle miner network dc 2024-06-06 15:30:02 +03:00
skoupidi
0892e3f58a darkfid: respect P2P configuration outbound connections timeout 2024-06-06 15:30:02 +03:00
darkfi
3b5ce35440 wallet: atrocious hackjob chatapp working on android with APKs 2024-06-06 13:38:38 +02:00
dasman
3bbbaa6308 make clippy happy again 2024-06-06 13:32:40 +03:00
parazyd
170654c423 darkirc: Use bcrypt-2b for server password encryption 2024-06-06 10:11:53 +02:00
lunar-mining
63a91dde41 net: remove potential race conditions
1. Shutting down all channels in p2p.stop() is redundant since they will
   be cleaned up by the session shutdown.
2. subscribe_stop().expect(..) could panic in the case that the node we
   are connecting to disconnects at this exact moment (triggering a
   `ChannelStopped` error).
2024-06-06 08:33:10 +02:00
dasman
897f495071 darkirc: fix duplicated name in config 2024-06-06 04:46:58 +03:00
dasman
94eac02ab8 darkirc: fix broken replay mode and datastore 2024-06-06 04:45:06 +03:00
dasman
37f85f49cd event_graph: dag replay logs and db to be configurable, also user should choose to run in replay mode or not 2024-06-06 04:42:47 +03:00
dasman
16826b2db2 darkirc: add IRC connection password 2024-06-06 04:07:32 +03:00
skoupidi
a755c30b75 contract/dao: renamed all day references to blockwindow 2024-06-05 16:33:38 +03:00
skoupidi
b5cb5a55b7 contract/dao: use actual runtime block target time not hardcoded one in blockwindow() 2024-06-05 14:20:17 +03:00
skoupidi
43f9fc8aa1 runtime: get_block_target() fn added, to retrieve current block time target(seconds) 2024-06-05 13:25:48 +03:00
skoupidi
ec9a8f45fe drk: properly stop rpc client on termination 2024-06-04 16:29:44 +03:00
skoupidi
ac570e7353 darkfid: properly stop rpc client on termination 2024-06-04 16:12:37 +03:00
skoupidi
6b5ae99724 drk/transfer: added new --half-split to split output coin into two equal halves 2024-06-04 15:35:27 +03:00
dasman
c59eff836a event_graph: remove block until synced TODO 2024-06-04 15:09:56 +03:00
dasman
938681fc1b event_graph: do not handle EventPut until we are synced 2024-06-04 15:04:44 +03: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
skoupidi
8cac4690c6 drk/dao.sql: updated comments to reflect current commands/flows 2024-06-04 13:05:36 +03:00
parazyd
80d103a2ba chore: Update crate dependencies 2024-06-04 10:24:28 +02:00
parazyd
022e99ef03 chore: Force "ring" dependency for rustls 2024-06-03 18:27:56 +02:00
skoupidi
42745ca9be doc/testnet: updated everything with latest commands 2024-06-03 18:10:47 +03:00
darkfi
0a4a9645d8 wallet: fractional scaling of UI 2024-06-03 14:12:54 +02:00
darkfi
f623e4fda4 wallet: add chatapp.exe 2024-06-03 12:18:32 +02:00
dasman
fb78838277 event_graph: replace harcoded parent reply timeout to respect p2p outbound timeout 2024-06-03 05:05:51 +03:00
dasman
baa7f416bb bin/darkirc: get history outside join command if needed 2024-06-03 04:58:23 +03:00
skoupidi
b4f435d315 contrib/docker/riscv.Dockerfile: removed QEMU deps since you can pull them and register them directly in docker 2024-06-02 13:40:22 +03:00
skoupidi
f4e5a36e72 contrib/docker/riscv.Dockerfile: use emulation instead of crosscompiling 2024-06-01 17:38:18 +03:00
skoupidi
a0024ad508 drk: proposal exec functionalities added 2024-05-31 22:05:12 +03:00
darkfi
1b88b31950 wallet: make a ChatView widget 2024-05-31 20:57:26 +02:00
parazyd
f2f82804c6 taud: Update config P2P seed 2024-05-31 14:12:06 +02:00
skoupidi
99eeda9d60 drk: proposal output beautification 2024-05-31 12:49:55 +03:00
darkfi
3806ec302d wallet: editbox paste from clipboard and delete highlighted text 2024-05-31 11:30:35 +02:00
darkfi
288699f39c wallet: drag click select text 2024-05-31 10:00:30 +02:00
skoupidi
5e0b592603 drk: fixed dao votes 2024-05-30 22:21:00 +03:00
darkfi
69b9c2d2f6 wallet: editbox, set cursor pos by clicking with the mouse 2024-05-30 20:37:25 +02:00
darkfi
149859454c wallet: correctly handle repeating keys with smoothing 2024-05-30 20:04:45 +02:00
parazyd
65df99394b net/transport/tor: Release stream Mutex lock after obtaining a RendRequest 2024-05-30 19:31:50 +02:00
parazyd
bddf4ce774 net/transport/tor: Delete unused code 2024-05-30 19:30:25 +02:00
parazyd
9465d558e9 net/transport/tor: Return proper errors where applicable 2024-05-30 19:29:05 +02:00