Commit Graph

42 Commits

Author SHA1 Message Date
aggstam
eb2342d424 script/research/streamlet_rust: Block signature encoding modified 2022-03-09 15:22:44 +02:00
aggstam
5396dae4bb script/research/streamlet_rust: Block transactions changed from String to tx::Transaction.
Additional modifications:
  script/research/streamlet_rust: fixed epoch calculation
  Added macros at:
    crypto::{note::EncryptedNote, proof::Proof, MintRevealedValues, SpendRevealedValues},
    tx::{Transaction, TransactionClearInput, TransactionInput, TransactionOutput}
2022-02-23 00:05:10 +02:00
parazyd
22fdec7fed Fix compilation errors 2022-02-15 11:33:02 +01:00
parazyd
e441396383 Add "node" feature. 2022-01-13 15:42:55 +01:00
ghassmo
aa6fbc1085 create node module and move darkfid to bin dir 2022-01-08 18:30:29 +04:00
Dastan-glitch
80ba9a2dca Error handling 2021-12-24 08:50:23 +01:00
parazyd
5aef00247e Add debug derives and more serialization test units. 2021-12-03 01:34:24 +01:00
parazyd
e87ef1443f tx: Add debug statements to verify().
This is helpful because there's a silent failure when watching the
cashier log.
2021-12-02 22:10:18 +01:00
parazyd
a47505b427 Clean up some clippy lints. 2021-12-02 21:38:27 +01:00
parazyd
3a80143540 Create zk proving keys on initial startup and pass them around. 2021-12-02 21:24:16 +01:00
parazyd
ff01e7b685 Use the new keypair module throughout the codebase. 2021-12-02 21:24:15 +01:00
parazyd
80709c6813 crypto: Remove duplicated and old merkle tree code. 2021-11-28 10:19:05 +01:00
parazyd
81f95745f3 Apply some linting cleanups. 2021-11-28 10:13:29 +01:00
parazyd
b308e85e38 tx2: Clean up. 2021-11-28 09:34:08 +01:00
parazyd
7276498e64 cargo fmt with new settings. 2021-11-27 17:02:29 +01:00
narodnik
c86b8c63fa working spends for tx builder 2021-11-25 12:57:42 +01:00
narodnik
9a9169590f migrate over spend contract from burn.rs to src/ 2021-11-25 10:57:41 +01:00
narodnik
ac346ea2d8 use merkle path inside the burn proof generation 2021-11-23 14:00:59 +01:00
narodnik
8dc76b9f25 comment out tx2 tx submodule, and begin midgrating changes to src/ 2021-11-23 11:35:15 +01:00
narodnik
523a01ed0e verify summing coin blinds and checking token commits 2021-11-08 11:58:33 +01:00
narodnik
5b0b4065e5 working clear inputs for tx2, check correct public key 2021-11-07 20:41:54 +01:00
parazyd
bf77b58a06 tx: Port for pasta. 2021-11-02 13:46:06 +01:00
Matthias Seitz
0e9de335a1 chore: clippy --fix 2021-10-25 09:57:12 +02:00
lunar-mining
5102102d95 renamed 'asset' to 'token' across project 2021-10-12 11:20:20 +02:00
lunar-mining
4727914b85 renamed asset_id to token_id across project 2021-10-12 11:09:59 +02:00
ghassmo
e830cafc17 return MintProof error when verify_mint_proof function return false 2021-10-04 10:02:16 +03:00
parazyd
19727d1528 Code linting. 2021-09-23 17:44:07 +02:00
lunar-mining
0dfe7bf3dc changed asset_id to jubjub::Fr across all project 2021-09-12 14:53:06 +02:00
rachel-rose
23faf56fdd removed own_coins vector. fn apply() now writes directly to sqlite 2021-06-30 12:29:15 +02:00
Nym
48beeeb94d Blind the asset_id and enforce asset matches among inputs and outputs. 2021-06-27 11:29:16 +00:00
Nym
9942b28e94 Add asset_id to coin. Unenforced for now but gets passed around and
included in the coin hash.
2021-06-26 17:08:28 +00:00
ghassmo
1a6bccd8e9 cargo fmt & clean up 2021-05-28 16:28:24 +03:00
narodnik
c97feb8f0b rename ambigous 'Node' to MerkleNode 2021-05-24 11:41:30 +02:00
narodnik
9cc5b39f2a cargo fmt 2021-05-22 15:47:33 +02:00
narodnik
e5bb81dee6 make merkle depth an adjustable parameter in the code 2021-05-22 11:27:33 +02:00
rachel-rose
b61562b766 removed more unused imports that were overwritten by conflict 2021-05-21 22:19:41 +02:00
rachel-rose
f9ec38bb51 removed errors that were overwritten by cargo fmt... and ran cargo fmt :) 2021-05-21 22:08:56 +02:00
narodnik
b20fbfb422 rename coin to node 2021-05-21 18:36:26 +02:00
narodnik
19140a78ec Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-05-21 14:03:26 +02:00
narodnik
62e0da8630 merkle checking is correct 2021-05-21 13:44:06 +02:00
rachel-rose
bcbe3f4ae2 cleaned up some unused import warnings 2021-05-20 16:15:51 +02:00
narodnik
4edca469cb split mega tx.rs file into subfiles inside tx module 2021-05-20 11:47:37 +02:00