Skip to content

Master #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 22, 2018
Merged

Master #91

merged 8 commits into from
Mar 22, 2018

Conversation

spivachuk
Copy link
Owner

No description provided.

dsurnin and others added 8 commits March 16, 2018 18:47
* Fix none finalised reqs in case of not participating

Signed-off-by: dsurnin <[email protected]>

* Move add instruction after apply

Signed-off-by: dsurnin <[email protected]>
* [INDY-1137] Making proof possible for given root hash

Signed-off-by: Andrew Nikitin <[email protected]>

* [INDY-1137] Change make_proof

Signed-off-by: Andrew Nikitin <[email protected]>

* [INDY-1137] Added test for make_proof

Signed-off-by: Andrew Nikitin <[email protected]>
* Initial test integration

Signed-off-by: ArtObr <[email protected]>

* Two more files done

Signed-off-by: ArtObr <[email protected]>

* new test

Signed-off-by: ArtObr <[email protected]>

* 4 more folders done

Signed-off-by: ArtObr <[email protected]>

* two more files

Signed-off-by: ArtObr <[email protected]>

* some changes

Signed-off-by: ArtObr <[email protected]>

* More tests integrated. Problems: validator functions of client in test_state_proof; problem with wrong bls keys

Signed-off-by: ArtObr <[email protected]>

* Script fix. bls validation fix

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* Fix for bls validation tests. Not done: update_incorrect test and state_proof test

Signed-off-by: ArtObr <[email protected]>

* Only state_proof test left

Signed-off-by: ArtObr <[email protected]>

* Tests integration done

Signed-off-by: ArtObr <[email protected]>

* Import deletion. flake8 error fix.

Signed-off-by: ArtObr <[email protected]>

* Review fixes

Signed-off-by: ArtObr <[email protected]>

* Little fix

Signed-off-by: ArtObr <[email protected]>
* Fix none finalised reqs in case of not participating

Signed-off-by: dsurnin <[email protected]>

* Move add instruction after apply

Signed-off-by: dsurnin <[email protected]>

* Do not raise error in case of commit for previous view, simply remove it

Signed-off-by: dsurnin <[email protected]>
* INDY-1205: Add rocksdb as a key-value backend.

Signed-off-by: Sergey Shilov <[email protected]>

* Add tests for rocksdb.

Signed-off-by: Sergey Shilov <[email protected]>

* Add rocksdb support.

Signed-off-by: Sergey Shilov <[email protected]>

* Use rocksdb as a backend storage.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix initialisation of rocksdb kvstore.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix test_kv_rocksdb.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix comparator of KeyValueStorageRocksdbIntKeys class.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix test_state_rocksdb.

Signed-off-by: Sergey Shilov <[email protected]>

* Add unified config-based creation of hash store.

Signed-off-by: Sergey Shilov <[email protected]>

* Change default hash storage from file to rocksdb.

Signed-off-by: Sergey Shilov <[email protected]>

* Integrate rocksdb into state tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Merge kv storages tests into single module.

Signed-off-by: Sergey Shilov <[email protected]>

* Temporary rollback to leveldb.

Signed-off-by: Sergey Shilov <[email protected]>

* Re-factor tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Implement the first version of installation of rocksdb and python-rocksdb.

Signed-off-by: Sergey Shilov <[email protected]>

* Merge leveldb and rocksdb hash storages implementations into single storage.

Signed-off-by: Sergey Shilov <[email protected]>

* Use RocksDB as a key-value storage.

Signed-off-by: Sergey Shilov <[email protected]>

* Tempoprary use leveldb as a default storage for the ledger.

Signed-off-by: Sergey Shilov <[email protected]>

* Adopt getAllTxn() for working with rocksdb iterator.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix db_path property for leveldb and rocksdb, fix test.

Signed-off-by: Sergey Shilov <[email protected]>

* Add build procedure for python-rocksdb and setuptool, use librocksdb deb from sovrin.

Signed-off-by: Sergey Shilov <[email protected]>

* Add missed libs to docker file.

Signed-off-by: Sergey Shilov <[email protected]>

* Change rocksdb package.

Signed-off-by: Sergey Shilov <[email protected]>

* Change rocksdb package for 3d parties build.

Signed-off-by: Sergey Shilov <[email protected]>

* Implement get_equal_or_prev() functionality for KeyValueStorageRocksdbIntKeys.

Signed-off-by: Sergey Shilov <[email protected]>

* Add a helper for init of k/v storage with int keys.

Signed-off-by: Sergey Shilov <[email protected]>

* Add rocksdb tests for the equal-or-prev functionality.

Signed-off-by: Sergey Shilov <[email protected]>

* Fallback to leveldb as we do not want to migrate to rocksdb right now.

Signed-off-by: Sergey Shilov <[email protected]>
* Initial test integration

Signed-off-by: ArtObr <[email protected]>

* Two more files done

Signed-off-by: ArtObr <[email protected]>

* new test

Signed-off-by: ArtObr <[email protected]>

* 4 more folders done

Signed-off-by: ArtObr <[email protected]>

* two more files

Signed-off-by: ArtObr <[email protected]>

* some changes

Signed-off-by: ArtObr <[email protected]>

* More tests integrated. Problems: validator functions of client in test_state_proof; problem with wrong bls keys

Signed-off-by: ArtObr <[email protected]>

* Initial commit

Signed-off-by: ArtObr <[email protected]>

* Script fix. bls validation fix

Signed-off-by: ArtObr <[email protected]>

* more changes

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* Fix for bls validation tests. Not done: update_incorrect test and state_proof test

Signed-off-by: ArtObr <[email protected]>

* Only state_proof test left

Signed-off-by: ArtObr <[email protected]>

* Tests integration done

Signed-off-by: ArtObr <[email protected]>

* Deletion of Client1Connected. More test fix

Signed-off-by: ArtObr <[email protected]>

* Import deletion. flake8 error fix.

Signed-off-by: ArtObr <[email protected]>

* More changes to txnPoolNodeSet

Signed-off-by: ArtObr <[email protected]>

* Changes in tests

Signed-off-by: ArtObr <[email protected]>

* Remove pf TestNodeSet. Change of helper methods. Part 1.

Signed-off-by: ArtObr <[email protected]>

* Remove TestNodeSet from helper. part 2

Signed-off-by: ArtObr <[email protected]>

* More tests integrated

Signed-off-by: ArtObr <[email protected]>

* Functions fixes.

Signed-off-by: ArtObr <[email protected]>

* Fix for genesis txns

Signed-off-by: ArtObr <[email protected]>

* More tests integrated

Signed-off-by: ArtObr <[email protected]>

* primary_selection dependency fix

Signed-off-by: ArtObr <[email protected]>

* Fixture fix for view_change

Signed-off-by: ArtObr <[email protected]>

* View change test fix

Signed-off-by: ArtObr <[email protected]>

* Skips for merkle proof tests

Signed-off-by: ArtObr <[email protected]>

* Skips for merkle proof tests

Signed-off-by: ArtObr <[email protected]>

* Review changes

Signed-off-by: ArtObr <[email protected]>

* Review changes

Signed-off-by: ArtObr <[email protected]>
* Fix none finalised reqs in case of not participating

Signed-off-by: dsurnin <[email protected]>

* Move add instruction after apply

Signed-off-by: dsurnin <[email protected]>

* Do not raise error in case of commit for previous view, simply remove it

Signed-off-by: dsurnin <[email protected]>

* Reduce amount of logging; and some trace; check for already ordered based on last_ordered_3pc compare

Signed-off-by: dsurnin <[email protected]>

* Fix flake errors

Signed-off-by: dsurnin <[email protected]>
@spivachuk spivachuk merged commit 0346d63 into spivachuk:master Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants