Commit Graph

1540 Commits

Author SHA1 Message Date
ghassmo
2192f70b8d src/net: fix a bug causing intensive CPU usage 2022-04-12 09:16:47 +04:00
parazyd
a3ed95ab79 rpc: WIP network transports, and darkfid skeleton for further integration. 2022-04-11 18:44:46 +02:00
aggstam
56186fc49e src/consensus: fork chains to use BlockProposal strusture, cleanup, encode_payload! macro added 2022-04-11 15:38:13 +03:00
parazyd
a3fe1de486 crypto: Derive PartialOrd and Ord for MerkleNode. 2022-04-11 11:13:23 +02:00
ghassmo
6b32ae6db1 little clean up using cargo clippy 2022-04-11 09:57:30 +04:00
ghassmo
f674650891 src/util: convert UrlConfig to SocketAddr 2022-04-11 09:26:22 +04:00
ghassmo
d0778e890f error: implement InfallibleError 2022-04-11 09:24:43 +04:00
narodnik
ae6d27001c Merge branch 'pil' 2022-04-10 05:27:41 +02:00
piltom
891484d196 net/transport improve tor docs 2022-04-10 00:42:51 +02:00
piltom
cca7fcc18c net/transport remove error not used 2022-04-09 23:28:12 +02:00
piltom
7cbf0bd95b net/transport remove unnecessary pub 2022-04-09 23:24:01 +02:00
piltom
4dbd513418 net/transport add tor transport 2022-04-09 20:16:23 +02:00
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