Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lightningnetwork/paper

Lightning Network Paper
https://github.com/lightningnetwork/paper

latex lightning lightning-network lightning-network-paper paper protocol

Last synced: 3 months ago
JSON representation

Lightning Network Paper

Awesome Lists containing this project

README

        

# Lightning Network Paper

This is the Bitcoin Lightning Network paper.

Paper PDF: [http://lightning.network/lightning-network-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
```
gqj
```

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

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