File: help_bitcoin_block.fqtest

package info (click to toggle)
fq 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 106,624 kB
  • sloc: xml: 2,835; makefile: 250; sh: 241; exp: 57; ansic: 21
file content (20 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$ fq -h bitcoin_block
bitcoin_block: Bitcoin block decoder

Options
=======

  has_header=false  Has blkdat header

Decode examples
===============

  # Decode file as bitcoin_block
  $ fq -d bitcoin_block . file
  # Decode value as bitcoin_block
  ... | bitcoin_block
  # Decode file using bitcoin_block options
  $ fq -d bitcoin_block -o has_header=false . file
  # Decode value as bitcoin_block
  ... | bitcoin_block({has_header:false})