forked from hyperledger/indy-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INDY-1856: applying new validation rules
Signed-off-by: ArtObr <[email protected]>
- Loading branch information
Showing
6 changed files
with
79 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
indy_node/server/request_handlers/write_request_handler.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from indy_common.authorize.auth_request_validator import WriteRequestValidator | ||
from plenum.server.database_manager import DatabaseManager | ||
from plenum.server.request_handlers.handler_interfaces.write_request_handler import \ | ||
WriteRequestHandler as PWriteRequestHandler | ||
|
||
|
||
class WriteRequestHandler(PWriteRequestHandler): | ||
|
||
def __init__(self, database_manager: DatabaseManager, txn_type, ledger_id, | ||
write_request_validator: WriteRequestValidator): | ||
super().__init__(database_manager, txn_type, ledger_id) | ||
self.write_request_validator = write_request_validator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters