Skip to content

Instantly share code, notes, and snippets.

@tyzbit
tyzbit / 1-Users and Use Cases.md
Last active April 23, 2018 05:03
Lightning Network Users and Use Cases

Lightning Network User Use Cases

The Lightning Network is a layer 2 payment network built on top of Bitcoin (and other cryptocurrencies).

It is denominated in the currency of the blockhain upon which it sits (first and primarily Bitcoin), and disputes are settled entirely by the base blockchain (Bitcoin).

Like Bitcoin, it is decentralized. Ultimately, the utility, speed and cost of the network will be defined by

@dweinstein
dweinstein / Dockerfile-nodejs
Last active June 29, 2022 16:59
Install node modules before copying over your working code so that node_modules are built (and cached) before you change your service code!
# ...
ADD package.json /tmp/package.json
RUN cd /tmp && npm install && \
mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/
# ...
WORKDIR /opt/app
ADD . /opt/app