darkfi
751037d44f
wallet: migrate widgets to src/ui/
2024-06-20 11:27:45 +02:00
darkfi
9565b6a390
wallet: split event streams into separate publishers to avoid waking sleeping tasks uncessarily
2024-06-20 11:10:53 +02:00
darkfi
f4f7a258e9
wallet: make some common gadgets useful and clean up the code
2024-06-20 10:52:56 +02:00
skoupidi
8c33d59f40
chore: updated all repo references to codeberg
2024-06-19 20:51:25 +03:00
skoupidi
79f9cd24c5
darkfid: optional bootstrap timestamp added
2024-06-19 17:37:02 +03:00
skoupidi
934d8f1a42
validator: check block timestamp is after genesis
2024-06-19 17:37:02 +03:00
skoupidi
82a56cd2c2
validator: properly handle gas limit checks
2024-06-19 12:00:21 +03:00
darkfi
c85e8e3f28
wallet: fix mesh matrix transform calc
2024-06-19 10:21:49 +02:00
dasman
b4bf8e2740
darkirc: fix history replay for DMs
2024-06-19 04:20:14 +03:00
darkfi
cfd1e65c39
wallet: live resizing of layers
2024-06-18 12:55:17 +02:00
darkfi
8f88b3a77f
wallet: UI drawing responds to property changes
2024-06-17 20:32:23 +02:00
darkfi
5e1c43af36
wallet: improve RenderApi. now each call is paired with a unique u64 ID which is used to modify the call without knowing its location in the draw tree.
2024-06-15 12:16:08 +02:00
darkfi
f6dc235f93
wallet: construct app and carefully manage resources
2024-06-15 07:29:20 +02:00
skoupidi
1f4d72d3ad
drk: restructer as a library
2024-06-14 15:05:10 +03:00
skoupidi
90b024f5fc
darkfid/tests: use diff p2p ports on nodes of each test so they communicate with the ones expected when running concurently
2024-06-13 16:59:15 +03:00
kalm
cff9d0e7f5
validator/consensus: gas-based limit for unproposed transactions retrieval
...
Gas-based limit implementation to retrieve unproposed transactions. The limit is maintained by the constant 'GAS_LIMIT_UNPROPOSED_TXS', currently calculated as the product of the average total gas used and a gas limit multiplier equivalent to the existing TX_CAP value (i.e, 50).
The average total gas was obtained through analysis of empirical transaction test data, using a gas analysis tool.
The aim of this approach is to allow a gradual and controlled transition towards an optimal gas-based system. This minimizes potential adverse effects brought by changes to TX_CAP's implementation and provides the benefits of using gas to limit the number of txs received. This implementation will be fine-tuned until the discovery of the most efficient formula for determining the unproposed transactions' gas limit.
Tests have been added to verify the implementation's correctness by running transactions against it. To run the tests, run the following command from the bin/darkfid directory:
cargo test --release --bin darkfid tests::unproposed_txs
2024-06-13 05:27:05 -07:00
darkfi
a3db035ffa
wallet: properly handle app cleanup (accidental cargo fmt so just check main.rs)
2024-06-13 11:46:07 +02:00
darkfi
6d295ab1ca
wallet: migrate to using async slots/signals and zmq debug backend
2024-06-12 16:47:04 +02:00
darkfi
927dfa7270
wallet: replace crossbeam::SkipMap<..> with Mutex<HashMap<...>>
2024-06-12 13:47:10 +02:00
skoupidi
37a864c89f
darkfid/tests/harness: init an empty fork when generating node
2024-06-12 13:29:27 +03:00
darkfi
08b134d802
wallet: use pubsub to subscribe to events in main async draw() fn
2024-06-12 11:31:25 +02:00
darkfi
0d478f0721
wallet: begin making async version of gfx subsystem
2024-06-12 11:11:01 +02:00
dasman
e87748f9c9
darkirc: rename pubkey recovery argument
2024-06-12 02:40:03 +03:00
skoupidi
c01d121a7a
darkfid/task: generate an empty fork on consensus init, before any other task is triggered
2024-06-11 20:08:33 +03:00
dasman
ae3c67a7e0
replace ircd with darkirc throughout the codebase
2024-06-11 17:43:40 +03:00
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
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
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
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
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