# Module ethcore::block [−] [src]

Blockchain block.

## Structs

Block | A block, encoded as it is on the block chain.
BlockRef | A set of immutable references to `ExecutedBlock` fields that are publicly accessible.
BlockRefMut | A set of references to `ExecutedBlock` fields that are publicly accessible.
ClosedBlock | Just like `OpenBlock`, except that we've applied `Engine::on_close_block`, finished up the non-seal header fields, and collected the uncles.
ExecutedBlock | An internal type for a block's common elements.
LockedBlock | Just like `ClosedBlock` except that we can't reopen it and it's faster.
OpenBlock | Block that is ready for transactions to be added.
SealedBlock | A block that has a valid seal.

## Traits

Drain | Trait for a object that has a state database.
IsBlock | Trait for a object that is a `ExecutedBlock`.

## Functions

enact | Enact the block given by block header, transactions and uncles
enact_verified | Enact the block given by `block_bytes` using `engine` on the database `db` with given `parent` block header

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)