parazyd
624e48775a
blockchain: Clippy some iterators.
2022-04-23 21:21:12 +02:00
parazyd
aef76baff8
crypto: Rename Spend to Burn.
2022-04-23 21:21:12 +02:00
parazyd
69c0e6cc0d
darkfid: Always enable ProtocolTx.
2022-04-23 21:21:12 +02:00
parazyd
67adc758f4
blockchain: Add get_all functions.
2022-04-23 21:21:12 +02:00
parazyd
305699a363
consensus: Move p2p protocols into module.
2022-04-23 21:21:12 +02:00
parazyd
df13dc12f4
faucetd: Implement skeleton.
2022-04-23 21:21:12 +02:00
parazyd
b02933dcb9
darkfid: Simplify consensus proposal_task.
2022-04-23 21:21:12 +02:00
parazyd
8fb6a83838
consensus: Use FxIndexMap for participants and clean up.
2022-04-23 21:21:11 +02:00
parazyd
d43d564813
darkfid: Use a flag to participate in consensus.
2022-04-23 21:21:11 +02:00
parazyd
4d96539c9f
util/cli: Allow ignores for LOG_TARGETS in log_config.
2022-04-23 21:21:11 +02:00
parazyd
a4dd04daf7
darkfid: Enable consensus task.
2022-04-23 21:21:11 +02:00
parazyd
dfc9bd24c4
blockchain: nfstore and rootstore stubs.
2022-04-23 21:21:11 +02:00
parazyd
f8c064b4f1
blockchain: Implement add() for BlockProposal.
2022-04-23 21:21:11 +02:00
parazyd
c55c08b662
darkfid: Implement consensus P2P protocols.
2022-04-23 21:21:10 +02:00
parazyd
cfd3e38baf
consensus: Reviewed implementation.
2022-04-23 21:21:10 +02:00
parazyd
b9aaa3bae1
net/transport/tor: Clippy fix.
2022-04-23 21:21:10 +02:00
parazyd
fab196067b
darkfid: P2P protocol stub.
2022-04-23 21:21:10 +02:00
parazyd
d77d4dc02c
Update dependencies.
2022-04-23 21:21:10 +02:00
parazyd
c29e1d63fa
darkfid: Use async ctrlc.
2022-04-23 21:21:10 +02:00
parazyd
95d76d08f1
darkfid: Add P2P network stub.
2022-04-23 21:21:10 +02:00
parazyd
b3f5ad1c55
darkfid: Clean up RPC error messages and handling.
2022-04-23 21:21:09 +02:00
parazyd
78c78b1d84
darkfid: More functions and graceful shutdown handlers.
2022-04-23 21:21:09 +02:00
parazyd
ecca1a26ce
darkfid: More WIP for new RPC.
2022-04-23 21:21:09 +02:00
parazyd
f42e935700
lib: Move wallet module out of the node module.
2022-04-23 21:21:09 +02:00
ghassmo
6423e0c377
raft: fix major bugs
2022-04-23 16:58:01 +03:00
ghassmo
3986a98561
bin/tau: add more debug messgaes
2022-04-23 16:57:35 +03:00
ghassmo
ed152c8cb5
raft: flush sled datastore once receive exit signal
2022-04-23 15:19:15 +03:00
ghassmo
733d4d14ce
Retrieve "bin/tau: remove month date dependency from tasks and orgnize them in pending and completed tasks"
2022-04-23 14:36:47 +03:00
lunar-mining
2e700efdc7
dnetview: create random id when channel is empty
2022-04-23 11:40:44 +02:00
lunar-mining
1301d2576c
dnetview: serialize info into a hex string to create unique ids
2022-04-23 10:33:35 +02:00
mohab
25a8f68abd
[doc/architecture/blockchain] added some proofs, and pruned a bit
2022-04-23 05:18:49 +02:00
Dastan-glitch
184c85c44c
bin/tau: remove month date dependency from tasks and orgnize them in pending and completed tasks
2022-04-23 03:53:34 +03:00
ghassmo
b23517c8fa
net: organize the modules structures
2022-04-23 02:23:22 +03:00
narodnik
29a9182010
simple zk contract example
2022-04-22 11:34:56 +02:00
aggstam
89606ee02a
consensus/state.rs: fixed participants insertion
2022-04-22 12:03:07 +03:00
lunar-mining
1b0e12aae4
dnetview/ parse: make NodeId unique to each node
...
solve problem of endless creation of new node_ids. we derive the id from
the node_name, insuring there are no duplicates.
our method for doing this right now is very weird- we convert the String
node_name into a u64. going forward we will likely replace the node_id
with a hash to be more straightforward.
2022-04-22 10:57:24 +02:00
lunar-mining
a9339c8018
dnetview/ error: created ValueIsNotObject error to handle when as_object == None
2022-04-22 08:28:39 +02:00
narodnik
bc0f0e381f
add random channel id for debugging info
2022-04-22 08:02:47 +02:00
lunar-mining
8cb72ba81d
Merge branch 'master' of github.com:darkrenaissance/darkfi
2022-04-22 08:03:54 +02:00
lunar-mining
fd588ef16c
dnetview/ parse: return SessionInfo from parsing functions + cleanup
2022-04-22 08:03:04 +02:00
aggstam
a4c1e3b6de
validatod: misc fixes and cleanups
2022-04-22 01:49:23 +03:00
mohab
088ada9ff7
[doc/architecture/blockchain] added inverse lead selection function
2022-04-21 21:48:44 +02:00
mohab
476a201d72
[doc/architecture/blockchain] fixed indepdendent aggregation lead selection
2022-04-21 21:48:44 +02:00
mohab
687ca3dd44
[doc/architecture/blockchain] fixed some typos
2022-04-21 21:48:44 +02:00
aggstam
d7bf42a67f
validatord/protocol_sync.rs: handle_receive_block correct flag value handling
2022-04-21 20:02:10 +03:00
aggstam
66baa52e91
validatord/protocol_sync.rs: handle_receive_block to be executed based on node mode flag
2022-04-21 19:58:31 +03:00
aggstam
caeeb2648e
src/consensus/state.rs: unproposed txs from extending chain only, fix an index bug when generating a new fork chain
2022-04-21 19:25:24 +03:00
aggstam
bae1ce4ad3
validatord: removed dummy log message used for testing
2022-04-21 16:46:08 +03:00
aggstam
9e613d514a
validatord: moved tx protocol and json rpc to main p2p subnet, protocol_sync.rs: upon receiving finalized block, node removes blocks txs from unconfirmed_txs, /src/consensus/state.rs: decoupled removal of unconfirmed txs
2022-04-21 16:40:52 +03:00
ghassmo
c9c3c9881d
src/net2: WIP clean up
2022-04-21 12:09:11 +03:00