Commit Graph

2788 Commits

Author SHA1 Message Date
ghassmo
112eb720dc bin/taud: fix ci tests 2022-03-28 19:59:34 +02:00
ghassmo
a80225b0a7 bin/taud: don't pass timestamp params to list function 2022-03-28 19:59:34 +02:00
aggstam
df822d20aa script/research/consensusd/src/main.rs: testing parallel tasks. 2022-03-28 19:59:34 +02:00
mohab
f9aa5fb20e [script/research/crypsinous] added crypsinous research notes 2022-03-28 19:59:34 +02:00
mohab
ef22eb9977 [research/dpos] reverted from pvss to vrf 2022-03-28 19:59:34 +02:00
Dastan-glitch
7b8e34fd9c bin/tau-cli: add get-comment subcommand 2022-03-19 17:39:47 -04:00
ghassmo
9ea0a43543 bin/tau-cli: more clean and explicit way to use args 2022-03-19 15:44:32 +04:00
lunar-mining
ba574bd75c create new data structures to enable addr sub-list 2022-03-19 09:23:05 +01:00
lunar-mining
6e5d94c632 ui: removed redundant is_empty check 2022-03-19 07:43:15 +01:00
lunar-mining
845040f978 small fix on Empty slot data
* Stopped pasting "Empty" on top of "Null"
2022-03-19 07:38:06 +01:00
lunar-mining
acb77e5be9 display node name instead of rpc_url
* read name param from config and display in UI
* rename node_id to rpc_url
2022-03-19 07:22:08 +01:00
lunar-mining
f19aeeecc8 add 'name' param to dnetview_config.toml 2022-03-19 07:13:00 +01:00
lunar-mining
344e06f7c8 rename Map struct to DNetView 2022-03-19 07:12:36 +01: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
parazyd
33b732516b vanityaddr: Remove "util" feature from darkfi dependency. 2022-03-19 01:07:49 +01:00
Dastan-glitch
bcd5fed5f0 bin/tau-cli: sort tasks by rank and clean-up 2022-03-18 21:38:58 -04:00
ghassmo
0373d8e090 bin/tau-cli: clean up 2022-03-19 01:44:45 +04:00
parazyd
59687a60ee vanityaddr: Add example on how to handle SIGINT with channels.
Another good approach as well is to consider everyting inside
rayon_pool.install() as the main() function and do things in there for
some weird simplicity. With this, one does not need to use another
channel to get a value out of the closure.
2022-03-18 22:23:18 +01:00
ghassmo
75d01fb0cb bin/dnetview: use fxhash for HashMap and HashSet 2022-03-19 00:52:33 +04:00
parazyd
7656ab6e73 CI: Fix typo for script. 2022-03-18 20:24:05 +01:00
ghassmo
937e06ec4f Replace HashMap with FxHashMap 2022-03-18 23:19:13 +04:00
aggstam
82b885ef27 script/research/consensusd: minor cleanup 2022-03-18 20:59:15 +02:00
lunar-mining
d773815e63 bug fix: only render title if it's not empty 2022-03-18 18:56:31 +01:00
lunar-mining
6165a9fb96 bug fix: stop rendering outbound recursively
move outbound outside loop
2022-03-18 18:56:31 +01:00
lunar-mining
ce810207e9 bug fix: only print Incoming/ Outgoing/ Manual once
move title outside for loop so it doesn't get printed recursively.
2022-03-18 18:56:31 +01:00
lunar-mining
7b57c39314 bug fix: stop saving duplicate incoming values
removed nested loop that was causing incoming data to be saved twice.
2022-03-18 18:56:31 +01:00
lunar-mining
1e7c8c09eb model: add is_empty param to Slot, OutboundInfo and InboundInfo
discard empty connections efficiently and only render when is_empty
== false.

for outbound connections, use iter().all() to ensure that is_empty is
only set to false when all slots are empty.
2022-03-18 18:56:31 +01:00
lunar-mining
9e14a3849f ui: add debug info 2022-03-18 18:56:31 +01:00
lunar-mining
7895493c84 ui: don't render Incoming sessions if they are empty 2022-03-18 18:56:31 +01:00
parazyd
660c6184ca taud: Abstract getting config file to a util function. 2022-03-18 18:26:08 +01:00
Dastan-glitch
8f734a9092 bin/tau-cli: add set-comment subcommand 2022-03-18 15:55:56 -04:00
parazyd
6aff6643af zkas: Use fxhash as the IndexMap hasher. 2022-03-18 17:44:58 +01:00
aggstam
adf0f6170b script/research/streamlet_rust/Cargo.toml: fixed darkfi dependency 2022-03-18 17:20:33 +02:00
aggstam
1f0291cd1f script/research/consensusd: daemon prototype implementation 2022-03-18 17:16:29 +02:00
ghassmo
f8ff73cfda bin/taud: clean up files used in testing 2022-03-18 16:21:24 +04:00
parazyd
779e4c5def doc/blockchain: Proper formatting and wrapping. 2022-03-18 11:44:54 +01:00
parazyd
a44ce744c5 rpc: Implement From for json-rpc enums.
Now instead of wrapping JsonResponse, JsonError, and JsonNotification,
we can just use into().
2022-03-18 11:05:19 +01:00
parazyd
7c1b1524ce vanityaddr: Parse usize for nthreads with clap. 2022-03-18 10:48:02 +01:00
parazyd
b9fa52d363 vanityaddr: Improve and add progress. 2022-03-18 00:22:17 +01:00
parazyd
82f6fa8ea1 zkas: Clean up and don't use Result in main(). 2022-03-18 00:03:15 +01:00
Dastan-glitch
2b2f96591a bin/tau-cli: add get-state and set-state subcommands 2022-03-17 20:55:45 -04:00
aggstam
a933d84b66 crypto/keypair.rs: added serde feature guard 2022-03-17 15:10:51 +02:00
aggstam
4c14419fc2 crypto/keypair.rs, schnorr.rs: added serde Serialization/Deserialization 2022-03-17 14:40:28 +02:00
parazyd
36fa2e020c net: Minor cleanups for idiomatic naming. 2022-03-17 13:35:18 +01:00
parazyd
50edabb426 book/sapling: Fix paths for pseudocode Rust examples. 2022-03-17 13:18:17 +01:00
parazyd
2b870588e7 CI: Compile all binaries in bin/ to test compilation. 2022-03-17 12:47:57 +01:00
parazyd
e7d968dfd7 Clean up proof and testdata directories and move into tests dir. 2022-03-17 10:22:48 +01:00
parazyd
358683765e Remove old pism directory and scripts. 2022-03-17 10:22:48 +01:00
ghassmo
fa4ea153cf bin/taud: allow to pass None to due in update function 2022-03-17 05:32:28 +04:00
Dastan-glitch
f81f1734c4 bin/tau-cli: some clean-ups 2022-03-16 22:52:07 -04:00