Commit Graph

459 Commits

Author SHA1 Message Date
aggstam
c7248f44f6 darkfid2: parse network config directly from the config file, not as flattened arg 2024-01-18 19:30:31 +01:00
zero
870fd3e246 dao: replace use of blake3 hash with blake2b. See code comments for explanation of the rationale 2024-01-18 19:30:31 +01:00
parazyd
690b747b26 contract/test-harness: Set fixed-difficulty=1 mining 2024-01-18 19:30:31 +01:00
parazyd
4ec1daa589 chore: Enable some additional arti-client crate features
Additionally perform a dependency update.
2024-01-18 19:30:31 +01:00
parazyd
80b650e4f5 contract/deployooor: Add initial integration test 2024-01-18 19:30:30 +01:00
parazyd
0668ac4606 contract/deployooor: Implement initial client API 2024-01-18 19:30:30 +01:00
parazyd
77f3c0d079 net: Port from deprecated async-rustls to futures-rustls.
This is also a protocol-breaking change. We now have a bit looser
certificate verification that does not append the base32-encoded
public key into the altName.
2024-01-18 19:30:30 +01:00
parazyd
857ebb42bf chore: Update crate dependencies 2024-01-18 19:30:30 +01:00
Dastan-glitch
ebbd88dee3 update Cargo.lock 2024-01-18 19:30:30 +01:00
lunar-mining
54ab2c3947 Cargo.lock: update dchat dependencies 2024-01-18 19:30:30 +01:00
x
2f80d8ad26 dao: modify proposals so they now just specify a generic call. This is done through an intermediate 'auth' contract. We provide one called DaoAuthMoneyTransfer so DAOs can transfer money around. 2023-12-21 21:07:24 +00:00
parazyd
b23021e3a1 chore: Update crate dependencies 2023-12-13 10:14:43 +01:00
parazyd
5a526fe10e swapd: Add project skeleton 2023-12-07 23:43:45 +01:00
parazyd
295c8dcff9 chore: Update crate dependencies 2023-12-04 19:58:59 +01:00
parazyd
8b615e99b6 mmproxy: Working daemon-mode mining 2023-12-04 12:12:58 +01:00
parazyd
047a1e99da mmproxy: Rewrite daemon for solomining support.
The Stratum stuff works for pools only.
2023-12-01 12:25:41 +01:00
Dastan-glitch
3c0a39a3d9 update Cargo.lock 2023-11-29 04:42:48 +03:00
parazyd
5945fc5f0d example: Add a dummy contract for easier iterations of runtime changes. 2023-11-27 19:26:18 +01:00
parazyd
50572d88eb serial: Remove blake2b_simd references 2023-11-26 13:56:48 +01:00
parazyd
336cbbd173 sdk/wif: Use sha2 crate and abstract double sha256 function. 2023-11-24 16:44:26 +01:00
parazyd
69cfa99860 contract/deployooor: Validate webassembly binary and search for needed symbols 2023-11-24 12:13:51 +01:00
parazyd
673b0ec6b1 Full Makefile project cleanup 2023-11-21 15:58:08 +01:00
aggstam
cb06356c46 validator/pow: introduced fixed difficulty for testing purposes 2023-11-21 14:41:56 +02:00
parazyd
cbd120da96 darkirc: Preliminary RLN code layout 2023-11-20 09:50:19 +01:00
parazyd
b8b02aee80 mmproxy/stratum: Mining target calculation 2023-11-19 11:21:39 +01:00
y
573d283c63 update arti to v0.11.0 2023-11-16 10:35:31 -05:00
parazyd
375a8b41ed chore: Update create dependencies 2023-11-16 15:25:38 +01:00
Dastan-glitch
6245422714 bin/genev: use DAG eventgraph 2023-11-11 05:02:26 +03:00
parazyd
f57d4a98e3 net/transport/tor: Introduce a static reusable TorClient for dialers 2023-11-10 11:22:30 +01:00
y
91b815c4f5 [net] Make Tor debugging more verbose
Add tor-error crate in order to surface more verbose debug information
when establishing connections to Tor via arti-client. (See links
including in code comments.)

Arti low-level errors are now reported at WARN level in our debug logs.

In order to implement this feature, I had to remove our patch directives
in Cargo.toml. Since we are using the up-to-date version of Arti anyway,
this (hopefully) should not cause issues.

If a revert is necessary to fix our version of Arti to some specific
commit, it is likley Tor-error will break.
2023-11-09 12:16:16 -05:00
parazyd
f188c2bb05 chore: Update crate dependencies 2023-11-09 14:20:57 +01:00
parazyd
deb8d39342 mmproxy: Code cleanups 2023-11-09 13:16:55 +01:00
parazyd
91b5ad6ebd mmproxy: Send mining job upon worker stratum login 2023-11-08 12:26:25 +01:00
parazyd
3eed132fa4 mmproxy/monero: Implement blocktemplate modification for merge mining 2023-11-05 11:53:15 +01:00
parazyd
a315e3368c mmproxy: Add monerod config map in the toml config 2023-11-05 10:57:53 +01:00
parazyd
f8583fdd25 zkas: Static build test 2023-11-02 14:56:37 +01:00
parazyd
ff6f7acb85 mmproxy: monerod HTTP JSON-RPC example 2023-11-01 17:48:44 +01:00
parazyd
b61127af9a chore: Update crate dependencies 2023-10-27 09:02:18 +02:00
Dastan-glitch
cf951d57e6 update Cargo.lock for darkirc version bumping 2023-10-26 20:57:03 +02:00
Dastan-glitch
7a9604d968 bin/tau: use new event_graph code 2023-10-26 20:56:12 +02: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
4da846bf03 darkirc: Code refactor
This is a big rewrite of the DarkIRC code with an improved and more
robust architecture. We use proper client-server architecture without
having to rely on internal channels.

* The server now performs more correctly (although not fully) per the RFC.

* Removed obsolete code and made lots of performance and readability
  improvements.

* The network now propagates events over the Event Graph (DAG).

* Clients are more robust and stateful and have better separation.
2023-10-26 20:56:12 +02:00
parazyd
4c10ee8d67 mmproxy: Stratum login WIP 2023-10-18 10:45:23 +02:00
parazyd
fbe42f3f66 mmproxy: Skeleton impl 2023-10-16 13:37:51 +02:00
aggstam
8cff15a9b8 validator: handle proposals based on their version 2023-10-11 21:41:08 +03:00
aggstam
15adf6f9cb contract/money/pow_reward: vrf proof added 2023-10-05 18:36:25 +03:00
aggstam
10fbf5d963 validator: pow module added for mining 2023-09-20 23:32:33 +03:00
parazyd
7015af9d7c event-graph: Make DAG sorting more deterministic. 2023-09-06 15:22:13 +02:00
parazyd
839f15721d event-graph: Alternative DAG WIP 2023-09-06 12:54:37 +02:00
parazyd
eae2e53f42 Add a libsqlite3-sys exception when building on musl-libc. 2023-08-30 12:17:01 +02:00