File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,36 @@ You will need several development libraries:
10
10
You will also need a version of bitcoind with segregated witness support,
11
11
such as the 0.13 or above.
12
12
13
- To Build on Ubuntu 15.10 (not needed for 16.04)
13
+ To Build on Ubuntu 16.04
14
+ ---------------------
15
+
16
+ Get dependencies:
17
+ ```
18
+ sudo apt-get install libprotobuf-c-dev libsodium-dev libbase58-dev
19
+ ```
20
+
21
+ Clone lightning and initialize submodules:
22
+ ```
23
+ git clone https://github.com/ElementsProject/lightning.git
24
+ cd lightning
25
+ git submodule init
26
+ git submodule update
27
+ ```
28
+
29
+ Build lightning:
30
+ ```
31
+ make
32
+ ```
33
+
34
+ Running lightning:
35
+ ```
36
+ bitcoind
37
+ ./daemon/lightningd
38
+ ./daemon/lightning-cli help
39
+ ```
40
+ ** Note** : You may need to include ` testnet=1 ` in ` bitcoin.conf `
41
+
42
+ To Build on Ubuntu 15.10
14
43
------------------------
15
44
Build protobuf-c dependency (>= 1.1.0):
16
45
```
@@ -35,6 +64,12 @@ git submodule update
35
64
Build lightning:
36
65
```
37
66
make
67
+ ```
68
+
69
+ Running lightning:
70
+ ```
71
+ bitcoind
38
72
export LD_LIBRARY_PATH=/usr/local/lib
39
73
./daemon/lightningd
74
+ ./daemon/lightning-cli help
40
75
```
You can’t perform that action at this time.
0 commit comments