Commit Graph

20 Commits

Author SHA1 Message Date
Carl 3e8bb32ffd Add test for write_entries() 2019-02-18 23:38:28 -08:00
Carl df310641fb Re-enable and add tests 2019-02-18 23:38:28 -08:00
Carl 21ef55f205 re-enable repair service tests 2019-02-18 23:38:28 -08:00
Greg Fitzgerald d357640fbf Centralize decentralized timing constants 2019-02-18 19:46:58 -08:00
Anatoly Yakovenko 300e3d151d remove the signal sender since its superfelous to a recv error 2019-02-17 15:43:13 -08:00
carllin 97a1e950ef
write entries in blocktree now sets parent slot properly (#2800) 2019-02-17 04:36:49 -08:00
Michael Vines 3f6aba23dd Add custom BlocktreeConfig for bad tests that break with the default 2019-02-14 14:49:48 -08:00
Carl ceb27b431e Add tree test to test multiple chaining children 2019-02-14 13:37:55 -08:00
Carl 34da362ee6 fix blocktree tests 2019-02-14 13:37:55 -08:00
Carl de6109c599 replace num_blocks with parent block 2019-02-14 13:37:55 -08:00
Michael Vines 2de0a9e453 Log on bogus blobs 2019-02-12 21:17:06 -08:00
Michael Vines e341b33f21 Remove ticks_per_slot from Blocktree::write_entries(), it already knows 2019-02-12 15:52:27 -08:00
Michael Vines 6abdd6401d clippy: passing BlocktreeConfig by ref is ok 2019-02-12 15:52:27 -08:00
Michael Vines 6632c7026d Pass a BlocktreeConfig into all ledger helper functions 2019-02-12 15:52:27 -08:00
Michael Vines c474cf1eef Pass BlocktreeConfig around as a reference 2019-02-12 15:52:27 -08:00
carllin be71f49d80
Change write_entries() and create_tmp_ledger() to take ticks_per_slot (#2736)
* Change write_entries() and create_tmp_ledger() to take ticks_per_slot

* PR nits
2019-02-12 13:14:33 -08:00
Sagar Dhawan 8b39eb5e4e
Replace Blob Ids with Forward property (#2734)
* Replace Blob Id with Blob forwarding

* Update simulation to properly propagate blobs
2019-02-12 10:56:48 -08:00
Michael Vines 7dec40ff05 slot 0 now contains the same number of ticks as all subsequent slots 2019-02-10 16:34:10 -08:00
carllin 1278396bd5
Cleanup consecutive entries code from window_service (#2697)
* Remove returning entries from db_ledger on insert

* Fix tests to check for correctness

* Delete generate_repairs and max_repair_entry_height
2019-02-08 14:19:28 -08:00
carllin 6e7c5f205b
Rename db_ledger to blocktree (#2698) 2019-02-07 20:52:39 -08:00