Commit Graph

3081 Commits

Author SHA1 Message Date
parazyd
3a9ebdab23 Add JsonRpcError to error.rs 2022-04-23 21:21:18 +02:00
parazyd
e5f1df1144 faucetd: Register p2p protocols on all sessions. 2022-04-23 21:21:18 +02:00
parazyd
2667bd9e06 consensus: Add debug message to ProtocolSync when a block is appended. 2022-04-23 21:21:18 +02:00
parazyd
cf0fd46b07 darkfid: Add get_balances function and token lists. 2022-04-23 21:21:18 +02:00
parazyd
2168292102 darkfid: Separate JSON-RPC methods into submodules. 2022-04-23 21:21:18 +02:00
parazyd
ac98cb39c4 cargo: Enable lto and native bytecode. 2022-04-23 21:21:18 +02:00
parazyd
9f1e9b1401 CI: Install jq as dependency, and make compile_all_bins script generic. 2022-04-23 21:21:18 +02:00
aggstam
3cf18a4707 consensus2: removed debugging error log lines 2022-04-23 21:21:17 +02:00
aggstam
52e2e04c73 consensus2: major fixes in syncing and participation map refresh 2022-04-23 21:21:17 +02:00
parazyd
5da67c8079 contrib/token: Fix .min file generation. 2022-04-23 21:21:17 +02:00
parazyd
809dd757fb darkfid: Run P2P on all sessions. 2022-04-23 21:21:17 +02:00
parazyd
3cf8506905 Add jq dep to Readme and remove sudo references. 2022-04-23 21:21:17 +02:00
parazyd
7363c50f35 crypto/keypair: Use the FromStr trait for PublicKey. 2022-04-23 21:21:17 +02:00
aggstam
7f0a53f612 consensus: Misc fixes and cleanups. 2022-04-23 21:21:17 +02:00
parazyd
e3d771618e Makefile: Build token lists for binary dependencies. 2022-04-23 21:21:17 +02:00
parazyd
a22531386b contrib/token: Minify JSON lists for production, smaller binaries. 2022-04-23 21:21:16 +02:00
parazyd
0dfc7f9742 contrib/token: Update token lists. 2022-04-23 21:21:16 +02:00
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
8c98f8eb0d darkfid: Create sync_p2p before consensus_p2p to be able to reference. 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
ba401204d0 darkfid: Working separate consensus and block sync. 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
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