Commit Graph

5001 Commits

Author SHA1 Message Date
parazyd
60e6f94edb consensus/state: Clean up native wasm deploy and verification API. 2022-11-24 12:56:03 +01:00
aggstam
d672e1e9c0 consensus/metadata: remove unused import (5000 commit race) 2022-11-24 12:11:21 +02:00
parazyd
349c1d7096 consensus/state: Optionally create proving keys for leadership proofs.
We don't need it if we don't participate in consensus.
2022-11-24 11:06:36 +01:00
aggstam
8111495dc5 consensus: fmt 2022-11-23 23:06:52 +02:00
aggstam
49d275ddc8 rpc/client: subscribe to notifications impl added, script/research/rpc_cleint_notifications: example usage of rpc/client.subscribe() 2022-11-23 23:06:25 +02:00
parazyd
e8ebb9d240 Faucet airdrop implementations and interaction with drk.
Transaction verification from state.rs still has some issue on wasm execution.
A proper verification API has to be written next to simplify things, avoid
convoluted code repetition, and have less places where things can go wrong.
2022-11-23 20:45:59 +01:00
aggstam
325dabeb16 doc/architecture/consensus: typo 2022-11-23 19:22:25 +02:00
lunar-mining
4c2c4c3681 book/ consensus.md: fmt and clarify language concerning block proposals. 2022-11-23 17:46:42 +01:00
lunar-mining
6697c349d1 Revert "book: fmt consensus.md"
This reverts commit 8c84d7b0f42ea31e122253a2e1ee5195935ad6ae.
2022-11-23 17:46:42 +01:00
lunar-mining
80fca0c6b5 book: fmt consensus.md 2022-11-23 17:46:42 +01:00
lunar-mining
8df8653379 book: grammar edit, consensus.md 2022-11-23 17:46:42 +01:00
mohab metwally
4f45b5cae3 [consensus/state] dynamic f implemented 2022-11-23 18:15:17 +02:00
aggstam
af8609f59a rpc: simplyfied notify handler 2022-11-23 17:25:01 +02:00
aggstam
5f32bd58b4 Revert "rpc: implemented notify handler"
This reverts commit 5325268d14.
2022-11-23 13:14:45 +02:00
aggstam
60f028e3ac consensus: fmt 2022-11-23 01:24:40 +02:00
aggstam
5325268d14 rpc: implemented notify handler
This enables notifying a connected stream about items as they arrive at provided subscriber. A dummy example was added to Lilith.
2022-11-23 01:24:20 +02:00
mohab metwally
48ea34ea7b fix bloating leadcoin.rs 2022-11-22 17:06:35 +02:00
mohab metwally
7a7081dffc move nullifier from leadcoin to member function 2022-11-22 16:41:28 +02:00
mohab metwally
4bdae4989f [consensus] reorg is_lead, and sigmas 2022-11-22 16:24:28 +02:00
mohab metwally
78c626b941 remove tx validation, moved to transferstx 2022-11-22 16:24:28 +02:00
aggstam
aeb13a0dba doc/architecture/consensus: ascii sympols updated 2022-11-22 15:22:56 +02:00
aggstam
0818f9b388 doc/architecture/consensus: tupo 2022-11-22 15:07:56 +02:00
aggstam
1c5c02671f doc/architecture: consensus chapter added 2022-11-22 14:44:12 +02:00
aggstam
f93d87c7d3 consensus: replace winning coin with derived one 2022-11-21 19:36:56 +02:00
parazyd
a1a2da8394 contract/money: Finalize integration test with zk proof verification 2022-11-21 17:53:25 +01:00
parazyd
38b3048da3 cargo fmt 2022-11-21 15:53:24 +01:00
parazyd
e2c22c28aa contract/money: Implement integration test. 2022-11-21 15:51:44 +01:00
mohab metwally
8167f81e95 [consensus/stx] verify stx 2022-11-21 14:09:29 +02:00
parazyd
1c2613f3f4 zk/vm: Allow strict and loose checks for less_than. 2022-11-21 10:20:04 +01:00
mohab metwally
2c7b54c702 [consensus/tx] transfer tx fixed 2022-11-20 17:48:37 +02:00
mohab metwally
2f4046b79f [consensus/rect] take coin pk out of TxRcpt, coin ID is owned by stakeholder 2022-11-20 17:15:41 +02:00
mohab metwally
93f06ea754 [consensus/rcpt] encrypted TxRcpt of transfer Tx 2022-11-20 15:35:16 +02:00
mohab metwally
856ebd9c4a added derived lead coin, and removed derived coin nonce from public inputs 2022-11-19 21:03:18 +02:00
aggstam
5be1bcf5c8 contrib/localnet/darkfid-five-nodes added for consensus testing 2022-11-19 17:01:33 +02:00
aggstam
5b26ce4efb script/research/nodes-tool: fixed broken import 2022-11-19 15:55:49 +02:00
mohab metwally
a41ef16c83 proof/tx.zk use nullifier_k in pedersen 2022-11-19 15:39:34 +02:00
mohab metwally
d117643e48 lead.zk, consnsus/leadcoin.rs fixed lead contract commitments, prefixes, pk, and changed vm lessthan to non strict 2022-11-19 15:28:57 +02:00
mohab metwally
106bd37525 adhoc minimal lead proof 2022-11-18 17:52:34 +02:00
mohab metwally
aa356a00bd fix typo in tx.zk 2022-11-18 17:18:31 +02:00
parazyd
34f4d94c0d Makefile: bins should depend on zk proofs. 2022-11-18 16:16:37 +01:00
aggstam
57751b2007 contrib/localnet/darkfid-small added 2022-11-18 17:13:48 +02:00
mohab metwally
08eb5936bb transfer transaction based off lead coin 2022-11-18 16:53:20 +02:00
aggstam
e2d7d0d321 consensus/constants: increades LEADER_PROOF_K to 13 2022-11-18 16:29:15 +02:00
aggstam
b2a4b672b8 blockchain: removed redundant code, fmt 2022-11-18 16:28:33 +02:00
mohab metwally
1b532aae20 leadcontract, txcontract removed 2022-11-18 13:21:47 +02:00
mohab metwally
fcc5fa05fd update leadcoin in state 2022-11-18 12:58:55 +02:00
mohab metwally
16d90b3bfa fix witnesses 2022-11-18 12:53:19 +02:00
mohab metwally
37cbd2e152 update public_inputs, and lead circuit 2022-11-18 12:27:17 +02:00
aggstam
ee10a54648 consensus: major changes implemented
finalization syncing period implemented, finalization logic improvements, fork logic improvements, use blockhash instead of header hash as identifiers, remove redundant DELTA, minor fixes
2022-11-18 02:32:47 +02:00
parazyd
4d3b8a10b8 faucetd: Build money transfer transaction. 2022-11-17 23:51:00 +01:00