py-geth 5.2.0__py3-none-any.whl → 5.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geth/install.py +4 -0
- geth/types.py +1 -0
- geth/utils/validation.py +1 -0
- geth/wrapper.py +3 -0
- {py_geth-5.2.0.dist-info → py_geth-5.2.1.dist-info}/METADATA +5 -5
- {py_geth-5.2.0.dist-info → py_geth-5.2.1.dist-info}/RECORD +9 -9
- {py_geth-5.2.0.dist-info → py_geth-5.2.1.dist-info}/LICENSE +0 -0
- {py_geth-5.2.0.dist-info → py_geth-5.2.1.dist-info}/WHEEL +0 -0
- {py_geth-5.2.0.dist-info → py_geth-5.2.1.dist-info}/top_level.txt +0 -0
geth/install.py
CHANGED
@@ -46,6 +46,7 @@ V1_14_9 = "v1.14.9"
|
|
46
46
|
V1_14_10 = "v1.14.10"
|
47
47
|
V1_14_11 = "v1.14.11"
|
48
48
|
V1_14_12 = "v1.14.12"
|
49
|
+
V1_14_13 = "v1.14.13"
|
49
50
|
|
50
51
|
|
51
52
|
LINUX = "linux"
|
@@ -341,6 +342,7 @@ install_v1_14_9 = functools.partial(install_from_source_code_release, V1_14_9)
|
|
341
342
|
install_v1_14_10 = functools.partial(install_from_source_code_release, V1_14_10)
|
342
343
|
install_v1_14_11 = functools.partial(install_from_source_code_release, V1_14_11)
|
343
344
|
install_v1_14_12 = functools.partial(install_from_source_code_release, V1_14_12)
|
345
|
+
install_v1_14_13 = functools.partial(install_from_source_code_release, V1_14_13)
|
344
346
|
|
345
347
|
INSTALL_FUNCTIONS = {
|
346
348
|
LINUX: {
|
@@ -356,6 +358,7 @@ INSTALL_FUNCTIONS = {
|
|
356
358
|
V1_14_10: install_v1_14_10,
|
357
359
|
V1_14_11: install_v1_14_11,
|
358
360
|
V1_14_12: install_v1_14_12,
|
361
|
+
V1_14_13: install_v1_14_13,
|
359
362
|
},
|
360
363
|
OSX: {
|
361
364
|
V1_14_0: install_v1_14_0,
|
@@ -370,6 +373,7 @@ INSTALL_FUNCTIONS = {
|
|
370
373
|
V1_14_10: install_v1_14_10,
|
371
374
|
V1_14_11: install_v1_14_11,
|
372
375
|
V1_14_12: install_v1_14_12,
|
376
|
+
V1_14_13: install_v1_14_13,
|
373
377
|
},
|
374
378
|
}
|
375
379
|
|
geth/types.py
CHANGED
geth/utils/validation.py
CHANGED
@@ -26,6 +26,7 @@ class GethKwargs(BaseModel):
|
|
26
26
|
cache: str | None = None
|
27
27
|
data_dir: str | None = None
|
28
28
|
dev_mode: bool | None = False
|
29
|
+
dev_period: str | None = None
|
29
30
|
gcmode: Literal["full", "archive"] | None = None
|
30
31
|
geth_executable: str | None = None
|
31
32
|
ipc_disable: bool | None = None
|
geth/wrapper.py
CHANGED
@@ -153,6 +153,9 @@ def construct_popen_command(**geth_kwargs: Unpack[GethKwargsTypedDict]) -> list[
|
|
153
153
|
if gk.dev_mode:
|
154
154
|
builder.append("--dev")
|
155
155
|
|
156
|
+
if gk.dev_period is not None:
|
157
|
+
builder.extend(("--dev.period", gk.dev_period))
|
158
|
+
|
156
159
|
if gk.rpc_enabled:
|
157
160
|
builder.append("--http")
|
158
161
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: py-geth
|
3
|
-
Version: 5.2.
|
3
|
+
Version: 5.2.1
|
4
4
|
Summary: py-geth: Run Go-Ethereum as a subprocess
|
5
5
|
Home-page: https://github.com/ethereum/py-geth
|
6
6
|
Author: The Ethereum Foundation
|
@@ -177,19 +177,19 @@ the current list of supported versions.
|
|
177
177
|
Installation can be done via the command line:
|
178
178
|
|
179
179
|
```bash
|
180
|
-
$ python -m geth.install v1.14.
|
180
|
+
$ python -m geth.install v1.14.13
|
181
181
|
```
|
182
182
|
|
183
183
|
Or from python using the `install_geth` function.
|
184
184
|
|
185
185
|
```python
|
186
186
|
>>> from geth import install_geth
|
187
|
-
>>> install_geth('v1.14.
|
187
|
+
>>> install_geth('v1.14.13')
|
188
188
|
```
|
189
189
|
|
190
190
|
The installed binary can be found in the `$HOME/.py-geth` directory, under your
|
191
|
-
home directory. The `v1.14.
|
192
|
-
`$HOME/.py-geth/geth-v1.14.
|
191
|
+
home directory. The `v1.14.13` binary would be located at
|
192
|
+
`$HOME/.py-geth/geth-v1.14.13/bin/geth`.
|
193
193
|
|
194
194
|
## About `DevGethProcess`
|
195
195
|
|
@@ -4,14 +4,14 @@ geth/chain.py,sha256=VMbb1OMI8z-HRteYg7bDgDpf9-SyLYioy2OIYO7oW5s,3879
|
|
4
4
|
geth/default_blockchain_password,sha256=7ZYUjo1py5Wh_uA_WvoXQG8mPv2CiJ07tI2tOodTLi8,30
|
5
5
|
geth/exceptions.py,sha256=yLGBkLabY_W-43kW9iYPM3FaoR08JWgTWYW1RHukaeU,2643
|
6
6
|
geth/genesis.json,sha256=E6pcGhk0pz1ByhRvyqeVbNAteOB4U1jOj4KiHtR2tAM,901
|
7
|
-
geth/install.py,sha256=
|
7
|
+
geth/install.py,sha256=tMKxYX1ILTquKvhr8M3BHicfCt2ChnDq_iJamtkTaB4,11634
|
8
8
|
geth/main.py,sha256=jgWIs3o9BfHcqWfuq6l4JBjcdQzDy13-EJDP1c2ouhQ,1463
|
9
9
|
geth/mixins.py,sha256=cpls-_Z9WZdmYbjhOZL-y6F1xRYAvmfWRed2DODe6D8,5639
|
10
10
|
geth/process.py,sha256=SumVj-2Q7PQ-HZBaCcpN_PY9WkIqlRuy9hRo0VCpb2A,8864
|
11
11
|
geth/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
geth/reset.py,sha256=IlKfr5PyjVi0rHjoGUY5kbjtnR9ZAsfSb1Jgzh0dDo0,2639
|
13
|
-
geth/types.py,sha256=
|
14
|
-
geth/wrapper.py,sha256=
|
13
|
+
geth/types.py,sha256=9BesREN7IuJVM2BagzUfIZ0VjJTAcRFJgEF7NyLHugY,1481
|
14
|
+
geth/wrapper.py,sha256=ah15HNG42sgMwSu6fYu0ouZ4QCE9jyoaPuOji69OEio,7973
|
15
15
|
geth/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
geth/utils/encoding.py,sha256=YguGD7mEUN2eSMPkBREalKK1VQfOsLcj1WWJLR0HTxY,1618
|
17
17
|
geth/utils/filesystem.py,sha256=yg8m8n99-N0FA4NcNtu9V8mett2WTQPKHGjThrbk974,1320
|
@@ -19,9 +19,9 @@ geth/utils/networking.py,sha256=ntH6CZuGcTJJ0BIdT4rI-EMz703VDbJAJzGcxufDQMo,1488
|
|
19
19
|
geth/utils/proc.py,sha256=0CcHzOTkSzikrli_2ooQT6iHpPaTRYsshcvrGYC7btA,1801
|
20
20
|
geth/utils/thread.py,sha256=IL4C-AvzYbOwW2qOIMS63GVEqiWLe9TiMXX20qT1UaY,315
|
21
21
|
geth/utils/timeout.py,sha256=Uiz90EKJJm7UmKmVx2FhBpIblnvg9dTqszsanvfOtFM,2259
|
22
|
-
geth/utils/validation.py,sha256=
|
23
|
-
py_geth-5.2.
|
24
|
-
py_geth-5.2.
|
25
|
-
py_geth-5.2.
|
26
|
-
py_geth-5.2.
|
27
|
-
py_geth-5.2.
|
22
|
+
geth/utils/validation.py,sha256=YeSoqpVjGXRNZUcqiUof39uVUZnmbrf-XU0C4LEZ0NU,5430
|
23
|
+
py_geth-5.2.1.dist-info/LICENSE,sha256=ENGC4gSn0kYaC_mlaXOEwCKmA6W7Z9MeSemc5O2k-h0,1095
|
24
|
+
py_geth-5.2.1.dist-info/METADATA,sha256=nGJfBfMvJn78-4hcIM_9qpwWFDyXYSEV3MiO1iHiGp0,9214
|
25
|
+
py_geth-5.2.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
26
|
+
py_geth-5.2.1.dist-info/top_level.txt,sha256=o8Gvkxt3xBR7BNG2p9_G1J3GnGlTrBMEhYJBdAzBWDU,5
|
27
|
+
py_geth-5.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|