Skip to content

Commit

Permalink
feat: delete account (#405)
Browse files Browse the repository at this point in the history
* 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:   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

* Revert

* Fix delete transaction helper

* Fix check register deleted account

* Deleted account does not have payload

* Fixed typo in GetProfileFeed

* Remove data from deleted account in last comments

* Fix begin/commit/abort sql transaction

* refact

* wallet log clean

* Clean logs

* Fix check register block

* Clean logs

* Remove data from deleted account in all feeds

* Fix debug typo

* Fixed typo in GetLastComments

* Added flag if account deleted in GetAccountState

* // TODO (brangr): delete

* Include deleted accounts in block lists

* Add 170 for get user account data

* Complete check deleted account

* consensus add deleted account check 2

* Remove comments from deleted accounts in GetCommentsByPost

* refactoring

* Fix getuseraddress for empty request

* Fix check double account transaction in block

* 1

* Fixed mixing stake treshhold values

* Moved mutex to a proper place

* Fixed cleaning sqlite

* 1

* Fork height for enabling account delete transaction

* Fix typos

* Return check opreturn for next detect checkpoints

* Description for stake threshold values

* Optimizing coinstake logic

* Fix checkpoints for double users

* Remove counting referrals from account profile

* SQLOptimizations

* Fix user checkpoint check

* Move notifier repository to self db connection

* Extend sendtoaddress with destaddress for change

* Revert "Optimizing coinstake logic" and "Fixed mixing stake treshhold values"

This reverts commits 2adff23f29899754eea2fd864374…
  • Loading branch information
4 people authored Sep 16, 2022
1 parent 84b78aa commit 297fe2e
Show file tree
Hide file tree
Showing 105 changed files with 952 additions and 841 deletions.
119 changes: 65 additions & 54 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -557,74 +557,84 @@ set(POCKETDB pocketdb)
add_library(${POCKETDB}
pocketdb/migrations/base.h
pocketdb/migrations/main.h
pocketdb/migrations/main.cpp
pocketdb/migrations/web.h
pocketdb/migrations/web.cpp

pocketdb/models/base/PocketTypes.h
pocketdb/models/base/Base.h
pocketdb/models/base/Payload.h
pocketdb/models/base/Transaction.h
pocketdb/models/base/TransactionInput.h
pocketdb/models/base/TransactionOutput.h
pocketdb/models/base/SocialTransaction.h
pocketdb/models/base/Rating.h
pocketdb/models/base/DtoModels.h
pocketdb/models/dto/Default.h
pocketdb/models/dto/Coinbase.h
pocketdb/models/dto/Coinstake.h
pocketdb/models/dto/Post.h
pocketdb/models/dto/User.h
pocketdb/models/dto/ScoreContent.h
pocketdb/models/dto/ScoreComment.h
pocketdb/models/dto/Blocking.h
pocketdb/models/dto/BlockingCancel.h
pocketdb/models/dto/CommentEdit.h
pocketdb/models/dto/CommentDelete.h
pocketdb/models/dto/Subscribe.h
pocketdb/models/dto/SubscribePrivate.h
pocketdb/models/dto/SubscribeCancel.h
pocketdb/models/dto/Complain.h
pocketdb/models/dto/Video.h
pocketdb/models/dto/AccountSetting.h
pocketdb/models/dto/ContentDelete.h
pocketdb/models/dto/BoostContent.h
pocketdb/migrations/main.cpp
pocketdb/migrations/web.cpp
pocketdb/models/base/Base.h
pocketdb/models/base/Base.cpp
pocketdb/models/base/Payload.h
pocketdb/models/base/Payload.cpp
pocketdb/models/base/Transaction.h
pocketdb/models/base/Transaction.cpp
pocketdb/models/base/TransactionInput.h
pocketdb/models/base/TransactionInput.cpp
pocketdb/models/base/TransactionOutput.h
pocketdb/models/base/TransactionOutput.cpp
pocketdb/models/base/SocialTransaction.h
pocketdb/models/base/SocialTransaction.cpp
pocketdb/models/base/Rating.h
pocketdb/models/base/Rating.cpp
pocketdb/models/dto/Default.cpp
pocketdb/models/dto/Coinbase.cpp
pocketdb/models/dto/Coinstake.cpp
pocketdb/models/dto/Content.h
pocketdb/models/dto/Content.cpp
pocketdb/models/dto/Post.cpp
pocketdb/models/dto/Video.cpp
pocketdb/models/dto/Article.h
pocketdb/models/dto/Article.cpp
pocketdb/models/dto/User.cpp
pocketdb/models/dto/ScoreContent.cpp
pocketdb/models/dto/ScoreComment.cpp
pocketdb/models/dto/Blocking.cpp
pocketdb/models/dto/BlockingCancel.cpp
pocketdb/models/dto/Comment.h
pocketdb/models/dto/Comment.cpp
pocketdb/models/dto/CommentEdit.cpp
pocketdb/models/dto/CommentDelete.cpp
pocketdb/models/dto/Subscribe.cpp
pocketdb/models/dto/SubscribePrivate.cpp
pocketdb/models/dto/SubscribeCancel.cpp
pocketdb/models/dto/Complain.cpp
pocketdb/models/dto/AccountSetting.cpp
pocketdb/models/dto/ContentDelete.cpp

pocketdb/models/dto/money/Default.h
pocketdb/models/dto/money/Default.cpp
pocketdb/models/dto/money/Coinbase.h
pocketdb/models/dto/money/Coinbase.cpp
pocketdb/models/dto/money/Coinstake.h
pocketdb/models/dto/money/Coinstake.cpp

pocketdb/models/dto/account/User.h
pocketdb/models/dto/account/User.cpp
pocketdb/models/dto/account/Setting.h
pocketdb/models/dto/account/Setting.cpp
pocketdb/models/dto/account/Delete.h
pocketdb/models/dto/account/Delete.cpp

pocketdb/models/dto/content/Content.h
pocketdb/models/dto/content/Content.cpp
pocketdb/models/dto/content/ContentDelete.h
pocketdb/models/dto/content/ContentDelete.cpp
pocketdb/models/dto/content/Post.h
pocketdb/models/dto/content/Post.cpp
pocketdb/models/dto/content/Video.h
pocketdb/models/dto/content/Video.cpp
pocketdb/models/dto/content/Article.h
pocketdb/models/dto/content/Article.cpp
pocketdb/models/dto/content/Comment.h
pocketdb/models/dto/content/Comment.cpp
pocketdb/models/dto/content/CommentEdit.h
pocketdb/models/dto/content/CommentEdit.cpp
pocketdb/models/dto/content/CommentDelete.h
pocketdb/models/dto/content/CommentDelete.cpp

pocketdb/models/dto/action/ScoreContent.h
pocketdb/models/dto/action/ScoreContent.cpp
pocketdb/models/dto/action/ScoreComment.h
pocketdb/models/dto/action/ScoreComment.cpp
pocketdb/models/dto/action/Blocking.h
pocketdb/models/dto/action/Blocking.cpp
pocketdb/models/dto/action/BlockingCancel.h
pocketdb/models/dto/action/BlockingCancel.cpp
pocketdb/models/dto/action/Subscribe.h
pocketdb/models/dto/action/Subscribe.cpp
pocketdb/models/dto/action/SubscribePrivate.h
pocketdb/models/dto/action/SubscribePrivate.cpp
pocketdb/models/dto/action/SubscribeCancel.h
pocketdb/models/dto/action/SubscribeCancel.cpp
pocketdb/models/dto/action/Complain.h
pocketdb/models/dto/action/Complain.cpp
pocketdb/models/dto/action/BoostContent.h
pocketdb/models/dto/action/BoostContent.cpp

pocketdb/models/dto/moderation/Flag.h
pocketdb/models/dto/moderation/Flag.cpp

pocketdb/models/web/WebTag.h
pocketdb/models/web/WebContent.h
pocketdb/models/dto/BoostContent.cpp
pocketdb/models/web/SearchRequest.h

pocketdb/models/shortform/ShortForm.h
pocketdb/models/shortform/ShortForm.cpp
pocketdb/models/shortform/ShortTxData.h
Expand Down Expand Up @@ -1127,8 +1137,9 @@ add_library(${POCKETCOIN_SERVER}
pocketdb/consensus/social/Subscribe.hpp
pocketdb/consensus/social/SubscribeCancel.hpp
pocketdb/consensus/social/SubscribePrivate.hpp
pocketdb/consensus/social/User.hpp
pocketdb/consensus/social/AccountUser.hpp
pocketdb/consensus/social/AccountSetting.hpp
pocketdb/consensus/social/AccountDelete.hpp
pocketdb/consensus/social/ContentDelete.hpp
pocketdb/consensus/social/BoostContent.hpp
pocketdb/consensus/moderation/Flag.hpp
Expand Down
94 changes: 48 additions & 46 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ POCKETDB_H = \
pocketdb/consensus/social/Subscribe.hpp \
pocketdb/consensus/social/SubscribeCancel.hpp \
pocketdb/consensus/social/SubscribePrivate.hpp \
pocketdb/consensus/social/User.hpp \
pocketdb/consensus/social/AccountUser.hpp \
pocketdb/consensus/social/AccountSetting.hpp \
pocketdb/consensus/social/ContentDelete.hpp \
\
Expand All @@ -194,28 +194,29 @@ POCKETDB_H = \
pocketdb/models/base/Payload.h \
pocketdb/models/base/DtoModels.h \
\
pocketdb/models/dto/Default.h \
pocketdb/models/dto/Coinbase.h \
pocketdb/models/dto/Coinstake.h \
pocketdb/models/dto/Content.h \
pocketdb/models/dto/Post.h \
pocketdb/models/dto/ContentDelete.h \
pocketdb/models/dto/BoostContent.h \
pocketdb/models/dto/AccountSetting.h \
pocketdb/models/dto/User.h \
pocketdb/models/dto/ScoreContent.h \
pocketdb/models/dto/ScoreComment.h \
pocketdb/models/dto/Blocking.h \
pocketdb/models/dto/BlockingCancel.h \
pocketdb/models/dto/Comment.h \
pocketdb/models/dto/CommentEdit.h \
pocketdb/models/dto/CommentDelete.h \
pocketdb/models/dto/Subscribe.h \
pocketdb/models/dto/SubscribePrivate.h \
pocketdb/models/dto/SubscribeCancel.h \
pocketdb/models/dto/Complain.h \
pocketdb/models/dto/Video.h \
pocketdb/models/dto/Article.h \
pocketdb/models/dto/money/Default.h \
pocketdb/models/dto/money/Coinbase.h \
pocketdb/models/dto/money/Coinstake.h \
pocketdb/models/dto/content/Content.h \
pocketdb/models/dto/content/Post.h \
pocketdb/models/dto/content/ContentDelete.h \
pocketdb/models/dto/action/BoostContent.h \
pocketdb/models/dto/account/Delete.h \
pocketdb/models/dto/account/Setting.h \
pocketdb/models/dto/account/User.h \
pocketdb/models/dto/action/ScoreContent.h \
pocketdb/models/dto/action/ScoreComment.h \
pocketdb/models/dto/action/Blocking.h \
pocketdb/models/dto/action/BlockingCancel.h \
pocketdb/models/dto/content/Comment.h \
pocketdb/models/dto/content/CommentEdit.h \
pocketdb/models/dto/content/CommentDelete.h \
pocketdb/models/dto/action/Subscribe.h \
pocketdb/models/dto/action/SubscribePrivate.h \
pocketdb/models/dto/action/SubscribeCancel.h \
pocketdb/models/dto/action/Complain.h \
pocketdb/models/dto/content/Video.h \
pocketdb/models/dto/content/Article.h \
pocketdb/models/dto/moderation/Flag.h \
\
pocketdb/models/web/WebTag.h \
Expand Down Expand Up @@ -285,29 +286,30 @@ POCKETDB_CPP = \
pocketdb/web/PocketRpc.cpp \
pocketdb/web/WebRpcUtils.cpp \
\
pocketdb/models/dto/Default.cpp \
pocketdb/models/dto/Coinbase.cpp \
pocketdb/models/dto/Coinstake.cpp \
pocketdb/models/dto/Content.cpp \
pocketdb/models/dto/Post.cpp \
pocketdb/models/dto/ContentDelete.cpp \
pocketdb/models/dto/BoostContent.cpp \
pocketdb/models/dto/AccountSetting.cpp \
pocketdb/models/dto/User.cpp \
pocketdb/models/dto/ScoreContent.cpp \
pocketdb/models/dto/ScoreComment.cpp \
pocketdb/models/dto/Blocking.cpp \
pocketdb/models/dto/BlockingCancel.cpp \
pocketdb/models/dto/Comment.cpp \
pocketdb/models/dto/CommentEdit.cpp \
pocketdb/models/dto/CommentDelete.cpp \
pocketdb/models/dto/Subscribe.cpp \
pocketdb/models/dto/SubscribePrivate.cpp \
pocketdb/models/dto/SubscribeCancel.cpp \
pocketdb/models/dto/Complain.cpp \
pocketdb/models/dto/Video.cpp \
pocketdb/models/dto/BoostContent.cpp \
pocketdb/models/dto/Article.cpp \
pocketdb/models/dto/money/Default.cpp \
pocketdb/models/dto/money/Coinbase.cpp \
pocketdb/models/dto/money/Coinstake.cpp \
pocketdb/models/dto/content/Content.cpp \
pocketdb/models/dto/content/Post.cpp \
pocketdb/models/dto/content/ContentDelete.cpp \
pocketdb/models/dto/action/BoostContent.cpp \
pocketdb/models/dto/account/Setting.cpp \
pocketdb/models/dto/account/Delete.cpp \
pocketdb/models/dto/account/User.cpp \
pocketdb/models/dto/action/ScoreContent.cpp \
pocketdb/models/dto/action/ScoreComment.cpp \
pocketdb/models/dto/action/Blocking.cpp \
pocketdb/models/dto/action/BlockingCancel.cpp \
pocketdb/models/dto/content/Comment.cpp \
pocketdb/models/dto/content/CommentEdit.cpp \
pocketdb/models/dto/content/CommentDelete.cpp \
pocketdb/models/dto/action/Subscribe.cpp \
pocketdb/models/dto/action/SubscribePrivate.cpp \
pocketdb/models/dto/action/SubscribeCancel.cpp \
pocketdb/models/dto/action/Complain.cpp \
pocketdb/models/dto/content/Video.cpp \
pocketdb/models/dto/action/BoostContent.cpp \
pocketdb/models/dto/content/Article.cpp \
pocketdb/models/dto/moderation/Flag.cpp \
pocketdb/models/shortform/ShortForm.cpp \
pocketdb/models/shortform/ShortAccount.cpp \
Expand Down
6 changes: 3 additions & 3 deletions src/consensus/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ struct Params {
unsigned int nStakeMinAge;
int64_t nPosTargetSpacing;
int64_t nPosTargetTimespan;
int64_t nStakeCombineThreshold;
int64_t nStakeCombineThreshold; // Minimum required SUM of coinstake inputs
int64_t nStakeSplitThreshold;
int64_t nStakeMinimumThreshold;
int64_t nStakeMaximumThreshold;
int64_t nStakeMinimumThreshold; // Minimum required value if single (!) coinstake input
int64_t nStakeMaximumThreshold; // Maximum meaningful sum of coinstake inputs

int nDailyBlockCount;
unsigned int nModifierInterval;
Expand Down
4 changes: 2 additions & 2 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ void ShutdownPocketServices()
PocketDb::ChainRepoInst.Destroy();
PocketDb::RatingsRepoInst.Destroy();
PocketDb::ConsensusRepoInst.Destroy();
PocketDb::NotifierRepoInst.Destroy();
PocketDb::MigrationRepoInst.Destroy();

PocketDb::SQLiteDbInst.DetachDatabase("web");
Expand Down Expand Up @@ -223,7 +222,7 @@ void Shutdown(NodeContext& node)

if (notifyClientsThread)
notifyClientsThread->Stop();

StopHTTPRPC();
StopREST();
StopSTATIC();
Expand Down Expand Up @@ -485,6 +484,7 @@ void SetupServerArgs(NodeContext& node)
argsman.AddArg("-skip-validation=<n>", "Skip consensus check and validation before N block logic if running with -reindex or -reindex-chainstate", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
argsman.AddArg("-reindex-start", "Start block for -reindex logic (Deafult: 0)", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
argsman.AddArg("-mempoolclean", "Clean mempool on loading and delete or non blocked transactions from sqlite db", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
argsman.AddArg("-disconnectlast", "Disconnect latest blocks up to the specified height (Default: -1)", false, OptionsCategory::COMMANDS);

#if HAVE_SYSTEM
argsman.AddArg("-startupnotify=<cmd>", "Execute command on startup.", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
Expand Down
4 changes: 0 additions & 4 deletions src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,7 @@ CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCo
// Look for an existing connection
CNode* pnode = FindNode(static_cast<CService>(addrConnect));
if (pnode)
{
LogPrintf("Failed to open new connection, already connected\n");
return nullptr;
}
}

/// debug print
Expand All @@ -430,7 +427,6 @@ CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCo
if (pnode)
{
pnode->MaybeSetAddrName(std::string(pszDest));
LogPrintf("Failed to open new connection, already connected\n");
return nullptr;
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/pocketdb/SQLiteDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "validation.h"
#include <node/ui_interface.h>

#include "pocketdb/services/Serializer.h"
// #include "pocketdb/services/Serializer.h"

namespace PocketDb
{
Expand Down Expand Up @@ -62,7 +62,6 @@ namespace PocketDb
ChainRepoInst.Init();
RatingsRepoInst.Init();
ConsensusRepoInst.Init();
NotifierRepoInst.Init();
SystemRepoInst.Init();
MigrationRepoInst.Init();

Expand Down
1 change: 1 addition & 0 deletions src/pocketdb/consensus/Base.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ namespace PocketConsensus
SocialConsensusResult_SelfFlag = 64,
SocialConsensusResult_ExceededLimit = 65,
SocialConsensusResult_LowReputation = 66,
SocialConsensusResult_AccountDeleted = 67,
};

static inline string SocialConsensusResultString(SocialConsensusResult code)
Expand Down
11 changes: 8 additions & 3 deletions src/pocketdb/consensus/Helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ namespace PocketConsensus
VideoConsensusFactory SocialConsensusHelper::m_videoFactory;
ArticleConsensusFactory SocialConsensusHelper::m_articleFactory;
AccountSettingConsensusFactory SocialConsensusHelper::m_accountSettingFactory;
UserConsensusFactory SocialConsensusHelper::m_userFactory;
AccountDeleteConsensusFactory SocialConsensusHelper::m_accountDeleteFactory;
AccountUserConsensusFactory SocialConsensusHelper::m_accountUserFactory;
CommentConsensusFactory SocialConsensusHelper::m_commentFactory;
CommentEditConsensusFactory SocialConsensusHelper::m_commentEditFactory;
CommentDeleteConsensusFactory SocialConsensusHelper::m_commentDeleteFactory;
Expand Down Expand Up @@ -161,8 +162,10 @@ namespace PocketConsensus
{
case ACCOUNT_SETTING:
return m_accountSettingFactory.Instance(height)->Check(tx, static_pointer_cast<AccountSetting>(ptx));
case ACCOUNT_DELETE:
return m_accountDeleteFactory.Instance(height)->Check(tx, static_pointer_cast<AccountDelete>(ptx));
case ACCOUNT_USER:
return m_userFactory.Instance(height)->Check(tx, static_pointer_cast<User>(ptx));
return m_accountUserFactory.Instance(height)->Check(tx, static_pointer_cast<User>(ptx));
case CONTENT_POST:
return m_postFactory.Instance(height)->Check(tx, static_pointer_cast<Post>(ptx));
case CONTENT_VIDEO:
Expand Down Expand Up @@ -216,8 +219,10 @@ namespace PocketConsensus
{
case ACCOUNT_SETTING:
return m_accountSettingFactory.Instance(height)->Validate(tx, static_pointer_cast<AccountSetting>(ptx), pBlock);
case ACCOUNT_DELETE:
return m_accountDeleteFactory.Instance(height)->Validate(tx, static_pointer_cast<AccountDelete>(ptx), pBlock);
case ACCOUNT_USER:
return m_userFactory.Instance(height)->Validate(tx, static_pointer_cast<User>(ptx), pBlock);
return m_accountUserFactory.Instance(height)->Validate(tx, static_pointer_cast<User>(ptx), pBlock);
case CONTENT_POST:
return m_postFactory.Instance(height)->Validate(tx, static_pointer_cast<Post>(ptx), pBlock);
case CONTENT_VIDEO:
Expand Down
Loading

0 comments on commit 297fe2e

Please sign in to comment.