commit 449ec013fec4944a8906cb396f75f319515f00e9
parent f5201327d122f016a6f1a2ca784f8581c560eadb
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 25 Oct 2018 19:34:31 +0200
add licence headers to more files
Diffstat:
5 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/electrum/lnbase.py b/electrum/lnbase.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python3
-"""
- Lightning network interface for Electrum
- Derived from https://gist.github.com/AdamISZ/046d05c156aaeb56cc897f85eecb3eb8
-"""
+#
+# Copyright (C) 2018 The Electrum developers
+# Distributed under the MIT software license, see the accompanying
+# file LICENCE or http://www.opensource.org/licenses/mit-license.php
from collections import OrderedDict, defaultdict
import json
diff --git a/electrum/lntransport.py b/electrum/lntransport.py
@@ -1,3 +1,10 @@
+# Copyright (C) 2018 Adam Gibson (waxwing)
+# Copyright (C) 2018 The Electrum developers
+# Distributed under the MIT software license, see the accompanying
+# file LICENCE or http://www.opensource.org/licenses/mit-license.php
+
+# Derived from https://gist.github.com/AdamISZ/046d05c156aaeb56cc897f85eecb3eb8
+
import hashlib
from asyncio import StreamReader, StreamWriter
diff --git a/electrum/lnutil.py b/electrum/lnutil.py
@@ -1,3 +1,7 @@
+# Copyright (C) 2018 The Electrum developers
+# Distributed under the MIT software license, see the accompanying
+# file LICENCE or http://www.opensource.org/licenses/mit-license.php
+
from enum import IntFlag, IntEnum
import json
from collections import namedtuple
diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py
@@ -1,3 +1,7 @@
+# Copyright (C) 2018 The Electrum developers
+# Distributed under the MIT software license, see the accompanying
+# file LICENCE or http://www.opensource.org/licenses/mit-license.php
+
import threading
from typing import NamedTuple, Iterable, TYPE_CHECKING
import os
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -1,3 +1,7 @@
+# Copyright (C) 2018 The Electrum developers
+# Distributed under the MIT software license, see the accompanying
+# file LICENCE or http://www.opensource.org/licenses/mit-license.php
+
import asyncio
import os
from decimal import Decimal