{"id":80122,"date":"2020-05-03T13:42:34","date_gmt":"2020-05-03T11:42:34","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/kak-ya-proektiroval-bloki-i-tranzakczii-v-svoem-blokchejne-na-go"},"modified":"2020-05-03T13:42:34","modified_gmt":"2020-05-03T11:42:34","slug":"kak-ya-proektiroval-bloki-i-tranzakczii-v-svoem-blokchejne-na-go","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-ya-proektiroval-bloki-i-tranzakczii-v-svoem-blokchejne-na-go","title":{"rendered":"Si e projektuam blloqet dhe transaksionet n\u00eb blockchain-in tim n\u00eb Go","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>P\u00ebr t'u siguruar q\u00eb n\u00eb fund t\u00eb krijohej nj\u00eb blockchain dhe jo thjesht nj\u00eb baz\u00eb t\u00eb dh\u00ebnash, na nevojiten 3 elemente t\u00eb r\u00ebnd\u00ebsishme n\u00eb projektin ton\u00eb: <\/p>\n<ul>\n<li> P\u00ebrshkrimi i struktur\u00ebs s\u00eb t\u00eb dh\u00ebnave dhe metodave t\u00eb bllokut<\/li>\n<li> P\u00ebrshkrimi i struktur\u00ebs s\u00eb t\u00eb dh\u00ebnave dhe metodave t\u00eb transaksionit<\/li>\n<li> Funksionet e blockchain q\u00eb ruajn\u00eb blloqet n\u00eb DB dhe i gjejn\u00eb atje sipas hash-it t\u00eb tyre ose lart\u00ebsis\u00eb (ose ndonj\u00eb m\u00ebnyre tjet\u00ebr).<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"Si e projektuam blloqet dhe transaksionet n\u00eb blockchain-in tim n\u00eb Go\" src=\"\/wp-content\/uploads\/2020\/05\/75099a735419b5c2bfbffa82865d1d4a.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nKy \u00ebsht\u00eb artikulli i dyt\u00eb p\u00ebr blockchain n\u00eb industri, i pari <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/499732\/\">k\u00ebtu<\/a><\/noindex>.<\/p>\n<p>Duke iu rikujtuar pyetjeve q\u00eb m\u00eb kan\u00eb b\u00ebr\u00eb lexuesit p\u00ebr artikullin e kaluar t\u00eb k\u00ebtij cikli, duhet t\u00eb theksoj se p\u00ebr ruajtjen e t\u00eb dh\u00ebnave t\u00eb blockchain n\u00eb k\u00ebt\u00eb rast p\u00ebrdoret baza e t\u00eb dh\u00ebnave LevelDB, por asgj\u00eb nuk e ndalon p\u00ebrdorimin e ndonj\u00eb baze tjet\u00ebr, p\u00ebr shembull MySQL. Tani le t\u00eb shqyrtojm\u00eb struktur\u00ebn e k\u00ebtyre t\u00eb dh\u00ebnave.<\/p>\n<p>T\u00eb fillojm\u00eb me transaksionet: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/Rusldv\/bcstartup\/blob\/master\/transaction\/builder.go\">github.com\/Rusldv\/bcstartup\/blob\/master\/transaction\/builder.go<\/a><\/noindex><\/p>\n<p>Ja struktura e saj e t\u00eb dh\u00ebnave:<\/p>\n<pre><code class=\"go\">type TX struct {\n\tDataType byte\t\t\n\tTxHash string \n\tTxType byte\t\n\tTimestamp int64\t\t\n\tINs []TxIn\n\tOUTs []TxOut\n}\n\ntype TxIn struct {\n\tThatTxHash string\n\tTxOutN int\n\tByteCode string\n}\n\ntype TxOut struct {\n\tValue int\n\tByteCode string\n}<\/code><\/pre>\n<p>\nN\u00eb TX ruhet lloji i t\u00eb dh\u00ebnave (p\u00ebr transaksionin 2), hash-i i k\u00ebtij transaksioni, lloji i vet\u00eb transaksionit, vula kohore, si dhe hyrjet dhe daljet. Hyrjet TxIn ruajn\u00eb hash-in e transaksionit, n\u00eb daljen e t\u00eb cilit referohen, numrin e k\u00ebsaj daljeje dhe kodin bajt, nd\u00ebrsa daljet TxOut ruajn\u00eb nj\u00eb vler\u00eb dhe gjithashtu kodin bajt.<\/p>\n<p>Tani le t\u00eb shohim se \u00e7far\u00eb veprimesh mund t\u00eb kryej\u00eb transaksioni me t\u00eb dh\u00ebnat e tij, dometh\u00ebn\u00eb t\u00eb shqyrtojm\u00eb metodat.<\/p>\n<p>P\u00ebr krijimin e nj\u00eb transaksioni sh\u00ebrben funksioni transaction.NewTransaction(txtype byte) *TX.<\/p>\n<p>Metoda AddTxIn(thattxhash []byte, txoutn int, code []byte) (*TxIn, error) shton nj\u00eb hyrje n\u00eb transaksion.<\/p>\n<p>Metoda AddTxOut(value int, data []byte) (*TxOut, error) shton nj\u00eb dalje n\u00eb transaksion.<\/p>\n<p>Metoda ToBytes() []byte e kthen transaksionin n\u00eb nj\u00eb prerje bajtesh.<\/p>\n<p>Funksioni i brendsh\u00ebm preByteHash(bytes []byte) string p\u00ebrdoret n\u00eb Build() dhe Check() p\u00ebr p\u00ebrputhshm\u00ebrin\u00eb e hash-it t\u00eb krijuar t\u00eb transaksioneve me hash-et e transaksioneve t\u00eb gjeneruara nga aplikacione n\u00eb JavaScript.<\/p>\n<p>Metoda Build() cakton hash-in e transaksionit n\u00eb k\u00ebt\u00eb m\u00ebnyr\u00eb: tx.TxHash = preByteHash(tx.ToBytes()).<\/p>\n<p>Metoda ToJSON() string e konverton transaksionin n\u00eb nj\u00eb varg JSON.<\/p>\n<p>Metoda FromJSON(data []byte) error ngarkon transaksionin nga formati JSON, i kaluar n\u00eb form\u00ebn e nj\u00eb prerje bajtesh.<\/p>\n<p>Metoda Check() bool krahason hash-in e marr\u00eb nga fusha e hash-it t\u00eb transaksionit me hash-in e marr\u00eb nga procesi i hash-imit t\u00eb k\u00ebtij transaksioni (pa marr\u00eb parasysh fush\u00ebn e hash-it).<\/p>\n<p>Transaksionet shtohen n\u00eb bllok: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/Rusldv\/bcstartup\/blob\/master\/block\/builder.go\">github.com\/Rusldv\/bcstartup\/blob\/master\/block\/builder.go<\/a><\/noindex><\/p>\n<p>Struktura e t\u00eb dh\u00ebnave t\u00eb bllokut \u00ebsht\u00eb m\u00eb e gjer\u00eb:<\/p>\n<pre><code class=\"go\">tipi Block struct {\n\tDataType byte\t\t\t\t\n\tBlockHeight int\t\t\t\t\t\n        Timestamp int64\t\t\t\t \n        HeaderSize int\t\t\t\t\t\n        PrevBlockHash string\t\t\t\t \n        SelfBlockHash string\t\t\t\n\tTxsHash string\t\t\t\n\tMerkleRoot string\n\tCreatorPublicKey string\t\t\t\n\tCreatorSig string\n\tVersion int\n\tTxsN int\n\tTxs []transaction.TX\n}<\/code><\/pre>\n<p>\nDataType ruan tipin e dh\u00ebnave, me t\u00eb cilin nodi dallon blokun nga transaksionet ose t\u00eb dh\u00ebna t\u00eb tjera. P\u00ebr nj\u00eb blok, ky vler\u00eb \u00ebsht\u00eb 1.<\/p>\n<p>BlockHeight ruan lart\u00ebsin\u00eb e blokut.<br \/>\nTimestamp ruan vul\u00ebn e koh\u00ebs.<br \/>\nHeaderSize ruan madh\u00ebsin\u00eb e blokut n\u00eb byte.<br \/>\nPrevBlockHash \u00ebsht\u00eb hash-i i blokut t\u00eb kaluar, nd\u00ebrsa SelfBlockHash \u00ebsht\u00eb i tanishmi.<br \/>\nTxsHash \u00ebsht\u00eb hash-i total i transaksioneve.<br \/>\nMerkleRoot \u00ebsht\u00eb gishti i pem\u00ebs Merkle.<\/p>\n<p>M\u00eb tej n\u00eb fusha ndodhen \u00e7el\u00ebsi publik i krijuesit t\u00eb blokut, n\u00ebnshkrimi i krijuesit, versioni i bllokut, numri i transaksioneve n\u00eb bllok dhe ndodhen vet\u00eb k\u00ebto transaksione.<\/p>\n<p>Le t\u00eb shqyrtojm\u00eb metodat e tij:<br \/>\nP\u00ebr krijimin e nj\u00eb bloku p\u00ebrdoret funksioni block.NewBlock(): NewBlock(prevBlockHash string, height int) *Block, q\u00eb pranon hash-in e blokut t\u00eb kaluar dhe lart\u00ebsin\u00eb e caktuar p\u00ebr bllokun e krijuar n\u00eb blockchain. Gjithashtu caktuat tipi i bllokut nga konstanta e paket\u00ebs types: <\/p>\n<pre><code class=\"go\">b.DataType = types.BLOCK_TYPE.<\/code><\/pre>\n<p>Metoda AddTx(tx *transaction.TX) shton nj\u00eb transaksion n\u00eb bllok.<\/p>\n<p>Metoda Build() ngarkon vlerat n\u00eb fushat e bllokut dhe gjeneron dhe vendos hash-in e tij t\u00eb tanish\u00ebm.<\/p>\n<p>Metoda ToBytesHeader() []byte konverton titullin e bllokut (pa transaksione) n\u00eb nj\u00eb slice byte.<\/p>\n<p>Metoda ToJSON() string konverton bllokun n\u00eb formatin JSON n\u00eb p\u00ebrfaq\u00ebsimin e t\u00eb dh\u00ebnave si varg.<\/p>\n<p>Metoda FromJSON(data []byte) error ngarkon t\u00eb dh\u00ebnat nga JSON n\u00eb struktur\u00ebn e bllokut.<\/p>\n<p>Metoda Check() bool gjeneron hash-in e bllokut dhe e krahasohet me at\u00eb t\u00eb dh\u00ebn\u00eb n\u00eb fush\u00ebn e hash-it t\u00eb bllokut.<\/p>\n<p>Metoda GetTxsHash() string kthen hash-in total t\u00eb t\u00eb gjitha transaksioneve n\u00eb bllok.<\/p>\n<p>Metoda GetMerkleRoot() vendos gishti i pem\u00ebs Merkle p\u00ebr transaksionet n\u00eb bllok.<\/p>\n<p>Metoda Sign(privk string) n\u00ebnshkruan bllokun me \u00e7el\u00ebsin privat t\u00eb krijuesit t\u00eb bllokut.<\/p>\n<p>Metoda SetHeight(height int) shkruan lart\u00ebsin\u00eb e bllokut n\u00eb fush\u00ebn e struktur\u00ebs s\u00eb bllokut.<\/p>\n<p>Metoda GetHeight() int kthen lart\u00ebsin\u00eb e bllokut ashtu si\u00e7 \u00ebsht\u00eb e caktuar n\u00eb fush\u00ebn p\u00ebrkat\u00ebse t\u00eb struktur\u00ebs s\u00eb bllokut.<\/p>\n<p>Metoda ToGOBBytes() []byte kodon bllokun n\u00eb formatin GOB dhe e kthen at\u00eb si nj\u00eb slice byte.<\/p>\n<p>Metoda FromGOBBytes(data []byte) error shkruan t\u00eb dh\u00ebnat e bllokut n\u00eb struktur\u00ebn e bllokut nga slice-i byte i d\u00ebrguar n\u00eb formatin GOB.<\/p>\n<p>Metoda GetHash() string kthen hash-in e k\u00ebtij blloku.<\/p>\n<p>Metoda GetPrevHash() string kthen hash-in e bllokut t\u00eb kaluar.<\/p>\n<p>Metoda SetPublicKey(pubk string) shkruan n\u00eb bllok \u00e7el\u00ebsin publik t\u00eb krijuesit t\u00eb bllokut.<\/p>\n<p>K\u00ebshtu, duke p\u00ebrdorur metodat e objektit Block, mund ta konvertojm\u00eb leht\u00ebsisht at\u00eb n\u00eb nj\u00eb format p\u00ebr transferim n\u00eb rrjet dhe ruajtje n\u00eb baz\u00ebn e t\u00eb dh\u00ebnave LevelDB.<\/p>\n<p>Funksionet e paket\u00ebs blockchain jan\u00eb p\u00ebrgjegj\u00ebse p\u00ebr ruajtjen n\u00eb blockchain: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/Rusldv\/bcstartup\/tree\/master\/blockchain\">github.com\/Rusldv\/bcstartup\/tree\/master\/blockchain<\/a><\/noindex><\/p>\n<p>P\u00ebr k\u00ebt\u00eb, blloku duhet t\u00eb realizoj\u00eb nd\u00ebrfaqen IBlock:<\/p>\n<pre><code class=\"go\">type IGOBBytes interface {\n\tToGOBBytes() []byte\n\tFromGOBBytes(data []byte) error\n}\n\ntype IBlock interface {\n\tIGOBBytes\n\tGetHash() string\n\tGetPrevHash() string\n\tGetHeight() int\n\tCheck() bool\n\n}<\/code><\/pre>\n<p>\nKufizimi n\u00eb baz\u00ebn e t\u00eb dh\u00ebnave krijohet nj\u00eb her\u00eb gjat\u00eb inicializimit t\u00eb paket\u00ebs n\u00eb funksionin init(): <\/p>\n<pre><code class=\"go\">db, err = leveldb.OpenFile(BLOCKCHAIN_DB_DEBUG, nil).<\/code><\/pre>\n<p>\nCloseDB() \u00ebsht\u00eb nj\u00eb mb\u00ebshtjell\u00ebs p\u00ebr db.Cloce() \u2014 thirret pas p\u00ebrdorimit t\u00eb funksioneve t\u00eb paket\u00ebs p\u00ebr t\u00eb mbyllur lidhjen me baz\u00ebn e t\u00eb dh\u00ebnave.<\/p>\n<p>Funksioni SetTargetBlockHash(hash string) error shkruan n\u00eb baz\u00ebn e t\u00eb dh\u00ebnave hashin e bllokut aktual me \u00e7el\u00ebsin e caktuar nga konstanta BLOCK_HASH.<\/p>\n<p>Funksioni GetTargetBlockHash() (string, error) kthen hashin e bllokut aktual, t\u00eb ruajtur n\u00eb baz\u00ebn e t\u00eb dh\u00ebnave.<\/p>\n<p>Funksioni SetTargetBlockHeight(height int) error shkruan n\u00eb baz\u00ebn e t\u00eb dh\u00ebnave vler\u00ebn e lart\u00ebsis\u00eb s\u00eb blockchain p\u00ebr nod\u00ebn me \u00e7el\u00ebsin e caktuar nga konstanta BLOCK_HEIGHT.<\/p>\n<p>Funksioni GetTargetBlockHeight() (int, error) kthen lart\u00ebsin\u00eb e blockchain p\u00ebr k\u00ebt\u00eb nod\u00eb, t\u00eb ruajtur n\u00eb baz\u00ebn e t\u00eb dh\u00ebnave.<\/p>\n<p>Funksioni CheckBlock(block IBlock) bool kryen kontrollin e bllokut para se t\u00eb shtohet ky bllok n\u00eb blockchain.<\/p>\n<p>Funksioni AddBlock(block IBlock) error shton bllokun n\u00eb blockchain.<\/p>\n<p>Funksionet p\u00ebr marrjen dhe shikimin e bllok\u00ebve ndodhen n\u00eb skedarin explore.go t\u00eb paket\u00ebs blockchain:<\/p>\n<p>Funksioni GetBlockByHash(hash string) (*block.Block, error) krijon nj\u00eb objekt bosh blloku, ngarkon aty bllokun nga baza e t\u00eb dh\u00ebnave i cili ka hashin e d\u00ebrguar dhe kthen nj\u00eb tregues p\u00ebr t\u00eb.<\/p>\n<p>Krijimi i bllokut t\u00eb gjenez\u00ebs realizohet nga funksioni Genesis() error nga skedari genesis.go i paket\u00ebs blockchain.<\/p>\n<p>N\u00eb artikullin vijues do t\u00eb diskutohet lidhja me noden e klient\u00ebve p\u00ebrmes mekanizmit WebSocket.<br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/499930\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u044f\u0441\u044f \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 3 \u0432\u0430\u0436\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430: \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0431\u043b\u043e\u043a\u0430 \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442 \u0431\u043b\u043e\u043a\u0438 \u0432 \u0411\u0414 \u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442 \u0438\u0445 \u0442\u0430\u043c \u043f\u043e \u0438\u0445 \u0445\u0435\u0448\u0443 \u0438\u043b\u0438 \u0432\u044b\u0441\u043e\u0442\u0435 (\u0438\u043b\u0438 \u0435\u0449\u0435 \u043a\u0430\u043a \u043d\u0438\u0431\u0443\u0434\u044c). \u042d\u0442\u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":80123,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-80122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u044f\u0441\u044f \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 3 \u0432\u0430\u0436\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430: \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0431\u043b\u043e\u043a\u0430 \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-ya-proektiroval-bloki-i-tranzakczii-v-svoem-blokchejne-na-go\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041a\u0430\u043a \u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0431\u043b\u043e\u043a\u0438 \u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0432 \u0441\u0432\u043e\u0435\u043c \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0435 \u043d\u0430 Go | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u044f\u0441\u044f \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 3 \u0432\u0430\u0436\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430: \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0431\u043b\u043e\u043a\u0430 \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-ya-proektiroval-bloki-i-tranzakczii-v-svoem-blokchejne-na-go\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-05-03T11:42:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-03T11:42:34+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Si e kam projektuar blloqet dhe transaksionet n\u00eb blockchain tim n\u00eb Go | ProHoster","description":"N\u00eb m\u00ebnyr\u00eb q\u00eb t\u00eb kemi n\u00eb fund nj\u00eb blockchain dhe jo thjesht nj\u00eb baz\u00eb t\u00eb dh\u00ebnash, na nevojitet t\u00eb shtojm\u00eb n\u00eb projektin ton\u00eb 3 elemente t\u00eb r\u00ebnd\u00ebsishme: P\u00ebrshkrimi i struktur\u00ebs s\u00eb t\u00eb dh\u00ebnave dhe metodave t\u00eb blokut.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-ya-proektiroval-bloki-i-tranzakczii-v-svoem-blokchejne-na-go","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041a\u0430\u043a \u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0431\u043b\u043e\u043a\u0438 \u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0432 \u0441\u0432\u043e\u0435\u043c \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0435 \u043d\u0430 Go | ProHoster","og:description":"\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u044f\u0441\u044f \u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 3 \u0432\u0430\u0436\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430: \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0431\u043b\u043e\u043a\u0430 \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-ya-proektiroval-bloki-i-tranzakczii-v-svoem-blokchejne-na-go","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-05-03T11:42:34+00:00","article:modified_time":"2020-05-03T11:42:34+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"80122","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 16:23:29","updated":"2022-09-30 17:12:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/80122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=80122"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/80122\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/80123"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=80122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=80122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=80122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}