Commit Graph

234 Commits

Author SHA1 Message Date
dasman
a500b3d9f1 event_graph: expanding the graph to have multiple DAGs
basically the one dag we had before is now at least one (arbitrarily 5 max) are addressed by their genesis event hash, managed in DAGStore and are sorted chronologically.
creating a new EventGraph instance means creating the configured number of dags deterministically
and open those trees in DB, created if not existing.
prune now drops the oldest tree and adds a new one to the considered trees.
each dag is paired with its unreferenced tips and are updated accordingly.
fetching an event searches through all dags and fetch the wanted one.
in protocol, requesting tips are done by sending the dag_name of which the unreferenced tips are requested (probably breaks comp, still WIP)
2024-12-24 03:32:48 +03:00
skoupidi
779164dc75 chore: updated nightly references version 2024-12-06 13:27:13 +02:00
skoupidi
44db85b2f3 darkfid: introduce a second rpc handler for mm http requests 2024-12-05 17:27:58 +02:00
skoupidi
9f490a09d3 darkfid: replaced finalization term with confirmation 2024-12-02 15:08:01 +02:00
skoupidi
2eda1ec773 contrib/localnet: cleaned up all tmux sessions 2024-11-21 14:47:04 +02:00
dasman
1288300ca3 add taud tmux session to contrib 2024-11-21 02:22:17 +03:00
dasman
0070202fde move darkirc tmux session to contrib 2024-11-21 02:21:37 +03:00
skoupidi
9ca09afff6 contrib/localnet/darkfid-single-node: automated wallet stuff 2024-11-14 16:29:36 +02:00
skoupidi
66dfc9c95d validator: reset to height functionality added, using blocks reverese diffs 2024-10-16 16:00:02 +03:00
parazyd
fbe6937a20 chore: Update crate dependencies 2024-10-15 16:08:54 +02:00
skoupidi
a2d68cc914 darkfid: programmatic control daemon 2024-10-03 15:31:28 +03:00
dark-john
7b87f6b212 contrib: add missing dependencies for fedora and other dnf distros 2024-09-19 20:05:40 -07:00
dasman
9e410ede15 remove unused tau-cli 2024-07-24 03:12:31 +03:00
skoupidi
3cb2054928 drk: use per network configuration 2024-06-20 16:03:03 +03:00
skoupidi
186e3302d3 darkfid: moved all relative args under blockchain config args 2024-06-20 16:03:03 +03:00
skoupidi
109b902b01 darkfid: optional mining reward spend hook and user data added 2024-06-20 14:18:27 +03:00
skoupidi
79f9cd24c5 darkfid: optional bootstrap timestamp added 2024-06-19 17:37:02 +03:00
dasman
2bdb1b8cf9 remove irrelevant ircd scripts 2024-06-12 02:27:06 +03:00
dasman
ae3c67a7e0 replace ircd with darkirc throughout the codebase 2024-06-11 17:43:40 +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
skoupidi
5e0b592603 drk: fixed dao votes 2024-05-30 22:21:00 +03:00
skoupidi
cbb53aa8ec drk: refactored DAO votes functionalities 2024-05-30 17:54:28 +03:00
skoupidi
c6382e8d12 drk: refactored DAO proposals functionalities 2024-05-29 16:36:41 +03:00
skoupidi
fb5865fce4 drk: provide liquidity to dao with transfer and token mint 2024-05-22 20:49:22 +03:00
skoupidi
10ea889e31 drk: dao records sympliefied and dao mint call fee added
Removed dao_id and use the dao name as the identifier. Cleaned up all dao record structures. Fixed dao mint call and added its fee.
2024-05-22 16:43:17 +03:00
skoupidi
b89c4196a4 drk: updated basic dao handling 2024-05-22 13:44:28 +03:00
skoupidi
4661d797cd drk: attach-fee added and fixed otc swap 2024-05-17 20:04:42 +03:00
skoupidi
9e71055a9d drk: fixed token minting and added its fee call 2024-05-13 15:42:46 +03:00
skoupidi
07606d27e4 drk: added fee call to transfer 2024-05-02 16:07:30 +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
skoupidi
d9f1753381 contrib/localnet/darkfid-single-node: updated README.md with drk functionalities testing table 2024-04-29 15:32:55 +03:00
skoupidi
80044e306f darkfid: fully configurable fees verification 2024-04-27 15:09:37 +03:00
skoupidi
ee2859554a darkfid: optional checkpoint usage during syncing added 2024-04-22 21:14:56 +03:00
skoupidi
96af06da04 contrib/localnet/darkfid-single-node: updated README.md to reflect latest drk changes 2024-04-09 17:55:51 +03:00
draoi
9bcb691c65 contrib: add dchatd localnet for minimal net testing 2024-03-16 10:01:17 +01:00
skoupidi
c6637029fe darkfid: remove second miners p2p
The usage of a second p2p network for miners was a premature optimization for faster block propagation between block producers, but in reality we don't know if its required yet, therefore we eliminate the extra complexity it introduces
2024-03-08 15:38:33 +02:00
skoupidi
632f07a322 contrib/localnet/darkfid*: configuration changes 2024-03-01 22:00:21 +02:00
zero
c275c5c08c darkfid-single-node README: add info about scan 2024-02-27 13:34:35 +01:00
skoupidi
22c4f2604b contrib/localnet/darkfid*: tmux scripts beautifications 2024-02-23 15:28:53 +02:00
skoupidi
3a9455e646 contrib/localnet/darkfid*: updated tmux scripts 2024-02-22 20:44:01 +02:00
skoupidi
cff856971d darkfid: consensus fixes 2024-02-22 17:52:56 +02:00
parazyd
13c6d35e38 contrib: Add script for generating ctags 2024-02-21 09:08:25 +01:00
skoupidi
d54e44b573 contrib/localnet/darkfid*: updated to work with latest darkfid 2024-02-14 17:09:13 +02:00
skoupidi
f345f7a338 contrib/localnet/darkfid-singe-node: updated to work with latest darkfid 2024-02-14 14:32:22 +02:00
skoupidi
16103b84a7 Night of the living dead 2024-01-29 21:41:01 +02:00
parazyd
0e6f51e895 chore: Update copyright year in license headers 2024-01-16 13:07:22 +01:00
aggstam
4cc5cf6217 contrib/dependency_setup.sh: wabt dep dependency added for xbps 2024-01-09 17:28:00 +02:00