## Black Box 6 months ago, I attempted writing a guide for programming with Hive. I tried [looking at Hive as a black box](/@felixxx/hive-as-a-black-box). I still like that concept, but after reading it all again, I realized that I've jumped too far ahead. I'll try taking shorter strides this time. I also changed the title and theme a little. I am trying to explain the exact same things as in the first guide, just with a different approach and more elaborate. By the end, [the examples I posted recently](/@felixxx/python-requests-for-hive-json-rpc), should make more sense. I'll base the guide around [the publicly available nodes](https://developers.hive.io/quickstart/#quickstart-hive-full-nodes), and I'll further explain, why that doesn't matter, later, but in this part we need to look at how you _would_ install your own Hive node. <center></center> ## Hive Nodes Hive is a software with open [source code](https://github.com/openhive-network/hive). So... you can download the code, compile it and then run a node. (the rhyme!)  ### block_log The Hive blockchain itself gets stored as series of events. The events are all segmented in 3-second intervals, which are called blocks. But in the end, all events end up in one long file called ``block_log``. It's almost like a long tape recording.  ### Hived [Compiling the code for a Hive node](/@gtg/witness-update-release-candidate-for-eclipse-is-out#build-eclipse) will leave you with a ``hived`` binary. That's the ``Hive daemon``. You then need to synchronize your node with the network. This means, your Hive daemon needs to go through all blocks and replay all state changes that happened up until now. In the tape analogy, you could load a block_log into you hived tape recorder and fast forward the tape, going over all past events, called indexing. The Hive daemon watches all events and creates databases in the background. ### tables There are different modules you can activate for your node, called plugins. What's important here: for the most part, the API calls represent _get_ methods for underlying database tables. The blockchain itself only documents the **changes**. For example: The balance of an account is not directly accessible on the blockchain. While the blockchain contains all transfers to and from an account, the final balance needs to be calculated; The data needs to be compiled first, for quick access.  ## Custom Client I'll try to write a hacky guide on how to build your own custom client for Hive. It will enable you to build slim, reliable, customized services for Hive and operate them on a budget. This is approach isn't the best for all applications; If you want to do historical stuff, analyzing large amounts of data, statistics and such things, HiveSQL is better. If you don't know, where else to start, this could be a good bet. However, ironically, I got questions about this stuff myself. ## Questions To some extent, Hive's still a black box to me. I know how to use some of it, but I don't understand how some of it really works. Sometimes, all I can hope for is that one of the gods of Hive takes pity and lets themselves down from the Olymp to answer to a mortal. - Wouldn't witness nodes need tables for things like account balance? How do they know, if someone isn't _stealing_? - ``block_api.get_block_range`` seems to access a table where the block number is a key. Why is there no public method, which starts from the last entry? At least in SQL databases that's a request with _linear_ speed. (And I could get to the head block in one step). [It probably has something to do with block reversibility or rocksDB](/@dan/fractally-s-groundbreaking-new-database-outperforms-lmbdx-eos-hive-chainbase-rocksdb)... The good part is, that it doesn't really matter; I don't have to fully understand all of it. If there was a fundamental flaw in consensus finding, serialization, signing and other such things, it would be too lucrative to exploit it - someone would have found it and we'd know. ## Notes - Since I will be using Python requests, you can use the exact same code to access your own node, locally, or the public nodes, via https. - I will not attempt to sign and broadcast anything for users. I will build a small html + JS based client as example, implementing [keychain](https://github.com/hive-keychain/hive-keychain-extension), because as [the developer portal](https://developers.hive.io/quickstart/#quickstart-hive-full-nodes/) states: >By utilizing Authenticating services, you can eliminate or give more confidence to user, so they are assured their keys are safe. They can securely interact with your application, website or service. - I have medical issues with my hand, so I asked @manclar to help me with the images for these posts, and paid him for it. - This is a work in progress and subject to change. I appreciate all feedback, but please try to not comment 'That's not right' without further explanation. At least provide a link or something. <sub>tagging: @chrislybear, @ana-maria, @arc7icwolf, @slobberchops If you want to be included/excluded from this list of subscribers, please let me know.</sub>
author | felixxx |
---|---|
permlink | a-hacky-guide-to-hive-part-15 |
category | dev |
json_metadata | "{"app":"peakd/2024.8.7","description":"Second attempt at writing a guide for Hive","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/felixxx/23tRr8Yp4tXotCaDyQxBvwuP5vf3E9431i97P6h9dbWU7r74B3GjeGnCc4rCVkEZNdgcS.png","https://files.peakd.com/file/peakd-hive/felixxx/23u5T9MdcSRK9mfZk2nC313eoiiSBMeUGLm1r7SApy1oWkCMfn1BTvkeH9viZhaj3rTB4.png","https://files.peakd.com/file/peakd-hive/felixxx/23tRrRPbsEUHkGdhiZ2WKxvG9YD1upstXFdaqgThCizDn847M2WgDa6aj5e2rSgY1w1Pj.png","https://files.peakd.com/file/peakd-hive/felixxx/23tGTdjW2co6HfV1eVGavf8HSbE8QKkHXJf2Tj6BwFrk3GgbK4Xp1rn6uajuz2EcfTo3w.png"],"tags":["dev","hive-dev","hivedev","hive"],"users":["felixxx","gtg","dan","manclar","chrislybear","ana-maria","arc7icwolf","slobberchops"]}" |
created | 2024-09-16 17:37:15 |
last_update | 2024-09-17 07:35:12 |
depth | 0 |
children | 18 |
last_payout | 2024-09-23 17:37:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 16.332 HBD |
curator_payout_value | 16.294 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,792 |
author_reputation | 216,289,007,274,068 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,127,281 |
net_rshares | 110,343,786,026,980 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
leprechaun | 0 | 6,205,120,741 | 32.5% | ||
juanmiguelsalas | 0 | 7,487,088,219 | 10% | ||
kenny-crane | 0 | 834,899,741,422 | 50% | ||
good-karma | 0 | 11,594,509,351 | 1% | ||
jeffjagoe | 0 | 1,107,761,384,525 | 100% | ||
meesterboom | 0 | 2,149,643,893,772 | 50% | ||
ace108 | 0 | 1,146,104,149,053 | 25% | ||
sazbird | 0 | 8,489,560,084 | 50% | ||
shaka | 0 | 7,844,353,009,517 | 100% | ||
avellana | 0 | 21,098,778,187 | 20% | ||
miketr | 0 | 196,688,017,611 | 60% | ||
oflyhigh | 0 | 4,024,394,344,915 | 100% | ||
wisbeech | 0 | 5,525,830,328 | 50% | ||
pollux.one | 0 | 690,013,264,726 | 80% | ||
uwelang | 0 | 681,971,801,687 | 50% | ||
phusionphil | 0 | 15,425,867,507 | 95% | ||
seckorama | 0 | 74,463,625,525 | 20% | ||
catotune | 0 | 7,738,954,806 | 20% | ||
ssekulji | 0 | 36,106,355,758 | 100% | ||
ana-maria | 0 | 229,146,609,757 | 100% | ||
moretea | 0 | 3,598,672,636 | 10% | ||
bleujay | 0 | 2,137,841,171,299 | 100% | ||
freiheit50 | 0 | 614,848,857 | 99% | ||
redes | 0 | 3,700,924,240,355 | 40% | ||
shadowmyst | 0 | 4,487,494,773 | 100% | ||
esteemapp | 0 | 2,562,395,075 | 1% | ||
bigtakosensei | 0 | 18,468,193,665 | 16% | ||
alexvan | 0 | 18,430,468,468 | 100% | ||
danielsaori | 0 | 570,436,055,591 | 100% | ||
preparedwombat | 0 | 793,787,394,118 | 42% | ||
freebornsociety | 0 | 5,644,380,933 | 10% | ||
mes | 0 | 683,924,630,252 | 100% | ||
morph | 0 | 6,348,471,784 | 50% | ||
uruiamme | 0 | 7,041,962,615 | 60% | ||
ironshield | 0 | 9,106,037,038 | 5% | ||
kilianmiguel | 0 | 2,165,449,491 | 10% | ||
xels | 0 | 324,549,433,425 | 50% | ||
tonyz | 0 | 682,120,642,593 | 76% | ||
leontr | 0 | 2,532,546,814 | 40% | ||
roxane | 0 | 919,396,070 | 50% | ||
joeyarnoldvn | 0 | 462,137,320 | 1.47% | ||
bluemist | 0 | 24,422,785,936 | 10% | ||
unyimeetuk | 0 | 1,214,745,909 | 50% | ||
rafalski | 0 | 1,430,027,259 | 90% | ||
shebe | 0 | 573,401,122 | 6% | ||
vikisecrets | 0 | 734,243,410,936 | 30% | ||
jeanlucsr | 0 | 4,852,402,524 | 8% | ||
etblink | 0 | 331,831,745,404 | 50% | ||
felander | 0 | 609,349,233,035 | 100% | ||
musicgeek | 0 | 1,065,532,591 | 50% | ||
marketinggeek | 0 | 726,102,320 | 100% | ||
sportschain | 0 | 943,801,245 | 50% | ||
accelerator | 0 | 22,999,663,386 | 60% | ||
yogacoach | 0 | 23,819,138,883 | 100% | ||
taskmaster4450 | 0 | 2,023,566,990,363 | 100% | ||
boomerang | 0 | 1,433,721,377,902 | 100% | ||
buttcoins | 0 | 212,577,409,300 | 100% | ||
esteem.app | 0 | 300,276,304 | 1% | ||
josediccus | 0 | 845,900,048,584 | 43% | ||
dandays | 0 | 791,131,140,041 | 50% | ||
der-prophet | 0 | 38,492,337,659 | 16.5% | ||
dkid14 | 0 | 275,418,459,868 | 100% | ||
docmarenkristina | 0 | 790,897,589 | 50% | ||
citizensmith | 0 | 10,866,045,086 | 50% | ||
mytechtrail | 0 | 19,115,031,098 | 15% | ||
b00m | 0 | 93,493,405,778 | 50% | ||
ahmadmangazap | 0 | 1,300,569,496 | 0.5% | ||
elbrava | 0 | 5,888,137,633 | 100% | ||
abeba | 0 | 906,839,656 | 12.5% | ||
bengy | 0 | 1,872,181,960 | 3% | ||
piotrgrafik | 0 | 973,892,785,117 | 80% | ||
aakom | 0 | 466,895,317 | 100% | ||
roger.remix | 0 | 1,272,389,939 | 100% | ||
investyourvote | 0 | 40,629,778,077 | 60% | ||
unconditionalove | 0 | 13,538,543,502 | 50% | ||
franciscomarval | 0 | 4,856,969,239 | 25% | ||
iddaa | 0 | 1,115,505,241 | 25% | ||
ericburgoyne | 0 | 1,386,696,539 | 2.5% | ||
anderssinho | 0 | 27,915,012,584 | 100% | ||
sudefteri | 0 | 26,964,565,376 | 50% | ||
tomhall | 0 | 1,541,161,634,570 | 100% | ||
heruvim78 | 0 | 547,594,646 | 2.5% | ||
mindscapephotos | 0 | 912,983,091 | 100% | ||
asgarth | 0 | 1,338,406,345,916 | 50% | ||
movement19 | 0 | 1,738,827,022 | 6.25% | ||
akifane | 0 | 1,117,739,888 | 50% | ||
russellstockley | 0 | 41,737,802,470 | 35% | ||
chrislybear | 0 | 405,764,462,860 | 100% | ||
jagoe | 0 | 157,030,750,846 | 100% | ||
jglake | 0 | 6,098,065,776 | 20% | ||
wilsonblue5 | 0 | 536,100,182 | 50% | ||
backinblackdevil | 0 | 39,031,520,488 | 100% | ||
satren | 0 | 41,795,512,527 | 30% | ||
nervi | 0 | 36,917,645,554 | 100% | ||
antisocialist | 0 | 275,109,053,846 | 33% | ||
rivalzzz | 0 | 80,440,629,899 | 100% | ||
paragism | 0 | 1,301,118,029 | 40% | ||
flaxz | 0 | 15,072,368,918 | 12% | ||
gadrian | 0 | 237,362,181,509 | 17.6% | ||
inciter | 0 | 7,023,644,470 | 10% | ||
themightyvolcano | 0 | 22,178,219,126 | 100% | ||
bajadera | 0 | 2,332,773,315 | 50% | ||
solominer | 0 | 2,261,171,857,386 | 25% | ||
fw206 | 0 | 4,704,976,587,865 | 61% | ||
slobberchops | 0 | 6,730,500,641,986 | 100% | ||
steempeak | 0 | 656,286,391,344 | 50% | ||
the.rocket.panda | 0 | 11,829,988,244 | 100% | ||
swisswitness | 0 | 551,055,005 | 100% | ||
apshamilton | 0 | 996,392,784,805 | 50% | ||
achim03 | 0 | 1,609,367,435,354 | 80% | ||
radiosteemit | 0 | 4,335,230,098 | 25% | ||
hamismsf | 0 | 338,399,459,541 | 50% | ||
teamvn | 0 | 18,247,333,049 | 14.23% | ||
dalz | 0 | 1,586,943,617,350 | 100% | ||
zuerich | 0 | 800,311,667,031 | 10% | ||
yaelg | 0 | 33,583,067,653 | 45% | ||
belial2412 | 0 | 1,289,026,341 | 50% | ||
fiberfrau | 0 | 551,477,041 | 2.5% | ||
voxmortis | 0 | 11,331,151,600 | 6% | ||
bagpuss | 0 | 6,564,653,161 | 50% | ||
altonos | 0 | 3,323,397,251 | 100% | ||
pixiepost | 0 | 1,302,258,158 | 10% | ||
a-bot | 0 | 14,414,695,835 | 30% | ||
mk992039 | 0 | 802,284,842 | 50% | ||
guurry123 | 0 | 467,552,848 | 1.5% | ||
tussar11 | 0 | 200,258,981,108 | 100% | ||
lagitana | 0 | 1,045,180,857 | 20% | ||
ldp | 0 | 471,860,636 | 100% | ||
berthold | 0 | 10,367,846,010 | 40% | ||
brianoflondon | 0 | 7,645,843,654,162 | 100% | ||
artysteps | 0 | 16,654,018,386 | 100% | ||
peakmonsters | 0 | 259,594,114,962 | 50% | ||
inpursuit | 0 | 6,193,362,585 | 39.45% | ||
captain.future | 0 | 4,428,983,685 | 100% | ||
ketcom | 0 | 12,964,857,768 | 100% | ||
kizumo | 0 | 231,976,642,140 | 100% | ||
kiel91 | 0 | 509,764,416,788 | 100% | ||
starrouge | 0 | 1,016,315,133 | 50% | ||
jpbliberty | 0 | 616,037,431,459 | 100% | ||
mysteriousroad | 0 | 9,001,565,884 | 9% | ||
wherein | 0 | 24,348,963,091 | 100% | ||
bluerobo | 0 | 479,710,470,560 | 100% | ||
zerofive | 0 | 845,869,021 | 50% | ||
escuadron201 | 0 | 80,773,627,554 | 100% | ||
cnstm | 0 | 118,467,173,530 | 100% | ||
likuang007 | 0 | 624,049,044 | 100% | ||
lianjingmedia | 0 | 942,443,901 | 100% | ||
leosoph | 0 | 193,144,175,386 | 100% | ||
pursuant | 0 | 6,135,827,763 | 38.93% | ||
thelogicaldude | 0 | 5,712,999,457 | 12% | ||
sophieandhenrik | 0 | 10,036,769,636 | 50% | ||
blue.rabbit | 0 | 222,786,675,498 | 100% | ||
bigmoneyman | 0 | 527,458,405 | 30% | ||
mybiel | 0 | 5,467,358,950 | 80% | ||
imagenius | 0 | 856,106,482 | 100% | ||
newtrailers | 0 | 21,899,459,631 | 100% | ||
steemvpn | 0 | 38,695,796,728 | 95% | ||
fighter4-freedom | 0 | 385,403,996,954 | 100% | ||
ph1102 | 0 | 2,056,251,036,972 | 70% | ||
kittykate | 0 | 94,011,335,002 | 100% | ||
davidtron | 0 | 2,679,700,324 | 42.5% | ||
investinthefutur | 0 | 88,487,868,143 | 60% | ||
mind.force | 0 | 6,878,622,058 | 25% | ||
milu-the-dog | 0 | 1,171,944,351 | 100% | ||
lrekt01 | 0 | 4,316,790,230 | 65% | ||
scylla1 | 0 | 714,044,193 | 50% | ||
binodkatuwal | 0 | 2,128,670,479 | 100% | ||
maddogmike | 0 | 6,086,397,436 | 4% | ||
ph1102.ctp | 0 | 3,487,007,111 | 80% | ||
iamraincrystal | 0 | 66,376,628,622 | 50% | ||
successchar | 0 | 6,486,982,134 | 40% | ||
elianaicgomes | 0 | 16,893,323,384 | 20% | ||
bradleyarrow | 0 | 4,146,175,571 | 5% | ||
urun | 0 | 9,708,512,315 | 100% | ||
mary.janikowski | 0 | 464,103,698 | 100% | ||
blocktvnews | 0 | 883,228,679 | 50% | ||
sandymeyer | 0 | 237,160,169,587 | 80% | ||
bilpcoin.pay | 0 | 543,445,410 | 10% | ||
manclar | 0 | 20,647,405,940 | 100% | ||
an-sich-wachsen | 0 | 4,743,588,008 | 33% | ||
lnakuma | 0 | 55,249,882,993 | 100% | ||
lotto-de | 0 | 84,883,544,653 | 60% | ||
rcaine | 0 | 9,578,595,621 | 7% | ||
pavelsku | 0 | 15,444,049,225 | 12.5% | ||
iceledy | 0 | 829,123,243 | 100% | ||
gloriaolar | 0 | 23,651,779,912 | 30% | ||
garlet | 0 | 37,015,796,488 | 50% | ||
jennyzer | 0 | 1,598,689,361 | 12.5% | ||
bilpcoinbpc | 0 | 1,133,118,596 | 5% | ||
chmoen | 0 | 821,983,057 | 2.5% | ||
danielhuhservice | 0 | 107,888,357,489 | 33% | ||
kamilla19 | 0 | 71,090,485,668 | 20% | ||
hive-127039 | 0 | 503,211,389 | 25% | ||
dpend.active | 0 | 7,739,210,202 | 20% | ||
monica-ene | 0 | 136,887,901,440 | 100% | ||
zelegations | 0 | 14,411,253,410 | 95% | ||
peakd | 0 | 4,216,755,867,811 | 50% | ||
radiohive | 0 | 6,456,132,500 | 25% | ||
blue-witness | 0 | 1,442,761,543 | 100% | ||
thepeakstudio | 0 | 935,073,609 | 35% | ||
janaliana | 0 | 4,518,219,653 | 80% | ||
hiveghost | 0 | 1,975,381,915 | 50% | ||
timhorton | 0 | 13,978,196,959 | 95% | ||
imfarhad | 0 | 30,204,041,970 | 25% | ||
cerberus-dji | 0 | 3,225,382,971 | 95% | ||
rezoanulvctp | 0 | 2,152,812,724 | 100% | ||
dcityrewards | 0 | 5,298,418,590,082 | 100% | ||
sketching | 0 | 6,668,270,038 | 50% | ||
hivelist | 0 | 80,124,937,073 | 24% | ||
ecency | 0 | 400,671,776,231 | 1% | ||
invest4free | 0 | 6,261,417,349 | 50% | ||
mangowambo | 0 | 303,327,455 | 100% | ||
kvfm | 0 | 534,084,090 | 12.5% | ||
hivehustlers | 0 | 14,158,158,355 | 70% | ||
devpress | 0 | 626,031,539 | 50% | ||
lukeisalive | 0 | 3,851,882,649 | 50% | ||
kaseldz | 0 | 2,747,976,240 | 50% | ||
hivecannabis | 0 | 11,962,649,961 | 95% | ||
improbableliason | 0 | 2,072,221,929 | 50% | ||
laradio | 0 | 1,114,613,271 | 25% | ||
jelly13 | 0 | 4,936,040,619 | 50% | ||
lacrucita | 0 | 1,080,722,411 | 100% | ||
ecency.stats | 0 | 337,778,400 | 1% | ||
herz-ass | 0 | 82,516,024,243 | 100% | ||
recoveryinc | 0 | 7,928,690,318 | 12.5% | ||
aslehansen | 0 | 28,613,215,342 | 80% | ||
liz.writes | 0 | 1,060,059,566 | 50% | ||
dying | 0 | 897,041,710 | 25% | ||
captaincryptic | 0 | 41,046,735,696 | 25% | ||
ctpsb | 0 | 904,248,091,119 | 80% | ||
hive-vpn | 0 | 2,902,061,134 | 95% | ||
nickelbunker | 0 | 30,187,404,825 | 100% | ||
cleydimar2000 | 0 | 2,512,098,492 | 12.5% | ||
mightyrocklee | 0 | 56,500,362,582 | 2.5% | ||
ph1102.ctptrail | 0 | 839,357,083 | 100% | ||
nathalie-s | 0 | 471,978,876 | 2.5% | ||
radiolovers | 0 | 5,210,272,169 | 25% | ||
trcommunity | 0 | 0 | 50% | ||
alberto0607 | 0 | 10,156,811,520 | 25% | ||
dhedge | 0 | 5,035,283,812 | 1% | ||
gato-raro | 0 | 584,806,191 | 100% | ||
heruvim1978 | 0 | 2,024,908,101 | 2.5% | ||
bea23 | 0 | 5,487,525,710 | 25% | ||
yayogerardo | 0 | 901,735,853 | 33% | ||
hive-112281 | 0 | 598,786,819 | 2.5% | ||
behiverctp | 0 | 799,828,046 | 40% | ||
ciudadcreativa | 0 | 927,245,949 | 20% | ||
pvmihalache | 0 | 8,143,581,806 | 5% | ||
samrisso | 0 | 8,619,697,281 | 12.5% | ||
unclefunker | 0 | 736,732,984 | 50% | ||
trostparadox | 0 | 4,209,089,119,981 | 100% | ||
cbridges573 | 0 | 1,096,061,441 | 6% | ||
coinomite | 0 | 1,765,439,910 | 100% | ||
emsenn0 | 0 | 5,818,699,706 | 40% | ||
xyba | 0 | 45,152,010,850 | 100% | ||
vaipraonde | 0 | 28,973,274,379 | 100% | ||
zdigital222 | 0 | 1,573,274,133 | 100% | ||
tomtothetom | 0 | 3,523,016,828 | 25% | ||
liotes | 0 | 7,541,257,195 | 80% | ||
clau-de-sign | 0 | 1,147,303,273 | 40% | ||
liotes.voter | 0 | 3,588,688,224,346 | 80% | ||
horstman5 | 0 | 3,937,053,631 | 80% | ||
kemonine | 0 | 5,099,218,769 | 20% | ||
samseny | 0 | 498,607,647 | 50% | ||
photo-hive-five | 0 | 1,671,673,773 | 100% | ||
almightymelon2nd | 0 | 675,095,225 | 80% | ||
chuxter | 0 | 3,719,143,382 | 80% | ||
hjrrodriguez | 0 | 84,748,653,012 | 100% | ||
sodomlv | 0 | 5,614,850,383 | 100% | ||
egistar | 0 | 3,507,198,201 | 14% | ||
ifarmgirl | 0 | 23,395,331,504 | 4% | ||
rpren | 0 | 755,121,875 | 50% | ||
magnacarta | 0 | 1,060,247,364 | 2.5% | ||
lxsxl | 0 | 29,348,050,628 | 50% | ||
hivehydra | 0 | 853,512,498 | 90% | ||
sodom-lv | 0 | 20,921,400,818 | 100% | ||
podping | 0 | 682,873,919,227 | 100% | ||
meesterbrain | 0 | 583,969,340 | 32.5% | ||
proymet | 0 | 1,577,691,213 | 25% | ||
ourpick | 0 | 516,653,096 | 100% | ||
t-nil | 0 | 1,857,740,013 | 30% | ||
dungeondog | 0 | 67,460,873,435 | 100% | ||
celeste413 | 0 | 1,241,164,011 | 100% | ||
lumpymoon | 0 | 2,639,690,503 | 100% | ||
r0nny | 0 | 34,965,539,973 | 100% | ||
cryptoccshow | 0 | 6,828,575,026 | 50% | ||
bilgin70 | 0 | 21,854,130,152 | 25% | ||
ronymaffi | 0 | 3,375,571,793 | 25% | ||
mozzie5 | 0 | 4,494,870,424 | 25% | ||
rzc24-nftbbg | 0 | 5,132,660,760 | 2.5% | ||
alovely088 | 0 | 617,363,650 | 1% | ||
acantoni | 0 | 3,231,591,047 | 12.5% | ||
xykorlz | 0 | 1,609,973,917 | 10% | ||
eolianpariah2 | 0 | 1,530,015,602 | 0.5% | ||
arc7icwolf | 0 | 183,203,395,364 | 100% | ||
anonymous02 | 0 | 50,139,124,044 | 100% | ||
relf87 | 0 | 39,143,665,266 | 50% | ||
gezellig | 0 | 2,058,657,707 | 50% | ||
catotenor | 0 | 303,481,414 | 20% | ||
alzee | 0 | 1,095,644,473 | 4% | ||
johnripper | 0 | 4,176,522,172 | 40% | ||
chaosmagic23 | 0 | 584,436,212 | 2.5% | ||
addnode | 0 | 295,121,147 | 20% | ||
susurrodmisterio | 0 | 865,511,910 | 12.5% | ||
adventkalender | 0 | 2,392,146,500 | 50% | ||
heteroclite | 0 | 15,695,883,807 | 25% | ||
palomap3 | 0 | 161,895,559,627 | 50% | ||
alex2alex | 0 | 2,086,092,800 | 16% | ||
ryosai | 0 | 3,636,728,091 | 23% | ||
jmis101 | 0 | 1,247,356,949 | 5% | ||
beststart09 | 0 | 906,480,281 | 50% | ||
beststart | 0 | 15,566,553,749 | 5% | ||
lolodens | 0 | 2,298,926,780 | 20% | ||
ipexito | 0 | 759,962,137 | 40% | ||
sayu907 | 0 | 3,424,054,600 | 50% | ||
actifit-chris | 0 | 17,699,323,834 | 100% | ||
sabajfa | 0 | 5,120,888,917 | 40% | ||
visionarystudios | 0 | 11,441,972,868 | 100% | ||
visualblock | 0 | 68,430,883,225 | 25% | ||
kam5iz | 0 | 5,870,789,412 | 35% | ||
criptocuates | 0 | 989,734,795 | 100% | ||
cryoverall | 0 | 713,561,393 | 50% | ||
mukadder | 0 | 60,843,810,161 | 35% | ||
mortsanchezzz | 0 | 4,478,655,071 | 100% | ||
incublus | 0 | 370,375,162,372 | 50% | ||
idksamad78699 | 0 | 961,742,250 | 2.5% | ||
kellymarie | 0 | 488,595,569 | 50% | ||
peak.open | 0 | 15,639,142,147 | 50% | ||
ifarmgirl-leo | 0 | 968,760,890 | 15% | ||
slicense | 0 | 1,940,999,298 | 60% | ||
pegnovak | 0 | 506,743,774 | 50% | ||
megstarbies | 0 | 2,002,418,638 | 100% | ||
mypathtofire2 | 0 | 2,339,658,178 | 50% | ||
duskobgd | 0 | 80,791,841,793 | 100% | ||
psyskiff | 0 | 287,798,827 | 20% | ||
saboin.ctp | 0 | 659,079,445 | 80% | ||
naters | 0 | 521,773,536 | 100% | ||
eosdios | 0 | 322,170,552 | 20% | ||
modestscavo | 0 | 315,683,435 | 20% | ||
lu1sa | 0 | 118,318,631,029 | 100% | ||
tengolotodo.leo | 0 | 597,924,097 | 2.5% | ||
orkangel | 0 | 534,652,284 | 15% | ||
bemier | 0 | 78,768,072,458 | 100% | ||
chinay04 | 0 | 50,627,642,591 | 100% | ||
e-sport-gamer | 0 | 2,569,906,157 | 33% | ||
susieisclever | 0 | 967,297,624 | 5% | ||
nabbas0786 | 0 | 13,143,582,763 | 75% | ||
nhi-nguyen | 0 | 1,484,955,939 | 100% | ||
epiko | 0 | 28,988,894,209 | 72% | ||
e-sport-girly | 0 | 2,050,512,823 | 33% | ||
bihutnetwork | 0 | 1,753,333,128 | 25% | ||
urrirru | 0 | 9,975,412,713 | 100% | ||
foodiefrens | 0 | 484,763,421 | 100% | ||
empo.voter | 0 | 12,749,488,488,696 | 50% | ||
riseofthepixels | 0 | 6,220,392,255 | 50% | ||
kristina247 | 0 | 562,330,332 | 100% | ||
pixels.vault | 0 | 275,743,535,176 | 50% | ||
bellscoin | 0 | 1,992,028,866 | 100% | ||
learn2code | 0 | 1,155,970,575 | 50% | ||
lolz.byte | 0 | 0 | 100% | ||
indiasierra | 0 | 710,832,849 | 2.5% | ||
yahya.umer.hayat | 0 | 4,137,581,203 | 37.5% | ||
hive-188753 | 0 | 983,163,205 | 50% | ||
hive-world-champ | 0 | 35,526,560,705 | 100% | ||
stormgrouper | 0 | 173,586,847 | 20% | ||
bostonadventures | 0 | 510,826,744,372 | 100% | ||
badgirl.barbie | 0 | 0 | 9% |
Thank you for remembering and mentioning me. I probably wouldn't have time to jump into it right away, so I'm bookmarking this post to know where to start. 😉 !ALIVE !LUV !PIZZA
author | ana-maria |
---|---|
permlink | re-felixxx-2024922t222624829z |
category | dev |
json_metadata | {"tags":[],"app":"ecency/4.0.1-vision","format":"markdown+html"} |
created | 2024-09-22 20:26:27 |
last_update | 2024-09-22 20:27:00 |
depth | 1 |
children | 1 |
last_payout | 2024-09-29 20:26:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 181 |
author_reputation | 37,563,041,368,531 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,323,326 |
net_rshares | 0 |
@felixxx, @ana-maria<sub>(1/1)</sub> sent you LUV. | <a href="https://crrdlx.on.fleek.co/" style="text-decoration:none">tools</a> | <a href="https://discord.gg/K5GvNhcPqR" style="text-decoration:none">discord</a> | <a href="https://peakd.com/c/hive-159259">community </a> | <a href="https://hivewiki.netlify.app" style="text-decoration:none">HiveWiki</a> | <a href="https://ichthys.netlify.app" style="text-decoration:none"><>< daily</a> <center>Made with <a href="https://peakd.com/@luvshares" target="_blank">LUV</a> by <a href="https://hive.blog/@crrdlx" target="_blank">crrdlx</a></center>
author | luvshares |
---|---|
permlink | re-re-felixxx-2024922t222624829z-20240922t202706z |
category | dev |
json_metadata | "{"app": "beem/0.24.26"}" |
created | 2024-09-22 20:27:06 |
last_update | 2024-09-22 20:27:06 |
depth | 2 |
children | 0 |
last_payout | 2024-09-29 20:27:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 610 |
author_reputation | 5,651,102,754,153 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,323,334 |
net_rshares | 0 |
Avid reader here! Always ready to learn new coding stuff :)
author | arc7icwolf |
---|---|
permlink | re-felixxx-sjx3ic |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-16 18:03:51 |
last_update | 2024-09-16 18:03:51 |
depth | 1 |
children | 1 |
last_payout | 2024-09-23 18:03:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 59 |
author_reputation | 503,686,741,861,524 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,127,704 |
net_rshares | 0 |
Next post I'll demonstrate a cool example. This time, I had to provide some fundamentals...
author | felixxx |
---|---|
permlink | re-arc7icwolf-sjx404 |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-16 18:14:33 |
last_update | 2024-09-16 18:14:33 |
depth | 2 |
children | 0 |
last_payout | 2024-09-23 18:14:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 91 |
author_reputation | 216,289,007,274,068 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,127,861 |
net_rshares | 0 |
Thank you for mentioning and remembering me about that topic! <3
author | chrislybear |
---|---|
permlink | re-felixxx-sk6ja1 |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-21 20:22:48 |
last_update | 2024-09-21 20:22:48 |
depth | 1 |
children | 0 |
last_payout | 2024-09-28 20:22:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 65 |
author_reputation | 84,678,912,905,760 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,292,867 |
net_rshares | 0 |
It seems to me that you have given a very good explanation of how the blockchain works. I didn't know that events were segmented every 3 seconds. Is there an explanation as to why that time was chosen and not another? > While the blockchain contains all transfers to and from an account, the final balance needs to be calculated; The data needs to be compiled first, for quick access. I find this very interesting, and I would like to read an explanation of how this process is calculated or done. Thanks for the mention and I see that the images in your post look good. Interesting work, I will be waiting to read your hacky guide, and I know that new witnesses like @daddydog will be interested in taking a look. pd: get well soon from your injury on your hand.
author | manclar |
---|---|
permlink | re-felixxx-sjx2zb |
category | dev |
json_metadata | {"tags":"dev"} |
created | 2024-09-16 17:52:24 |
last_update | 2024-09-16 17:53:54 |
depth | 1 |
children | 8 |
last_payout | 2024-09-23 17:52:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 769 |
author_reputation | 327,129,089,386,387 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,127,545 |
net_rshares | 0 |
>It seems to me that you have given a very good explanation of how the blockchain works. I didn't know that events were segmented every 3 seconds. Is there an explanation as to why that time was chosen and not another? Hive has a block time of 3 seconds. Within those 3 seconds all sorts of things must happen; validation of transactions, serialzation, consensus finding and final signing of the block. That takes some time and communication around the globe and stuff. As I understand it, 3 seconds is a limit, because of the speed which data travels with. >I find this very interesting, and I would like to read an explanation of how this process is calculated or done. Uhm... For your account's balance, you just have to go though all blocks and summarize all transfers to and from your account (and all posting rewards and orders on the market and other stuff). In the end, the calculation is a (simple) addition (and subtraction), the result is a sum. With every further transfer, the sum changes.
author | felixxx |
---|---|
permlink | re-manclar-sjx3fj |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-16 18:02:12 |
last_update | 2024-09-16 18:02:12 |
depth | 2 |
children | 7 |
last_payout | 2024-09-23 18:02:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,005 |
author_reputation | 216,289,007,274,068 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,127,679 |
net_rshares | 0 |
> For your account's balance, you just have to go though all blocks and summarize all transfers to and from your account (and all posting rewards and orders on the market and other stuff). In the end, the calculation is a (simple) addition (and subtraction), the result is a sum. With every further transfer, the sum changes. So this implies that the larger the user or blockchain data = the longer the response time will be, or does that not affect the process? 😒
author | manclar |
---|---|
permlink | re-felixxx-sjx3m0 |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-16 18:06:03 |
last_update | 2024-09-16 18:06:03 |
depth | 3 |
children | 6 |
last_payout | 2024-09-23 18:06:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 465 |
author_reputation | 327,129,089,386,387 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,127,734 |
net_rshares | 0 |
Oooh, a newbie tutorial! That's great to see! We need more of these things where things are explained with language understandable for "normies" 😃 Thanks for doing this! --- *I have picked this post on behalf of the @OurPick project! Check out our Reading Suggestions Posts!* [](https://liotes.com/) **Please consider voting for our [Liotes HIVE Witness](https://vote.hive.uno/@liotes). Thank you!**
author | ph1102 |
---|---|
permlink | re-felixxx-sjyc74 |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-17 10:09:03 |
last_update | 2024-09-17 10:09:03 |
depth | 1 |
children | 0 |
last_payout | 2024-09-24 10:09:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 546 |
author_reputation | 970,641,815,814,567 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,159,431 |
net_rshares | 0 |
<center>PIZZA! $PIZZA slices delivered: @ana-maria<sub>(2/5)</sub> tipped @felixxx </center>
author | pizzabot |
---|---|
permlink | re-a-hacky-guide-to-hive-part-15-20240922t202721z |
category | dev |
json_metadata | "{"app": "pizzabot"}" |
created | 2024-09-22 20:27:21 |
last_update | 2024-09-22 20:27:21 |
depth | 1 |
children | 0 |
last_payout | 2024-09-29 20:27:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 97 |
author_reputation | 7,553,614,105,110 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,323,336 |
net_rshares | 0 |
Sorry I have not got back to you, work has ramped up massively and I am involved in a large project now. My Python coding hat may well stay off for a while, at work it's all Powershell.
author | slobberchops |
---|---|
permlink | re-felixxx-sjy76m |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-17 08:20:45 |
last_update | 2024-09-17 08:20:45 |
depth | 1 |
children | 1 |
last_payout | 2024-09-24 08:20:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 185 |
author_reputation | 2,436,340,033,299,072 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,158,305 |
net_rshares | 640,335,118 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bpcvoter2 | 0 | 640,335,118 | 100% |
Thanks for letting me know. Best of luck with your project!
author | felixxx |
---|---|
permlink | re-slobberchops-sjy8gm |
category | dev |
json_metadata | {"tags":["dev"],"app":"peakd/2024.8.7"} |
created | 2024-09-17 08:48:24 |
last_update | 2024-09-17 08:48:24 |
depth | 2 |
children | 0 |
last_payout | 2024-09-24 08:48:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 59 |
author_reputation | 216,289,007,274,068 |
root_title | "A Hacky Guide to Hive (part 1.5)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 137,158,623 |
net_rshares | 0 |