-
Notifications
You must be signed in to change notification settings - Fork 75
Conversation
This look fine apart from the colour handling. the idea is to have high level values in the AST like For example the previous header hash should be a new |
👍 handle colors with additional @vincenthz i have two questions:
|
I think I can help with that:
|
I only see something like a public key under I don't see any addresses in |
Checking out the cardano code reveals what I was misunderstanding:
@NicolasDP From this I suppose it would make sense for us to four types, but i'm not yet sure which are used for what
|
You don't need AddressHash, it is hidden in the While TxId would be useful, it is not in the data structure to be displayed. But it is still a Hash, so no need to duplicate it in its special sum_type constructor. |
implementing aux requests noted in a comment in #90; also see commit messages
previous_hash
(field ofBlockHeader
)block_signature
(field ofConsensus
)Val::List<Vec<Value>>
, use it for lists like transactions and the long list in genesisblocksPretty
for genesis blocks (use same approach asblockchain::normal::Block
implementations)main block
genesis block