spital
2536a46aaa
Dockerfile.almalinux and fix builds, latest working b36861fa1d_2023-06-13 ( #183 )
...
* Dockerfile.almalinux and fix builds, latest working b36861fa1d_2023-06-13
* Docker build can skip tests, add runtime deps
* update Fedora and Almalinux dockerfiles, worked for 95d0f47_2023-08-11 with "--build-arg DONT_EXEC_TESTS=1 --build-arg RUST_VER=nightly"
---------
Co-authored-by: parazyd <parazyd@dyne.org >
2023-08-30 05:57:33 +00:00
parazyd
ffe8643812
bin: Feature cleanup
2023-08-29 13:08:35 +02:00
parazyd
2d0e3b0d89
lib: Clean up imports
2023-08-24 15:29:16 +02:00
parazyd
f5b34c56e6
contract/money: Enable forgotten test.
2023-08-23 19:50:14 +02:00
parazyd
ae6a2b7707
contract: Fix test compilation.
2023-08-22 20:25:29 +02:00
parazyd
478bfa2a00
contract: Remove async-std dependencies.
2023-08-22 19:55:37 +02:00
parazyd
44982d320e
chore: Update crate dependencies
2023-08-18 10:15:14 +02:00
parazyd
6a024ab801
zkas: Add a field definition on top of the circuit file.
...
Currently unused, but will probably be expanded to define proofs over
different fields.
2023-08-14 17:09:18 +02:00
parazyd
e421b08512
contract: Match only .rs files for make dependencies.
2023-08-13 16:24:57 +02:00
aggstam
bfa6a9e3c5
the numbers mason what do they mean
2023-08-03 22:15:36 +03:00
aggstam
df5f2a7568
blockchain/Slot: renamed previous.eta to last_eta
2023-08-03 18:13:01 +03: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
aggstam
58556db990
contract/test-harness/vks: updated VKS-PKS hashes
2023-07-22 14:14:56 +03:00
parazyd
8ac1d17077
Use k param from ZkBinary when building VerifyingKey and ProvingKey.
2023-07-22 12:04:41 +02:00
parazyd
3d5896b89b
contract/money: Replace token pedersen commitment with a poseidon hash.
2023-07-22 08:56:04 +02:00
aggstam
d9eed23013
blockchain: simplyfied Slot structure
2023-07-21 14:05:40 +03:00
parazyd
a1bfd10a7d
contract/test-harness: Revert to using a single reference for ProvingKey map.
2023-07-20 23:28:19 +02:00
aggstam
53cdc50e15
chore: clippy
2023-07-20 17:58:22 +03:00
parazyd
05991cda50
contract/test-harness: Use precompiled zk proving keys
2023-07-20 14:26:52 +02:00
parazyd
29101c4e02
zk: Pass a ZkBinary reference to ZkCircuit::new instead of cloning.
2023-07-20 14:19:52 +02:00
parazyd
99f68db953
zkas: Enforce k declaration on top of the source file.
2023-07-20 14:19:52 +02:00
aggstam
37d7461a53
contract/money/tests.mint_pay_swap: fixed test
2023-07-20 04:11:10 +03:00
aggstam
7c6a2b912c
chore: minor cleanup
2023-07-20 03:11:12 +03:00
aggstam
73500a25b4
contracts/tests: made consensus coins deterministic, major cleanup in rest
2023-07-20 02:44:19 +03:00
parazyd
f207781d26
contract/test-harness: Use deterministic genesis coin and keypairs.
2023-07-19 15:42:06 +02:00
aggstam
21970aed0e
darkfid2: networking foundation added
2023-07-18 17:04:23 +03:00
parazyd
71e6092a29
contract/consensus: Separate client API into functions which allow more control.
2023-07-17 17:38:57 +02:00
parazyd
37daecf749
contract/consensus: Use less_than_strict for proposal lottery proof.
2023-07-14 17:57:39 +02:00
aggstam
7f9bed8e50
WIP: contract/consensus/client/proposal: verify coin value is less than slot target before creating proof
2023-07-14 14:01:20 +03:00
parazyd
feed040f70
contract/money: Return more useful metadata in TransferV1 debris.
2023-07-13 19:22:32 +02:00
parazyd
c359b02dd7
contract/dao: Rewrite integration test using the test harness.
2023-07-13 19:22:32 +02:00
parazyd
21d6978739
contract/test-harness: Implement functionality for the DAO contract.
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
42b3cfd8c7
contract/dao: Fix tests
2023-07-12 12:30:12 +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
98ef7c834e
chore: Update project dependencies.
2023-07-08 20:17:47 +02:00
aggstam
c7b7c2dd11
contract/test-harness/vks: updated VKS_HASH
2023-07-08 15:28:29 +03:00
aggstam
9712efdfb1
validator/consensus/pid: sigmas caclulation foundation
2023-07-07 16:43:48 +03:00
aggstam
9758c6c01f
repo: fixed tests
2023-07-04 17:23:20 +03:00
aggstam
0d00179abd
darkfid2: further extend tests foundation | repo: fmt
2023-07-03 16:50:44 +03:00
aggstam
a3d04e0b46
bin/darkfid2: set foundation for implementing new darkfid
2023-07-03 14:35:56 +03:00
aggstam
6fa4049a1b
Make Repo Great Again
2023-06-29 17:29:23 +03:00
aggstam
611bd9734b
Missing rustqlite bundled-sqlcipher feature added
2023-06-29 15:06:47 +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
aggstam
c77ed67df1
validator: decoupled verification functions so we can chain them using same overlay
2023-06-28 20:52:29 +03:00
aggstam
feabf5a67a
blockchain: rewrite completed
...
Attention: this commit breaks darkfid/faucetd network functionalities, so nodes can't sync or participate in the protocol. Wait for their rewrite(TM)
2023-06-28 14:42:14 +03:00