Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть IOTA tutorial 16: normalizedBundleHash

  • Mobilefish.com
  • 2018-03-09
  • 946
IOTA tutorial 16: normalizedBundleHash
IOTA tutorial 16 normalizedBundleHashIOTA tutorial 16IOTA bundlehashIOTA normalizedBundleHashIOTA normalisedBundleHashIOTA normalised BundleHashIOTA normalized BundleHashIOTA redistribute weightIOTA balancing seesawIOTA normalizing BundleHashIOTA normalising BundleHashIOTA create signatureIOTA validate signatureIOTA transactionObjectIOTA normalise BundleHashIOTA normalize BundleHashIOTA tryte MIOTA obsoleteTag
  • ok logo

Скачать IOTA tutorial 16: normalizedBundleHash бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно IOTA tutorial 16: normalizedBundleHash или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку IOTA tutorial 16: normalizedBundleHash бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео IOTA tutorial 16: normalizedBundleHash

If you like this video and want to support me, go this page for my donation crypto addresses:
   / mobilefish  

This is part 16 of the IOTA tutorial.

How the normalizedBundleHash is created, see:
https://github.com/iotaledger/iota.li...
Bundle.prototype.normalizedBundle = function(bundleHash)

The normalizedBundleHash is created by using the bundleHash.
If you do not know what the bundleHash is, watch IOTA tutorial 15.

The normalizedBundleHash is used to create or validate a signature.
This will be explained in detail in IOTA tutorial 17.

Divide the bundleHash in 3 parts, each part has 27 trytes:
bundleHash = NBBKCKPFECRKCDIBKSTHZYZKSXF EUPTIJRK9FECFKPTTSWTLUWGIFS 9AHSDT9LASABRD9KDVFJ9GT9CKA
part0: NBBKCKPFECRKCDIBKSTHZYZKSXF
part1: EUPTIJRK9FECFKPTTSWTLUWGIFS
part2: 9AHSDT9LASABRD9KDVFJ9GT9CKA

For each part convert each tryte to its decimal value.
part0: N=-13,B=2,B=2,K=11,..
part1: E=5,U=-6,P=-11,T=-7,..
part2: 9=0,A=1,H=8,S=-8,..

For each part calculate the sum.
part0: sum = -13 + 2 + 2 + 11,.. = 45
part1: sum = 5 + -6 + -11 + -7,.. = 5
part2: sum = 0 + 1 + 8 + -8,.. = 42

In this tutorial we assume the bundleHash (=81 trytes) is already created, for example:
bundleHash = NBBKCKPFECRKCDIBKSTHZYZKSXFEUPTIJRK9FECFKPTTSWTLUWGIFS9AHSDT9LASABRD9KDVFJ9GT9CKA

If the sum is greater or equal than 0, the part has more "weight" on the right side.
For each part the goal is to redistribute the "weight" evenly.
This is done by taking the first tryte of the part and reduce its tryte value by 1 and calculate the sum.
Check if the sum is smaller than 0, if not keep reducing the tryte value.
If the tryte value is -13, take the next tryte and do the same as before.
Stop the process if the sum is smaller than 0.

If the sum is smaller than 0, the part has more "weight" on the left side.
Again redistribute the "weight" evenly.
This is done by taking the first tryte of the part and increase its tryte value by 1 and calculate the sum.
Check if the sum is greater or equal than 0, if not keep increasing the tryte value.
If the tryte value is +13, take the next tryte and do the same as before.
Stop the process if the sum is greater or equal than 0.

You can think of normalizing the bundleHash as balancing a seesaw, by manipulating its "weight" (=trytes) to reach a more equilibrium state.

If all 3 parts of the bundleHash are normalized, the normalizedBundleHash is created.
It has the same number of trytes as the bundleHash (81 trytes).
A normalizedBundleHash will not have any tryte value M.
During the creation of the bundleHash, the normalizedBundleHash was also calculated to check if it contained tryte value M.
If the normalizedBundleHash had value M, the obsoleteTag in the first transactionObject of the bundle was updated and the bundleHash was recalculated.
This process was repeated until the normalizedBundleHash did not contained tryte value M.

Question:
Why not having tryte value M in the normalizedBundleHash?

Answer:
The normalizedBundleHash is used to create and validate the signature.
During the creation of the signature (=signatureFragments), tryte value M will reveal a part of the private key.

To recap:
The bundle transactionObject addresses, values, obsoleteTags, timestamps, currentIndexes and lastIndexes are used to calculate the bundelHash.
This bundelHash is added for each transactionObject in the bundle.
To create or validate a signature the normalizedBundleHash is needed.
The normalizedBundleHash is created by extracting the bundleHash from the transactionObject and normalizing the bundleHash.
The normalizedBundleHash contains no tryte value M and the "weights" of the trytes are evenly distributed.

Check out all my other IOTA tutorial videos:
https://goo.gl/aNHf1y

Subscribe to my YouTube channel:
https://goo.gl/61NFzK

The presentation used in this video tutorial can be found at:
https://www.mobilefish.com/developer/...

#mobilefish #howto #iota

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]