📄 Added license-note to every file

This commit is contained in:
Mawoka
2022-07-02 17:14:51 +02:00
parent 4842167597
commit 469cd3e779
124 changed files with 602 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
import asyncio
from typing import Optional
+4
View File
@@ -33,6 +33,10 @@ Notice that '_mint()' behaves deterministically, finding the same suffix
every time it is passed the same arguments. 'mint()' incorporates a random
salt in stamps (as per the hashcash v.1 protocol).
"""
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from string import ascii_letters
from math import ceil, floor
import hashlib