tpuproxy/pkg/ipld/ipldsch/ledger.ipld

25 lines
403 B
Plaintext

type Block struct {
kind Int
slot Int
entries [ Link ]
shredding [ Shredding ]
} representation tuple
type Shredding struct {
entryEndIdx Int
shredEndIdx Int
} representation tuple
type Entry struct {
kind Int
numHashes Int
hash Hash
txs TransactionList
} representation tuple
type Hash bytes
type TransactionList [ Link ]
type Transaction bytes