Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit b2cc4d04aa32e29d9f3dd014f1d143b7ce822f32
Merge: c1681924 5d6334f5
Author: lostystyg <[email protected]>
Date:   Wed Sep 28 18:00:50 2022 +0300

    Merge pull request #426 from pocketnetteam/fix/notifier

    Fix/notifier

commit 5d6334f553b08a47f9a659f571d4a8a73592ecc5
Author: only1question <[email protected]>
Date:   Wed Sep 28 16:40:34 2022 +0300

    Disable unused method GetUserReferrerAddress in NotifierRepository

commit c168192498ea0f3a3a3a4cab8a8a6102560db491
Merge: 804cc3f9 3f38d9d2
Author: lostystyg <[email protected]>
Date:   Fri Sep 23 18:23:11 2022 +0400

    Merge pull request #422 from pocketnetteam/feature/notifications_0.21

    Notification and activities updates and fixes

commit 3f38d9d2cbb8e1674c244ab9f1652ad474bc002a
Author: lostystyg <[email protected]>
Date:   Thu Sep 22 13:22:46 2022 +0400

    Post hash for comments in shortforms

commit 2169110aba1af68278ab0addea39ca4d19c7c5a3
Author: lostystyg <[email protected]>
Date:   Wed Sep 21 14:11:19 2022 +0400

    fixup! Fixed stucking in staker thread in case wallet is locked

commit 695b9247c5ace3e6b256732ecbcc1d92f65faf10
Author: lostystyg <[email protected]>
Date:   Wed Sep 21 13:41:23 2022 +0400

    Fixed stucking in staker thread in case wallet is locked

commit f40511e65d82bd56553d1de4ef4190276780515f
Author: lostystyg <[email protected]>
Date:   Wed Sep 21 13:38:20 2022 +0400

    Added tx time for shortform

commit 76d8d7bd1ca448a2d36da07d5d045235c490e9b4
Author: lostystyg <[email protected]>
Date:   Wed Sep 21 11:46:36 2022 +0400

    New line at the end of file

commit 625b6d2470c8600492989f615c3d0ae84bb10dca
Author: lostystyg <[email protected]>
Date:   Wed Sep 21 11:45:49 2022 +0400

    Removed unused method

commit 4dd8985c71f0e9d126404330e8efa41cf265ee67
Author: lostystyg <[email protected]>
Date:   Tue Sep 20 17:31:41 2022 +0400

    More code readability for notifications result

commit e046c9566caf3f1355a60c26d17c1c67be83ffdf
Author: lostystyg <[email protected]>
Date:   Mon Sep 19 18:55:58 2022 +0400

    More readable code for NotificationsResult

commit c6011f42b7559c884d12e69b1a5d6d07a3097023
Author: lostystyg <[email protected]>
Date:   Mon Sep 19 18:47:40 2022 +0400

    Removed unused method

commit 5f91fa8c60a677d758029b2ed23bffa150cb2cc7
Author: lostystyg <[email protected]>
Date:   Mon Sep 19 18:10:28 2022 +0400

    FIxed mixing comments and answers for short forms

commit 12446a4f9b5092d33ac533053384b7c09c07b98d
Author: lostystyg <[email protected]>
Date:   Mon Sep 19 16:34:29 2022 +0400

    Moved short form builders to helpers

commit 0151fbe74b7b478909efc83f7a7a6299a28954cc
Author: lostystyg <[email protected]>
Date:   Fri Sep 16 23:18:21 2022 +0400

    Fixed account data collecting for activities

commit 4ada12f38338d3505d0e2500f0e5124cf604368b
Author: lostystyg <[email protected]>
Date:   Thu Sep 15 20:01:52 2022 +0400

    Optimizing account info collection for notifications

commit 1faf213439fd389c1d515c630787119faaaef555
Author: lostystyg <[email protected]>
Date:   Mon Sep 12 19:47:50 2022 +0400

    Updated notifications serialization

commit 345c0dc98053b6d08150fbd8051e86abecc40b70
Author: lostystyg <[email protected]>
Date:   Mon Sep 12 19:39:55 2022 +0400

    Allow to ignore short tx type during serialization

commit 804cc3f92aa5e5de3163684238264e71bbfe4429
Merge: 4034e3ff ca2bf01a
Author: Andy Oknen <[email protected]>
Date:   Mon Sep 19 13:42:51 2022 +0300

    Merge pull request #416 from pocketnetteam/fix/optimize-getunspents-index

    fix: optimize getunspents index

commit ca2bf01a6870d00d169a3a793f418bbb634c25fc
Author: Andy Oknen <[email protected]>
Date:   Mon Sep 19 10:49:58 2022 +0300

    Change used index for fast sorting GetUnspents

commit 4034e3ff3096e365b0bbb1779d5975b6961d7dcc
Merge: 930f8229 2d5e9c24
Author: Andy Oknen <[email protected]>
Date:   Sun Sep 18 10:17:19 2022 +0300

    Merge pull request #415 from pocketnetteam/fix/bad-txns-premature-spend-of-coinbase

commit 930f82293c29fae26f30402f62bd38f7a60358bd
Merge: 297fe2e1 2e81916d
Author: Andy Oknen <[email protected]>
Date:   Sun Sep 18 10:16:42 2022 +0300

    Merge pull request #413 from pocketnetteam/fix/delete-account

commit 2d5e9c2455e75b6f33a04277bf98ee5fa81fac50
Author: Andy Oknen <[email protected]>
Date:   Sun Sep 18 01:03:24 2022 +0300

    Include coinstake to check bad-txns-premature-spend-of-coinbase

commit 2e81916d2f1b46f14db76412d48ecd9bc608cad0
Author: Andy Oknen <[email protected]>
Date:   Fri Sep 16 18:26:05 2022 +0300

    Fix enable deleting transaction

commit 297fe2e1e87477a0fe0e97eff2e8ab60cfcb05b6
Author: Andy Oknen <[email protected]>
Date:   Fri Sep 16 17:58:25 2022 +0300

    feat: delete account (#405)

    * Add type for account deleting transaction

    * Refactoring models & AccountDelete transaction

    * Fix check height in ExistsInMempool

    * Refactoring account editing

    * Move to base class opReturnCheck

    * Squashed commit of the following:

    commit 84b78aab2b2f7c9baa2009f57eee3f92385aafb3
    Merge: 7b7338c8 499f514b
    Author: Andy Oknen <[email protected]>
    Date:   Fri Sep 9 14:37:44 2022 +0300

        Merge pull request #408 from pocketnetteam/actualization/0.20

        Squashed commit of the following:

    commit 499f514bf494920d2847225ae31eeef5811f305b
    Author: Andy Oknen <[email protected]>
    Date:   Fri Sep 9 10:50:15 2022 +0300

        Squashed commit of the following:

        commit aca3fe7d05c1f0c8a9ea76bf02eff87cefd47142
        Merge: 78065768 1cce975f
        Author: Andy Oknen <[email protected]>
        Date:   Thu Sep 8 18:40:05 2022 +0300

            Merge pull request #399 from HiHat/patch-1

            Important details regarding address and fixes

        commit 780657681d2564844a42c24de0938da74777c642
        Merge: bfaef570 5ce96412
        Author: Andy Oknen <[email protected]>
        Date:   Thu Sep 8 15:09:22 2022 +0300

            Merge pull request #402 from pocketnetteam/andyoknen-patch-1

            Update README.md

        commit 5ce96412b1cc0f67148aa4933dd74fe3b43f6c29
        Author: Andy Oknen <[email protected]>
        Date:   Wed Sep 7 10:51:21 2022 +0300

            Update README.md

        commit 1cce975f41f0bc130f58e8004ac35f1f8cfd7179
        Author: HiHat <[email protected]>
        Date:   Tue Sep 6 19:09:26 2022 +0300

            Important details regarding address and fixes

        commit bfaef57025253beb6564dbe4afd30dfe51e059a4
        Author: Pocketnet Team <[email protected]>
        Date:   Wed Aug 31 13:23:31 2022 +0300

            Create add.tasks.to.project.yml

        commit 8ad81f1601554be5eb557a5fda204a78fd3d3be3
        Author: Pocketnet Team <[email protected]>
        Date:   Tue Aug 30 15:00:15 2022 +0300

            Set maximum depth 1 month for RPC GetMostCommentedFeed

        commit c1e5845465970d7bbafe909a9528abe0ac3cfd67
        Author: Pocketnet Team <[email protected]>
        Date:   Tue Aug 30 14:57:23 2022 +0300

            Set fork height for BlockingCancel.hpp

        commit b8bc0adf5c46dc3fb0d14332f49e34dec6105dd3
        Merge: 8383efb4 8abd1bb7
        Author: Andy Oknen <[email protected]>
        Date:   Tue Aug 30 14:45:32 2022 +0300

            Merge pull request #385 from pocketnetteam/fix/wrong-key-threshold

            fix: wrong map key threshold_shark_reg_depth -> threshold_whale_reg_depth

        commit 8abd1bb75fb52ea6dff9ad73e560362abfd4b1c5
        Author: Andy Oknen <[email protected]>
        Date:   Tue Aug 30 14:42:46 2022 +0300

            Comment not used now RPC

        commit fee5e39f227d46ac0259d0b26b5680fb451a3eaa
        Author: Andy Oknen <[email protected]>
        Date:   Tue Aug 30 11:13:50 2022 +0300

            Extend height for fork to 1873500 block

        commit 0ea51a2868b2ad0befb1149c2b5a0270cac7ecd1
        Author: Andy Oknen <[email protected]>
        Date:   Mon Aug 29 14:14:26 2022 +0300

            Fix wrong map key threshold_shark_reg_depth -> threshold_whale_reg_depth

        commit 8383efb46582ec24455867157474dbf29c0bc4f2
        Author: Pocketnet Team <[email protected]>
        Date:   Thu Aug 25 00:21:32 2022 +0300

            Delete project.add.issues.yml

        commit 95b97de883e4116a7f6d54af3be842e017e7fd01
        Author: Pocketnet Team <[email protected]>
        Date:   Thu Aug 25 00:17:56 2022 +0300

            Create project.add.issues.yml

        commit 9693e62933ae1ca02560fba1311dbdd4c88c8a77
        Author: Pocketnet Team <[email protected]>
        Date:   Thu Aug 25 00:07:19 2022 +0300

            Create auto_assign.yml

    commit 7b7338c801e665435cc429381ff3eb98d2a68f57
    Merge: 88af7848 b6b9f45f
    Author: lostystyg <[email protected]>
    Date:   Fri Sep 9 10:41:39 2022 +0300

        Merge pull request #302 from lostystyg/feature/events

        feature: events, push notifications and activities

    commit 88af7848ba0e56fe22a136715bb7fbca46eda966
    Merge: dddb3c6d 6280c078
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 18:45:15 2022 +0300

        Merge pull request #407 from pocketnetteam/fix/clear-database

        Fix clear database

    commit 6280c078ae1e1cf38a1d69e67b6bc2203469eda8
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 18:39:43 2022 +0300

        Fix clear database

    commit dddb3c6dd0e6a5088d46bfb70051e5fa95fc08fe
    Merge: 1a03ee9d 6d1975a2
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 15:22:39 2022 +0300

        Merge pull request #401 from pocketnetteam/feat/txindex-disable-always

        feat: disable txindex by default

    commit 1a03ee9d2340909fbedcc8ded34915efc5c9489f
    Merge: adce55f2 bc022eca
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 15:07:28 2022 +0300

        Merge pull request #406 from pocketnetteam/fix/full-reindex-lists

        fix: full reindex lists

    commit b6b9f45f711821ba98a657b55529ae9a6037abab
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:55:12 2022 +0400

        Fix new line

    commit 314c1a84137a1bba0f246f0649cbd9334625cc03
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:52:07 2022 +0400

        Temporarily disable getevents rpc

    commit bbd05740a461ff9ca4c68cfae216e82f28bf1b8d
    Merge: 32b0e15f adce55f2
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:51:13 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit bc022ecac23e00dfb7236ffffbb2e77e6e995682
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 14:40:46 2022 +0300

        Logging clean

    commit 8107ae50a48790d12bb0d0662c1ea2dc21cc3e45
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 14:38:53 2022 +0300

        Call rollback lists for full reindexing

    commit 32b0e15f67da6f08069173585fa801f641209d88
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:26:58 2022 +0400

        Optimized notifications collecting

    commit 24e63f43b73f38a3b534682ca5c2b864863f7bf2
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 13:13:52 2022 +0400

        Filling notification result with account info

    commit 1344fe5b189542b154f2bf9d9a47d23cbc4e83e9
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 12:29:31 2022 +0400

        Language for short account

    commit 710886c50ae33edfda37472b2265aa2adaf127ce
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 12:17:28 2022 +0400

        Correctly filling notifications answer

    commit 6d1975a22e50550ff6ef7b393441e49f2cadbfe4
    Author: Andy Oknen <[email protected]>
    Date:   Wed Sep 7 10:40:06 2022 +0300

        Disable enabling txindex by default

    commit 5b04354199e527de52c08dd1880a12c1f8225ba5
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 15:33:28 2022 +0400

        Removed outdated comment

    commit 57f275ea9dcd3c7c61a75561c809cef6a97f6937
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 15:04:22 2022 +0400

        Cosmetics for blocking query in activities

    commit 88ed33a8731e61a9364840264b099e7012c659cd
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 14:47:08 2022 +0400

        Removed number from outputs in activities and notifications

    commit 24534072f1ece6cf940f9033fa032cd20b7471c7
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 13:04:59 2022 +0400

        Reuse height binder in notifications for money

    commit 77f9e87343e7b691227dd97b5a114460a55df7f2
    Author: lostystyg <[email protected]>
    Date:   Fri Sep 2 16:41:06 2022 +0400

        Order outputs by number for activities and notifications

    commit 8ef4a5bbdd8aed5b860e73c95504fc9676977bec
    Merge: 2b3a0164 357d1558
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:28:12 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 2b3a0164de79b2ecf67f87dee0e2842fc8ec22df
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:24:10 2022 +0400

        Removed trash from badge in activities

    commit 66e9054ae456ebdb6b49a0682a141e6abc76c448
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:22:59 2022 +0400

        Removed trash from badge field in notification queries

    commit f8924a6f595da8dbff0fe7f341a39399c1b09a6a
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:21:18 2022 +0400

        Ported notifications from 0.20-based dropped branch

    commit 6d8148ded4c31ea2019b5384fd8e90714cf5010e
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 12:10:41 2022 +0400

        Added blockings for notifications

    commit c23e94c4678ab27c7c4dfd1074b50f306a97e6bf
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 31 13:29:41 2022 +0400

        Added optional multiple addresses to shortform

    commit c29ab129b3c2ceb9da564a2f37649e321b50b869
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 19:06:08 2022 +0400

        Removed unnecessary todo

    commit 736748f798fcbecc1f8e8b9e855ca215c3db5d3d
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 19:03:32 2022 +0400

        Some todo's

    commit cabb0603547edb11d29363d19fd9328729a2c7ba
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 19:02:08 2022 +0400

        All action history for comments and answers in activities

    commit cf5021c9c4f25c22ada7b59f2c143b953c6ad84b
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 18:36:51 2022 +0400

        Collect roottxhash in activity queries

    commit 328a3ecd8cad8cdef92b5baa5173f6516ac4d1de
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 17:51:10 2022 +0400

        Added root tx hash to shortform

    commit f6fa4a45ca88a8ce0970aaa0dc0950bce1465790
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 17:42:02 2022 +0400

        Full history for notifications

    commit 077f0f26f5b52cf86229d2418cf73d465dbc0b29
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 25 09:35:42 2022 +0400

        Added blocking shorttype

    commit e2913158f2226f719242e376b8a846ca660ef26b
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 25 09:33:55 2022 +0400

        Removed not up to date todo

    commit 884893775de6aea42350bddcdd93ec42c47c6d04
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 16:55:14 2022 +0400

        Removed reposts from activities

    commit b5631e70c1e54ef4ae60207f2c25f9a72663d458
    Merge: e4c102c3 b7b49914
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 16:21:26 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit e4c102c39cc9ebd7cd3bdf38b5c053841c39ca01
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:53:24 2022 +0400

        Validate filters for events on rpc level

    commit ac03dcb727512a5ed29450c2a720c1259bcdd158
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:49:33 2022 +0400

        Validate filters for activities on rpc level

    commit fcb2fed45b43c3e510be0dfb33504b680b97d016
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:49:10 2022 +0400

        Removed pocketnetteam from events and activities

    commit 876e7b574c9ad099fd00721aa92c79561d3eb2b7
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:35:47 2022 +0400

        Fixed crash if non-valid filters are specified for notifications/activities/events

    commit 5732263c174be41fb9be7dbc15b48acef6e1e263
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 22 23:52:32 2022 +0400

        Removed todo for money in activities

    commit 9c7438fb22ddc857876e4cc734fd3885481e9386
    Merge: 99c11087 6e530784
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 22 15:16:13 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 99c11087a786a017b7c1e4039cb94615d6e742c2
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 18:02:14 2022 +0400

        Fixed typo in query

    commit 6057f91580b1e35399f7cfbbbf43e57d2cf6f486
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 17:53:37 2022 +0400

        Removed commented out queries for notifications

    commit 35375ed1d01fa436ea83a65f910fdd746a8e1e5b
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 16:39:23 2022 +0400

        Validating filters for getnotificationssummary

    commit f1be1700c842a7cd1960665cbf969f97b4fe4892
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 16:38:13 2022 +0400

        Optimization and fixed for notifications summary queries

    commit 1d371a0870f3053d77cf65df7c6a537370ede685
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 16:36:29 2022 +0400

        Allow to specify union separator

    commit fcf526c45eb12f853f4da331398b9cf0dbfb6536
    Merge: 46edf275 9df85fb7
    Author: lostystyg <[email protected]>
    Date:   Fri Aug 19 19:26:37 2022 +0400

        Merge remote-tracking branch 'origin/fixes/multiplelocks' into feature/events

    commit 46edf275c6f5e113be1209bca42b3ecf6962cad7
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 17 18:09:35 2022 +0400

        Notifications summary

    commit 29164ac17d0da9ad5f8ead8f6d87fa8a9bdf30a3
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 15 11:22:23 2022 +0400

        Fixed help for getnotifications

    commit c26ddf05be536577ca8334fbd57737a848b74805
    Merge: 3a49aa58 1bbe483a
    Author: lostystyg <[email protected]>
    Date:   Fri Aug 12 14:01:39 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 3a49aa58477b3e5cac571a83eedc95b57106bbaa
    Merge: 5365be10 8a1b0af6
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 16:27:31 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 5365be10f9f6df46bf973c15b03e1915062ac75e
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 14:52:19 2022 +0400

        Correct ordering by original txs in activities

    commit 3339a738328bbdfeb7517254f017a85a693ddaac
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 14:51:32 2022 +0400

        Removed unnecessary todos

    commit 1b256cd1fb3b46266b946dca2b2f3ea7da5bb92a
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 14:49:12 2022 +0400

        Explicitly set index for account joins in activities

    commit 3ae1ff87786b593bcd6bdc5652f26bb066d50a0a
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 10 11:30:05 2022 +0400

        Fixed address positioning in sql query for activities in ContentScore and CommentScore

    commit fa8543b5c97ee93b84e997b74336aa55d961fbe8
    Merge: a433e3ac cc77fdcb
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 10 10:21:20 2022 +0400

        Merge branch '0.21' into feature/events

    commit a433e3ac5bb2dca719697a913e14594c5f46e2d8
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 8 10:55:52 2022 +0400

        Removed orig height from activities because it breaks pagination

    commit 67febbef23c006f91886b92bb84e88e6d10fe448
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 22 10:36:48 2022 +0300

        Fixed referals for events

    commit 9845755c09e0e98380dd4a020db8a08e2e551545
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 22 10:11:06 2022 +0300

        Orig height for activities

    commit eb5c9e6621d4cd35c82af7a13eaa14cb5a0f8a90
    Merge: d60cfd32 c6fa67b4
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 22 09:03:43 2022 +0300

        Merge branch '0.21' into feature/events

    commit d60cfd32e626356ae728db6f51cb3bb36148ab94
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 18:16:05 2022 +0300

        A bit cosmetics for events

    commit 86e5df5a081973a2b6fd9aa546f12d8033373b33
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 18:01:43 2022 +0300

        Full comment text in description for events and activities

    commit fabcc4e520227c4367a39bf0882097201acd155f
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 15:30:28 2022 +0300

        Inner join instead of cross for repost in activities

    commit f782b68e000f9ded107f962e8b82f2e986a828bc
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 15:26:48 2022 +0300

        Fixed repost queries for activities and events

    commit 7e865aa4b8a31df75f685bedd7cf0bd6973ffa5c
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 14:56:19 2022 +0300

        Fixed subscriber in activities

    commit c01a27472ce995c4d80da691f3ca7b3fef8e2c87
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 19 18:55:36 2022 +0300

        Optimizing activity queries

    commit 91d85294992c2db69c6def5840b324ecdf2bedf9
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 18 16:36:03 2022 +0300

        Optimizing pocketnetteam notifications

    commit c137b10912886fffb8f9992990873d77878b69d6
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 18 16:26:56 2022 +0300

        Fixed binds for notifications

    commit e265c7ff37d4531133e2e792c84b444dd79349ed
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 13:17:59 2022 +0300

        Optimize reposts

    commit dadabe0f0d15f67e74157652dfab24f16ae5441e
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 13:12:50 2022 +0300

        Fix private content from subscribers (not reposts)

    commit 8c423e45e86fe237a55873828a574f7885faf73c
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 13:09:11 2022 +0300

        Optimize reposts query

    commit 814a958f101c6c3f924f6db0977d45294662f197
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 12:51:01 2022 +0300

        Fix incoming money

    commit 1d0d17e2a8b5491b421e71f0df2547e08468804f
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 18 12:32:41 2022 +0300

        getnotification better todos and fixed index

    commit e3f474ba52e4a1d234ed1f3910014519f99ac0da
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 15 18:02:37 2022 +0300

        Added optional related content (in case of reposts) for pocketnetteam posts and private content for notifications

    commit 427d320494f6390b921ef26e85d83b67f7a5a7aa
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 15 18:01:45 2022 +0300

        Fixed reposts for notifications

    commit 5c261246ad1117d5c393f6c90511a8dc20bd83a9
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 15 18:01:06 2022 +0300

        Moved pocketnetteam posts for notifications to a specific key in answer

    commit 5e8b8066d31046beccd717bd6cdcb45357259a60
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 18:11:33 2022 +0300

        Fixed var name for events contentscore

    commit 39b478d611fe69437c45c33535fe9e01be8904aa
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 18:10:31 2022 +0300

        Ignoring empty avatar for short form account

    commit 848abcae88f1d0b1d922ed9be7a37c9ac820368f
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 13:55:24 2022 +0300

        Fixed typo in contentscore for activities

    commit aaac24ae58a9b176beee95f31dfb425281d26d01
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 13:54:54 2022 +0300

        Fixed content description for contentscore in activities

    commit 5d7e566222d686212ba1d475e5581df78a805ba2
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 12 11:48:56 2022 +0300

        Inner join instead of cross for activities and events

    commit 5bb78a6f327bcaed0cf07e229613b0d236677bcc
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 12 11:22:39 2022 +0300

        Updated activities query

    commit d3c243d4fce004f2da5fab1a83dd587f472cfb18
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:31:35 2022 +0300

        Comment score activity

    commit 0a936ade276adea029a29aa26c645cf7f4c997a8
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:22:20 2022 +0300

        Subscriber activity

    commit b5d0c401eb859478bdea99f883523ccb828add98
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:14:00 2022 +0300

        Added comments for activities

    commit 638c874a0287ebd69aecbca5b675dcb24d1f7669
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:13:39 2022 +0300

        Fixed answers request for activities

    commit f3a202681561a3426be3c37748e353907941b50f
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 16:36:07 2022 +0300

        Base activities rpc request

    commit 3665c8076186734a16103f1feda707d9bac0e373
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 14:59:17 2022 +0300

        Renamed notifications rpc

    commit d560b5ad7b34847e8644daf7dc09cc2ef4e45927
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 6 16:18:08 2022 +0300

        Fixed acc's rep for getevents

    commit 071f6ed8d6e7c0f1ff8ad7777675c64b83aa6c21
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 6 16:17:48 2022 +0300

        Ignore badge fort short account

    commit 1576c8dc6fb2436f030a5f9b79ddd9db3fe843f4
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 6 15:50:37 2022 +0300

        Only orig entries for notifications + some optimizations

    commit 60e0489fb1976fe6801ceefbaf72370c913d64d5
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 5 15:44:20 2022 +0300

        Updated getnotifications rpc description

    commit 5e1740fb58b36c0b36b2f99b1b86d9d4bcbcd729
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 5 15:38:25 2022 +0300

        Updated getevents rpc description

    commit a66588336365912e73e61f5921f430faf085f6b4
    Merge: 6828322d 9b8e4bd6
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 5 15:11:55 2022 +0300

        Merge branch '0.21' into feature/events

    commit 6828322d0616f5c6c9c846e5558a50eaaa4561f1
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 4 20:34:34 2022 +0300

        Money notification

    commit b227a1cdc0888f532aaec1f86dbe544909e2c83b
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 4 19:41:35 2022 +0300

        Extracted common bind for notifications

    commit ef325659593eaf1f8faeec91fc405099024c9766
    Merge: 16a3455f c0f6636c
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 1 19:34:12 2022 +0300

        Merge branch '0.21' into feature/events

    commit 16a3455f20d79b3028db961c280da0e75cea68e3
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 1 19:14:10 2022 +0300

        Notifications

    commit 9c8a9b3f0d2d0c47c8a6ebd9de34b3fa576c9320
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 1 19:14:00 2022 +0300

        Fixed ShortAccount

    commit 061a7ab966fafc41644034bf38a259f47bab9f10
    Author: lostystyg <[email protected]>
    Date:   Wed Jun 29 17:17:24 2022 +0300

        A bit generalization in processing filters for events

    commit b9f3b6a95832ac38782d9003ab4d8f4ad1af990a
    Author: lostystyg <[email protected]>
    Date:   Wed Jun 29 15:38:07 2022 +0300

        Restructured events

    commit b8f37cbf82b986962ec85674d8859ad150567a9c
    Merge: f862108d 8465afed
    Author: lostystyg <[email protected]>
    Date:   Tue Jun 28 14:35:03 2022 +0300

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit f862108dd6ca23059c62cad7b227b4d032e41d9c
    Merge: 8090d0e8 4429a24f
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 27 13:37:20 2022 +0300

        Merge branch '0.21' into feature/events

    commit 8090d0e8464d9b538c0617cab97cb2c08ac11411
    Merge: 21b3c715 5c9755ac
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 27 12:39:57 2022 +0300

        Merge branch 'minor_fixes' into feature/events

    commit 21b3c715ae8ef56cc276e62975bb1a727cfb2cde
    Merge: 78eb6155 8c9006b4
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 27 12:39:51 2022 +0300

        Merge branch '0.21' into feature/events

    commit 5c9755ac27adf6801e7936d8fefb218494fbc6a4
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 24 19:09:19 2022 +0300

        Some minor fixes

    commit 78eb6155d9626dea1de3635f0e1484c643a27af9
    Merge: 3207e0fc 97cf205e
    Author: lostystyg <[email protected]>
    Date:   Thu Jun 23 19:09:06 2022 +0300

        Merge branch '0.21' into feature/events

    commit 3207e0fc601d9e099cb0181a1fd4dc784672001d
    Merge: 156ed36a 67a8917f
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 13 16:15:56 2022 +0300

        Merge branch '0.21' into feature/events

    commit 156ed36a5d4155c1b619a17c484c8587b23bb459
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 16:03:17 2022 +0300

        Answer fixes for events

    commit 854e6f5b9ccba90961633409cbbcd7335857e50a
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 14:58:52 2022 +0300

        Donate value for comment event

    commit 576fed8fed67233522eea657f4801aa4519b6351
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:50:56 2022 +0300

        Fixed events height

    commit 337c1efcc064e68aee3235d944c19da43b465169
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:38:03 2022 +0300

        Disabled hight border in related content for events

    commit 7b2c630c686225e3ca28c40c3d349cc3eb295c48
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:27:55 2022 +0300

        Events queries formatting

    commit e4f3666e6ff1aabb65efcc17ace03652209353df
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:15:34 2022 +0300

        Comment answer events fulfilled with data

    commit 775c8d454364df3d8775b78b891e4810b5fd959b
    Author: Andy Oknen <[email protected]>
    Date:   Fri Jun 10 12:14:10 2022 +0300

        index comment answer

    commit 1b5a4966f75358c3a0140267a2e2a342b73ee755
    Author: Andy Oknen <[email protected]>
    Date:   Fri Jun 10 11:30:03 2022 +0300

        Add height limit for answer comments

    commit 6d0985262639ec83784ec1df4a9f74b96a5b1060
    Author: Andy Oknen <[email protected]>
    Date:   Fri Jun 10 11:01:04 2022 +0300

        comment

    commit 7805b8e8f7c600c471126e7304bf28fb380ad9aa
    Author: Andy Oknen <[email protected]>
    Date:   Fri Jun 10 10:54:36 2022 +0300

        Sql fixes

    commit 011f94f29438ad36cb423a2faf6dc4686905902c
    Author: Andy Oknen <[email protected]>
    Date:   Fri Jun 10 09:43:51 2022 +0300

        Fix sql typo

    commit a62fd177da5dfb00260cd13db1572b0824e21742
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 09:05:43 2022 +0300

        Fixed select ordering in events

    commit af47ba0b7bb84185fc78c18c178720f8254281e8
    Author: Andy Oknen <[email protected]>
    Date:   Fri Jun 10 08:50:18 2022 +0300

        Fix comment answers sql index

    commit c97d7f55ddea43ffcde4b0c591086b8ddb6102b3
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 6 16:00:19 2022 +0300

        Fixed description for scores events

    commit 134f3095dac5169d58a0213a795002d347c33769
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 6 15:35:51 2022 +0300

        Throwing in case of event reconstructor error

    commit 0c3319a6878381b2bc528f9a24d8e7e491ce4dff
    Author: Andy Oknen <[email protected]>
    Date:   Mon May 23 14:11:21 2022 +0300

        Downgrade likers count for testnet

    commit 367fa1a7a38cbe3f31ac83c3c6afef57ff1229df
    Author: Andy Oknen <[email protected]>
    Date:   Fri Apr 22 10:36:33 2022 +0300

        Formatting

    commit 0421fbf7bf4af46fbb216517eb6f8867ca39f0a5
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 6 12:47:01 2022 +0300

        Optimizing event queries

    commit aff9e13fece8167e8f7352c3d13206dbccde94b0
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 6 12:25:58 2022 +0300

        Events fixes

    commit 423d4f9f91b61283e6878b408fc92ae8120ca467
    Merge: 7127a3eb 039f41fb
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 3 00:34:41 2022 +0300

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 7127a3ebd2bfff8f469afa7e5f980d5c41ae5ff0
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 3 00:34:12 2022 +0300

        Short forms for events

    commit b8f13088d20cceb8fc67229bffb8154a00c08a20
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 3 00:34:02 2022 +0300

        Updated short forms

    commit 03c0bd4a9c52a89d276ca9da219a9a323cb41a8c
    Author: lostystyg <[email protected]>
    Date:   Tue May 31 01:01:20 2022 +0300

        ShortTxType for short forms

    commit dfd80a5a62d32e055cbaeabdf089bc4b1e0dbb4d
    Author: lostystyg <[email protected]>
    Date:   Mon May 30 22:52:28 2022 +0300

        Added short forms

    commit 0b2aca0a697fd47cd0b4aee4264acf99aa57f86d
    Author: lostystyg <[email protected]>
    Date:   Mon May 30 15:26:51 2022 +0300

        Raw sql query to get all events at height for each account

    commit 78681c897118244d758fc40732685ad9ba19c524
    Author: lostystyg <[email protected]>
    Date:   Fri May 6 17:31:21 2022 +0300

        Forgotten finalizing stmt

    commit 8d23c2e6e401f9a41c41d7a6236be2dc1785c19e
    Author: lostystyg <[email protected]>
    Date:   Fri May 6 17:01:01 2022 +0300

        Updated args description for getevents

    commit 4030e741e98038f7297cccae706ba072beb992c2
    Author: lostystyg <[email protected]>
    Date:   Fri May 6 16:57:43 2022 +0300

        Events for single address

    commit b7ec0f7f40237ac2a6e12f3394163ba1a05a8c98
    Author: lostystyg <[email protected]>
    Date:   Fri May 6 16:42:10 2022 +0300

        constant depth for events

    commit 1ae34c266e55cdae51aa5df95d28cae91d5385ee
    Author: lostystyg <[email protected]>
    Date:   Fri May 6 16:40:43 2022 +0300

        privatecontent for events

    commit 086a1fa52778907c63eab88d9e691b62edff5246
    Author: lostystyg <[email protected]>
    Date:   Fri May 6 16:34:57 2022 +0300

        Fixed binding for events

    commit d77c6b6cf4dda626454170d466345fadcf6b12f9
    Author: lostystyg <[email protected]>
    Date:   Fri May 6 13:37:39 2022 +0300

        Fixed filtering for events

    commit 19591f2421a9e7d9579fe6034f82314ccaaf4562
    Author: lostystyg <[email protected]>
    Date:   Thu May 5 23:15:02 2022 +0300

        Updated events

    commit 244a198523d5efe7f9c251e7ccd8111dd26eae0c
    Author: lostystyg <[email protected]>
    Date:   Wed May 4 17:04:33 2022 +0300

        Fixed filtering for events

    commit 3deae2ea8a8dded1f50d3ec7ee9bda2616667e90
    Author: lostystyg <[email protected]>
    Date:   Wed May 4 16:09:02 2022 +0300

        FIlters, height and blocknum for events request

    commit 2600f314343ec9ce45acbd46774e1f2e4924e6a4
    Author: lostystyg <[email protected]>
    Date:   Sat Apr 30 14:41:04 2022 +0300

        Sorting events by height outside of sqlite

    commit 7f3d953ecb6c01fdf2e5fb6f1cf2d8cc424098a7
    Author: lostystyg <[email protected]>
    Date:   Sat Apr 30 00:42:26 2022 +0300

        Fixed events rpc description

    commit 192ad0cab7f3639824fe2c9ed4a3862941c89b2e
    Author: lostystyg <[email protected]>
    Date:   Sat Apr 30 00:41:11 2022 +0300

        Events optimization

    commit 7a51e15cb185f07536ca713eebafd0e5c06111dc
    Author: lostystyg <[email protected]>
    Date:   Mon Apr 25 18:35:32 2022 +0300

        Better indexing content from private subscribers event

    commit 3d8e46bfd1b13af691c876d8c82caf77f6035411
    Author: lostystyg <[email protected]>
    Date:   Mon Apr 25 18:30:38 2022 +0300

        Do not check for last for boost events

    commit dbea23e6036b2cd141552c408a149562351618cd
    Merge: af71bdf4 b0497826
    Author: lostystyg <[email protected]>
    Date:   Mon Apr 25 18:20:24 2022 +0300

        Merge remote-tracking branch 'origin/0.21.todo' into feature/events

    commit af71bdf4fdaaffe602ef6fa70efa63ef35ec5c63
    Author: lostystyg <[email protected]>
    Date:   Mon Apr 25 18:17:09 2022 +0300

        Base events logic

    commit c0e9504a610807a759cffbd239dd9bd2852ad805
    Author: lostystyg <[email protected]>
    Date:   Mon Apr 18 17:23:50 2022 +0300

        Method to get
        POCKETNET_TEAM address

    commit 9722326760ef90af0ccb57bbacc5c5c51d76f7d6
    Author: lostystyg <[email protected]>
    Date:   Mon Apr 18 17:22:46 2022 +0300

        Using network id instead of string for getting pocketnet developers

    * Squashed commit of the following:

    commit 84b78aab2b2f7c9baa2009f57eee3f92385aafb3
    Merge: 7b7338c8 499f514b
    Author: Andy Oknen <[email protected]>
    Date:   Fri Sep 9 14:37:44 2022 +0300

        Merge pull request #408 from pocketnetteam/actualization/0.20

        Squashed commit of the following:

    commit 499f514bf494920d2847225ae31eeef5811f305b
    Author: Andy Oknen <[email protected]>
    Date:   Fri Sep 9 10:50:15 2022 +0300

        Squashed commit of the following:

        commit aca3fe7d05c1f0c8a9ea76bf02eff87cefd47142
        Merge: 78065768 1cce975f
        Author: Andy Oknen <[email protected]>
        Date:   Thu Sep 8 18:40:05 2022 +0300

            Merge pull request #399 from HiHat/patch-1

            Important details regarding address and fixes

        commit 780657681d2564844a42c24de0938da74777c642
        Merge: bfaef570 5ce96412
        Author: Andy Oknen <[email protected]>
        Date:   Thu Sep 8 15:09:22 2022 +0300

            Merge pull request #402 from pocketnetteam/andyoknen-patch-1

            Update README.md

        commit 5ce96412b1cc0f67148aa4933dd74fe3b43f6c29
        Author: Andy Oknen <[email protected]>
        Date:   Wed Sep 7 10:51:21 2022 +0300

            Update README.md

        commit 1cce975f41f0bc130f58e8004ac35f1f8cfd7179
        Author: HiHat <[email protected]>
        Date:   Tue Sep 6 19:09:26 2022 +0300

            Important details regarding address and fixes

        commit bfaef57025253beb6564dbe4afd30dfe51e059a4
        Author: Pocketnet Team <[email protected]>
        Date:   Wed Aug 31 13:23:31 2022 +0300

            Create add.tasks.to.project.yml

        commit 8ad81f1601554be5eb557a5fda204a78fd3d3be3
        Author: Pocketnet Team <[email protected]>
        Date:   Tue Aug 30 15:00:15 2022 +0300

            Set maximum depth 1 month for RPC GetMostCommentedFeed

        commit c1e5845465970d7bbafe909a9528abe0ac3cfd67
        Author: Pocketnet Team <[email protected]>
        Date:   Tue Aug 30 14:57:23 2022 +0300

            Set fork height for BlockingCancel.hpp

        commit b8bc0adf5c46dc3fb0d14332f49e34dec6105dd3
        Merge: 8383efb4 8abd1bb7
        Author: Andy Oknen <[email protected]>
        Date:   Tue Aug 30 14:45:32 2022 +0300

            Merge pull request #385 from pocketnetteam/fix/wrong-key-threshold

            fix: wrong map key threshold_shark_reg_depth -> threshold_whale_reg_depth

        commit 8abd1bb75fb52ea6dff9ad73e560362abfd4b1c5
        Author: Andy Oknen <[email protected]>
        Date:   Tue Aug 30 14:42:46 2022 +0300

            Comment not used now RPC

        commit fee5e39f227d46ac0259d0b26b5680fb451a3eaa
        Author: Andy Oknen <[email protected]>
        Date:   Tue Aug 30 11:13:50 2022 +0300

            Extend height for fork to 1873500 block

        commit 0ea51a2868b2ad0befb1149c2b5a0270cac7ecd1
        Author: Andy Oknen <[email protected]>
        Date:   Mon Aug 29 14:14:26 2022 +0300

            Fix wrong map key threshold_shark_reg_depth -> threshold_whale_reg_depth

        commit 8383efb46582ec24455867157474dbf29c0bc4f2
        Author: Pocketnet Team <[email protected]>
        Date:   Thu Aug 25 00:21:32 2022 +0300

            Delete project.add.issues.yml

        commit 95b97de883e4116a7f6d54af3be842e017e7fd01
        Author: Pocketnet Team <[email protected]>
        Date:   Thu Aug 25 00:17:56 2022 +0300

            Create project.add.issues.yml

        commit 9693e62933ae1ca02560fba1311dbdd4c88c8a77
        Author: Pocketnet Team <[email protected]>
        Date:   Thu Aug 25 00:07:19 2022 +0300

            Create auto_assign.yml

    commit 7b7338c801e665435cc429381ff3eb98d2a68f57
    Merge: 88af7848 b6b9f45f
    Author: lostystyg <[email protected]>
    Date:   Fri Sep 9 10:41:39 2022 +0300

        Merge pull request #302 from lostystyg/feature/events

        feature: events, push notifications and activities

    commit 88af7848ba0e56fe22a136715bb7fbca46eda966
    Merge: dddb3c6d 6280c078
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 18:45:15 2022 +0300

        Merge pull request #407 from pocketnetteam/fix/clear-database

        Fix clear database

    commit 6280c078ae1e1cf38a1d69e67b6bc2203469eda8
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 18:39:43 2022 +0300

        Fix clear database

    commit dddb3c6dd0e6a5088d46bfb70051e5fa95fc08fe
    Merge: 1a03ee9d 6d1975a2
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 15:22:39 2022 +0300

        Merge pull request #401 from pocketnetteam/feat/txindex-disable-always

        feat: disable txindex by default

    commit 1a03ee9d2340909fbedcc8ded34915efc5c9489f
    Merge: adce55f2 bc022eca
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 15:07:28 2022 +0300

        Merge pull request #406 from pocketnetteam/fix/full-reindex-lists

        fix: full reindex lists

    commit b6b9f45f711821ba98a657b55529ae9a6037abab
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:55:12 2022 +0400

        Fix new line

    commit 314c1a84137a1bba0f246f0649cbd9334625cc03
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:52:07 2022 +0400

        Temporarily disable getevents rpc

    commit bbd05740a461ff9ca4c68cfae216e82f28bf1b8d
    Merge: 32b0e15f adce55f2
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:51:13 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit bc022ecac23e00dfb7236ffffbb2e77e6e995682
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 14:40:46 2022 +0300

        Logging clean

    commit 8107ae50a48790d12bb0d0662c1ea2dc21cc3e45
    Author: Andy Oknen <[email protected]>
    Date:   Thu Sep 8 14:38:53 2022 +0300

        Call rollback lists for full reindexing

    commit 32b0e15f67da6f08069173585fa801f641209d88
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 15:26:58 2022 +0400

        Optimized notifications collecting

    commit 24e63f43b73f38a3b534682ca5c2b864863f7bf2
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 13:13:52 2022 +0400

        Filling notification result with account info

    commit 1344fe5b189542b154f2bf9d9a47d23cbc4e83e9
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 12:29:31 2022 +0400

        Language for short account

    commit 710886c50ae33edfda37472b2265aa2adaf127ce
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 8 12:17:28 2022 +0400

        Correctly filling notifications answer

    commit 6d1975a22e50550ff6ef7b393441e49f2cadbfe4
    Author: Andy Oknen <[email protected]>
    Date:   Wed Sep 7 10:40:06 2022 +0300

        Disable enabling txindex by default

    commit 5b04354199e527de52c08dd1880a12c1f8225ba5
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 15:33:28 2022 +0400

        Removed outdated comment

    commit 57f275ea9dcd3c7c61a75561c809cef6a97f6937
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 15:04:22 2022 +0400

        Cosmetics for blocking query in activities

    commit 88ed33a8731e61a9364840264b099e7012c659cd
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 14:47:08 2022 +0400

        Removed number from outputs in activities and notifications

    commit 24534072f1ece6cf940f9033fa032cd20b7471c7
    Author: lostystyg <[email protected]>
    Date:   Mon Sep 5 13:04:59 2022 +0400

        Reuse height binder in notifications for money

    commit 77f9e87343e7b691227dd97b5a114460a55df7f2
    Author: lostystyg <[email protected]>
    Date:   Fri Sep 2 16:41:06 2022 +0400

        Order outputs by number for activities and notifications

    commit 8ef4a5bbdd8aed5b860e73c95504fc9676977bec
    Merge: 2b3a0164 357d1558
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:28:12 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 2b3a0164de79b2ecf67f87dee0e2842fc8ec22df
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:24:10 2022 +0400

        Removed trash from badge in activities

    commit 66e9054ae456ebdb6b49a0682a141e6abc76c448
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:22:59 2022 +0400

        Removed trash from badge field in notification queries

    commit f8924a6f595da8dbff0fe7f341a39399c1b09a6a
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 22:21:18 2022 +0400

        Ported notifications from 0.20-based dropped branch

    commit 6d8148ded4c31ea2019b5384fd8e90714cf5010e
    Author: lostystyg <[email protected]>
    Date:   Thu Sep 1 12:10:41 2022 +0400

        Added blockings for notifications

    commit c23e94c4678ab27c7c4dfd1074b50f306a97e6bf
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 31 13:29:41 2022 +0400

        Added optional multiple addresses to shortform

    commit c29ab129b3c2ceb9da564a2f37649e321b50b869
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 19:06:08 2022 +0400

        Removed unnecessary todo

    commit 736748f798fcbecc1f8e8b9e855ca215c3db5d3d
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 19:03:32 2022 +0400

        Some todo's

    commit cabb0603547edb11d29363d19fd9328729a2c7ba
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 19:02:08 2022 +0400

        All action history for comments and answers in activities

    commit cf5021c9c4f25c22ada7b59f2c143b953c6ad84b
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 18:36:51 2022 +0400

        Collect roottxhash in activity queries

    commit 328a3ecd8cad8cdef92b5baa5173f6516ac4d1de
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 17:51:10 2022 +0400

        Added root tx hash to shortform

    commit f6fa4a45ca88a8ce0970aaa0dc0950bce1465790
    Author: lostystyg <[email protected]>
    Date:   Tue Aug 30 17:42:02 2022 +0400

        Full history for notifications

    commit 077f0f26f5b52cf86229d2418cf73d465dbc0b29
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 25 09:35:42 2022 +0400

        Added blocking shorttype

    commit e2913158f2226f719242e376b8a846ca660ef26b
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 25 09:33:55 2022 +0400

        Removed not up to date todo

    commit 884893775de6aea42350bddcdd93ec42c47c6d04
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 16:55:14 2022 +0400

        Removed reposts from activities

    commit b5631e70c1e54ef4ae60207f2c25f9a72663d458
    Merge: e4c102c3 b7b49914
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 16:21:26 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit e4c102c39cc9ebd7cd3bdf38b5c053841c39ca01
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:53:24 2022 +0400

        Validate filters for events on rpc level

    commit ac03dcb727512a5ed29450c2a720c1259bcdd158
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:49:33 2022 +0400

        Validate filters for activities on rpc level

    commit fcb2fed45b43c3e510be0dfb33504b680b97d016
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:49:10 2022 +0400

        Removed pocketnetteam from events and activities

    commit 876e7b574c9ad099fd00721aa92c79561d3eb2b7
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 24 15:35:47 2022 +0400

        Fixed crash if non-valid filters are specified for notifications/activities/events

    commit 5732263c174be41fb9be7dbc15b48acef6e1e263
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 22 23:52:32 2022 +0400

        Removed todo for money in activities

    commit 9c7438fb22ddc857876e4cc734fd3885481e9386
    Merge: 99c11087 6e530784
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 22 15:16:13 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 99c11087a786a017b7c1e4039cb94615d6e742c2
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 18:02:14 2022 +0400

        Fixed typo in query

    commit 6057f91580b1e35399f7cfbbbf43e57d2cf6f486
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 17:53:37 2022 +0400

        Removed commented out queries for notifications

    commit 35375ed1d01fa436ea83a65f910fdd746a8e1e5b
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 16:39:23 2022 +0400

        Validating filters for getnotificationssummary

    commit f1be1700c842a7cd1960665cbf969f97b4fe4892
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 16:38:13 2022 +0400

        Optimization and fixed for notifications summary queries

    commit 1d371a0870f3053d77cf65df7c6a537370ede685
    Author: lostystyg <[email protected]>
    Date:   Sat Aug 20 16:36:29 2022 +0400

        Allow to specify union separator

    commit fcf526c45eb12f853f4da331398b9cf0dbfb6536
    Merge: 46edf275 9df85fb7
    Author: lostystyg <[email protected]>
    Date:   Fri Aug 19 19:26:37 2022 +0400

        Merge remote-tracking branch 'origin/fixes/multiplelocks' into feature/events

    commit 46edf275c6f5e113be1209bca42b3ecf6962cad7
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 17 18:09:35 2022 +0400

        Notifications summary

    commit 29164ac17d0da9ad5f8ead8f6d87fa8a9bdf30a3
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 15 11:22:23 2022 +0400

        Fixed help for getnotifications

    commit c26ddf05be536577ca8334fbd57737a848b74805
    Merge: 3a49aa58 1bbe483a
    Author: lostystyg <[email protected]>
    Date:   Fri Aug 12 14:01:39 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 3a49aa58477b3e5cac571a83eedc95b57106bbaa
    Merge: 5365be10 8a1b0af6
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 16:27:31 2022 +0400

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit 5365be10f9f6df46bf973c15b03e1915062ac75e
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 14:52:19 2022 +0400

        Correct ordering by original txs in activities

    commit 3339a738328bbdfeb7517254f017a85a693ddaac
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 14:51:32 2022 +0400

        Removed unnecessary todos

    commit 1b256cd1fb3b46266b946dca2b2f3ea7da5bb92a
    Author: lostystyg <[email protected]>
    Date:   Thu Aug 11 14:49:12 2022 +0400

        Explicitly set index for account joins in activities

    commit 3ae1ff87786b593bcd6bdc5652f26bb066d50a0a
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 10 11:30:05 2022 +0400

        Fixed address positioning in sql query for activities in ContentScore and CommentScore

    commit fa8543b5c97ee93b84e997b74336aa55d961fbe8
    Merge: a433e3ac cc77fdcb
    Author: lostystyg <[email protected]>
    Date:   Wed Aug 10 10:21:20 2022 +0400

        Merge branch '0.21' into feature/events

    commit a433e3ac5bb2dca719697a913e14594c5f46e2d8
    Author: lostystyg <[email protected]>
    Date:   Mon Aug 8 10:55:52 2022 +0400

        Removed orig height from activities because it breaks pagination

    commit 67febbef23c006f91886b92bb84e88e6d10fe448
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 22 10:36:48 2022 +0300

        Fixed referals for events

    commit 9845755c09e0e98380dd4a020db8a08e2e551545
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 22 10:11:06 2022 +0300

        Orig height for activities

    commit eb5c9e6621d4cd35c82af7a13eaa14cb5a0f8a90
    Merge: d60cfd32 c6fa67b4
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 22 09:03:43 2022 +0300

        Merge branch '0.21' into feature/events

    commit d60cfd32e626356ae728db6f51cb3bb36148ab94
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 18:16:05 2022 +0300

        A bit cosmetics for events

    commit 86e5df5a081973a2b6fd9aa546f12d8033373b33
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 18:01:43 2022 +0300

        Full comment text in description for events and activities

    commit fabcc4e520227c4367a39bf0882097201acd155f
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 15:30:28 2022 +0300

        Inner join instead of cross for repost in activities

    commit f782b68e000f9ded107f962e8b82f2e986a828bc
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 15:26:48 2022 +0300

        Fixed repost queries for activities and events

    commit 7e865aa4b8a31df75f685bedd7cf0bd6973ffa5c
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 20 14:56:19 2022 +0300

        Fixed subscriber in activities

    commit c01a27472ce995c4d80da691f3ca7b3fef8e2c87
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 19 18:55:36 2022 +0300

        Optimizing activity queries

    commit 91d85294992c2db69c6def5840b324ecdf2bedf9
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 18 16:36:03 2022 +0300

        Optimizing pocketnetteam notifications

    commit c137b10912886fffb8f9992990873d77878b69d6
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 18 16:26:56 2022 +0300

        Fixed binds for notifications

    commit e265c7ff37d4531133e2e792c84b444dd79349ed
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 13:17:59 2022 +0300

        Optimize reposts

    commit dadabe0f0d15f67e74157652dfab24f16ae5441e
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 13:12:50 2022 +0300

        Fix private content from subscribers (not reposts)

    commit 8c423e45e86fe237a55873828a574f7885faf73c
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 13:09:11 2022 +0300

        Optimize reposts query

    commit 814a958f101c6c3f924f6db0977d45294662f197
    Author: Andy Oknen <[email protected]>
    Date:   Mon Jul 18 12:51:01 2022 +0300

        Fix incoming money

    commit 1d0d17e2a8b5491b421e71f0df2547e08468804f
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 18 12:32:41 2022 +0300

        getnotification better todos and fixed index

    commit e3f474ba52e4a1d234ed1f3910014519f99ac0da
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 15 18:02:37 2022 +0300

        Added optional related content (in case of reposts) for pocketnetteam posts and private content for notifications

    commit 427d320494f6390b921ef26e85d83b67f7a5a7aa
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 15 18:01:45 2022 +0300

        Fixed reposts for notifications

    commit 5c261246ad1117d5c393f6c90511a8dc20bd83a9
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 15 18:01:06 2022 +0300

        Moved pocketnetteam posts for notifications to a specific key in answer

    commit 5e8b8066d31046beccd717bd6cdcb45357259a60
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 18:11:33 2022 +0300

        Fixed var name for events contentscore

    commit 39b478d611fe69437c45c33535fe9e01be8904aa
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 18:10:31 2022 +0300

        Ignoring empty avatar for short form account

    commit 848abcae88f1d0b1d922ed9be7a37c9ac820368f
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 13:55:24 2022 +0300

        Fixed typo in contentscore for activities

    commit aaac24ae58a9b176beee95f31dfb425281d26d01
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 13 13:54:54 2022 +0300

        Fixed content description for contentscore in activities

    commit 5d7e566222d686212ba1d475e5581df78a805ba2
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 12 11:48:56 2022 +0300

        Inner join instead of cross for activities and events

    commit 5bb78a6f327bcaed0cf07e229613b0d236677bcc
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 12 11:22:39 2022 +0300

        Updated activities query

    commit d3c243d4fce004f2da5fab1a83dd587f472cfb18
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:31:35 2022 +0300

        Comment score activity

    commit 0a936ade276adea029a29aa26c645cf7f4c997a8
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:22:20 2022 +0300

        Subscriber activity

    commit b5d0c401eb859478bdea99f883523ccb828add98
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:14:00 2022 +0300

        Added comments for activities

    commit 638c874a0287ebd69aecbca5b675dcb24d1f7669
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 17:13:39 2022 +0300

        Fixed answers request for activities

    commit f3a202681561a3426be3c37748e353907941b50f
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 16:36:07 2022 +0300

        Base activities rpc request

    commit 3665c8076186734a16103f1feda707d9bac0e373
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 8 14:59:17 2022 +0300

        Renamed notifications rpc

    commit d560b5ad7b34847e8644daf7dc09cc2ef4e45927
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 6 16:18:08 2022 +0300

        Fixed acc's rep for getevents

    commit 071f6ed8d6e7c0f1ff8ad7777675c64b83aa6c21
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 6 16:17:48 2022 +0300

        Ignore badge fort short account

    commit 1576c8dc6fb2436f030a5f9b79ddd9db3fe843f4
    Author: lostystyg <[email protected]>
    Date:   Wed Jul 6 15:50:37 2022 +0300

        Only orig entries for notifications + some optimizations

    commit 60e0489fb1976fe6801ceefbaf72370c913d64d5
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 5 15:44:20 2022 +0300

        Updated getnotifications rpc description

    commit 5e1740fb58b36c0b36b2f99b1b86d9d4bcbcd729
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 5 15:38:25 2022 +0300

        Updated getevents rpc description

    commit a66588336365912e73e61f5921f430faf085f6b4
    Merge: 6828322d 9b8e4bd6
    Author: lostystyg <[email protected]>
    Date:   Tue Jul 5 15:11:55 2022 +0300

        Merge branch '0.21' into feature/events

    commit 6828322d0616f5c6c9c846e5558a50eaaa4561f1
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 4 20:34:34 2022 +0300

        Money notification

    commit b227a1cdc0888f532aaec1f86dbe544909e2c83b
    Author: lostystyg <[email protected]>
    Date:   Mon Jul 4 19:41:35 2022 +0300

        Extracted common bind for notifications

    commit ef325659593eaf1f8faeec91fc405099024c9766
    Merge: 16a3455f c0f6636c
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 1 19:34:12 2022 +0300

        Merge branch '0.21' into feature/events

    commit 16a3455f20d79b3028db961c280da0e75cea68e3
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 1 19:14:10 2022 +0300

        Notifications

    commit 9c8a9b3f0d2d0c47c8a6ebd9de34b3fa576c9320
    Author: lostystyg <[email protected]>
    Date:   Fri Jul 1 19:14:00 2022 +0300

        Fixed ShortAccount

    commit 061a7ab966fafc41644034bf38a259f47bab9f10
    Author: lostystyg <[email protected]>
    Date:   Wed Jun 29 17:17:24 2022 +0300

        A bit generalization in processing filters for events

    commit b9f3b6a95832ac38782d9003ab4d8f4ad1af990a
    Author: lostystyg <[email protected]>
    Date:   Wed Jun 29 15:38:07 2022 +0300

        Restructured events

    commit b8f37cbf82b986962ec85674d8859ad150567a9c
    Merge: f862108d 8465afed
    Author: lostystyg <[email protected]>
    Date:   Tue Jun 28 14:35:03 2022 +0300

        Merge remote-tracking branch 'origin/0.21' into feature/events

    commit f862108dd6ca23059c62cad7b227b4d032e41d9c
    Merge: 8090d0e8 4429a24f
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 27 13:37:20 2022 +0300

        Merge branch '0.21' into feature/events

    commit 8090d0e8464d9b538c0617cab97cb2c08ac11411
    Merge: 21b3c715 5c9755ac
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 27 12:39:57 2022 +0300

        Merge branch 'minor_fixes' into feature/events

    commit 21b3c715ae8ef56cc276e62975bb1a727cfb2cde
    Merge: 78eb6155 8c9006b4
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 27 12:39:51 2022 +0300

        Merge branch '0.21' into feature/events

    commit 5c9755ac27adf6801e7936d8fefb218494fbc6a4
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 24 19:09:19 2022 +0300

        Some minor fixes

    commit 78eb6155d9626dea1de3635f0e1484c643a27af9
    Merge: 3207e0fc 97cf205e
    Author: lostystyg <[email protected]>
    Date:   Thu Jun 23 19:09:06 2022 +0300

        Merge branch '0.21' into feature/events

    commit 3207e0fc601d9e099cb0181a1fd4dc784672001d
    Merge: 156ed36a 67a8917f
    Author: lostystyg <[email protected]>
    Date:   Mon Jun 13 16:15:56 2022 +0300

        Merge branch '0.21' into feature/events

    commit 156ed36a5d4155c1b619a17c484c8587b23bb459
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 16:03:17 2022 +0300

        Answer fixes for events

    commit 854e6f5b9ccba90961633409cbbcd7335857e50a
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 14:58:52 2022 +0300

        Donate value for comment event

    commit 576fed8fed67233522eea657f4801aa4519b6351
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:50:56 2022 +0300

        Fixed events height

    commit 337c1efcc064e68aee3235d944c19da43b465169
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:38:03 2022 +0300

        Disabled hight border in related content for events

    commit 7b2c630c686225e3ca28c40c3d349cc3eb295c48
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:27:55 2022 +0300

        Events queries formatting

    commit e4f3666e6ff1aabb65efcc17ace03652209353df
    Author: lostystyg <[email protected]>
    Date:   Fri Jun 10 13:15:34 2022 +0300

        Comment answer events fulfilled with data

    commit 775c8d454364df3d8775b78b891e4810b5fd959b
    Author: Andy Oknen <[email protected]>
    Date:   F…
  • Loading branch information
andyoknen committed Sep 30, 2022
1 parent cac6574 commit e8fc044
Show file tree
Hide file tree
Showing 17 changed files with 825 additions and 467 deletions.
303 changes: 302 additions & 1 deletion src/pocketdb/helpers/ShortFormHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,305 @@ PocketDb::ShortTxType PocketHelpers::ShortTxTypeConvertor::strToType(const std::
return type->first;
}
return PocketDb::ShortTxType::NotSet;
}
}

std::optional<std::vector<PocketDb::ShortTxOutput>> _parseOutputs(const std::string& jsonStr)
{
UniValue json (UniValue::VOBJ);
if (!json.read(jsonStr) || !json.isArray()) return std::nullopt;
std::vector<PocketDb::ShortTxOutput> res;
res.reserve(json.size());
for (int i = 0; i < json.size(); i++) {
const auto& elem = json[i];
PocketDb::ShortTxOutput output;

if (elem.exists("TxHash") && elem["TxHash"].isStr()) output.SetTxHash(elem["TxHash"].get_str());
if (elem.exists("Value") && elem["Value"].isNum()) output.SetValue(elem["Value"].get_int64());
if (elem.exists("SpentTxHash") && elem["SpentTxHash"].isStr()) output.SetSpentTxHash(elem["SpentTxHash"].get_str());
if (elem.exists("AddressHash") && elem["AddressHash"].isStr()) output.SetAddressHash(elem["AddressHash"].get_str());
if (elem.exists("Number") && elem["Number"].isNum()) output.SetNumber(elem["Number"].get_int());
if (elem.exists("ScriptPubKey") && elem["ScriptPubKey"].isStr()) output.SetScriptPubKey(elem["ScriptPubKey"].get_str());
if (elem.exists("Account") && elem["Account"].isStr()) {
const auto& accJson = elem["Account"];
PocketDb::ShortAccount accData;
if (accJson.exists("Lang") && accJson["Lang"].isStr()) accData.SetLang(accJson["Lang"].get_str());
if (accJson.exists("Name") && accJson["Name"].isStr()) accData.SetName(accJson["Name"].get_str());
if (accJson.exists("Avatar") && accJson["Avatar"].isStr()) accData.SetAvatar(accJson["Avatar"].get_str());
if (accJson.exists("Rep") && accJson["Rep"].isNum()) accData.SetReputation(accJson["Rep"].get_int64());
output.SetAccount(accData);
}

res.emplace_back(std::move(output));
}

return res;
}

std::optional<std::vector<std::pair<std::string, std::optional<PocketDb::ShortAccount>>>> _processMultipleAddresses(const std::string& jsonStr)
{
UniValue json;
if (!json.read(jsonStr) || !json.isArray() || json.size() <= 0) return std::nullopt;

std::vector<std::pair<std::string, std::optional<PocketDb::ShortAccount>>> multipleAddresses;
for (int i = 0; i < json.size(); i++) {
const auto& entry = json[i];
if (!entry.isObject() || !entry.exists("address") || !entry["address"].isStr()) {
continue;
}

auto address = entry["address"].get_str();
std::optional<PocketDb::ShortAccount> accountData;
if (entry.exists("account")) {
const auto& account = entry["account"];
if (account["name"].isStr()) {
PocketDb::ShortAccount accData;
accData.SetName(account["name"].get_str());
if (account["avatar"].isStr()) accData.SetAvatar(account["avatar"].get_str());
if (account["badge"].isStr()) accData.SetBadge(account["badge"].get_str());
if (account["reputation"].isNull()) accData.SetReputation(account["reputation"].get_int64());
accountData = std::move(accData);
}
}

multipleAddresses.emplace_back(std::make_pair(std::move(address), std::move(accountData)));
}

return multipleAddresses;
}

bool PocketHelpers::NotificationsResult::HasData(const int64_t& blocknum)
{
return m_txArrIndicies.find(blocknum) != m_txArrIndicies.end();
}

void PocketHelpers::NotificationsResult::InsertData(const PocketDb::ShortForm& shortForm)
{
if (HasData(*shortForm.GetTxData().GetBlockNum())) return;
m_txArrIndicies.insert({*shortForm.GetTxData().GetBlockNum(), m_data.size()});
m_data.emplace_back(shortForm.Serialize(false));
}

void PocketHelpers::NotificationsResult::InsertNotifiers(const int64_t& blocknum, PocketDb::ShortTxType contextType, std::map<std::string, std::optional<PocketDb::ShortAccount>> addresses)
{
for (const auto& address: addresses) {
auto& notifierEntry = m_notifiers[address.first];
notifierEntry.notifications[contextType].emplace_back(m_txArrIndicies.at(blocknum));
if (!notifierEntry.account)
notifierEntry.account = address.second;
}
}

UniValue PocketHelpers::NotificationsResult::Serialize() const
{
UniValue notifiersUni (UniValue::VOBJ);
notifiersUni.reserveKVSize(m_notifiers.size());

for (const auto& notifier: m_notifiers) {
const auto& address = notifier.first;
const auto& notifierEntry = notifier.second;

UniValue notifierData (UniValue::VOBJ);
notifierData.reserveKVSize(notifierEntry.notifications.size());
for (const auto& contextTypeIndicies: notifierEntry.notifications) {
UniValue indicies (UniValue::VARR);
indicies.push_backV(contextTypeIndicies.second);
notifierData.pushKV(PocketHelpers::ShortTxTypeConvertor::toString(contextTypeIndicies.first), indicies, false);
}

UniValue notifierUniObj (UniValue::VOBJ);
if (const auto& accData = notifierEntry.account; accData.has_value()) {
notifierUniObj.pushKV("i", accData->Serialize(), false);
}
notifierUniObj.pushKV("e", std::move(notifierData), false);

notifiersUni.pushKV(address, notifierUniObj, false);
}

UniValue data (UniValue::VARR);
data.push_backV(m_data);

UniValue res (UniValue::VOBJ);
res.pushKV("data", data, false);
res.pushKV("notifiers", notifiersUni,false);
return res;
}

void PocketHelpers::ShortFormParser::Reset(const int& startIndex)
{
m_startIndex = startIndex;
}

PocketDb::ShortForm PocketHelpers::ShortFormParser::ParseFull(sqlite3_stmt* stmt)
{
int index = m_startIndex;
auto [ok, type] = TryGetColumnString(stmt, index++);
if (!ok) {
throw std::runtime_error("Missing row type");
}

auto txData = ProcessTxData(stmt, index);
if (!txData) {
throw std::runtime_error("Missing required fields for tx data in a row");
}

auto relatedContent = ProcessTxData(stmt, index);

return {PocketHelpers::ShortTxTypeConvertor::strToType(type), *txData, relatedContent};
}

int64_t PocketHelpers::ShortFormParser::ParseBlockNum(sqlite3_stmt* stmt)
{
auto [ok, val] = TryGetColumnInt64(stmt, m_startIndex+5);
if (!ok) {
throw std::runtime_error("Failed to extract blocknum from stmt");
}

return val;
}

PocketDb::ShortTxType PocketHelpers::ShortFormParser::ParseType(sqlite3_stmt* stmt)
{
auto [ok, val] = TryGetColumnString(stmt, m_startIndex);
if (!ok) {
throw std::runtime_error("Failed to extract short tx type");
}

auto type = PocketHelpers::ShortTxTypeConvertor::strToType(val);
if (type == PocketDb::ShortTxType::NotSet) {
throw std::runtime_error("Failed to parse extracted short tx type");
}

return type;
}

std::string PocketHelpers::ShortFormParser::ParseHash(sqlite3_stmt* stmt)
{
auto [ok, hash] = TryGetColumnString(stmt, m_startIndex+1);
if (!ok) {
throw std::runtime_error("Failed to extract tx hash from stmt");
}

return hash;
}

std::optional<std::vector<PocketDb::ShortTxOutput>> PocketHelpers::ShortFormParser::ParseOutputs(sqlite3_stmt* stmt)
{
auto [ok, str] = TryGetColumnString(stmt, m_startIndex + 11);
if (ok) {
return _parseOutputs(str);
}
return std::nullopt;
}

std::optional<PocketDb::ShortAccount> PocketHelpers::ShortFormParser::ParseAccount(sqlite3_stmt* stmt, const int& index)
{
auto [ok1, lang] = TryGetColumnString(stmt, index);
auto [ok2, name] = TryGetColumnString(stmt, index+1);
auto [ok3, avatar] = TryGetColumnString(stmt, index+2);
auto [ok4, reputation] = TryGetColumnInt64(stmt, index+3);
if (ok2 && ok4) { // TODO (losty): can there be no avatar?
auto acc = PocketDb::ShortAccount(name, avatar, reputation);
if (ok1) acc.SetLang(lang);
return acc;
}
return std::nullopt;
}

std::optional<PocketDb::ShortTxData> PocketHelpers::ShortFormParser::ProcessTxData(sqlite3_stmt* stmt, int& index)
{
const auto i = index;

static const auto stmtOffset = 19;
index += stmtOffset;

auto [ok1, hash] = TryGetColumnString(stmt, i);
auto [ok2, txType] = TryGetColumnInt(stmt, i+1);

if (ok1 && ok2) {
PocketDb::ShortTxData txData(hash, (PocketTx::TxType)txType);
if (auto [ok, val] = TryGetColumnString(stmt, i+2); ok) txData.SetAddress(val);
if (auto [ok, val] = TryGetColumnInt64(stmt, i+3); ok) txData.SetHeight(val);
if (auto [ok, val] = TryGetColumnInt64(stmt, i+4); ok) txData.SetBlockNum(val);
if (auto [ok, val] = TryGetColumnInt64(stmt, i+5); ok) txData.SetTime(val);
if (auto [ok, val] = TryGetColumnString(stmt, i+6); ok) txData.SetRootTxHash(val);
if (auto [ok, val] = TryGetColumnString(stmt, i+7); ok) txData.SetPostHash(val);
if (auto [ok, val] = TryGetColumnInt64(stmt, i+8); ok) txData.SetVal(val);
if (auto [ok, val] = TryGetColumnString(stmt, i+9); ok) txData.SetInputs(_parseOutputs(val));
if (auto [ok, val] = TryGetColumnString(stmt, i+10); ok) txData.SetOutputs(_parseOutputs(val));
if (auto [ok, val] = TryGetColumnString(stmt, i+11); ok) txData.SetDescription(val);
if (auto [ok, val] = TryGetColumnString(stmt, i+12); ok) txData.SetCommentParentId(val);
if (auto [ok, val] = TryGetColumnString(stmt, i+13); ok) txData.SetCommentAnswerId(val);
txData.SetAccount(ParseAccount(stmt, i+14));
if (auto [ok, val] = TryGetColumnString(stmt, i+18); ok) txData.SetMultipleAddresses(_processMultipleAddresses(val));
return txData;
}

return std::nullopt;
}

PocketHelpers::EventsReconstructor::EventsReconstructor()
{
m_parser.Reset(0);
}

void PocketHelpers::EventsReconstructor::FeedRow(sqlite3_stmt* stmt)
{
m_result.emplace_back(std::move(m_parser.ParseFull(stmt)));
}

std::vector<PocketDb::ShortForm> PocketHelpers::EventsReconstructor::GetResult() const
{
return m_result;
}

PocketHelpers::NotificationsReconstructor::NotificationsReconstructor()
{
m_parser.Reset(5);
}

void PocketHelpers::NotificationsReconstructor::FeedRow(sqlite3_stmt* stmt)
{
// Notifiers data for current row context. Possible more than one notifier for the same context
std::map<std::string, std::optional<PocketDb::ShortAccount>> notifiers;
// Collecting addresses and accounts for notifiers. Required data can be in 2 places:
// - First column in query
// - Outputs (e.x. for money)
// TODO (losty): generalize collecting account data because there could be more variants in the future
auto [ok, addressOne] = TryGetColumnString(stmt, 0);
if (ok) {
auto pulp = m_parser.ParseAccount(stmt, 1);
notifiers.insert(std::move(std::make_pair(std::move(addressOne), std::move(pulp))));
} else {
if (auto outputs = m_parser.ParseOutputs(stmt); outputs) {
for (const auto& output: *outputs) {
if (output.GetAddressHash() && !output.GetAddressHash()->empty()) {
notifiers.insert({*output.GetAddressHash(), output.GetAccount()});
}
}
}
}
if (notifiers.empty()) throw std::runtime_error("Missing address of notifier");

auto blockNum = m_parser.ParseBlockNum(stmt); // blocknum is a unique key of tx because we are looking for txs in a single block
// Do not perform parsing sql if we already has this tx
if (!m_notifications.HasData(blockNum)) {
m_notifications.InsertData(m_parser.ParseFull(stmt));
}
m_notifications.InsertNotifiers(blockNum, m_parser.ParseType(stmt), std::move(notifiers));
}

PocketHelpers::NotificationsResult PocketHelpers::NotificationsReconstructor::GetResult() const
{
return m_notifications;
}

void PocketHelpers::NotificationSummaryReconstructor::FeedRow(sqlite3_stmt* stmt)
{
auto [ok1, typeStr] = TryGetColumnString(stmt, 0);
auto [ok2, address] = TryGetColumnString(stmt, 1);
if (!ok1 || !ok2) return;

if (auto type = PocketHelpers::ShortTxTypeConvertor::strToType(typeStr); type != PocketDb::ShortTxType::NotSet) {
m_result[address][type]++;
}
}
Loading

0 comments on commit e8fc044

Please sign in to comment.