parazyd
|
b77da89ce6
|
Some more cleanups and formatting.
|
2021-10-01 14:10:30 +02:00 |
|
parazyd
|
19727d1528
|
Code linting.
|
2021-09-23 17:44:07 +02:00 |
|
narodnik
|
fac75137dc
|
updated NOTE_PLAINTEXT_SIZE changing size for asset_id from 8 bytes to 32 bytes because type changed from u64 to Scalar
|
2021-09-14 15:34:25 +02:00 |
|
ghassmo
|
8998b47494
|
change asset_id to jubjub::Fr in test cases
|
2021-09-14 00:41:31 +03:00 |
|
lunar-mining
|
0dfe7bf3dc
|
changed asset_id to jubjub::Fr across all project
|
2021-09-12 14:53:06 +02:00 |
|
lunar-mining
|
399dffa7e5
|
removed default config and added ConfigNotFound error
|
2021-09-09 09:09:19 +02:00 |
|
ghassmo
|
bb290b1fb6
|
make OwnCoin struct instead of tuple
|
2021-09-07 22:36:25 +03:00 |
|
ghassmo
|
57352de3c2
|
cargo fmt
|
2021-08-23 04:52:29 +03:00 |
|
ghassmo
|
e400bb1deb
|
move OwnCoins type to crypto module
|
2021-08-23 04:38:46 +03:00 |
|
ghassmo
|
e0cb31d983
|
fix the warnings
|
2021-08-13 05:08:34 +03:00 |
|
lunar-mining
|
8a6f14571a
|
added mutex lock to zmq socket. finished client side deposit().
ran cargo fmt
|
2021-08-08 12:19:18 +02:00 |
|
ghassmo
|
34eb0919db
|
impl Encodable and Decodable for Vec<Node: Hashable>
|
2021-08-07 05:22:39 +03:00 |
|
ghassmo
|
847fd8ac0b
|
implement Decodable for CommitmentTree<Node> and
IncrementalWitness<Node>
|
2021-08-04 20:04:20 +03:00 |
|
ghassmo
|
7a4b4cf9c4
|
add Clone macro to Coin struct
|
2021-08-04 02:03:36 +03:00 |
|
rachel-rose
|
01e109493d
|
added key_id param to put_own_coins
|
2021-07-05 13:01:11 +02:00 |
|
ghassmo
|
e334d2ca2b
|
clear warning messages
|
2021-06-30 20:32:47 +03:00 |
|
rachel-rose
|
23faf56fdd
|
removed own_coins vector. fn apply() now writes directly to sqlite
|
2021-06-30 12:29:15 +02:00 |
|
Nym
|
26290ac290
|
Merge branch 'master' into asset-id
|
2021-06-27 11:31:52 +00:00 |
|
Nym
|
48beeeb94d
|
Blind the asset_id and enforce asset matches among inputs and outputs.
|
2021-06-27 11:29:16 +00:00 |
|
rachel-rose
|
b0a04b7d93
|
made self.cursor a reference
|
2021-06-27 08:34:55 +02:00 |
|
rachel-rose
|
e6d76428d1
|
made match statement more succinct by ignoring none value
|
2021-06-27 07:58:42 +02:00 |
|
Nym
|
7377a47362
|
Set the merkle tree depth to 32.
|
2021-06-26 17:23:58 +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 |
|
rachel-rose
|
4d446b1971
|
removed redundant match
|
2021-06-24 15:57:49 +02:00 |
|
rachel-rose
|
83a7148e08
|
implemented Encodable for IncrementalWitness and finished put_own_coins
|
2021-06-24 15:43:54 +02:00 |
|
rachel-rose
|
0613393e95
|
implemented note decryption. ran cargo fmt
|
2021-06-22 10:45:19 +02:00 |
|
ghassmo
|
40e79b2c1d
|
clear all warning messages
|
2021-06-09 07:45:50 +03: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
|
153cae0234
|
add missing file coin.rs
|
2021-05-22 13:17:45 +02:00 |
|
narodnik
|
6041fca23a
|
document src/bin/tx.rs
|
2021-05-22 11:59:59 +02:00 |
|
narodnik
|
e5bb81dee6
|
make merkle depth an adjustable parameter in the code
|
2021-05-22 11:27:33 +02:00 |
|
narodnik
|
411a62ed20
|
Separate the Node and Coin types
|
2021-05-22 09:53:19 +02:00 |
|
narodnik
|
8b511a79b1
|
switch code to using nullifier type
|
2021-05-22 09:16:23 +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 |
|
narodnik
|
86b3bd496e
|
use nullifier struct
|
2021-05-20 10:16:05 +02:00 |
|
narodnik
|
1a2c658484
|
integrate state_transition() with tx demo code
|
2021-05-16 10:11:23 +02:00 |
|
narodnik
|
6ecd0b7c15
|
working signature generation for spends in tx builder and verifications for tx
|
2021-05-12 11:04:29 +02:00 |
|
narodnik
|
37baa83f16
|
add encrypted output note
|
2021-05-11 09:58:32 +02:00 |
|
narodnik
|
bf88b9b946
|
add spend field for tx builder and coin lookup trait
|
2021-05-09 16:11:40 +02:00 |
|
narodnik
|
fb78f88e3e
|
run cargo fmt
|
2021-05-09 10:09:43 +02:00 |
|
narodnik
|
bfe5d85ec9
|
example of build a merkle tree and witness from a newly minted coin
|
2021-05-08 13:52:14 +02:00 |
|
narodnik
|
1375328f0b
|
add merkle tree and coin primitives
|
2021-05-08 10:31:11 +02:00 |
|