Commit Graph

1515 Commits

Author SHA1 Message Date
aggstam
e62faa1b75 darkfid2: log targets cleanup 2023-07-18 19:32:52 +03:00
aggstam
2af5558273 darkfid2/rpc: pending txs handling methods added 2023-07-18 19:22:53 +03:00
aggstam
9f81e693ed darkfid2/rpc: basic tx methods added 2023-07-18 19:00:52 +03:00
aggstam
48057c25b0 darkfid2/rpc: misc and blockchain methods added 2023-07-18 18:03:42 +03:00
aggstam
21970aed0e darkfid2: networking foundation added 2023-07-18 17:04:23 +03:00
Dastan-glitch
4fc0eb3c4b bin/tau: print info if the workspace is not configured 2023-07-18 02:11:00 +03:00
Dastan-glitch
dd2be36ea4 bin/tau: use save/load tree 2023-07-18 02:10:15 +03:00
Dastan-glitch
7f025c9eb2 bin/tau: rewrite task (en/de)cryption 2023-07-18 02:05:11 +03:00
parazyd
d7c994b679 chore: Update crate dependencies. 2023-07-13 19:22:32 +02:00
parazyd
999fc3890e drk: Use the money contract client API in DAO::Exec 2023-07-13 19:22:32 +02:00
aggstam
361e53af0c darkfid2/tests: use genesis stake and mint in genesis block 2023-07-12 22:03:29 +03:00
aggstam
dce1fb929d darkfid2: calculate genesis txs total and use that for genesis block validation 2023-07-12 20:23:31 +03:00
parazyd
bcd98952a7 contract/money: Implement support for dummy inputs. 2023-07-12 11:39:28 +02:00
parazyd
3f7031eca2 wallet: Reintroduce sqlcipher. 2023-07-11 13:24:15 +02:00
parazyd
33ed6921e7 darkirc: Port to crypto_box 0.9 and use chacha20 instead of salsa. 2023-07-10 15:46:22 +02:00
parazyd
9c8e60cd2a tau: Port to crypto_box 0.9 and use chacha20 ciphers. 2023-07-10 15:42:13 +02:00
parazyd
cf307669aa chore: Update crate dependencies. 2023-07-10 15:19:41 +02:00
parazyd
613be6e395 lilith: Increase outbound connection timeout to 30s 2023-07-10 12:27:51 +02:00
parazyd
c374b796e5 lilith: API fix. 2023-07-09 00:15:18 +02:00
parazyd
98ef7c834e chore: Update project dependencies. 2023-07-08 20:17:47 +02:00
parazyd
c0925ebda9 bin: Remove legacy cashierd code. 2023-07-08 19:36:07 +02:00
aggstam
5d63d86083 chore: cleanup 2023-07-08 19:04:47 +03:00
parazyd
363a6cd998 vanityaddr: Remove indicatif dependency. 2023-07-08 18:01:23 +02:00
parazyd
3b9c016ef6 bin: Update daemon methods for dnet. 2023-07-08 16:40:53 +02:00
aggstam
17415a3d21 validator: use new pid 2023-07-07 21:05:46 +03:00
aggstam
9712efdfb1 validator/consensus/pid: sigmas caclulation foundation 2023-07-07 16:43:48 +03:00
parazyd
e9debbe12e Replace bundled-sqlcipher with bundled-sqlcipher-vendored-openssl 2023-07-04 21:59:39 +02:00
aggstam
997f6015cf repo: updated all bins to use new signals handling 2023-07-04 16:21:25 +03:00
aggstam
a63a808992 util/cli/async_daemonize: use log_file to explicitly write to, impl signal handler using async signal hooks 2023-07-04 13:17:40 +03:00
parazyd
232cc174cf taud: Cleanly stop p2p network on term signal. 2023-07-04 08:22:45 +02:00
parazyd
cebb24549c taud: Inform about undecryptable tasks only in the debug loglevel. 2023-07-04 08:15:18 +02:00
Dastan-glitch
389ac27501 bin/darkirc: [taubot] fix plus sign issue in skipping tag 2023-07-04 02:16:56 +03:00
parazyd
b2db6c190d tau: Add a more informational error if $EDITOR or xdg-open aren't found. 2023-07-03 22:11:47 +02:00
parazyd
9fe9077cc8 taud: Update default config 2023-07-03 22:03:02 +02:00
parazyd
62b472562d taud: Separate settings with blank lines. 2023-07-03 21:22:14 +02:00
parazyd
e5f70129c3 lilith: Purge debug in scope of spawned network 2023-07-03 21:21:32 +02:00
parazyd
738736c1cf lilith: Reenable the JSON-RPC server. 2023-07-03 18:20:55 +02:00
parazyd
3546af6c79 lilith: Support versioning of spawned networks. 2023-07-03 17:35:33 +02:00
aggstam
0d00179abd darkfid2: further extend tests foundation | repo: fmt 2023-07-03 16:50:44 +03:00
aggstam
1bf43ef4e3 darkfid2: tests to use Darkfid as node structure 2023-07-03 15:12:47 +03:00
aggstam
a3d04e0b46 bin/darkfid2: set foundation for implementing new darkfid 2023-07-03 14:35:56 +03:00
Dastan-glitch
ef27e9932b bin/darkirc: add bots code to script/ 2023-06-30 14:42:36 +03:00
aggstam
6fa4049a1b Make Repo Great Again 2023-06-29 17:29:23 +03:00
aggstam
1ea8adfb28 repo: updated everything to merged stuff 2023-06-29 16:13:43 +03:00
aggstam
b4d28da805 ircd: dropped 2023-06-29 15:29:25 +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
d070b7792b wallet: Replace sqlx with rusqlite. 2023-06-29 13:06:54 +02:00
parazyd
1699d8e8d6 lilith: Clean up and implement periodic hosts purging.
The purging is done by attempting connections and removing the host
from the set if lilith is unable to connect and/or perform the handshake.
2023-06-29 13:06:54 +02:00
Dastan-glitch
64abd7db65 bin/tau: show info on one id instead of listing it 2023-06-27 05:28:31 +03:00
Dastan-glitch
8363c4c891 bin/tau: update cli help message 2023-06-27 05:11:05 +03:00