create account

RE: wKOIN - the automated services have stopped by harpagon

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @mintrawa/re-harpagon-20211016t185351799z

· @harpagon ·
ok ok, wow, tu es bien occupé dis donc 🤣
qu'entends-tu par block file exactement ? tu parses Hive d'une différente façon ?
properties (22)
authorharpagon
permlinkre-mintrawa-r16n1t
categorywkoin
json_metadata{"tags":["wkoin"],"app":"peakd/2021.09.1"}
created2021-10-18 16:56:21
last_update2021-10-18 16:56:21
depth4
children1
last_payout2021-10-25 16:56:21
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_length122
author_reputation20,287,642,226,146
root_title"wKOIN - the automated services have stopped"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,128,277
net_rshares0
@mintrawa ·
Comme le custom_json n'est pas soumis à consensus et pour optimiser ma latence je suis partie sur un système inspiré grandement de HIVE avec un fichier  *block* de la forme:

![screenshot_2021_10_19_100104.jpg](https://images.ecency.com/DQmPSXi5hXVHkaqF6bbrQo44MHsPMRFB2E7kNv8NVxrvePX/screenshot_2021_10_19_100104.jpg)

et un fichier *block_index* contenant la position des blocks dans le fichier *block* (full replay possible avec le fichier *block* et recréation du fichier *block_index*).

la sidechain fonctionne de la façon suivante: 

- soit on envoi une transaction directement à l'un des nodes du réseau 
- soit via un *broadcast.transaction* sur HIVE avec utilisation du memo (dont la taille maxi est de 2kb). Elle est ensuite récupéré par le parser HIVE de n'importe lequel des nodes qui emet un message de transaction aux autres nodes (incluant a la différence de la premiere méthode le numéro de block HIVE et son transaction id).

voili voilou Hahahaha, oui j'occupe bien mes journée et weekend en ce moment 😂
👍  
properties (23)
authormintrawa
permlinkre-harpagon-20211019t102659477z
categorywkoin
json_metadata{"tags":["wkoin"],"app":"ecency/3.0.19-vision","format":"markdown+html"}
created2021-10-19 03:27:00
last_update2021-10-19 03:27:00
depth5
children0
last_payout2021-10-26 03:27: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_length1,023
author_reputation18,694,802,429,423
root_title"wKOIN - the automated services have stopped"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,138,142
net_rshares7,362,321,070
author_curate_reward""
vote details (1)