Commit Graph

126 Commits

Author SHA1 Message Date
parazyd
673b0ec6b1 Full Makefile project cleanup 2023-11-21 15:58:08 +01:00
parazyd
6cf480caaa Rename event_graph2 to event_graph and temp disable some old dependents.
tau needs to be rewritten to use the new DAG after IRC is well-tested.
2023-10-26 20:56:12 +02:00
parazyd
839f15721d event-graph: Alternative DAG WIP 2023-09-06 12:54:37 +02:00
parazyd
8f46f7b777 lib: Clean up library features. 2023-08-29 13:08:35 +02:00
parazyd
bea7596209 Revert "Embed git revision in CLI version output."
This reverts commit 459170ff09.
2023-08-03 11:52:16 +02:00
aggstam
2cb64488ed noob detected 2023-08-02 18:40:50 +03:00
aggstam
e71264d376 darkfid2: moved p2p protos from validator to darkfid using wrapper structs for messages 2023-08-02 18:37:43 +03:00
parazyd
459170ff09 Embed git revision in CLI version output. 2023-08-01 22:15:40 +02:00
parazyd
70321d6aa9 geode: Implement basic chunk-based interface. 2023-07-29 11:46:24 +02:00
aggstam
1ea8adfb28 repo: updated everything to merged stuff 2023-06-29 16:13:43 +03:00
parazyd
55ee919906 net: Perform full p2p code cleanup and improve certain pieces.
Notable changes:

* Rewritten transport protocols into Dialer and Listener (Nym is TODO)

  This simplifies using the transports a lot, as can be seen for example
  in src/rpc, and generally around the p2p library. It also defines features
  for each transport (all of which are enabled by default). We drop the
  socks client for Tor and Nym and use first-class support with the Arti Tor
  library, and nym-sphinx/nym-websockets (to be used with nym-client).

* Outbound session healing

  The outbound session will now poll and try to fill all the requested
  slots more efficiently, and if needed, will activate peer discovery to
  find more peers if we can't connect to any known ones. Also if we're
  unable to connect to any, we shall drop them from our set.

  Additionally, transport mixing is enabled by default, so when we're
  allowing transport mixing, and we use Tor, we will also be able to connect
  to other transports that Tor can connect to (e.g. tcp://).

* Unix socket transport dropped

  We haven't been using this, and it seems we're not going down this path,
  so the code has been obsoleted and removed.

* TLS session verification

  We fully verify server and client TLS certificates upon connection so
  we're able to perform TLS1.3 with forward secrecy.

* lilith pruning

  lilith now periodically prunes known peers from its sets if it's unable
  to connect to them.
2023-06-29 13:13:15 +02:00
parazyd
cbbfcef832 raft: Remove entire raft module.
This code is not needed anymore.
2023-06-29 13:06:54 +02:00
aggstam
0afaf50d65 contract/test-harness: integrate new validator 2023-06-23 16:12:14 +03:00
aggstam
dd3d6a15e7 src/validator: set foundation for validator rewrite 2023-06-23 12:49:09 +03:00
parazyd
293f74b301 dht: WIP implementation of filesystem-based DHT 2023-05-12 11:26:19 +02:00
parazyd
0ed1d62b4b sdk: Minor cleanup 2023-03-07 22:39:41 +01:00
Dastan-glitch
cd5dfbed0e [WIP] event_graph added to src/ and ircd2 utilize it from there 2023-02-19 05:24:52 +03:00
x
9caa49ffa8 disable cursor checks in db_* since it uses an unstable rust feature 2023-01-05 13:45:25 +01:00
x
4c056ceb86 implement dao::exec() update, and add missing db_del() to runtime 2023-01-05 11:02:55 +01:00
parazyd
71cd3064d6 Update license year. 2022-12-28 13:06:00 +01:00
parazyd
88caee7f42 Update and clean up dependencies. 2022-12-13 15:19:09 +01:00
parazyd
5a0b893637 Move crypto/mimc_vdf to script/research. 2022-11-29 13:53:32 +01:00
parazyd
4886b0ec0b Remove old obsolete tx module and replace with tx2. 2022-11-17 20:33:04 +01:00
parazyd
fec2304dd8 contract/money: Implement transaction builder. 2022-11-17 20:29:38 +01:00
parazyd
d08bba325d drk: Begin rewrite for money contract interaction. 2022-11-17 14:34:54 +01:00
parazyd
8078633f5c node: Do not compile the module anymore. 2022-11-16 14:28:06 +01:00
parazyd
cea573071b tx2: Initial stub for contract transaction type. 2022-11-15 22:50:36 +01:00
parazyd
8c27c24473 make fix 2022-11-06 21:29:06 +01:00
parazyd
8ae84ad7f9 Add license header to source files. 2022-10-31 18:16:13 +01:00
Luther Blissett
651a1dd3ce serial: Move module into a separate crate. 2022-10-15 20:06:28 +02:00
mohab metwally
665f48f281 [ouroboros] under consensus 2022-10-15 19:03:14 +02:00
Luther Blissett
76c25f06a1 Change import references in library to the new serial module. 2022-09-24 16:02:19 +02:00
Luther Blissett
0e5502f5d5 Move serialization library into its own submodule. 2022-09-24 16:02:19 +02:00
mohab metwally
f98137e306 merge crypsinous into master in crypsinousintomaster branch 2022-09-15 18:38:11 +02:00
parazyd
2615f7a30e lib: Reenable wasm runtime module. 2022-08-12 11:25:45 +02:00
parazyd
0d01be2f4e Remove num-bigint usage from crates, revert to u64. 2022-08-06 12:40:50 +02:00
aggstam
109ef9a517 src/dht: feature created(lib structs moved from research/dhtd) 2022-07-19 22:21:35 +03:00
parazyd
804ddc755e lib: Temporarily disable wasm-runtime. 2022-07-19 10:10:00 +02:00
mohab metwally
93cdc7e1ff [crypsinous] miscellaneous changes, and fixing typos, and bugs 2022-07-05 22:40:08 +02:00
ghassmo
264dc72f03 merge net3 into net 2022-05-11 17:20:59 +02:00
ghassmo
316a44166f remove net2 2022-04-26 02:29:22 +03:00
ghassmo
9679138e35 net: add net3 module 2022-04-25 16:52:44 +03:00
aggstam
f230d1dc82 consensus2: renamed to consensus, fixed all dependencies 2022-04-25 14:26:50 +03:00
parazyd
f2479ca060 Replace old blockchain rocksdb module with new sled blockchain stores. 2022-04-23 21:21:14 +02:00
parazyd
a3829e76b3 Clean up global error module. 2022-04-23 21:21:14 +02:00
parazyd
cfd3e38baf consensus: Reviewed implementation. 2022-04-23 21:21:10 +02:00
parazyd
f42e935700 lib: Move wallet module out of the node module. 2022-04-23 21:21:09 +02:00
ghassmo
cd46d368e6 create net2 module with support for multi transport protocol 2022-04-20 17:17:40 +03:00
ghassmo
6a5cc6dbe1 add raft as a feature to darkfi lib 2022-04-07 11:50:18 +04:00
parazyd
0109aa0394 Add skeleton for sled blockchain store. 2022-04-03 14:44:40 +02:00