fn load_headers(daemon: &Daemon) -> Result<HeaderList> {
    let tip = daemon.getbestblockhash()?;
    let mut headers = HeaderList::empty();
    let new_headers = headers.order(daemon.get_new_headers(&headers, &tip)?);
    headers.apply(new_headers);
    Ok(headers)
}
/// An efficient parser for Bitcoin blk*.dat files.
An efficient parser for Bitcoin blk*.dat files.
An efficient parser for Bitcoin blk * . dat files .
fn load_headers(daemon: &Daemon) -> Result<HeaderList> {
    let tip = daemon.getbestblockhash()?;
    let mut headers = HeaderList::empty();
    let new_headers = headers.order(daemon.get_new_headers(&headers, &tip)?);
    headers.apply(new_headers);
    Ok(headers)
}
fn load_headers ( daemon : & Daemon ) -> Result < HeaderList > { let tip = daemon . getbestblockhash ( ) ? ; let mut headers = HeaderList :: empty ( ) ; let new_headers = headers . order ( daemon . get_new_headers ( & headers , & tip ) ? ) ; headers . apply ( new_headers ) ; Ok ( headers ) }
An efficient parser for Bitcoin blk*.dat files.
An efficient parser for Bitcoin blk * . dat files .
daemon
&Daemon
daemon
&Daemon