• Stars
    star
    179
  • Rank 214,039 (Top 5 %)
  • Language
    TeX
  • Created over 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lightning Network Paper

Lightning Network Paper

This is the Bitcoin Lightning Network paper.

Paper PDF: http://lightning.network/lightning-network-paper.pdf

#Compiling/Editing

Paper is in LaTeX format. Diagrams are in dia, but may remake the diagrams in inkscape for cleanliness.

Updating bibliography

If you're not familiar with latex, updating bibliography requires running:

pdflatex new.tex
bibtex new
pdflatex new.tex
pdflatex new.tex

Generating figures

requires dia

cd figures
python dia2pdf.py

Formatting

By default, there is a text width of 80 characters unless there is an explicit need to go longer.

If you want to do formatting of paragraphs, the vim settings are:

:set tw=80

If you want to reflow text, it's

<ESC>gqj

If you want to reflow an entire paragraph, it's

<ESC>gq}

There are a couple places where reflowing will break (primarily in figures where it's sensitive to linebreaks).