Commit Graph

8523 Commits

Author SHA1 Message Date
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
dasman
528e03302a bin/deg: remove JsonRPC class to actually use src/rpc.py and handle its connection errors 2024-04-20 00:01:09 +03:00
dasman
9a0d582dca bin/deg: rename deg2 to deg 2024-04-19 23:23:22 +03:00
dasman
851ad0bfe2 bin/deg: use rpc.py for RPC connections 2024-04-19 23:19:08 +03:00
dasman
cc01c7767d bin/deg: remove unused code 2024-04-19 23:17:42 +03:00
dasman
bfb2c01905 bin/darkirc: use none-default ports in test script 2024-04-19 03:51:33 +03:00
dasman
df6a99ba9e bin/deg2: added graph column showing a minimized plot of the event graph 2024-04-19 03:33:42 +03:00
skoupidi
12efdd87f3 darkfid: use proposals/consensus logic while syncing
Additionally, performed some cleanup on validator code and handled cleaning up fork mempool when finalizing a block
2024-04-18 18:43:57 +03:00
parazyd
dd3f0583ce net/tests: Fix license header 2024-04-18 10:37:59 +02:00
draoi
88f4d67b47 doc: upgrade arch/p2p-network.md 2024-04-18 08:41:03 +02:00
parazyd
bdb24d3078 tau: Rename main.py to tau 2024-04-17 20:11:47 +02:00
skoupidi
40739693a1 darkfid: persist sync headers in a sled tree + some minor beautifications 2024-04-17 17:42:41 +03:00