Commit Graph

1767 Commits

Author SHA1 Message Date
lunar-mining
ede61e628a net/ dnetview: add inbound accept_addr to get_info and display 2022-05-16 12:52:50 +02:00
parazyd
531653da1a node/state: Check that input nullifiers are also not dupe in the tx itself. 2022-05-16 12:22:54 +02:00
lunar-mining
513cb2b56d net, dnetview: pass util::Timestamp instead of u64
use featureful darkfi time utils instead of basic function
unix_timestamp()
2022-05-15 11:34:58 +02:00
lunar-mining
3db3662b14 util/ time: display seconds in Timestamp.format() 2022-05-15 11:34:35 +02:00
aggstam
0f3b420122 src/consensus/task/consensus_sync: modified state retrieval, script/consensus_simulation and script/research/node-tools updated, src/util/time: increased retries to 10 2022-05-13 15:04:31 +03:00
ghassmo
e16204496b rpcclient: add close connection function 2022-05-13 11:47:49 +03:00
ghassmo
5cec2b98ff rpcclient: don't use Executor for spawn a task 2022-05-13 11:33:02 +03:00
ghassmo
94f37b764b rpcclient: handle error when lost connection with rpc server 2022-05-13 10:53:03 +03:00
ghassmo
28a837a733 rpc: use macro accept! for rpcserver 2022-05-13 07:37:36 +03:00
ghassmo
9692ebf29d net: add/use macros connect! and accept! for connector.rs and acceptor.rs 2022-05-13 07:31:53 +03:00
ghassmo
9f58f0aa21 rpc: remove boilerplate code in jsonrpc.rs and use macro & clean up 2022-05-13 07:21:08 +03:00
ghassmo
19f2c79ea7 rpc: create RpcClient for handling opened channels 2022-05-13 07:19:01 +03:00
ghassmo
1d6e92bf55 rpc: create function to open channels to feed rpc connection and keep the stream alive 2022-05-13 05:08:11 +03:00
ghassmo
6b5961d275 net: retrieve changes in channel 2022-05-11 17:22:11 +02:00
lunar-mining
bd9382b1e5 net: add timestamp to msg log. util: create unix timestamp tool.
error: error handling for timestamp
2022-05-11 17:22:09 +02:00
ghassmo
54e7ee21bc net, rpc: cargo clippy clean up 2022-05-11 17:21:22 +02:00
ghassmo
f0b8afc55b raft: add exclude list during broadcasting 2022-05-11 17:21:22 +02:00
ghassmo
85105ad730 consensus/proto: add the node who sent the net message to the exclude list during broadcasting 2022-05-11 17:21:22 +02:00
ghassmo
f6a85f0360 net: provide exclude list during broadcast 2022-05-11 17:21:22 +02:00
ghassmo
47257c022e rpc: add support for unix socket 2022-05-11 17:21:22 +02:00
ghassmo
525efd7dd9 net: implement unix transport 2022-05-11 17:21:21 +02:00
ghassmo
af5b2700c4 net: fix race condition bug in channel 2022-05-11 17:21:00 +02:00
ghassmo
8287e0195f general clean up for network upgrade 2022-05-11 17:21:00 +02:00
ghassmo
ea9a993e9b net: add nym and unix to TransportName enum 2022-05-11 17:21:00 +02:00
ghassmo
f1c97207ba rpc: merge rpcserver2 to rpcserver & fix bins affected by the merging 2022-05-11 17:20:59 +02:00
ghassmo
ffee60228c rpc: WIP use new transport for rpcserver2 2022-05-11 17:20:59 +02:00
ghassmo
7fd0843200 rpc: use new network transport for jsonrpc 2022-05-11 17:20:59 +02:00
ghassmo
0c264469ec raft: using new p2p net settings 2022-05-11 17:20:59 +02:00
ghassmo
264dc72f03 merge net3 into net 2022-05-11 17:20:59 +02:00
ghassmo
eca51afd88 net3: update settings struct 2022-05-11 17:20:59 +02:00
aggstam
6163de04d9 src/util/time.rs: added copy trait 2022-05-11 13:25:08 +03:00
aggstam
4f843b419e src/error.rs: removed tab spaces 2022-05-11 12:33:53 +03:00
Dastan-glitch
cfa8067c26 bin/tau: use Timestamp in src/util 2022-05-11 03:11:03 +03:00
aggstam
90cda47154 script/research/clock_sync: moved to src/util/time.rs and src/error.rs, updated cargo dependencies, darkfid2: added system time check at start 2022-05-10 19:01:57 +03:00
aggstam
9b697b525a src/consensus/util.rs moved to src/util/time.rs, modified corresponding depedencies 2022-05-10 16:58:12 +03:00
ghassmo
2a258cf509 rpc: extend buffer size 2022-05-08 18:26:26 +03:00
lunar-mining
40e48eacb0 dnetview: cleanup msg log Span assignment and cargo fmt
cargo fmt picked up a few issus in zk/circuit/lead_contract.rs and
example/lead.rs
2022-05-08 10:39:14 +02:00
mohab
a9d9fa0abc [zk/lead] pruned abit.. 2022-05-08 05:03:31 +02:00
mohab
fe5e6f7def [zk/lead] set commitment tree for product of point's coordinates 2022-05-08 05:03:31 +02:00
mohab
99cd36d8df [zk/lead] added leadership coefficient 2022-05-08 05:03:31 +02:00
mohab
3d6865143b [zk/lead] use first 24bits of the commitment for greaterthan_chip of 24bit size 2022-05-08 05:03:31 +02:00
mohab
0d7c7ce3fc [zk/lead] removed commit1, commit2 for the contract, constrained the commitment instead 2022-05-08 05:03:31 +02:00
mohab
ead5e339e7 [zk/lead] replaced failing hash with mul 2022-05-08 05:03:31 +02:00
mohab
8d5b757ab4 [zk/lead] cop with changed incrementalmerkletree api 2022-05-08 05:03:31 +02:00
ghassmo
2d629a1c56 raft: fix datastore path check 2022-05-07 18:20:51 +03:00
ghassmo
b7bfa7e4ff net3: WIP implement tor protocol 2022-05-07 15:23:22 +03:00
narodnik
6197878157 create proper state transition function 2022-05-07 10:28:21 +02:00
narodnik
70293fd181 add missing code for inputs 2022-05-06 22:46:01 +02:00
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