Commit Graph

111 Commits

Author SHA1 Message Date
parazyd
0051baf300 zkas: Add standalone Makefile. 2023-08-29 08:59:42 +02:00
parazyd
3d867832ac doc: Stop building rustdoc for dependencies. 2023-08-23 20:12:09 +02:00
parazyd
49d0d2a460 Temporarily disable building the drk crate. 2023-08-22 15:04:47 +02:00
parazyd
bea7596209 Revert "Embed git revision in CLI version output."
This reverts commit 459170ff09.
2023-08-03 11:52:16 +02:00
parazyd
459170ff09 Embed git revision in CLI version output. 2023-08-01 22:15:40 +02:00
aggstam
5d63d86083 chore: cleanup 2023-07-08 19:04:47 +03:00
parazyd
232cc174cf taud: Cleanly stop p2p network on term signal. 2023-07-04 08:22:45 +02:00
aggstam
af0d261812 Makefile: fmt target added 2023-06-29 15:05:14 +03:00
aggstam
abc8290b9f Makefile: use nightly toolchain 2023-06-29 15:03:18 +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
7da1d8e1b1 contrib: Remove token_lists JSON files. 2023-06-21 12:30:26 +02:00
parazyd
95f0a67642 Makefile: Add src/contract/deployooor as a contracts dependency 2023-06-14 09:57:22 +02:00
parazyd
16a14a7260 Makefile: Add test-no-run target to be able to only compile tests. 2023-06-06 13:03:41 +02:00
parazyd
bd13d9fa9b book/development: Add note on codecov. 2023-06-06 13:03:41 +02:00
parazyd
0ced789759 Makefile: Remove unused RUSTFLAGS. 2023-05-29 11:39:52 +02:00
aggstam
3943ad27af sdk: replaced db_get_slot_checkpoint with get_slot_checkpoint and moved to util 2023-05-04 21:11:38 +03:00
||= nil
7f63ea31ff build: use cargo home as install prefix
this avoids requiring escalated system privileges to install the binaries.

ref: https://doc.rust-lang.org/cargo/guide/cargo-home.html
2023-04-19 10:18:15 +00:00
parazyd
1845c60ae4 Makefile: Add optional target for crosscompiling. 2023-03-16 10:38:22 +01:00
parazyd
454eacf616 Update project dependencies. 2023-01-31 12:46:19 +01:00
parazyd
7867f2eef0 Add example/simple.zk to zkas dependency targets. 2023-01-05 19:13:15 +01:00
parazyd
0c97a24b58 Clean up makefiles and set the ground floor for upgradable zkas circuits. 2022-12-15 20:43:24 +01:00
spital
01a61404bb add zkas dependency to proofs bin, add/remove binaries in Dockerfiles COPY cmd 2022-12-14 10:37:15 +00:00
parazyd
88caee7f42 Update and clean up dependencies. 2022-12-13 15:19:09 +01:00
parazyd
5ed4cecdd9 Makefile: Fix typo 2022-12-12 18:49:28 +01:00
parazyd
9222f9abde Clean up obsolete tests 2022-12-12 18:43:09 +01:00
parazyd
2c5a1eb84b vanityaddr: Add searches for TokenId 2022-12-12 15:10:44 +01:00
parazyd
0c44b46357 Makefile: Add faucetd as a BINS target 2022-12-08 15:09:44 +01:00
lunar-mining
1d6343988f Makefile: remove darkotc, dao, daod
remove everything causing 'not in workspace' error
2022-12-08 12:06:22 +01:00
parazyd
90eb93a9e5 drk: Block scanning 2022-11-29 21:10:29 +01:00
parazyd
78f92df9c6 Remove example/tx.rs 2022-11-29 13:53:33 +01:00
parazyd
60e6f94edb consensus/state: Clean up native wasm deploy and verification API. 2022-11-24 12:56:03 +01:00
parazyd
34f4d94c0d Makefile: bins should depend on zk proofs. 2022-11-18 16:16:37 +01:00
parazyd
dc14d9b7bf Makefile: Remove obsolete sql script deps. 2022-11-16 20:34:41 +01:00
parazyd
569b296c16 darkfid: Get compiling with most of RPC functionality disabled. 2022-11-16 14:28:06 +01:00
parazyd
fe611fbbcd consensus: Deploy native money contract on startup. 2022-11-15 19:33:34 +01:00
Dastan-glitch
8e381ad43c example/dao: running the example through makefile 2022-11-06 05:29:42 +03:00
Dastan-glitch
6d420edc35 add dao example to main MakeFile 2022-11-04 05:25:08 +03:00
Dastan-glitch
ba43775aa6 add daod to MakeFile 2022-10-19 02:29:05 +03:00
Luther Blissett
62d1f06c1f Update imports for type migrations. 2022-10-17 00:34:34 +02:00
Dastan-glitch
c0c97337d7 resolve conflicts merging dao_demo 2022-10-16 02:50:59 +03:00
Christoph Lohmann
6bd15caadb BINS is unequal to packages, so just do complete clean. 2022-10-06 12:49:12 +02:00
Christoph Lohmann
dfd40679ec Fix clean to properly clean all stuff. Add cleanbin target. 2022-10-06 12:48:41 +02:00
Christoph Lohmann
9261ed301f Add zkas dependency for parallel make. 2022-10-01 09:00:45 +02:00
lunar-mining
e6bc9da235 added dao to Makefile 2022-09-22 16:59:39 +02:00
Dastan-glitch
8556a819cc Merge branch 'master' into dao_demo 2022-09-16 23:54:06 +03:00
mohab metwally
f98137e306 merge crypsinous into master in crypsinousintomaster branch 2022-09-15 18:38:11 +02:00
Luther Blissett
f884e422f4 Makefile: Add BINDEPS to zkas target dependency. 2022-09-09 10:26:09 +02:00
lunar-mining
940d736871 Merge branch 'master' of github.com:darkrenaissance/darkfi into dao_demo 2022-09-08 08:38:57 +02:00
Luther Blissett
506b3701be Makefile: Add zkas deps where needed. 2022-09-07 18:10:51 +02:00
Dastan-glitch
d4c3b2f5e5 move daod and dao-cli to dao folder, and rename dao-cli to dao 2022-09-07 02:39:36 +03:00