Commit Graph

8534 Commits

Author SHA1 Message Date
rsx
9a90542009 wallet: add is_visible property to objects 2024-05-06 16:49:18 +02:00
rsx
616735c0a3 wallet: bugfix .unwrap() causing crash when text obj is an empty string 2024-05-06 16:49:18 +02:00
rsx
6d7bbd3ed7 wallet: fix SceneGraph::rename_node() function which wasn't renaming parents and children info fields 2024-05-06 16:49:18 +02:00
draoi
e71f8f5a82 channel: remove duplicate byte being written in send_message()
Also fix bug in deserialization.
2024-05-06 12:56:51 +02:00
draoi
f604f0054f net: fix command/payload naming and remove redundant buffer 2024-05-06 09:02:40 +02:00
draoi
0480a2ecb2 net: correct error handling in Message serialization upgrade 2024-05-06 08:35:24 +02:00
draoi
78bb9f554e net: remove intermediate Packet type
Instead we read Message directly to and from the stream. We also introduce some
explicit bounds checking when sending and receiving messages.

net: cleanup
2024-05-05 11:56:42 +02:00
draoi
a5c93b8f82 channel: add start_time to ChannelInfo 2024-05-05 08:49:13 +02:00
rsx
2623d0e4cf wallet: make screen coords consistently use pixels everywhere 2024-05-04 13:09:49 +02:00
rsx
85ceda586e wallet: make the beautiful box resize but preserve border width 2024-05-04 12:49:49 +02:00
rsx
5777c0ffe6 wallet: draw a rather attractive looking box with a lush gradient 2024-05-04 12:38:37 +02:00
rsx
c475c198e7 wallet: begin reorganzing py code into a submodule 2024-05-04 12:17:00 +02:00
rsx
266ecc2ed1 wallet: add scan_dangling() method used for garbage collection of nodes 2024-05-04 10:57:45 +02:00
skoupidi
7a891b0b90 blockchain/mod.rs: minor cleanup 2024-05-03 18:58:33 +03:00
skoupidi
5f5cfbafa8 validator: random tx handling fixes 2024-05-03 18:28:59 +03:00
rsx
05a797ec7e wallet: add convenience methods add/set/get_property_type() that make code look much cleaner 2024-05-03 16:40:10 +02:00
rsx
e76be71d4b cargo fmt 2024-05-03 16:08:49 +02:00
rsx
663712f8b0 wallet: only allocate texture once. Instead use a ResourceManager 2024-05-03 16:08:05 +02:00
zero
927c0724a8 wallet: Cargo.toml make darkfi-serial use ../../ instead of git url 2024-05-03 14:18:33 +02:00
zero
c78a469c83 added darkwallet in bin/. See README for usage instructions 2024-05-03 14:13:39 +02:00
parazyd
41e87e3aee net/protocol: Fix version exchange 2024-05-03 10:22:07 +02:00
parazyd
4dda409e50 darkirc: Use binary crate version in p2p app_version 2024-05-03 10:10:46 +02:00
parazyd
53834bbd9b darkirc: Bump version to 0.5.0 2024-05-03 09:48:29 +02:00
skoupidi
73a159ef83 contract/money: properly integrate txs fees into block rewards 2024-05-02 19:01:07 +03:00
skoupidi
07606d27e4 drk: added fee call to transfer 2024-05-02 16:07:30 +03:00
skoupidi
cd4655bb62 src/contract/money: delayed_tx test added 2024-05-01 17:42:24 +03:00
dasman
dec82c1639 doc/tau: update tau clie naming 2024-04-29 17:42:33 +03:00
skoupidi
b97fc9ad83 contrib/localnet/darkfid-single-node/README.md: fixed table formatting 2024-04-29 17:37:47 +03:00
skoupidi
e956ee71f2 drk: bincode rpc retrieval fixed, transfer tx generation fixed 2024-04-29 16:40:00 +03:00
dasman
a822c89085 bin/deg: fix a bug in graph column that caused events in the same layer switch places leading to inaccurate graph 2024-04-29 16:29:25 +03:00
skoupidi
d9f1753381 contrib/localnet/darkfid-single-node: updated README.md with drk functionalities testing table 2024-04-29 15:32:55 +03:00
draoi
af72f67309 lilith: change log level from warning to debug for empty whitelist 2024-04-29 12:59:01 +02:00
skoupidi
080417bb3f chore: replaced all MerkleTree::new(100) with MerkleTree::new(1) for consistency 2024-04-27 16:02:36 +03:00
skoupidi
9178923c9e darkfid: gracefully handle everything in live loops 2024-04-27 15:45:40 +03:00
skoupidi
80044e306f darkfid: fully configurable fees verification 2024-04-27 15:09:37 +03:00
draoi
f60a1983bc doc: add darkfi p2p resource manager notes to arch/p2p-network.md 2024-04-25 08:14:52 +02:00
skoupidi
ca5df82a72 darkfid: apply blocks with minimal verifications when using sync checkpoint 2024-04-24 21:34:34 +03:00
draoi
ea9044216d doc: add useful attack definition to arch/p2p-network.md
also delete no longer relevant comment
2024-04-24 08:57:30 +02:00
skoupidi
a5b9706829 darkfid: properly handle the garbage collection task 2024-04-24 01:15:40 +03:00
skoupidi
ad7f835d50 darkfid: pending txs garbage collection added 2024-04-23 17:49:02 +03:00
skoupidi
c208ba4442 validator: better erroneous and unreferenced penging txs handling 2024-04-23 14:52:49 +03:00
zero
e73aa009fa doc: wallet functionality 2024-04-23 11:31:19 +02:00
skoupidi
ee2859554a darkfid: optional checkpoint usage during syncing added 2024-04-22 21:14:56 +03:00
draoi
7085ac34b1 doc: add libp2p resource manager notes to arch/p2p-network.md 2024-04-22 16:01:46 +02:00
dasman
f270278588 bin/deg: fix identation issue for larger layer numbers 2024-04-22 16:50:18 +03:00
skoupidi
39bfc94d39 darkfid: sync cleanup 2024-04-22 15:17:31 +03:00
dasman
58b14d7c9d bin/deg: show first 10 chars of event's hash in main view 2024-04-20 16:18:34 +03:00
draoi
7528147b6c message: extract the length of the packet into a buffer, then deserialize
this protects against hostile nodes from sending giant messages and
eating up our resources in trying to decode them. using `stream.take()`,
we only read as far as the reported length.
2024-04-20 09:24:58 +02:00
dasman
5906da4382 bin/deg: add parents to events details 2024-04-20 00:05:59 +03:00
dasman
8ec39f8368 bin/deg: add footer to details view 2024-04-20 00:02:30 +03:00