Commit Graph

8098 Commits

Author SHA1 Message Date
parazyd
47e9d68ef1 sdk/crypto: Forbid PublicKey to ever be the identity point 2024-02-20 15:47:34 +01:00
parazyd
dc203e12f0 contract/deployooor: Remove redundant ZK proof creation and verification 2024-02-20 15:47:34 +01:00
parazyd
b82aee8cd3 sdk/crypto: Derive a deterministic nonce for ECVRF 2024-02-20 15:47:34 +01:00
parazyd
6002324810 validator/utils: Add FIXME note about dangerous code 2024-02-20 15:47:34 +01:00
parazyd
e33fb55faf sdk/crypto: Use deterministic nonces for Schnorr signatures 2024-02-20 15:47:34 +01:00
parazyd
23f2bbeac9 sdk/crypto: Add "_unsafe" suffix to ElGamalEncryptedNote functions
The reasoning is explained in the rustdoc for those functions.
2024-02-20 15:47:33 +01:00
zero
b218255aa1 DAO::propose(): check input nullifiers are not used more than once - each one should be unique. 2024-02-20 15:47:33 +01:00
zero
ff24d41a10 sdk/schnorr: add the pubkey to challenge hash of commit 2024-02-20 15:47:33 +01:00
parazyd
41266d7fd6 chore: Add supply-chain to main .gitignore
This is used by `cargo vet`
2024-02-20 15:47:33 +01:00
parazyd
8636fb2641 sdk/ecvrf: Enforce that the public key is not the identity point 2024-02-20 15:47:33 +01:00
parazyd
60fc2f0b3d sdk/mimc_vdf: Generate round constants as BigUint instead of u64 2024-02-20 15:47:33 +01:00
zero
ce517f331c book/dev: remove section on ChangeLog 2024-02-18 15:52:28 +01:00
parazyd
4dd4cf5178 sdk/crypto: Add test unit for pedersen.rs 2024-02-17 23:54:06 +01:00
zero
9f1649ef02 book: changes to hiring based on commentz 2024-02-17 12:51:04 +01:00
zero
bcb1c5a439 book: add section on dev 2024-02-17 11:35:12 +01:00
zero
75ad829ff8 Cargo.lock: openssl 2024-02-15 14:06:33 +01:00
zero
8a17b7175e fix darkirc android build using dockerfile 2024-02-15 13:45:05 +01:00
dasman
95e7a53094 event_graph: fix events validation with days_rotation set to zero 2024-02-15 03:28:43 +03:00
skoupidi
d54e44b573 contrib/localnet/darkfid*: updated to work with latest darkfid 2024-02-14 17:09:13 +02:00
skoupidi
d4af12f264 drk: another minor scan fix 2024-02-14 15:44:16 +02:00
skoupidi
67692cf354 drk: minor scan fix 2024-02-14 15:34:16 +02:00
skoupidi
af5542da7b drk: parse coinbase transaction 2024-02-14 15:25:00 +02:00
skoupidi
f345f7a338 contrib/localnet/darkfid-singe-node: updated to work with latest darkfid 2024-02-14 14:32:22 +02:00
skoupidi
44103f0359 darkfid: use base64 encoding | drk: minor fixes 2024-02-14 14:31:40 +02:00
skoupidi
847e4749eb darkfid/task/miner: properly listen for network proposals 2024-02-13 17:44:17 +02:00
skoupidi
f1f05b726d darkfid: created task to listen for appended proposals and perform finalization check for non mining nodes 2024-02-13 13:45:13 +02:00
skoupidi
34b750dc5e minerd: moved from script/research into bin 2024-02-13 13:45:13 +02:00
skoupidi
38a83c8b40 darkfid: renamed consensus_p2p to miners_p2p 2024-02-13 13:45:13 +02:00
skoupidi
6de4869bec darkfid: removed obselete protocol_block 2024-02-13 13:45:13 +02:00
dasman
ea50f9ac5e bin/tau: remove commented code 2024-02-12 23:28:51 +03:00
dasman
e8ce57e81c bin/tau: add default hostlist path 2024-02-12 23:27:48 +03:00
skoupidi
7f0f954671 blockchain/header: removed redundant epoch number 2024-02-12 13:07:19 +02:00
zero
0d7d306a70 book/consensus: add formalization about fork rankings always increasing 2024-02-12 11:33:42 +01:00
zero
485bec0471 book: correct typo 2024-02-12 11:02:06 +01:00
draoi
5dcf458864 doc: fix doc/src/arch/consensus.md
* reimplement changes from 68c9bc8418
  overwritten by merge

* fix mistake in ranking algo

* last block renamed to last-n-block (n-1 block is previous block)
2024-02-11 16:51:34 +01:00
draoi
f2666e77bc doc: small tweaks doc/src/arch/consensus.md 2024-02-11 16:03:52 +01:00
draoi
26a7b352ed doc: fmt doc/src/arch/consensus.md 2024-02-11 16:03:52 +01:00
draoi
be7ce54770 doc: proofedit doc/src/arch/consensus.md 2024-02-11 16:03:50 +01:00
parazyd
68c9bc8418 consensus: Use BigUint for block ranking to obtain higher resolution 2024-02-11 13:08:59 +01:00
skoupidi
6916cff694 validator/consensus: fork rank logic minor optimization 2024-02-11 14:08:13 +02:00
parazyd
f04a44d255 chore: Clippy lints 2024-02-11 12:15:35 +01:00
parazyd
98521da0de contract/dao: Integration test port 2024-02-11 12:15:35 +01:00
skoupidi
260a0d99d8 doc/arch/consensus: vrf proof info added 2024-02-11 13:13:34 +02:00
skoupidi
1eaf5fae35 .github/workflows: temporary workaround for nightly build 2024-02-11 12:59:55 +02:00
skoupidi
7155548f45 Revert "chore: cargo update"
This reverts commit 67216e14fe.
2024-02-11 12:46:05 +02:00
parazyd
8c2a7c65a1 contract/money: Final integration test fixes
Signed-off-by: parazyd <parazyd@dyne.org>
2024-02-11 11:26:50 +01:00
draoi
67216e14fe chore: cargo update 2024-02-11 10:02:52 +01:00
zero
e6bf38d0aa book: fix broken include links 2024-02-11 09:19:19 +01:00
skoupidi
d376d2d43a contract/money/tests/integration: fixed failing test due to erroneous VRF parameters 2024-02-10 23:11:00 +02:00
parazyd
f4c3a059f3 contract/test-harness: Remove airdrop module. 2024-02-10 19:36:55 +01:00