Commit Graph

2698 Commits

Author SHA1 Message Date
parazyd
1077b79cd7 sdk: Move util functions to db.rs. 2023-02-25 14:20:29 +01:00
Dastan-glitch
3c984e1b4c minor typo fix 2023-02-23 03:18:53 +03:00
Dastan-glitch
3e032170f0 set prefered/default transports for outbound to tls 2023-02-21 04:41:39 +03:00
Dastan-glitch
723e774af8 event_graph abstraction, making the event action generic 2023-02-21 04:31:18 +03:00
Dastan-glitch
cd5dfbed0e [WIP] event_graph added to src/ and ircd2 utilize it from there 2023-02-19 05:24:52 +03:00
aggstam
9aa8374c10 drk: token aliases impl added
wallet.db must be reinitialized with ./drk wallet --initialize to create the new tables
2023-02-18 17:48:57 +02:00
x
89736f3f86 add command to simulate tx and show erroneous state for fetch-tx 2023-02-18 15:23:54 +01:00
aggstam
42d5b469a7 consensus: ignore future blocks/slots during sync 2023-02-14 13:24:20 +02:00
aggstam
798db8ae09 consensus: updated testnet timestamp 2023-02-13 18:38:31 +02:00
aggstam
4f3105d71d blockchain/tx_store: use empty slice as value in erroneous_txs sled 2023-02-10 21:49:05 +02:00
aggstam
b0d24ef776 darkfid: erroneous txs handling
Darkfid will not apply erroneous txs state transitions and keep them in a separate sled tree. drk to filtre these txs to report correct balances/coins
2023-02-10 20:59:03 +02:00
x
bfc81aa946 dao contract: remove serial from proposals in sql 2023-02-10 12:25:26 +01:00
x
4ebf1777aa drk: remove proposal serial column 2023-02-10 12:23:03 +01:00
x
9ced92462f dao-test: remove serial from proposals, and fix exec to use user serial/coin_blind 2023-02-10 11:52:51 +01:00
aggstam
816f0adb5c consensus/state.rs: fixed calc_sigmas_test 2023-02-08 23:38:39 +02:00
aggstam
a9fe80715b consensus: fixed consensys state sync 2023-02-07 23:59:28 +02:00
aggstam
90f3a0fea7 consensus/task/consensus_sync: removed redundant check 2023-02-07 19:47:50 +02:00
aggstam
a9c7019e1a contract/dao/entrypoint.rs: fixed deserialization of deployed contract
NOTE: in future, when more trees are added the deserialization should be updated
2023-02-07 02:47:09 +02:00
aggstam
92e2457f2c consensus: fixed initial sync
Since protocol to receive finalized slots/blocks was already attached, when a node was syncing if a finalization occured, the block was stored and the node was thinking that it was synced.
2023-02-06 18:47:37 +02:00
police
11d2d1c63d prune lead_coin 2023-02-03 01:45:38 +02:00
parazyd
192345659a Release v0.4.0 2023-02-01 23:04:02 +01:00
parazyd
95591a70c2 Various fixups. 2023-02-01 22:38:04 +01:00
aggstam
7044bd2049 drk: minor fix 2023-02-01 17:08:56 +02:00
parazyd
8c1d3fe524 Remove openssl dependency throughout the project. 2023-02-01 13:03:23 +01:00
aggstam
2d0f7a0c32 consensus testnet constants updated 2023-02-01 13:34:52 +02:00
parazyd
9afb9da4c9 dao: Update wallet schema to link tables together. 2023-01-31 15:59:28 +01:00
parazyd
8ab44aa2fc contract/money: Fix outputs order in transfers. 2023-01-31 13:31:11 +01:00
parazyd
454eacf616 Update project dependencies. 2023-01-31 12:46:19 +01:00
mohab metwally
4c164a5f38 [consensus] revert to 0 stake, 0 initial distribution 2023-01-27 22:35:01 +02:00
aggstam
7b1e9168fb consensus: write leaders counter to file 2023-01-27 19:58:24 +02:00
aggstam
401354da91 consensus: simplyfied previous leaders count 2023-01-27 15:44:34 +02:00
mohab metwally
7e4464d005 [consensus] fix sigmas test case precision limit 2023-01-27 13:48:03 +02:00
mohab metwally
e07e90c707 [consensus] fix consensus sigmas unit test 2023-01-27 13:37:44 +02:00
aggstam
56b5a0758e consensus: use last blockhash for eta instead of leadproof hash 2023-01-26 19:36:04 +02:00
aggstam
25b48acc62 consensus/state: removed unused epoch_eta 2023-01-26 19:17:12 +02:00
aggstam
c2e12c7681 consensus: walletdb infra for consensus coins implemented 2023-01-26 19:01:43 +02:00
mohab metwally
2785634352 fmt consensus 2023-01-25 21:46:51 +02:00
mohab metwally
a9650cb147 minor edit in log message 2023-01-25 21:46:19 +02:00
mohab metwally
43ab6d2030 [consensus/constants] set zero initial distribution 2023-01-25 21:46:19 +02:00
mohab metwally
b6e9aa4a83 fix lead witness bug 2023-01-25 21:46:19 +02:00
mohab metwally
0a8392897e [consensus] lottery with headstart, for zero-stake participation 2023-01-25 21:46:19 +02:00
parazyd
3f7e1890b2 contract/money/client: Hack for transfer change outputs to have a dummy hook. 2023-01-24 17:05:43 +01:00
parazyd
aa5caa7988 contract/dao: impl Display for DaoBulla 2023-01-24 16:42:55 +01:00
parazyd
6e6eb38056 research/rln: Write spec in the mdbook, and clean up protocol. 2023-01-23 23:26:51 +01:00
aggstam
f29d51822c src/contract: fixed tests 2023-01-23 21:23:44 +02:00
aggstam
dc9c6c377f consensus: created single-node mode for local testing 2023-01-23 20:40:34 +02:00
x
16111d74de change assert == to <= for usize and u64 so we allow 32 bit archs to run 2023-01-23 17:39:14 +01:00
aggstam
f86a554ff8 consensus: cleaned derived coin blind handling 2023-01-18 20:05:00 +02:00
aggstam
1645f3f27d blockchain: renamed stores 2023-01-18 19:26:16 +02:00
parazyd
380d09ad07 serial: Use versioned darkfi-derive crate. 2023-01-18 13:28:46 +01:00