Class: Fabric::BlockDecoder
- Inherits:
-
Object
- Object
- Fabric::BlockDecoder
- Defined in:
- lib/fabric/block_decoder.rb
Class Method Summary collapse
Class Method Details
.decode_block(proposal_block) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/fabric/block_decoder.rb', line 3 def self.decode_block(proposal_block) { header: decode_block_header(proposal_block), data: decode_block_data(proposal_block.data), metadata: (proposal_block.) } end |