Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIP-46: Tangle Blocks for IOTA 2.0 #149

Draft
wants to merge 113 commits into
base: main
Choose a base branch
from
Draft
Changes from 98 commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
cfbe787
Adapt TIP-47 from TIP-19
PhilippGackstatter May 12, 2023
4f67068
Merge pull request #12 from iotaledger/tip47
muXxer May 12, 2023
54d3faa
Replace TIP-19, add TIP-47 in Readme
PhilippGackstatter May 16, 2023
877c20d
Block and Validation block schema
daria305 May 16, 2023
7282c78
Add slot commitment and signature specs
PhilippGackstatter May 27, 2023
0254ebc
Add Cumulative Weight description
PhilippGackstatter May 30, 2023
b9093f0
Remove PoW fields and validation
PhilippGackstatter May 30, 2023
65e50a2
Update is public key allowed check state
PhilippGackstatter May 30, 2023
23e82c7
Remove block slot == tx slot check
PhilippGackstatter May 30, 2023
91b6e1b
Add `Burned Mana` rationale
PhilippGackstatter May 30, 2023
b86b308
Remove todo
PhilippGackstatter May 30, 2023
766475a
Update transaction type value
PhilippGackstatter May 30, 2023
f61bad1
Remove outdated example
PhilippGackstatter May 31, 2023
1e6d6f7
Add TODO for no of validation block parents
PhilippGackstatter May 31, 2023
d7783eb
Make is pubkey allowed check more precise
PhilippGackstatter May 31, 2023
18b564f
Format markdown, wrap prose
PhilippGackstatter May 31, 2023
2b7488f
Update Mana terminology
cyberphysic4l Jun 2, 2023
843efde
Time restriction
daria305 Jun 5, 2023
52c7f6e
Add Slot Index and Slot Commitment ID calculation
jkrvivian Jul 3, 2023
154fc63
Add Protocol Version to Block layout
jkrvivian Jul 3, 2023
5cbf752
Rename `Account ID` -> `Issuer ID`
PhilippGackstatter Jul 4, 2023
5b4089e
Update time restriction
PhilippGackstatter Jul 4, 2023
54ec8fb
Add commitment and commitment input related semantic validation checks.
cyberphysic4l Jul 4, 2023
566a220
Update wording of commitment input condition; fmt
PhilippGackstatter Jul 5, 2023
fb39d86
Fix `Public Key` casing
PhilippGackstatter Jul 14, 2023
6fb8833
Add epoch index calculation & format
PhilippGackstatter Jul 14, 2023
ca8e3c0
Add Block Wrapper, update Basic and Valid. Block
PhilippGackstatter Jul 14, 2023
14390c3
Update Block ID, Commitment ID and Signature Calc
PhilippGackstatter Jul 14, 2023
85aefe6
Align with code: Use id instead of full commitment
PhilippGackstatter Jul 24, 2023
846f560
Rename `Signature Type` to `Type`
PhilippGackstatter Aug 14, 2023
5161084
Fix signature description
PhilippGackstatter Aug 14, 2023
1a1e301
Fix singing typo
PhilippGackstatter Aug 14, 2023
4b8ecf8
Fix concept typo
PhilippGackstatter Aug 14, 2023
8690b77
Add number of parents validation blocks can ref
PhilippGackstatter Aug 16, 2023
39b6de8
Update `Burned Mana` description
PhilippGackstatter Aug 16, 2023
422beb7
Add Version and RMC to commitment
PhilippGackstatter Aug 17, 2023
1f3835f
Add note on epoch 0 being reserved
PhilippGackstatter Aug 24, 2023
0835c50
Clarify slot and epoch conversions
PhilippGackstatter Aug 24, 2023
b8ef6fb
Update epoch/slot conversion calculations
PhilippGackstatter Aug 28, 2023
e95818e
Clarify slot 0 genesis reservation
PhilippGackstatter Aug 28, 2023
2725ee3
Fix signature link
PhilippGackstatter Sep 6, 2023
e1a7e42
Add constraints for highest supported version
PhilippGackstatter Sep 12, 2023
3636aeb
Remove block id mention in block types
PhilippGackstatter Sep 12, 2023
98e3827
Fix broken link and rm validation block payloads
PhilippGackstatter Sep 13, 2023
9e6711b
Clarify version description
PhilippGackstatter Sep 13, 2023
0fc7c7a
Update tips/TIP-0046/tip-0046.md
PhilippGackstatter Sep 13, 2023
b1cc60f
Add example for BlockID, TransactionID and CommitmentID
jkrvivian Sep 14, 2023
8656062
Add appendix to TOC
jkrvivian Sep 14, 2023
9a2a3e6
Use code block for serialized bytes
jkrvivian Sep 14, 2023
3bcd377
Add work score
PhilippGackstatter Sep 19, 2023
ecd1550
Update work score description
PhilippGackstatter Sep 19, 2023
46128d9
Add work score to ToC
PhilippGackstatter Sep 19, 2023
f078093
Apply suggestions from code review
PhilippGackstatter Sep 19, 2023
45e6a4a
Change Cumulative Weight description
daria305 Sep 20, 2023
000712d
Add Work Score prefixes, move block validation
PhilippGackstatter Sep 20, 2023
8d592d2
Use `Work Score Data Kibibyte`
PhilippGackstatter Sep 20, 2023
1bf055b
Remove superfluous and incorrect check
PhilippGackstatter Sep 20, 2023
64026e9
Add protocol parameter example for validation block
jkrvivian Sep 21, 2023
06b6edf
Update examples
jkrvivian Sep 21, 2023
a487ba3
Add comment to genesisUnixTimestamp
jkrvivian Sep 21, 2023
2958948
Use namespacing for work score parameters
PhilippGackstatter Sep 22, 2023
9f271c6
Rm work score protocol block, update basic block
PhilippGackstatter Sep 25, 2023
21fc627
Fix sparsity typo
PhilippGackstatter Sep 26, 2023
b89fc9b
Move Signature data model to TIP-38
PhilippGackstatter Oct 3, 2023
cd679e1
Fix formula style
PhilippGackstatter Oct 3, 2023
37ec284
Update types containing a slot index
PhilippGackstatter Oct 16, 2023
d9d3ecf
Add author
daria305 Oct 17, 2023
aa334b7
Remove Transaction ID test vector (moved to 45)
PhilippGackstatter Oct 17, 2023
b9758fc
Update test vectors
PhilippGackstatter Oct 17, 2023
a1e657f
Add authors & fmt
PhilippGackstatter Oct 17, 2023
11711ef
Remove outdated TIP-47
PhilippGackstatter Oct 17, 2023
4174339
Revert changes to README and TIP-19
PhilippGackstatter Oct 17, 2023
8143114
Merge pull request #21 from iotaledger/chore/replace-tip19
PhilippGackstatter Oct 17, 2023
e3c6f96
Update RMC description regarding the index
daria305 Oct 18, 2023
0695584
Polish block validation rules
PhilippGackstatter Oct 23, 2023
612705a
Remove missing parents work score penalty
PhilippGackstatter Oct 23, 2023
5a98152
Remove manually added Table of Contents
PhilippGackstatter Oct 24, 2023
3a94ef6
Use new Work Score Paramter name
PhilippGackstatter Oct 24, 2023
99df0bd
Merge remote-tracking branch 'tips-draft/main' into tip46
PhilippGackstatter Oct 24, 2023
9d4a725
Update to new block schemas
PhilippGackstatter Oct 31, 2023
2c9c70d
Update Block ID & Sig calculation
PhilippGackstatter Oct 31, 2023
746da43
Fix Protocol Params Hash type
PhilippGackstatter Oct 31, 2023
2aae381
Fix Validation block body typo
PhilippGackstatter Oct 31, 2023
19a0954
Remove erroneously added `Payload Length`
PhilippGackstatter Nov 2, 2023
4ec11fa
Reference TIP-53 Tagged Data instead
PhilippGackstatter Nov 2, 2023
afabbc2
Inline `Parent`s
PhilippGackstatter Nov 3, 2023
7e18acf
Update Tagged Data description
PhilippGackstatter Nov 20, 2023
97405b8
Update Block ID test vectors
PhilippGackstatter Nov 27, 2023
65a3cc5
Add Genesis Slot to timestamp-slot conversion
PhilippGackstatter Nov 29, 2023
f0a11df
Add Candidacy Announcement Payload
PhilippGackstatter Nov 30, 2023
427010b
Use testnet parameters for test vectors
PhilippGackstatter Dec 11, 2023
cad51e1
Make test vectors consistent with TIP-49 example
PhilippGackstatter Dec 13, 2023
e18947f
Heed `omitempty` in test vectors
PhilippGackstatter Dec 19, 2023
645e78b
Update test vector for split input types
PhilippGackstatter Dec 19, 2023
3f16870
Inline max block length
PhilippGackstatter Dec 21, 2023
df5640c
Fix syntactic correctness, add work score
PhilippGackstatter Dec 21, 2023
1fc5dc9
Fix block id test vectors
PhilippGackstatter Jan 10, 2024
af619c4
Fix metadata feature in account in test vector
PhilippGackstatter Jan 19, 2024
5625e7f
Fix Tagged Data TIP reference
PhilippGackstatter Jan 19, 2024
474511f
Add Candidacy Announcement work score
PhilippGackstatter Jan 22, 2024
d4663c5
Clarify work score for `Max Burned Mana`
PhilippGackstatter Jan 23, 2024
fc9c51f
Update test vector with pub key hash block iss key
PhilippGackstatter Jan 25, 2024
4e8a204
Remove signature from block work score
PhilippGackstatter Jan 25, 2024
334f5d7
Move Signature Work Score to TIP-38
PhilippGackstatter Jan 25, 2024
80fc217
Fix work score in test vectors
PhilippGackstatter Jan 30, 2024
fcb2adf
Point links to TIPs on GitHub
PhilippGackstatter Feb 2, 2024
398edf9
Revert "Point links to TIPs on GitHub"
PhilippGackstatter Feb 2, 2024
6607da5
Point links to GitHub tips
PhilippGackstatter Feb 2, 2024
688788a
Add Commitment Input to header commitment rule
PhilippGackstatter Feb 15, 2024
a2661d2
Account for Genesis Slot in Epoch index calc
PhilippGackstatter Feb 16, 2024
cd5bdfb
Set Max Burned Mana realistically in test vectors
PhilippGackstatter Mar 5, 2024
4875e8b
Validation Block test vector update
PhilippGackstatter Mar 5, 2024
61af444
Add missing top-level Block syntactic validation
PhilippGackstatter Mar 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading