chmod +x for scripts and make the shebang/preamble consistent.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-09-15 17:32:09 +01:00
parent f15c51c680
commit efee9dcb03
24 changed files with 19 additions and 1 deletions

0
f4jumble.py Normal file → Executable file
View File

0
ff1.py Normal file → Executable file
View File

0
orchard_commitments.py Normal file → Executable file
View File

3
orchard_empty_roots.py Normal file → Executable file
View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
from orchard_merkle_tree import empty_roots
from orchard_pallas import Fp
from tv_output import render_args, render_tv

0
orchard_generators.py Normal file → Executable file
View File

0
orchard_group_hash.py Normal file → Executable file
View File

0
orchard_key_components.py Normal file → Executable file
View File

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
from orchard_group_hash import map_to_curve_simple_swu
from orchard_iso_pallas import Point as IsoPoint

0
orchard_merkle_tree.py Normal file → Executable file
View File

1
orchard_note_encryption.py Normal file → Executable file
View File

@ -1,5 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
import struct
from chacha20poly1305 import ChaCha20Poly1305

3
orchard_poseidon.py Normal file → Executable file
View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
from orchard_pallas import Fp
import numpy as np
from itertools import chain

3
orchard_poseidon_hash.py Normal file → Executable file
View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
from orchard_pallas import Fp
from orchard_poseidon import perm
from utils import leos2ip

0
sapling_generators.py Normal file → Executable file
View File

0
sapling_key_components.py Normal file → Executable file
View File

0
sapling_merkle_tree.py Normal file → Executable file
View File

0
sapling_note_encryption.py Normal file → Executable file
View File

0
sapling_signatures.py Normal file → Executable file
View File

0
sapling_zip32.py Normal file → Executable file
View File

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python3
import struct
from orchard_pallas import (

0
unified_address.py Normal file → Executable file
View File

View File

@ -1,4 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
import struct
def write_compact_size(n):

2
zip_0143.py Normal file → Executable file
View File

@ -1,4 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
from pyblake2 import blake2b
import struct

2
zip_0243.py Normal file → Executable file
View File

@ -1,4 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
from pyblake2 import blake2b
import struct

2
zip_0244.py Normal file → Executable file
View File

@ -1,4 +1,6 @@
#!/usr/bin/env python3
import sys; assert sys.version_info[0] >= 3, "Python 3 required."
from pyblake2 import blake2b
import struct