create account

11th update of 2022 on BlockTrades work on Hive software by blocktrades

View this thread on: hive.blogpeakd.comecency.com
· @blocktrades ·
$250.16
11th update of 2022 on BlockTrades work on Hive software
![blocktrades update.png](https://images.hive.blog/DQmSihw8Kz4U7TuCQa98DDdCzqbqPFRumuVWAbareiYZW1Z/blocktrades%20update.png)

Below are a few highlights of the Hive-related programming issues worked on by the BlockTrades team since my last post.

# Hived (blockchain node software) work

### Refactoring of transaction and block handling code

The primary change associated with this code refactoring is the creation of new `full_transaction` and `full_block` objects to avoid unnecessarily repeating previous computations. These objects are wrappers around the old transaction and block data and they also contain metadata about the original data (for example, a full_block can contain: the compressed binary block data, an uncompressed binary version of the block, the unpacked block decoded into a block header and associated transactions, and various metadata such as the block_id). 

This week, we did a “sync hived from scratch” benchmark with just the above change (none of the changes discussed below yet included) and sync time was down to 23.5hrs (previously took around 48hrs after our p2p optimizations from a while back, and took about a week before that). So, all told, over a 7x speedup so far versus the production version of hived.

We completed the basic refactoring above as of my last report, so this week we focused on further optimizations now available to us after these changes, as discussed below:

### Blockchain thread pool added to speed up block/transaction processing

Probably the most significant such optimization, both now and for the long term, is we’ve added a thread pool that can be used to handle any work that doesn’t need access to chainbase (blockchain state data). This thread pool allows us to speedup a variety of computations that previously loaded down the write_queue thread (block compression/decompression, crypto calculations, pre-checks on operations, etc). 

These changes will result in very significant performance improvements for replay, sync, and live sync modes. We’re still running or setting up benchmarks to measure sync and live sync speedups, but even in basic replay tests where we expect to see the least improvement, we’ve seen a decent speedup: replay time on an AMD 5950X with a 4xnvme raid is down to 5hrs 54mins (with chainbase stored on the nvme raid, not in memory!).

By default, the thread pool is allotted 8 threads, but the thread pool size can be overridden at hived startup using a new command-line/config file option: `--blockchain-thread-pool-size`.

### New json parser for validating custom_json operations (layer 2 operations)

Separately, we also replaced the json parser used to validate custom_json transactions (>60x faster for json validation). Give the large number of custom_json operations stored in the blockchain, this will reduce CPU load substantially. Further improvements can still be made later: we’re not yet using this parser for the API web server and it would provide significant benefits there as well.

### Adding block ids to block_log.index

Currently we don’t directly store block ids in the block_log or block_log.index files, so these had to be dynamically re-computed at run-time, which is computationally expensive (this required block log file to be read, block to be decompressed, hash of block_header to be computed). Retaining these ids in the block_log index will speed up several places where such data is required. The “first round” (and maybe only round, depending on performance results) of this task is expected to be completed tomorrow, then we’ll run benchmarks over the weekend.

In the next phase of this task, we’ll begin benchmarking this new version of the code and experiment with further optimizations.

### Further optimization of OBI (one-block irreversibility) protocol

The optimizations to the OBI protocol are mostly done, but the dev for this work is currently tied up with the refactoring of the transaction and block handling code (task discussed below), so it still needs to be fully completed tested, but I don’t expect this task to take long once it resumes. Based on above rapid progress in blockchain processing optimizations, I believe we should be able to resume and finish optimizations to OBI by sometime next week.

### Hived tests

We continued creating tests for the latest changes, and identified another easily fixed bug in the new code for transaction serialization (problematic code generated two copies of the asset for fee for witness update operation).


# Hive Application Framework (HAF)

We’ve begun re-examination of scripts for backup of HAF database and HAF apps in light of changes to HAF since scripts were created. I expect this task will be completed soon.



# HAF-based hivemind (social media middleware server used by web sites)

We found and fixed a few more issues with HAF-based hivemind last week and we’re testing them now with full syncs and live syncs. I think we’re mostly done here, so remaining big task is to create and test a docker for it to ease deployment.

# Some upcoming tasks

* Allow hived nodes to directly exchange compressed blocks over p2p network.
* Finish up storage of block ids in block_log.index file.
* Test, benchmark, and optimize recent changes to blockchain and p2p layers of hived
* Merge in new RC cost rationalization code (this is blocked by hived optimizations task above because those changes will impact real-world costs of operations).
* Test enhancements to one-block irreversibility (OBI) algorithm.
* Finish testing and dockerize HAF-based hivemind and use docker image in CI tests.
* Test above on production API node to confirm real-world performance improvements.
* Collect benchmarks for a hafah app operating in “irreversible block mode” and compare to a hafah app operating in “normal” mode (low priority)
* Continue testing hived using updated blockchain converter for mirrornet.

# When hardfork 26?

Based on progress this week, we’re still on track for a hardfork at the end of July. We’ve updated the HF date in the develop branch to reflect this plan, and if no surprise issues pop up before Monday, it will be time to notify exchanges of the planned hardfork date.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 854 others
👎  ,
properties (23)
authorblocktrades
permlink11th-update-of-2022-on-blocktrades-work-on-hive-software
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","blockchain","software","blocktrades"],"image":["https://images.hive.blog/DQmSihw8Kz4U7TuCQa98DDdCzqbqPFRumuVWAbareiYZW1Z/blocktrades%20update.png"],"app":"hiveblog/0.1","format":"markdown"}
created2022-06-30 23:00:27
last_update2022-06-30 23:00:27
depth0
children35
last_payout2022-07-07 23:00:27
cashout_time1969-12-31 23:59:59
total_payout_value125.180 HBD
curator_payout_value124.979 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6,194
author_reputation1,156,438,563,344,944
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id114,463,901
net_rshares427,532,598,090,481
author_curate_reward""
vote details (920)
@arcange ·
$2.03
During the 4 years during which Steemit inc was in charge of code management, we never witnessed improvements of this magnitude, quite the opposite.
I'm really impressed with the optimization work that has been done lately. Kudos!

Hardforks are less frequent and sometimes delayed, but I feel much more confident about their stability and the benefits they will provide for the future of Hive.<div class="pull-right"><a href="/@hive.engage">![](https://i.imgur.com/XsrNmcl.png)</a></div>
👍  , , , ,
properties (23)
authorarcange
permlinkre-1656646367350
categoryhive-139531
json_metadata{"app":"engage"}
created2022-07-01 03:32:45
last_update2022-07-01 03:32:45
depth1
children1
last_payout2022-07-08 03:32:45
cashout_time1969-12-31 23:59:59
total_payout_value1.018 HBD
curator_payout_value1.016 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length488
author_reputation1,065,052,397,217,617
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,469,334
net_rshares3,536,810,251,024
author_curate_reward""
vote details (5)
@cmmemes ·
they weren't calked Stinc for nothing :P
properties (22)
authorcmmemes
permlinkre-arcange-202271t71538180z
categoryhive-139531
json_metadata{"tags":["ecency"],"app":"ecency/3.0.30-mobile","format":"markdown+html"}
created2022-07-01 04:15:39
last_update2022-07-01 04:15:39
depth2
children0
last_payout2022-07-08 04:15:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length40
author_reputation87,913,808,695,984
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,470,098
net_rshares0
@bestbroplayer ·
How long do you think it takes to get the "smart contracts" on hive? I know about hivemind and next hard-fork and so on, but could you give some estimate like 6 months from next hf we should be done or in beta, 1 year max for final product or so. It is hard to guess without expertice on this field and I've had too high expectations in the past. Thinking about investing some money.
properties (22)
authorbestbroplayer
permlinkre-blocktrades-repz5b
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-08 20:48:54
last_update2022-07-08 20:48:54
depth1
children0
last_payout2022-07-15 20:48:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length383
author_reputation1,821,598,983,167
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,685,968
net_rshares0
@borislavzlatanov ·
How did you learn the intricacies of the internal blockchain mechanics such as peer-to-peer layer, write queue, block handling, irreversibility and so on? I imagine this is extremely rare knowledge. And there are various approaches out there that various blockchains are trying that don't seem to result in much scalability.
properties (22)
authorborislavzlatanov
permlinkre-blocktrades-redx2n
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-02 08:32:48
last_update2022-07-02 08:32:48
depth1
children2
last_payout2022-07-09 08:32:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length324
author_reputation5,686,425,684,581
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,501,948
net_rshares0
@blocktrades ·
I've been programming for about 40 years now, and most of that time was spent developing "high performance" code where speed and memory consumption was very important. Over time, that allowed me to develop a lot of techniques for estimating code performance, and also analyze and fixing unexpected performance problems. 

This experience often gives me an advantage even against very skilled programmers when it comes to figuring out which algorithm will work best in practice in the real world. Knowing what's likely to work and what's likely to fail, without having to go down the wrong path first, is really beneficial when it comes to coding because it saves a lot of time, and time is always at a premium.

As far as blockchain coding goes, my relative experience is much shorter: I started blockchain coding back in 2013. But the fundamentals of high performance coding (e.g. selection of proper data structures, algorithms for working with parallel threads, efficient  memory management) are applicable to most of blockchain-related programming , so the primary new things I had to learn were concepts associated with cryptography. And while the low-level math for this is complex, the higher level conceptual understanding needed to employ cryptographic algorithms as a blockchain programmer isn't that hard to gain.

Long story short: while there are certainly high-profile cases where blockchain projects have failed due to cryptographic mistakes, most of the scaling problems are due to a lack of experience in fundamentals of high performance computing. And while "fundamentals" may imply something that is easy to learn, it's not.
properties (22)
authorblocktrades
permlinkreeuay
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-07-02 20:30:36
last_update2022-07-02 20:30:36
depth2
children1
last_payout2022-07-09 20:30:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,643
author_reputation1,156,438,563,344,944
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,517,480
net_rshares0
@borislavzlatanov ·
Thanks a lot for taking the time to share. Very interesting. So you have a huge amount of experience with developing high-performance applications which enables you to foresee the implications of design decisions in advance, so you don't get stuck in a local maximum. And you see the scaling problems in the blockchain world as mostly stemming from a lack of experience in high-performance computing?

I am reading the explanations in your blog posts with great interest. From this current one, it sounded like you pinpointed a few areas where computation on the same thing was done more than once, or unnecessarily expensive computation (e.g. accessing chainbase) was done for a whole class of things instead of selectively only when needed, or computation could be avoided if some block metadata (such as block ids) is stored. On a conceptual level, all these changes make very good sense, but I don't know the complexity of diagnosing and making them in practice. Still, taking full sync time from a week to a day, and then further to maybe 5 hours, sounds astonishing and perhaps something that previous blockchain devs could have seen if they had familiarity with the whole codebase. Or maybe you are explaining it in a simple way and you save us a lot of the complexity of what's involved. 

Do any of these performance optimizations result in lessening of security?
properties (22)
authorborislavzlatanov
permlinkre-blocktrades-refwua
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-03 10:22:57
last_update2022-07-03 10:22:57
depth3
children0
last_payout2022-07-10 10:22:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,372
author_reputation5,686,425,684,581
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,528,421
net_rshares0
@cocacolaron ·
great job guys!
properties (22)
authorcocacolaron
permlinkre-blocktrades-rebqgx
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-01 04:15:00
last_update2022-07-01 04:15:00
depth1
children0
last_payout2022-07-08 04:15:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length15
author_reputation217,603,501,017,464
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,470,078
net_rshares0
@elgringoviejo ·
👍💪🇦🇷
👎  
properties (23)
authorelgringoviejo
permlinkre-blocktrades-2022630t203958204z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","blockchain","software","blocktrades"],"app":"ecency/3.0.30-mobile","format":"markdown+html"}
created2022-06-30 23:40:00
last_update2022-06-30 23:40:00
depth1
children0
last_payout2022-07-07 23:40:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4
author_reputation271,715,728,222
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,464,782
net_rshares-2,760,273,273
author_curate_reward""
vote details (1)
@fjcalduch ·
![Good Job! animado.gif](https://files.peakd.com/file/peakd-hive/fjcalduch/AJj2ZLoyWvVci8QrJHKw48HhzEoWAqWLKS89Zq9GLdcdVHsSpH6Yg9uzuUo31kL.gif)
properties (22)
authorfjcalduch
permlinkre-blocktrades-reczvo
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-01 20:35:48
last_update2022-07-01 20:35:48
depth1
children0
last_payout2022-07-08 20:35:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length145
author_reputation57,793,890,011,288
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,489,365
net_rshares0
@hivebuzz ·
Congratulations @blocktrades! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@blocktrades/payout.png?202206301446"></td><td>You received more than 1740000 HP as payout for your posts, comments and curation.<br>Your next payout target is 1745000 HP.<br><sub>The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD</sub></td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@blocktrades) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pud-202207"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202207">Hive Power Up Day - July 1st 2022</a></td></tr><tr><td><a href="/nftforpeace/@hivebuzz/nft-for-peace-update1"><img src="https://images.hive.blog/64x128/https://i.imgur.com/tBCp4ps.png"></a></td><td><a href="/nftforpeace/@hivebuzz/nft-for-peace-update1">NFT for peace - Thank you for your continuous support</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/199)!
properties (22)
authorhivebuzz
permlinknotify-blocktrades-20220630t230942
categoryhive-139531
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2022-06-30 23:09:42
last_update2022-06-30 23:09:42
depth1
children0
last_payout2022-07-07 23:09:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,596
author_reputation367,848,027,147,051
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,464,115
net_rshares0
@hivebuzz ·
Congratulations @blocktrades! Your post has been a top performer on the Hive blockchain and you have been rewarded with the following badge:

<table><tr><td><img src="https://images.hive.blog/60x60/http://hivebuzz.me/badges/toppayoutday.png"></td><td>Post with the highest payout of the day.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@blocktrades) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pum-202207"><img src="https://images.hive.blog/64x128/https://i.imgur.com/M9RD8KS.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202207">The 7th edition of the Hive Power Up Month starts today!</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pud-202207"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202207">Hive Power Up Day - July 1st 2022</a></td></tr><tr><td><a href="/nftforpeace/@hivebuzz/nft-for-peace-update1"><img src="https://images.hive.blog/64x128/https://i.imgur.com/tBCp4ps.png"></a></td><td><a href="/nftforpeace/@hivebuzz/nft-for-peace-update1">NFT for peace - Thank you for your continuous support</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/199)!
properties (22)
authorhivebuzz
permlinknotify-blocktrades-20220701t030957
categoryhive-139531
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2022-07-01 03:09:57
last_update2022-07-01 03:09:57
depth1
children0
last_payout2022-07-08 03:09:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,595
author_reputation367,848,027,147,051
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,468,981
net_rshares0
@hivetrending ·
$0.08
A question was asked in Discord today regarding the RC cost rationalization changes. Is there a rough idea of what impact this will have on the costs of various operations? i.e. will custom_json ops increase in cost more quickly during network congestion? 
👍  
properties (23)
authorhivetrending
permlinkre-blocktrades-rebchq
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-06-30 23:13:03
last_update2022-06-30 23:13:03
depth1
children2
last_payout2022-07-07 23:13:03
cashout_time1969-12-31 23:59:59
total_payout_value0.038 HBD
curator_payout_value0.038 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length256
author_reputation56,528,995,182,801
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,464,190
net_rshares132,116,891,208
author_curate_reward""
vote details (1)
@andablackwidow ·
$0.12

New costs of operations are all over the place. Some became very cheap, some really costly. When it comes to custom_json, based on historical transactions the cost went slightly up, however once the optimized parser is factored in, it might actually go down.
There is new mechanism that measures resource popularity in time window (currently a day), so when you try to do the same as everybody else (f.e. play Splinterlands), the cost might still go up, however if in the same time you try to do something else (f.e. write a comment) the cost might go down, because the state resource that comments require won't be as popular at that moment.
The biggest unknown is change in user behavior. HF26 introduces RC delegation mechanism, which might free up a lot of RC that so far was unused or burned on free account tokens. More used RC means higher level of resource consumption which rises RC cost of everything.
👍  ,
properties (23)
authorandablackwidow
permlinkre-hivetrending-202272t02729562z
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"ecency/3.0.23-surfer","format":"markdown+html"}
created2022-07-01 22:27:21
last_update2022-07-01 22:27:21
depth2
children0
last_payout2022-07-08 22:27:21
cashout_time1969-12-31 23:59:59
total_payout_value0.058 HBD
curator_payout_value0.059 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length913
author_reputation66,033,026,154,142
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,492,020
net_rshares200,431,086,682
author_curate_reward""
vote details (2)
@blocktrades ·
$2.02
I don't have a firm answer yet, because RC costs depend on real costs, and code optimizations are changing the real costs. A good example is the new json parser lowered CPU cost of custom_json ops. But probably the biggest change will be that we're now accounting for signature costs, which was previously ignored by RC calculator. 

So RC costs will be one of the last things we know, as it will be last change to hived before hardfork.

But I do suspect that costs of custom_json will go up (because of aforementioned signature time being included in costs now) and the RC code does increase costs during network congestion. Making that work optimally though will likely require tuning.
👍  , , ,
properties (23)
authorblocktrades
permlinkrebczu
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-06-30 23:23:54
last_update2022-06-30 23:23:54
depth2
children0
last_payout2022-07-07 23:23:54
cashout_time1969-12-31 23:59:59
total_payout_value1.011 HBD
curator_payout_value1.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length688
author_reputation1,156,438,563,344,944
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,464,441
net_rshares3,440,075,013,787
author_curate_reward""
vote details (4)
@hopestylist ·
This is amazing. 

Recently I've been having some challenges with my node on peakd. The favorite list just stopped working, I tried switching to another node which was recommended but it's still the same. Please is there anything I'm wrong, if yes how do I solve this problem?
properties (22)
authorhopestylist
permlinkre-blocktrades-202271t03911878z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","blockchain","software","blocktrades"],"app":"ecency/3.0.24-vision","format":"markdown+html"}
created2022-06-30 23:39:15
last_update2022-06-30 23:39:15
depth1
children7
last_payout2022-07-07 23:39:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length276
author_reputation266,488,003,589,832
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,464,762
net_rshares0
@asgarth ·
$0.24
Hey, thanks for reaching out. Can you check how many accounts are in your list? More than 100?

Also if possible can you reach out on PeakD Discord? https://discord.gg/PFb7V4W
👍  ,
properties (23)
authorasgarth
permlinkre-hopestylist-red1c8
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-01 21:07:21
last_update2022-07-01 21:07:21
depth2
children1
last_payout2022-07-08 21:07:21
cashout_time1969-12-31 23:59:59
total_payout_value0.122 HBD
curator_payout_value0.122 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length175
author_reputation37,723,649,651,424
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,490,099
net_rshares412,275,296,738
author_curate_reward""
vote details (2)
@hopestylist ·
$0.04
I think I will just reach out on discord. 
👍  
properties (23)
authorhopestylist
permlinkre-asgarth-202272t0020668z
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"ecency/3.0.24-vision","format":"markdown+html"}
created2022-07-01 23:00:24
last_update2022-07-01 23:00:24
depth3
children0
last_payout2022-07-08 23:00:24
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.020 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length42
author_reputation266,488,003,589,832
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,492,597
net_rshares69,221,702,455
author_curate_reward""
vote details (1)
@blocktrades ·
I don't know how favorites is implemented on peakd, so I can't be sure. If they are stored as custom_json data (which would be my best guess), then it could be node-related, but if so, switching to another node should probably have fixed it, unless there is something unusual about your account (e.g. a lot of transactions).
👍  
properties (23)
authorblocktrades
permlinkrebnp3
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-07-01 03:15:03
last_update2022-07-01 03:15:03
depth2
children4
last_payout2022-07-08 03:15:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length324
author_reputation1,156,438,563,344,944
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,469,071
net_rshares4,247,644,071
author_curate_reward""
vote details (1)
@hopestylist ·
Hmm, I don't really know what json data is and I've not made too much transactions as well.

How do I know if it's store as json data? 
properties (22)
authorhopestylist
permlinkre-blocktrades-202271t8152742z
categoryhive-139531
json_metadata{"tags":["ecency"],"app":"ecency/3.0.24-vision","format":"markdown+html"}
created2022-07-01 07:15:06
last_update2022-07-01 07:15:06
depth3
children3
last_payout2022-07-08 07:15:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length135
author_reputation266,488,003,589,832
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,472,822
net_rshares0
@ismaelrd04 ·
nice work
properties (22)
authorismaelrd04
permlinkre-blocktrades-2022630t81227946z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","blockchain","software","blocktrades"],"app":"ecency/3.0.24-vision","format":"markdown+html"}
created2022-07-01 01:54:27
last_update2022-07-01 01:54:27
depth1
children0
last_payout2022-07-08 01:54:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9
author_reputation128,777,197,808,043
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,467,572
net_rshares0
@mintrawa ·
A lot of work will be made for this new HardFork  👍 Thank you
properties (22)
authormintrawa
permlinkre-blocktrades-202271t185238917z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","blockchain","software","blocktrades"],"app":"ecency/3.0.24-vision","format":"markdown+html"}
created2022-07-01 11:52:39
last_update2022-07-01 11:52:39
depth1
children0
last_payout2022-07-08 11:52:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length61
author_reputation18,694,802,429,423
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,477,128
net_rshares0
@myrv ·
I think that it is so impressive that you work that goes into maintaining this hive ledger. Despite the fact that we still have so many people who have from day one wanted hive to fall apart and fail, yet  It just keeps getting better. I appreciate all your work keeping this chain ticking.
properties (22)
authormyrv
permlinkre-blocktrades-202271t2849196z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","blockchain","software","blocktrades"],"app":"ecency/3.0.30-mobile","format":"markdown+html"}
created2022-07-01 08:08:51
last_update2022-07-01 08:08:51
depth1
children0
last_payout2022-07-08 08:08:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length290
author_reputation546,226,260,351
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,473,566
net_rshares0
@niallon11 ·
Sounds like everything is going to plan at the moment.

That's brilliant work from the blocktrades team and I have seen Hive going from strength to strength over the past couple of years.

I'm especially looking forward to HAF and the possibilities that it opens up for the growth of the eco-system once it is up and running.

Hopefully we can market it properly to new teams and developers to bring them to hive and start building here.

We have the technology and now we just need to let people know about it.

Congrats on getting this far with the upgrades and expecting lots more to come.



properties (22)
authorniallon11
permlinkre-blocktrades-rec442
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-01 09:09:39
last_update2022-07-01 09:09:39
depth1
children0
last_payout2022-07-08 09:09:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length596
author_reputation497,695,965,052,827
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,474,450
net_rshares0
@petrarodriguez ·
here my visit friend, thanks for supporting me with your vote, greetings and many blessings
properties (22)
authorpetrarodriguez
permlinkre-blocktrades-2022718t153750206z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","blockchain","software","blocktrades"],"app":"ecency/3.0.24-vision","format":"markdown+html"}
created2022-07-18 19:37:51
last_update2022-07-18 19:37:51
depth1
children0
last_payout2022-07-25 19:37:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation102,243,958,210,699
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,965,983
net_rshares0
@poshtoken · (edited)
https://twitter.com/hive_blockchain/status/1542802442152296449
https://twitter.com/Steemadi_/status/1542840766128869378
<sub> The rewards earned on this comment will go directly to the people( @steemadi ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.</sub>
properties (22)
authorposhtoken
permlinkre-blocktrades-11th-update-of-2022-on-blocktrades-work-on-hive-so21335
categoryhive-139531
json_metadata"{"app":"Poshtoken 0.0.1","payoutToUser":["steemadi"]}"
created2022-07-01 09:31:54
last_update2022-07-01 12:04:18
depth1
children0
last_payout2022-07-08 09:31:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length320
author_reputation3,941,318,282,381,984
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id114,474,727
net_rshares0
@silhouetted.grey ·
Thanks guys, this is totally awesome.
properties (22)
authorsilhouetted.grey
permlinkre-blocktrades-rech0e
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-01 13:48:15
last_update2022-07-01 13:48:15
depth1
children0
last_payout2022-07-08 13:48:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length37
author_reputation641,687,965,871
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,479,124
net_rshares0
@taskmaster4450 ·
>task discussed below

Sure, what do you want me to discuss?  😁

The json parser is not something I saw mentioned before but that makes a lot of sense.

In the long run, do you see most of the transactions tied to the chain being Custom JSONs as opposed to direct write functions such as blog posts or comments?

I would think this would make for more efficient operations.

properties (22)
authortaskmaster4450
permlinkre-blocktrades-rebhsl
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-01 01:07:36
last_update2022-07-01 01:07:36
depth1
children2
last_payout2022-07-08 01:07:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length375
author_reputation5,535,534,417,985,722
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,466,704
net_rshares0
@blocktrades ·
Yes, I only started thinking about the json parser recently after some benchmarking showed that it was becoming the next limit on performance after we eliminated some even larger bottlenecks. My original idea was to remove it entirely (one of the other devs was opposed), but then third dev stepped up and pointed out that there were much faster parsers we could use, making us us both happy.

And, yes, this is very important to performance because we can expect that most operations nowadays already are, and will continue to be custom_json, because that's the operation which 2nd layer apps will mostly use (well, we'll probably allow for good custom_binary eventually as well, but that's a story for later).
properties (22)
authorblocktrades
permlinkrebo0u
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-07-01 03:22:06
last_update2022-07-01 03:22:06
depth2
children0
last_payout2022-07-08 03:22:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length711
author_reputation1,156,438,563,344,944
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,469,170
net_rshares0
@cmmemes ·
even the serious people are adopting lame puns. I feel so validated :P
properties (22)
authorcmmemes
permlinkre-taskmaster4450-202271t71656997z
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"ecency/3.0.30-mobile","format":"markdown+html"}
created2022-07-01 04:16:57
last_update2022-07-01 04:16:57
depth2
children0
last_payout2022-07-08 04:16:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length70
author_reputation87,913,808,695,984
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,470,141
net_rshares0
@themarkymark ·
You mention a 7x improvement for full nodes, have you done any timing on strictly consensus or seed node spin up improvement?
👎  , , ,
properties (23)
authorthemarkymark
permlinkre-blocktrades-rec2on
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-07-01 08:38:48
last_update2022-07-01 08:38:48
depth1
children1
last_payout2022-07-08 08:38:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length125
author_reputation1,668,434,821,657,321
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,473,970
net_rshares-444,226,897,385
author_curate_reward""
vote details (4)
@blocktrades ·
The 7x speedup is in full sync of a node from no blocks all the way to head block, and it was measured on a normal consensus/seed node. 

Note that "full node" is mostly a dead concept now, because full node normally implied an account history node which will be replaced by HAF account history app. 

Now there is a "hived node with sql_serializer plugin" that feeds data to postgres, and I haven't done a benchmark for a hived configured this way with new code yet. 

I'm running a few more sync benchmarks of various versions of the code this weekend (to determine which optimizations yielded which gains), and near the end I'll probably have time to try a full sync run with hived+sql_serializer (and probably a replay as well in this configuration).
properties (22)
authorblocktrades
permlinkred1ew
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-07-01 21:08:57
last_update2022-07-01 21:08:57
depth2
children0
last_payout2022-07-08 21:08:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length754
author_reputation1,156,438,563,344,944
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,490,144
net_rshares0
@vickoly ·
These are exceptional, and mind blowing project, keep up the good works.
properties (22)
authorvickoly
permlinkre-blocktrades-rebc1d
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.05.9"}
created2022-06-30 23:03:15
last_update2022-06-30 23:03:15
depth1
children0
last_payout2022-07-07 23:03:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length73
author_reputation498,603,641,763,049
root_title"11th update of 2022 on BlockTrades work on Hive software"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id114,463,942
net_rshares0