Commit Graph

1719 Commits

Author SHA1 Message Date
ghassmo
c8ce6b68a5 net3: handle unsupported transport upgrades 2022-05-05 20:26:02 +03:00
ghassmo
6a1953d801 Merge branch 'tokenblind' 2022-05-05 20:06:58 +03:00
ghassmo
6dba5c6a27 walletdb: use de/serialization functions for value field in own coin 2022-05-05 20:05:07 +03:00
ghassmo
c7225de5fa walletdb: add token_blind to walletdb and sql schema 2022-05-05 19:52:14 +03:00
narodnik
1f7a11a59d Add missing token_id to Note. Temp WalletDb workaround. 2022-05-05 10:19:52 +02:00
aggstam
d5b9a811a4 consensus: genesis timestamp hardcoded and retrieved based on network 2022-05-04 21:15:56 +03:00
aggstam
be7fd5fef2 consensus/proto/protocol_sync:handle_receive_block(): consensus nodes exit at function start, nodes-tool: upgraded to latest versions 2022-05-04 20:35:58 +03:00
aggstam
8d6c696e3a consensu/block: added version, consensus/state: fixed epoch 0 participants check, bin/darkfid2: updated config.toml flags, script/consensus_simulation: updated flags 2022-05-04 16:30:08 +03:00
ghassmo
015f3ddefc net3: use more specific error types for bind an address and accept a connection 2022-05-04 05:48:09 +03:00
ghassmo
a020815b43 raft: remove redundant codes 2022-05-04 05:18:25 +03:00
ghassmo
197568f544 blockchain: minor changes: avoid using into iterators when call get_all 2022-05-04 02:46:15 +03:00
ghassmo
c057c610d4 net3: new redesign for acceptor and connector and use more general form for transport protocols 2022-05-04 01:44:30 +03:00
ghassmo
a57a2fc0c5 net3: create wrapper for stream returned by Transport connections 2022-05-04 01:44:30 +03:00
Dastan-glitch
962ddf3a28 bin/tau: minor changes 2022-05-03 01:40:58 +03:00
parazyd
be3f87cfea net: Rework transports for protocol upgrades. 2022-05-03 00:18:53 +02:00
parazyd
09bfbc7285 blockchain: Cleanup and documentation. 2022-05-02 15:43:06 +02:00
ghassmo
e7157c4418 raft: fix a bug related to commits length 2022-05-02 16:28:15 +03:00
ghassmo
8cdd47bf1b bin/ircd: minor changes 2022-05-02 15:29:10 +03:00
mohab
a54f835c00 [zk/arith_chip] removed pow gate 2022-05-01 21:50:22 +02:00
mohab
acc15409b4 [zk/lead] removed unused imports 2022-05-01 21:50:22 +02:00
ghassmo
95b32a7390 raft: remove p2p code from start function & add p2p get_info() to ircd rpc 2022-05-01 21:33:03 +03:00
ghassmo
70c4f4d81d raft: add Listener node 2022-05-01 21:04:17 +03:00
ghassmo
3aeebadba8 raft: make primitives module and do encapsulation 2022-05-01 20:26:01 +03:00
ghassmo
34b34f8988 raft: change the name of p2p module to protocol_raft.rs 2022-05-01 20:01:02 +03:00
parazyd
e0549eb25f wallet: Fix test units. 2022-05-01 17:28:21 +02:00
parazyd
4aca4b9c62 Working token transfers.
One bug I've noticed is that the faucet found a duplicate nullifier
upon receiving the block/tx after finalization of the transfer.
2022-05-01 17:00:08 +02:00
parazyd
1dd63d58d2 node: More debugging. 2022-05-01 12:31:31 +02:00
parazyd
4ff4d43ca4 consensus/proto: Cleanup. 2022-05-01 12:31:31 +02:00
parazyd
2972a2d5e6 consensus/task/proposal: Cleanup. 2022-05-01 12:31:31 +02:00
parazyd
2526f603ff node: Add debug messages when building halo2 keys. 2022-05-01 10:49:42 +02:00
parazyd
57d4e2443a zk/circuit: Disable lead contract. 2022-05-01 10:49:42 +02:00
parazyd
0fd0cee7fb consensus: Don't use wrapping struct for transactions. 2022-05-01 10:49:42 +02:00
parazyd
0d708d935b consensus/state: Have consensus nodes update local state on fin blocks. 2022-05-01 10:49:31 +02:00
parazyd
695d7ed084 tokenlist: Move the token list into an Arc, and share around. 2022-05-01 10:49:31 +02:00
parazyd
23f86748b0 node/client: Fix sapling zk proof creation. 2022-05-01 10:49:31 +02:00
lunar-mining
fac25736a1 dnetview: remove unused data structures and cleanup 2022-05-01 10:29:56 +02:00
parazyd
28129fe33a zk: Fix module. 2022-05-01 00:40:40 +02:00
mohab
1aa3e0245c [zk/lead_contract] used y_commit in place it's coordinates 2022-04-30 22:39:49 +02:00
mohab
762d80ac8b [zk/circuit/lead_contract] removed redundant serial number 2022-04-30 22:39:49 +02:00
mohab
7b825386ca replace coin commit in path commitment with coin commit hash 2022-04-30 22:39:49 +02:00
mohab
9d3ee2e926 merge conflicts 2022-04-30 22:35:30 +02:00
mohab
3d5ae40f40 WIP, lead example 2022-04-30 22:29:06 +02:00
mohab
649f6bd598 replaced concatenation with poseidon 2022-04-30 22:29:06 +02:00
mohab
f67d309d41 added lead contract 2022-04-30 22:29:06 +02:00
parazyd
83138dec07 node: Minor cleanup. 2022-04-30 22:15:40 +02:00
parazyd
08e3d81f65 drk: WIP transfers. 2022-04-30 21:15:56 +02:00
parazyd
250cdeeae8 consensus/proto/tx: Don't act on state transitions if the tx is known. 2022-04-30 20:50:37 +02:00
parazyd
d045ad493b faucetd: Use latest token IDs impl. 2022-04-30 20:50:37 +02:00
parazyd
3042bdd6b2 Update DarkFi token list. 2022-04-30 20:19:05 +02:00
parazyd
609afbd9c7 Rework token lists and ID generation. 2022-04-30 19:45:00 +02:00