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 |
|
ghassmo
|
f20dd33cb8
|
net/transport: add timeout option for dial function
|
2022-05-20 00:47:37 +03:00 |
|
ghassmo
|
45382ecb74
|
rpc/rpcclient: catch the error when send to closed channel
|
2022-05-19 23:55:34 +03:00 |
|
ghassmo
|
5b07ae074d
|
net/tcp: set nonblocking to true after establishing the connection
|
2022-05-19 11:19:36 +03:00 |
|
ghassmo
|
4b3227a36f
|
net: return explicit errors when running accept loop
|
2022-05-19 11:02:45 +03:00 |
|
lunar-mining
|
9b8ba6329f
|
src/util: create NanoTimestamp tool to get and display nanoseconds
bin/dnetview, src/net/channel.rs: add NanoTimestamp to net and dnetview
|
2022-05-18 11:15:38 +02:00 |
|
parazyd
|
c63aabf17f
|
Update project dependencies.
|
2022-05-16 17:40:44 +02:00 |
|
parazyd
|
f8c2ee5617
|
Port codebase to latest halo2 API.
|
2022-05-16 17:30:46 +02:00 |
|
Dastan-glitch
|
5b467f4cef
|
update Cargo.lock and fix formatting
|
2022-05-16 16:19:37 +03:00 |
|
mohab
|
8b9bdac46f
|
miscellaneous changes
|
2022-05-16 13:56:00 +02:00 |
|
mohab
|
683b96369d
|
[example/lead] provingkey is panking on leadcontract, fallback to previous example
|
2022-05-16 13:56:00 +02:00 |
|
mohab
|
2ae2facf34
|
[crypto/leadcoin] lead coin with member public_input implemented
|
2022-05-16 13:56:00 +02:00 |
|
mohab
|
623bf2ee54
|
[crypto/lead_proof] lead_proof utility
|
2022-05-16 13:56:00 +02:00 |
|
mohab
|
b7bfed955e
|
[crypto/leadcoin] created lead coin for lead transaction
|
2022-05-16 13:56:00 +02:00 |
|
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 |
|