Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lightningnetwork/paper
- Owner: lightningnetwork
- Created: 2015-07-20T22:08:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-25T15:53:00.000Z (over 2 years ago)
- Last Synced: 2024-04-22T00:36:34.966Z (10 months ago)
- Topics: latex, lightning, lightning-network, lightning-network-paper, paper, protocol
- Language: TeX
- Homepage: http://lightning.network/lightning-network-paper.pdf
- Size: 111 KB
- Stars: 175
- Watchers: 26
- Forks: 49
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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).