Commit Graph

136 Commits

Author SHA1 Message Date
parazyd
fb1350daec rpc/server: Implement stop_connections() in RequestHandler. 2023-08-31 11:43:50 +02:00
parazyd
43e1c2f7a0 bin: Update RequestHandler users API 2023-08-31 11:08:18 +02:00
parazyd
6e45af3c5d bin: Update respective binaries to new RPC server API. 2023-08-31 01:19:51 +02:00
parazyd
cbe9c64065 chore: Update crate dependencies 2023-08-29 13:08:35 +02:00
parazyd
ffe8643812 bin: Feature cleanup 2023-08-29 13:08:35 +02:00
parazyd
41bf60570a Implement standalone Makefiles for most of the bins and rework main Makefile. 2023-08-29 10:53:23 +02:00
Dastan-glitch
23a4f6e87d bin/faucetd: remove p2p.run() stoppable task 2023-08-25 03:28:47 +03:00
parazyd
cee481b0c3 chore: Update crate dependencies 2023-08-23 19:15:03 +02:00
parazyd
a5360368aa bin: Remove async-std dependencies. 2023-08-22 19:55:37 +02:00
parazyd
3b0e9ecb59 bin: Apply changes for the P2P API modification. 2023-08-22 15:07:49 +02:00
aggstam
1f50b676c3 chore: minor cleanup 2023-08-22 02:05:47 +03:00
aggstam
e25b243676 chore: minor cleanup 2023-08-22 01:53:02 +03:00
aggstam
fb0102a7e0 taud: use StoppableTask instead of detach() 2023-08-22 01:39:57 +03:00
aggstam
8cf64c489f faucetd: log targets added 2023-08-21 19:53:37 +03:00
aggstam
a2cf1149a8 faucetd: use StoppableTask instead of detach() 2023-08-21 19:50:08 +03:00
parazyd
fe4079c4ee Apply minor lints and cleanups. 2023-08-21 15:13:54 +02:00
parazyd
26aeb0829e faucetd: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
44982d320e chore: Update crate dependencies 2023-08-18 10:15:14 +02:00
parazyd
1eb00ef9c2 chore: Update crate dependencies 2023-08-12 13:01:32 +02:00
parazyd
c045210763 chore: Update crate dependencies. 2023-07-31 08:05:13 +02:00
parazyd
60595e3002 zk: Handle invalid witnesses gracefully in empty_witnesses(). 2023-07-22 15:42:45 +02:00
parazyd
d34b9cbb03 chore: Update crate dependencies 2023-07-22 13:16:16 +02:00
parazyd
8ac1d17077 Use k param from ZkBinary when building VerifyingKey and ProvingKey. 2023-07-22 12:04:41 +02:00
parazyd
29101c4e02 zk: Pass a ZkBinary reference to ZkCircuit::new instead of cloning. 2023-07-20 14:19:52 +02:00
parazyd
8d07dc2258 chore: Update crate dependencies 2023-07-20 12:23:58 +02:00
parazyd
d7c994b679 chore: Update crate dependencies. 2023-07-13 19:22:32 +02: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
cf307669aa chore: Update crate dependencies. 2023-07-10 15:19:41 +02:00
parazyd
98ef7c834e chore: Update project dependencies. 2023-07-08 20:17:47 +02:00
aggstam
997f6015cf repo: updated all bins to use new signals handling 2023-07-04 16:21:25 +03:00
aggstam
0d00179abd darkfid2: further extend tests foundation | repo: fmt 2023-07-03 16:50:44 +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
2edd5d0220 faucetd: Use the wrapped MerkleTree type where applicable 2023-06-12 14:31:20 +02:00
parazyd
48ce9fd7c5 chore: Update crate dependencies 2023-06-12 14:31:20 +02:00
parazyd
bfc99c79ea chore: Update crate dependencies. 2023-06-06 14:06:36 +02:00
aggstam
1afb977a19 chore: clippy 2023-05-18 18:15:22 +03:00
aggstam
1bd504eaa0 util/time/TimeKeeper: added verifying slot attribute that can be used by the runtime for validations 2023-05-17 16:03:24 +03:00
parazyd
3cb6051fa2 chore: Update dependency versions 2023-05-11 10:08:51 +02:00
parazyd
bd6a6bfaf2 zkas: Rename "stack" to "heap".
"stack" is a misnomer, and the behavior of the zkVM is more heap-like
than stack-like when doing an analogy with general computing.
2023-05-10 14:35:51 +02:00
parazyd
ed5d427ede darkfid: Attempt to expand blockchain RPCAPI 2023-05-09 18:01:16 +02:00
parazyd
4b85db76a2 faucetd: RPCAPI styling. 2023-05-09 17:14:45 +02:00
parazyd
19d283414d faucetd: RPCAPI doc improvement attempt. 2023-05-09 14:01:28 +02:00
parazyd
0a1fe88665 faucetd: Implement airdrop spam protection using a VDF. 2023-05-09 13:06:59 +02:00
parazyd
9b31940dfe chore: Update project dependencies 2023-05-09 10:42:35 +02:00
parazyd
b4cdbea08c Update project dependencies. 2023-04-16 17:36:59 +02:00
parazyd
98aa6f94a6 darkfid/faucetd: Use new zkas db API 2023-03-06 18:33:53 +01:00
Sombra
5b675e045c faucetd/src/main -> changes after cargo clippy --fix 2023-03-03 11:55:04 +00:00
Sombra
140e265198 faucet/src/main: remove TODO mark 2023-03-03 11:55:04 +00:00