Commit Graph

2674 Commits

Author SHA1 Message Date
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
parazyd
f63b9af6b0 serial/derive: Use versioned derive-internal crate. 2023-01-18 13:27:46 +01:00
parazyd
fe11151ba9 rustdoc lints 2023-01-18 12:54:32 +01:00
x
8f964b926b doc: partial edit of architecture/smart_contracts.md 2023-01-18 11:34:20 +01:00
aggstam
71222f50c5 consensus: fixed finalization logic 2023-01-15 18:52:32 +02:00
aggstam
3f6fc0d7af consensus: simplyfied total stake calculation and removed slot offset logic 2023-01-15 17:47:11 +02:00
aggstam
57c4c5a630 consensus: create history files if not exist 2023-01-15 15:37:33 +02:00
aggstam
c894a63f6b consensus/task/block_sync: force recheck to sync of slot checkpoints after blocks have been synced 2023-01-15 15:22:46 +02:00
aggstam
a87a9cc57e consensus: add missing log targets 2023-01-15 14:47:52 +02:00
aggstam
4dadf292ec fmt, fixed broken imports, general cleanup 2023-01-12 13:52:26 +02:00
mohab metwally
7241827a37 use float10 new api 2023-01-12 02:47:00 +02:00
mohab metwally
bc8d7886da clean unused imports, commented code 2023-01-12 02:45:47 +02:00
mohab metwally
1d7a3f8b2e [consensus/state] refactor f error function 2023-01-12 02:45:19 +02:00
mohab metwally
d44d6fd3f3 [consensus/state] remove old controller 2023-01-12 02:45:01 +02:00
mohab metwally
daab6106b6 [consensus/state] remove exponentially fading controller output from discrete pid 2023-01-12 02:44:28 +02:00
mohab metwally
67f3b067df [consensus/leadcoin] prune todo msg that was fixed in early commit 2023-01-12 02:44:28 +02:00
mohab metwally
edb58dddd6 [consensus/leadcoin] negate sigmas, and remove negation of target to avoid negation in zkas 2023-01-12 02:44:27 +02:00
mohab metwally
f853d113a2 pruning 2023-01-12 02:44:04 +02:00
mohab metwally
36f61bb3f2 [consensus/utils] fixed bug in fbig2ibig, added extra test case 2023-01-12 02:43:42 +02:00
mohab metwally
59cd6b982d unit test sigmas accuracy 2023-01-12 02:43:10 +02:00
mohab metwally
65648e55cb [consensus] pid k2 bug in sign fixed; miscel changes 2023-01-12 02:41:53 +02:00
mohab metwally
9a376a84d0 [consensus] y in is_lead fixed from commitment to hash, similar to the circuit 2023-01-12 02:41:29 +02:00
mohab metwally
58e83ea251 [consensus] write log lead, f history 2023-01-12 02:40:41 +02:00
mohab metwally
662584db2a fix validation 2023-01-12 02:39:37 +02:00
mohab metwally
8251f1d25b fixed bug in y calculation in is_leader, removed c2_cm, y_mu, rho_mu, eta from leadcoin, made lottery function of current slot rather than mint slot to fix a bug 2023-01-12 02:38:59 +02:00