File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
docs/src/architecture/08_concepts/immutable_ledger/cddl Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -8,20 +8,19 @@ block = [
88]
99
1010block-header = [
11- chain-id: ULID,
11+ chain-id: UUID, ; UUID v7
1212 height: int,
1313 timestamp: #6.1(uint .ge 1722470400), ; Epoch-based date/time
1414 prev-block-id: hash-bytes, ; hash of the previous block
15- ?ledger-type: UUID,
16- ?purpose-id: ULID / UUID,
15+ ?ledger-type: UUID, ; UUID v4
16+ ?purpose-id: UUID, ; UUID v7
1717 ?validator,
1818 ~metadata,
1919]
2020
2121block-data = encoded-cbor
2222
2323UUID = #6.37(bytes) ; UUID type
24- ULID = #6.32780(bytes) ; ULID type
2524
2625kid = hash-bytes ; hash of the x509/c509 certificate
2726
Original file line number Diff line number Diff line change 22; https://datatracker.ietf.org/doc/html/draft-ietf-cbor-cde-06
33
44genesis-to-prev-hash = [
5- chain-id: ULID,
5+ chain-id: UUID, ; UUID v7
66 timestamp: #6.1(uint .ge 1722470400), ; Epoch-based date/time
7- ledger-type: UUID,
8- purpose-id: ULID / UUID,
7+ ledger-type: UUID, ; UUID v4
8+ purpose-id: UUID, ; UUID v7
99 validator,
1010]
1111
1212UUID = #6.37(bytes) ; UUID type
13- ULID = #6.32780(bytes) ; ULID type
1413
1514validator = (kid / [2* kid])
1615kid = hash-bytes ; hash of the x509/c509 certificate
You can’t perform that action at this time.
0 commit comments