[][src]Module holochain_core_types::chain_header

This module contains definitions of the ChainHeader struct, constructor, and getters. This struct really defines a local source chain, in the sense that it implements the pointers between hashes that a hash chain relies on, which are then used to check the integrity of data using cryptographic hash functions.

Structs

ChainHeader

ChainHeader of a source chain "Item" The address of the ChainHeader is used as the Item's key in the source chain hash table ChainHeaders are linked to next header in chain and next header of same type in chain

Functions

test_chain_header

returns a dummy header for use in tests

test_chain_header_with_sig

returns a dummy header for use in tests

test_provenances