     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25

    // Below flags apply in the context of BIP 68
    // If this flag set, CTxIn::nSequence is NOT interpreted as a
    // relative lock-time.
    pub const SEQUENCE_LOCKTIME_DISABLE_FLAG: u32 = 1u32 << 31;

    // Setting nSequence to this value for every input in a transaction
    // disables nLockTime.
    pub const SEQUENCE_FINAL: u32 = 0xffffffff;

    // If CTxIn::nSequence encodes a relative lock-time and this flag
    // is set, the relative lock-time has units of 512 seconds,
    // otherwise it specifies blocks with a granularity of 1.
    pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22);

    // If CTxIn::nSequence encodes a relative lock-time, this mask is
    // applied to extract that lock-time from the sequence field.
    pub const SEQUENCE_LOCKTIME_MASK: u32 = 0x0000ffff;

    /// Threshold for `nLockTime`: below this value it is interpreted as block number,
    /// otherwise as UNIX timestamp.
    pub const LOCKTIME_THRESHOLD: u32 = 500000000; // Tue Nov  5 00:53:20 1985 UTC

    /// Number of Satoshis in single coin
    pub const SATOSHIS_IN_COIN: u64 = 100_000_000;

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse 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`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)