Commit Graph

1612 Commits

Author SHA1 Message Date
parazyd
09e8db29aa consensus: More debug info. 2022-04-23 21:21:16 +02:00
parazyd
74e0412238 consensus/sync: Add protocol mode. 2022-04-23 21:21:16 +02:00
parazyd
c2c7039cdf Minor fixups. 2022-04-23 21:21:16 +02:00
aggstam
72f6ad0e59 consensus/state: unproposed txs from extending chain only.
Fix an index bug when generating a new fork chain.
2022-04-23 21:21:16 +02:00
aggstam
1c715b970e consensus: Broadcast finalized blocks to sync p2p network. 2022-04-23 21:21:16 +02:00
parazyd
28131b1819 blockchain: Don't be strict on get_blocks_by_slot. 2022-04-23 21:21:15 +02:00
parazyd
e3453bb1cb wallet: Add init_wallet helper function to WalletDb. 2022-04-23 21:21:15 +02:00
aggstam
c5bcd05eec consensus: Move tx protocol to sync p2p network. 2022-04-23 21:21:15 +02:00
parazyd
97dadd8bf0 consensus: Move proposal task into consensus/task. 2022-04-23 21:21:15 +02:00
aggstam
101754353f consensus: Add tasks for syncing the blockchain and consensus forks. 2022-04-23 21:21:15 +02:00
parazyd
95d74a034a consensus: Add sync protocols.
ty skoupidi
2022-04-23 21:21:15 +02:00
parazyd
1ae263b4de blockchain: Implement some general query functions. 2022-04-23 21:21:15 +02:00
parazyd
f6d36a15e1 net/hosts: Add TODO on addrs type. 2022-04-23 21:21:14 +02:00
parazyd
4b50d9753e node/client: Add some TODO notes. 2022-04-23 21:21:14 +02:00
parazyd
382c7bcfe3 node/service: Remove obsolete gateway code. 2022-04-23 21:21:14 +02:00
parazyd
f2479ca060 Replace old blockchain rocksdb module with new sled blockchain stores. 2022-04-23 21:21:14 +02:00
parazyd
360ca24581 crypto/keypair: Implement from_str() for PublicKey. 2022-04-23 21:21:14 +02:00
parazyd
a3829e76b3 Clean up global error module. 2022-04-23 21:21:14 +02:00
aggstam
bf6d4881d2 consensus: Implement BlockOrderStore to store block order by slot id. 2022-04-23 21:21:14 +02:00
parazyd
7fb58b3d2b util/cli: Add macro for standardized daemonization. 2022-04-23 21:21:14 +02:00
parazyd
e34e64826e tx: Fix imports. 2022-04-23 21:21:13 +02:00
parazyd
1d22e3e8a1 crypto/keypair: Use derived serialization for PublicKey and SecretKey. 2022-04-23 21:21:13 +02:00
parazyd
e24c3b00b4 consensus: Use actual transactions. 2022-04-23 21:21:13 +02:00
parazyd
df4acc2814 node: Return Transaction on send(), and lazy-init VerifyingKeys. 2022-04-23 21:21:13 +02:00
parazyd
ccfb7d7d7f blockchain: Export some structs. 2022-04-23 21:21:13 +02:00
parazyd
ac46e46e49 wallet: Store merkle tree leaf positions for own coins. 2022-04-23 21:21:13 +02:00
parazyd
a2b6521583 node: WIP cleanup and port for client and state. 2022-04-23 21:21:13 +02:00
parazyd
805b26136d tx: Clean up and add some code comments. 2022-04-23 21:21:13 +02:00
parazyd
ffa1a42bd6 crypto/merkle: Port to incrementalmerkle 0.3 needed API 2022-04-23 21:21:13 +02:00
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
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
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
d77d4dc02c Update dependencies. 2022-04-23 21:21:10 +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
ed152c8cb5 raft: flush sled datastore once receive exit signal 2022-04-23 15:19:15 +03:00
ghassmo
b23517c8fa net: organize the modules structures 2022-04-23 02:23:22 +03:00
aggstam
89606ee02a consensus/state.rs: fixed participants insertion 2022-04-22 12:03:07 +03:00
lunar-mining
a9339c8018 dnetview/ error: created ValueIsNotObject error to handle when as_object == None 2022-04-22 08:28:39 +02:00