Ravin Perera
83bb158dd3
Fixed integer serialization issue with bson. ( #287 )
2021-04-12 07:15:57 +05:30
Ravin Perera
370e03fe84
Switched user input nonce from string to uint64. ( #286 )
2021-04-11 14:51:57 +05:30
Ravin Perera
3941f5f6c6
Revamped ledger input/output storage and query execution. ( #285 )
...
- Ledger sqlite db improvements.
- Removed flatbuffers from ledger blob data storage.
- Added consensus private mode blob data filtration.
2021-04-11 11:45:14 +05:30
Ravin Perera
0a3183a3d6
Included output hash and ledger info in output return message. ( #284 )
2021-04-08 10:42:33 +05:30
Ravin Perera
d4646179c2
Returned input hash and ledger info for input submissions. ( #283 )
...
- Introduced input hash which can later be used to query the ledger.
- Returned input hash and ledger info at input submission.
- Updated js client lib to support input hash.
- Updated consensus proposal candidate expiration rules.
2021-04-07 21:22:29 +05:30
Ravin Perera
99c5912f14
Version management refactor. ( #278 )
...
- Introduced separate versioning for ledger file storage.
- Refactored versioning information code base.
2021-03-31 10:19:12 +05:30
Ravin Perera
ef42d4c986
Ledger query results raw input/output support. ( #277 )
2021-03-30 15:44:20 +05:30
Ravin Perera
948113398c
Ledger query infrastructure. ( #275 )
...
* Added json ledger query param parser.
* Added initial query response creation.
* Updated client lib.
* Implemented get ledger by seq no.
* Added ledger query execution wrappers.
* Included log record info.
* Fixed empty output hash issue.
* Added bson support.
* Added db file existance check.
* Added requesy/reply tracking for queries in client lib.
* Improved multi connection usage in client lib.
* Added genesis ledger query support.
* Updated naming convention of query result fields.
* Comments.
* Used sqlite bind() for query param.
* Used binary hashes in ledger sqlite db.
* Missing const.
2021-03-29 11:20:15 +05:30
adheeb-adb
473fd4183c
User message with more details ( #263 )
...
* user message with more details
* PR fixes
2021-03-08 12:25:29 +05:30
Ravin Perera
6b8d60a404
Separated lcl string usage to sequence no and hash. ( #251 )
2021-02-18 18:28:38 +05:30
Chalith Desaman
eef6448f08
Handle unl change announcement in js client library. ( #225 )
2021-01-19 15:29:17 +05:30
Chalith Desaman
73f5eea451
Unl change announcement to connected users. ( #224 )
...
Introduced json and bson messages for unl list announcement.
When the unl set is modified send a json or bson unl list message (according to the user protocol) to all the connected users.
2021-01-19 11:33:27 +05:30
Ravin Perera
1a954ad96e
Implemented output signature checks. ( #200 )
2020-12-22 16:55:44 +05:30
Ravin Perera
332e5a4750
User input json/bson format improvements. ( #174 )
...
* Removed hex encoding in json input container.
* Refactored client lib exports.
2020-11-28 21:24:35 +05:30
Ravin Perera
d9517b6164
Reorganized util and hpws source files. ( #161 )
2020-11-23 23:18:42 +05:30
Ravin Perera
cb4d0c4f59
Ledger maintenance refactor. ( #130 )
...
* Added ledger namespace.
* Thread-safe lcl access and update.
* Refactored history sync and serving into a thread.
* Restructured ledger cache item.
2020-10-08 22:25:47 +05:30
priyadharsun
91122474a1
Replaced Boost log with Plog. ( #124 )
2020-09-23 06:06:42 +05:30
ravinsp
6a20bb04e9
Improved bson message field validations.
2020-07-22 15:10:31 +05:30
Ravin Perera
96f23cb0ff
Added bson support for user message protocol. ( #99 )
2020-07-02 21:40:55 +05:30