Commit Graph

1952 Commits

Author SHA1 Message Date
ghassmo
43f1d14077 util/derive/serial: WIP add support for enum 2022-08-18 14:06:58 +04:00
narodnik
0adf5bbe2b darkfi: extend mint/burn proofs with spend_hook and user_data 2022-08-15 11:43:40 +02:00
narodnik
0d9da87d4f darkfi: add spend_hook and user_data to create_mint/burn_proof() 2022-08-15 11:05:28 +02:00
lunar-mining
a1ff7e8f44 crypto: change Mint/BurnRevealedValues::make_ouputs to return Vec<DrkCircuitField> 2022-08-14 09:03:45 +02:00
aggstam
513e990890 src/dht: lookup map syncing minor optimization 2022-08-13 18:19:09 +03:00
aggstam
2c326770a5 src/consensus/task/consensus_sync: missing break added 2022-08-13 18:19:09 +03:00
lunar-mining
11a71fc1c8 serial: implement Encodable/ Decodable for Vec<T>. deprecates impl_vec! macro 2022-08-13 09:23:27 +02:00
aggstam
0e2929a5c8 scr/util/serial: added BTreeMap Generic encoding 2022-08-12 20:47:57 +03:00
aggstam
0ef1a45086 src/dht: lookup map syncing implemented 2022-08-12 20:25:24 +03:00
parazyd
eb1a9f1349 darkotc: Implement signing of partially signed transaction. 2022-08-12 16:19:53 +02:00
parazyd
2615f7a30e lib: Reenable wasm runtime module. 2022-08-12 11:25:45 +02:00
narodnik
1dd581042d daod: comment out unused values 2022-08-11 11:55:50 +02:00
narodnik
57b796dfc3 daod: DAO::mint() zk proof 2022-08-11 11:40:30 +02:00
parazyd
b55fc083d6 zk: Optional enforcing for remaining bits in less_than and native_range_check 2022-08-10 15:55:42 +02:00
narodnik
196ddaf7d6 slight memorystate optimization: check in memory before db 2022-08-10 10:49:49 +02:00
parazyd
055113a846 util/cli: Add helper functions for colored text. 2022-08-09 18:55:26 +02:00
parazyd
35e24d4551 node: Remove TODO about debugging token ID. 2022-08-09 18:55:26 +02:00
parazyd
51aa4eb767 crypto/schnorr: Add function to make a dummy signature. 2022-08-09 18:55:26 +02:00
parazyd
2ec2eda9b7 tx: Export some functionality. 2022-08-09 18:55:26 +02:00
parazyd
3aa0a04d7b darkfid: Implement wallet.decrypt_note RPC endpoint. 2022-08-09 18:55:26 +02:00
parazyd
1e109e3edc note: Implement memo field in encrypted notes.
This can store arbitrary data.
2022-08-09 18:55:26 +02:00
aggstam
02e9d65e1f src/node/Keys build: rows from 8 to 11 2022-08-09 19:29:32 +03:00
narodnik
51c1e09415 tx: major bugfix, do not reuse previous output value blinds. that will produce the same value_commit as the previous output making them linkable. 2022-08-09 11:04:58 +02:00
narodnik
32fb73db19 net: lower outbound_retry_seconds from 20 mins to 20 secs. Will ensure faster reconnects after connection goes down. 2022-08-09 10:36:57 +02:00
narodnik
2168403ed2 crypto: add TODO note for ProvingKey/VerifyingKey about duplicates 2022-08-09 10:36:57 +02:00
parazyd
8ef05a186b crypto: Rework pedersen commitments to allow also full-width base inside zk. 2022-08-08 15:01:11 +02:00
parazyd
0d01be2f4e Remove num-bigint usage from crates, revert to u64. 2022-08-06 12:40:50 +02:00
lunar-mining
407de37733 net: message_subscriber: renamed trigger_all to _trigger_all and clarified documentation 2022-08-05 12:21:57 +02:00
lunar-mining
99b714817a net: renamed SeedSession to SeedSyncSession 2022-08-05 12:21:57 +02:00
parazyd
eb665cc476 walletdb: Implement query for coins by value and token_id. 2022-08-04 17:50:36 +02:00
parazyd
c0acef85bd Update project dependencies. 2022-08-04 17:50:36 +02:00
parazyd
9cb3176639 crypto: Derive serialization for OwnCoin. 2022-08-04 17:50:36 +02:00
parazyd
f9f11ad45a util/cli: Add spinner utility. 2022-08-04 17:50:36 +02:00
parazyd
757eefc181 wallet: Add functionality to revert spent coin in wallet. 2022-08-04 17:50:36 +02:00
parazyd
8aa1ba063d crypto/token_id: Add helper function to parse base58 into a token ID.
TODO: Maybe generalise it a bit more.
2022-08-04 17:50:35 +02:00
parazyd
c8fbc2f454 consensus: Remove tokenlist reference. 2022-08-04 17:50:35 +02:00
parazyd
6e6485d864 node: Remove tokenlist logic. 2022-08-04 17:50:35 +02:00
parazyd
a41acffcc3 walletdb: Remove network ID and tokenlists. 2022-08-04 17:50:35 +02:00
parazyd
4d5e6fef10 crypto/keypair: Add methods to get x and y from PublicKey. 2022-08-04 17:50:35 +02:00
aggstam
f3d1107d2c consensus/block_sync: ignore already existing blocks 2022-08-03 18:19:19 +03:00
ghassmo
e521a8a05c src/util/file: add functions to load and save files from string 2022-07-31 23:07:46 +04:00
aggstam
aff8df6a78 net/message_subscriber/notify(): added target to dispacher warning 2022-07-31 18:54:49 +03:00
ghassmo
db4e9dd870 use unified gen_id function 2022-07-31 05:39:35 +04:00
ghassmo
f73217d966 create file module in src/util contain helper functions for dealing with files 2022-07-31 05:39:35 +04:00
aggstam
6607849889 consensus: moved state transitions/validations to state.rs 2022-07-29 13:41:39 +03:00
ghassmo
1dbab61a5a cargo clippy a little clean up 2022-07-26 12:17:03 +04:00
ghassmo
0ac518ae9f raft: split the main consensus code to files according to the roles & remove sync process 2022-07-26 10:06:42 +04:00
aggstam
f6d19df216 src/consensus: updated structures 2022-07-25 21:34:50 +03:00
narodnik
9a7c47f856 add missing stop() method for p2p 2022-07-25 12:42:40 +02:00
ghassmo
26f0c3c638 raft: create RaftSettings instead of using const vars 2022-07-25 05:41:21 +04:00