Commit Graph

1830 Commits

Author SHA1 Message Date
aggstam
9cac1225dc consensus/proposal: addeed fmt::Display trait for simpler logging 2022-06-25 16:11:57 +03:00
ghassmo
789bbf93c6 system/subscriber: add notify_with_exclude function to Subscriber 2022-06-25 16:02:30 +03:00
ghassmo
bf946b3876 system: add self_notify function to Subscription 2022-06-25 16:02:30 +03:00
lunar-mining
fcc6964692 net/ seed_session: fix bug which caused seed to drop
previously we were looping through all start_seed tasks linearily and
applying a global timer for all tasks. if any tasks exceeded the timer,
all tasks after the timeout were dropped.

here we implement a unique timer for every unique task. if the task
exceeds a timer, that task is dropped, with no impact on any future
tasks.
2022-06-25 12:55:00 +02:00
ghassmo
d42a17cd2f net: don't print a message when the inbound is not configured 2022-06-24 21:14:33 +03:00
lunar-mining
6fc73c2d2d net: add addr message subscription to seed protocol class
also add debug info to seed session
2022-06-24 11:56:26 +02:00
lunar-mining
9e07f7a216 net: disconnect from seed after performing seed protocol 2022-06-24 11:11:19 +02:00
narodnik
5cac77a67a net: allow configuring a node_id. this is sent to all nodes with the version message for debugging purposes. 2022-06-22 15:59:51 +02:00
aggstam
d02ee72177 consensus: explicit field names in structures 2022-06-22 16:35:01 +03:00
aggstam
20467eadba consesus:block restructure 2022-06-22 14:29:39 +03:00
aggstam
d5c96db14c crypto/constants.rs: created commonly used MERKLE_DEPT constant 2022-06-22 09:55:10 +03:00
ghassmo
b6ad2e1506 raft: increase heartbeat timeout 2022-06-21 13:31:38 +03:00
ghassmo
fe147fe8ae more explicit names for network errors 2022-06-20 12:26:46 +03:00
parazyd
54f9ae4ac7 node: Update plonk key sizes for the Mint circuit. 2022-06-18 20:50:28 +02:00
parazyd
edb91aabaf zk/burn: Add metrics in circuit unit test. 2022-06-18 20:36:14 +02:00
parazyd
15d2d1a3b8 zk/mint: Print proof size in circuit test unit. 2022-06-18 19:12:31 +02:00
parazyd
be8154223d zk: Optimise mint circuit to allow k=8 rows. 2022-06-18 19:05:31 +02:00
parazyd
37f4bb95f8 zk: Do not use UtilitiesInstructions trait for vars. 2022-06-18 16:53:39 +02:00
parazyd
86e3424f00 zk: Use V1 floor planner for burn circuit and add test unit. 2022-06-18 16:41:22 +02:00
parazyd
7c267e4830 zk: Reduced and optimised mint contract rows to allow k=9. 2022-06-18 16:23:42 +02:00
parazyd
6215fc7bd6 zk: Port code to latest Halo2 API.
greater_than and crypsinous lead proof are temporarily disabled.
2022-06-18 16:08:52 +02:00
parazyd
82282b8dc0 zk: Implement IsZero gadget. 2022-06-18 16:08:37 +02:00
parazyd
12bb3a0cde zk: Move zk gadgets to separate gadget module. 2022-06-18 14:34:05 +02:00
aggstam
2352a2b6ec net/session/seed_session.rs: explicitly store seeds external address in hosts 2022-06-16 21:47:22 +03:00
aggstam
72a5556f3f faucetd: added missing decoding crate
localnet/tmux_sessions.sh modified to keep pane open if code crashes on init
consensus/protos: some extra logging
2022-06-16 00:47:29 +03:00
aggstam
52be7a0764 script/research/raft-tool: basic tool to extract all data from raft Database 2022-06-15 15:17:21 +03:00
aggstam
35c459db9a Cargo.toml: features updates, util/time.rs: replaced worldtime api request with jsonrpc request towards network nodes, darkfid: configuration check for new clock check impl, contrib/localnet + script/consensu_simulation: added new config args, faucted: removed unnessesary clock check, src/error.rs: new ConfigInvalid error and removed NTP error 2022-06-13 18:23:27 +03:00
parazyd
7963f69764 fixup! transport/tcp: Add some Linux-specific socket configurations. 2022-06-11 11:08:43 +02:00
parazyd
079dab18f3 transport/tcp: Add some Linux-specific socket configurations. 2022-06-11 10:52:04 +02:00
ghassmo
64e32310f8 net: expand the descriptive comment in subscribe_stop signature 2022-06-10 16:31:00 +03:00
ghassmo
8ea9bbb07f net: channel::subscribe_stop return ChannelStopped error if the channel
is stopped
2022-06-10 15:41:01 +03:00
aggstam
0d8fb66e53 util/time.rs: replaced date format string with enum 2022-06-10 15:09:51 +03:00
aggstam
92f15675bc util/time.rs: replaced ntp crate request with raw request, Cargo.toml: removed npt crate 2022-06-10 14:34:32 +03:00
parazyd
ce52d8b07b Add plotters crate as a dev-dependency to visualise zk circuits. 2022-06-07 09:48:52 +02:00
ghassmo
cb8e873d95 net: minor fix 2022-06-07 03:34:35 +03:00
aggstam
93ae339b5f consesus: epoch added 2022-06-05 15:27:21 +03:00
parazyd
84ea1e05f4 zk: Rework arithmetic chip to allow for more configuration and cell reuse. 2022-06-05 13:14:06 +02:00
aggstam
360db522e5 consenus: renamed epoch to slot 2022-06-02 14:33:49 +03:00
ghassmo
2558380865 net: handler listener failuer and don't let the acceptor stop 2022-06-02 01:42:27 +03:00
ghassmo
f727f6e414 util/cli: make the log level and log config the same for write logger 2022-05-31 04:45:35 +03:00
ghassmo
01ac20aab4 util/cli: refactoring loading log config & add path for log file 2022-05-31 04:29:03 +03:00
ghassmo
16c3a85e8e util/cli: remove redundant code 2022-05-31 04:29:03 +03:00
parazyd
4c9570583e Minor rustdoc corrections. 2022-05-22 21:12:59 +02:00
parazyd
61bee58239 rpc: Cleanup and separate namespaces into client and server. 2022-05-22 20:54:17 +02:00
parazyd
82ee1a9331 rpc: Clean up and document the server implementation. 2022-05-22 20:54:17 +02:00
parazyd
587f0b4b93 make fix and minor manual cleanups. 2022-05-22 12:29:23 +02:00
parazyd
d765387fd0 Update dependencies and reduce compilation time.
For release, we don't need halo2 dev stuff, so we move it into dev-deps.
2022-05-21 13:32:13 +02:00
ghassmo
0f8458373a rpc/rpcclient: minor changes 2022-05-21 05:54:14 +03:00
aggstam
e12a8e6f1c consensus: quarantine impl added 2022-05-20 20:48:58 +03:00
ghassmo
666ab9a4fc net: fix a bug in channel and clean up 2022-05-20 04:04:20 +03:00