aggstam
d8f5adf23e
CL checks conflicts resolved
2022-04-09 14:51:50 +03:00
aggstam
8ea28e752f
src/consensus: blake3 hashes used insted of String, removed serde Deserialize/Serialize (finally)
2022-04-09 14:40:32 +03:00
ghassmo
277e908865
raft: prevent a listener node from request/response votes
2022-04-09 09:12:56 +04:00
ghassmo
b54211347e
raft: handle errors properly
2022-04-07 12:57:34 +04:00
ghassmo
6a5cc6dbe1
add raft as a feature to darkfi lib
2022-04-07 11:50:18 +04:00
aggstam
267e1d2016
validatord: state storage moved from jsonfile to sled
2022-04-05 22:23:00 +03:00
parazyd
67dbb6825f
CI: Fix test units.
2022-04-03 20:11:30 +02:00
parazyd
3018751d40
blockchain: Implement wrapper Blockchain struct to take the stores.
2022-04-03 16:16:35 +02:00
parazyd
8864a4c564
blockstore: Implement get_range() to retrieve a range iterator.
2022-04-03 16:08:29 +02:00
parazyd
1439d921da
blockstore: Use sled::Batch for insert().
2022-04-03 15:55:06 +02:00
parazyd
4a4b40d7be
blockchain: Implement initial blockstore API.
2022-04-03 15:24:56 +02:00
parazyd
0109aa0394
Add skeleton for sled blockchain store.
2022-04-03 14:44:40 +02:00
ghassmo
891add8c62
net: minor changes
2022-04-03 11:00:13 +04:00
parazyd
35fe9e66a9
util/cli: Add macro for cli description for use with clap::about.
2022-04-02 15:34:58 +02:00
Dastan-glitch
8d79575afe
bin/tau-cli: rank as f32 and cleanup
2022-04-01 19:44:06 -04:00
aggstam
bc49396a64
validatord: participants logic implemented
2022-04-01 23:33:07 +03:00
aggstam
65e827df1e
validatord: proper p2p messages handling, n nodes simulation
2022-03-30 22:09:20 +03:00
Dastan-glitch
d871c58708
util/serial: implementing Encodable and Decodable for f32
2022-03-30 13:40:22 -04:00
Dastan-glitch
f6da35f21a
util/serial: adding tests for f64
2022-03-30 00:17:00 -04:00
Dastan-glitch
9821f2db62
accepting float numbers for rank and implementing Encodable and Decodable traits for f64
2022-03-30 00:15:50 -04:00
aggstam
07b27791b0
validatord: added votes orphans impl, removed artificial delays when voting, remove +nightly from simulation
2022-03-29 01:01:21 +03:00
narodnik
d519c46159
add todo task for net
2022-03-28 23:18:47 +02:00
parazyd
f940f653b2
General clippy cleanups.
2022-03-28 21:03:17 +02:00
mohab
9ab936d960
[script/research/crypsinous] update docs
2022-03-28 19:59:41 +02:00
parazyd
4d8557155c
transport/tls: Clean up and rotate certificates every instantiation.
2022-03-28 19:59:41 +02:00
parazyd
fb2d3a1033
net/transport: Implement listeners for TCP and TLS + integration tests.
2022-03-28 19:59:41 +02:00
aggstam
bcf0975d82
jsonrpc: quick results handling
2022-03-28 19:59:40 +02:00
parazyd
6be5dd0777
transport/tls: Remove unused root_store.
2022-03-28 19:59:40 +02:00
parazyd
41ecea27a7
net/transport: Implement TLS client protocol.
2022-03-28 19:59:40 +02:00
parazyd
c417ff9d64
net: Initial transport abstraction concept.
...
So far, only outbound TCP connections.
2022-03-28 19:59:40 +02:00
ghassmo
4baa8dbe0d
util/derive-internal: minor changes
2022-03-28 19:59:40 +02:00
ghassmo
74414f12ab
util/serial: impl Decodable/Encodable for PathBuf
2022-03-28 19:59:39 +02:00
aggstam
5d94a1406e
src/consensus: updated structures with new serialization derives.
2022-03-28 19:59:39 +02:00
ghassmo
7cecc88a3d
util/derive: allow to skip fields with attributes
2022-03-28 19:59:39 +02:00
parazyd
9abf62c980
Miscellaneous cleanups.
2022-03-28 19:59:39 +02:00
aggstam
169f16f34b
merged branches
2022-03-28 19:59:38 +02:00
aggstam
5a00ea2c51
validatord: p2p impl for all consensus messages implemented, consensus structures added at src/consensus, WIP: consensus network
2022-03-28 19:59:38 +02:00
parazyd
4b1cb59784
util/derive: Update proc-macro-crate to latest version.
2022-03-28 19:59:38 +02:00
parazyd
44fdddb018
Update some version dependencies for derive crates.
2022-03-28 19:59:38 +02:00
parazyd
bf622aad39
util/serial: Implement derive macros also for unnamed fields.
2022-03-28 19:59:38 +02:00
parazyd
444531cc3d
util/serial: Implement SerialEncodable/SerialDecodable derive macros.
2022-03-28 19:59:38 +02:00
parazyd
3447c87dd8
zkas, vm: Implement greater_than opcode for scalar comparison.
2022-03-28 19:59:36 +02:00
parazyd
73d7b4f19b
zkas/parser: Use a macro to parse function calls to reduce repetitive code.
2022-03-28 19:59:36 +02:00
parazyd
2de7656f8c
zk: Implement GreaterThan chip used for scalar comparison.
2022-03-28 19:59:36 +02:00
parazyd
8ca8406aec
zk: Implement EvenBits chip for bit decomposition.
2022-03-28 19:59:36 +02:00
parazyd
5f0c0b05d8
zk: Clean up unused code from arith_chip.
2022-03-28 19:59:36 +02:00
parazyd
87b1cb49ad
zk/vm: Implement function for making empty witnesses from ZkBinary.
...
This is useful for verifiers to enforce behaviour and avoid mismanaging
the witnesses that need to be input into the circuit when verifying
a proof.
Note that the prover still has to manage this by themself. There
might be some way to generalise this, but in practice, when creating
a ZK proof, the prover should always be aware of what witnesses they
should be inputting, so this can be represented procedurally in the
code without the need of an abstraction.
2022-03-19 01:07:49 +01:00
ghassmo
937e06ec4f
Replace HashMap with FxHashMap
2022-03-18 23:19:13 +04:00
parazyd
660c6184ca
taud: Abstract getting config file to a util function.
2022-03-18 18:26:08 +01:00
parazyd
6aff6643af
zkas: Use fxhash as the IndexMap hasher.
2022-03-18 17:44:58 +01:00