SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
5 changed files with
23 additions and
4 deletions
-
electrum/lnbase.py
-
electrum/lntransport.py
-
electrum/lnutil.py
-
electrum/lnwatcher.py
-
electrum/lnworker.py
|
@ -1,8 +1,8 @@ |
|
|
#!/usr/bin/env python3 |
|
|
#!/usr/bin/env python3 |
|
|
""" |
|
|
# |
|
|
Lightning network interface for Electrum |
|
|
# Copyright (C) 2018 The Electrum developers |
|
|
Derived from https://gist.github.com/AdamISZ/046d05c156aaeb56cc897f85eecb3eb8 |
|
|
# 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 |
|
|
from collections import OrderedDict, defaultdict |
|
|
import json |
|
|
import json |
|
|
|
@ -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 |
|
|
import hashlib |
|
|
from asyncio import StreamReader, StreamWriter |
|
|
from asyncio import StreamReader, StreamWriter |
|
|
|
|
|
|
|
|
|
@ -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 |
|
|
from enum import IntFlag, IntEnum |
|
|
import json |
|
|
import json |
|
|
from collections import namedtuple |
|
|
from collections import namedtuple |
|
|
|
@ -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 |
|
|
import threading |
|
|
from typing import NamedTuple, Iterable, TYPE_CHECKING |
|
|
from typing import NamedTuple, Iterable, TYPE_CHECKING |
|
|
import os |
|
|
import os |
|
|
|
@ -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 asyncio |
|
|
import os |
|
|
import os |
|
|
from decimal import Decimal |
|
|
from decimal import Decimal |
|
|