Commit Graph

3057 Commits

Author SHA1 Message Date
parazyd
28131b1819 blockchain: Don't be strict on get_blocks_by_slot. 2022-04-23 21:21:15 +02:00
parazyd
797ce2a158 faucetd: Activate all protocols and blockchain sync. 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
0299b45de3 Update all dependencies. 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
e3d076d8d3 example/tx: Update for latest codebase. 2022-04-23 21:21:14 +02:00
parazyd
98173fc131 book: Generate RPC doc for faucetd. 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
a9f20aa1f1 faucetd: WIP airdrop. 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
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