hyperledger-iroha / iroha-dco

Iroha - A simple, decentralized ledger
http://iroha.tech
Apache License 2.0
988 stars 296 forks source link

shared storage limit #2222

Open MBoldyrev opened 5 years ago

MBoldyrev commented 5 years ago

Description of the Change

A set of classes providing a shared limit between several storages.

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

please refer to storage_shared_limit_test: https://github.com/MBoldyrev/iroha/blob/wip/mst-shared-limit/test/module/libs/storage_shared_limit/storage_shared_limit_test.cpp

Alternate Designs [optional]

MBoldyrev commented 5 years ago

The PR got too big and could be split to two: this one brings a more general shared storage limit, and #2230 employs it to limit MST storages.