HelixNetwork / pendulum

Pendulum is a distributed messaging protocol that enables globally available tamper proof timestamps :hourglass_flowing_sand:
https://dev.hlx.ai
Other
10 stars 6 forks source link

Publish milestone together with virtual transactions #188

Open dzhelezov opened 4 years ago

dzhelezov commented 4 years ago

Currently a milestone is published without trunk and branch. This issue should replace this with a milestone + virtual transaction as described in the spec

cristina-vasiu commented 4 years ago

A virtual transaction, is a non value transaction with the following differences from a normal non value transaction:

These transactions are created when milestone is published if tips list is greater than 1. If there is only on tip, that one is also the merkle tree and it already exists in tangle.

For tips no virtual transaction are computed, there should be already transaction in tangle for them. Right now all virtual transactions are attached to tangle, should be updated after 'Reconstruct virtual transactions locally #189'