Plan of Extend HL Iroha queries with optional arguments
Abstract
Hyperledger Iroha allows us to query for transactions saved in database and blocks. PostgreSQL is used as a database and irohad is responsible for processing queries.
In order to add possibility to query for transactions in time interval, existing queries need to be extended.
Following queries are going to be modified:
Also, new functionalities will be added to some of the client libraries.
Mentor and Mentee
Mentor | Mentee |
---|---|
Grzegorz Bazior | Piotr Pawłowski |
Communication channel:
mail: ppawlowski[at]student.agh.edu.pl
Project repository: https://github.com/Pawlak00/iroha
Deliverables (fields marked * are optional)
- 1 Extend get*transactions with optional parameters such as date from, date to(Protobuf + Iroha base code)
- 2 Add the optional arguments to Python Iroha library.
- 3 Add unit tests to Iroha base code
- 4 Deliver necessary docs
- 5 Add the optional arguments to Java Iroha library.
- 6 Add the optional arguments to Js Iroha library.
- 7 Present results to Iroha community
Milestones
Eval 1:
- a POC: Extend getTransactions with optional parameters such as date from, date to(Protobuf + Iroha base code)
- b POC: Add the optional arguments to Python Iroha library.
Eval 2:
- c Eval 1 production ready
- d Unit tests and documentation
- e Consult results with Iroha maintenance team and add necessary corrections
Eval 3:
- f Extend other Iroha client libraries: Java, NodeJs
- g Review all changes with Iroha team
Eval 4:
- h Cleanup, refactoring and debugging, adding examples to Iroha python client
- i Adding code changes to official Iroha repositories
- j Presenting results.
Timeline
Week | Task/Plan | Status |
---|---|---|
June 1 - June 4 |
| done |
June 7 - June 11 | Reading Iroha code and changing protobufs. Finding database transaction queries. | done |
June 14 - June 25 |
2. Modifying python library code. 3*. Ask about date format for protobuff, with explaining existing one. 4*. Code clean. | done |
June 28 - July 2 | Modifying other queries specified in abstract. | done |
July 5 - July 9 |
| |
July 12 - July 23 |
| done |
July 26 - August 6 |
| done |
August 9 - August 13 |
| done |
August 16 - August 27 |
| done |
August 30 - Sept 3 | Extending queries: GetAccountTransactions, GetAccountAssetTransactions for RocksDB - learning codebase | done |
Sept 6 - Sept 17 | Pull request for Iroha java + corrections Getting familiar with iroha ios library and iroha-tui client | done |
Sept 20 - 24 | Presenting results to Iroha team | done |
Sept 27 - Oct 1 | Getting familiar with Iroha burrow integration Eval 3 | done done |
Oct 4 - Oct 15 | POC for missing commands and queries in Iroha burrow integration | done |
Oct 18 - Oct 29 | Investigation for adding MST to mentioned integration | done |
Nov 1 - Nov 5 | Pull Request review and correction | done |
Nov 8 - Nov 12 | Eval 4 Final evaluation and presentation of project |
Project results
- Merge Requests:
- Issues: