py-geth 5.6.0__py3-none-any.whl → 6.0.0__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/process.py +8 -0
- {py_geth-5.6.0.dist-info → py_geth-6.0.0.dist-info}/METADATA +7 -7
- {py_geth-5.6.0.dist-info → py_geth-6.0.0.dist-info}/RECORD +7 -7
- {py_geth-5.6.0.dist-info → py_geth-6.0.0.dist-info}/WHEEL +1 -1
- {py_geth-5.6.0.dist-info → py_geth-6.0.0.dist-info}/licenses/LICENSE +0 -0
- {py_geth-5.6.0.dist-info → py_geth-6.0.0.dist-info}/top_level.txt +0 -0
geth/install.py
CHANGED
@@ -59,6 +59,7 @@ V1_15_8 = "v1.15.8"
|
|
59
59
|
V1_15_9 = "v1.15.9"
|
60
60
|
V1_15_10 = "v1.15.10"
|
61
61
|
V1_15_11 = "v1.15.11"
|
62
|
+
V1_16_0 = "v1.16.0"
|
62
63
|
|
63
64
|
|
64
65
|
LINUX = "linux"
|
@@ -367,6 +368,7 @@ install_v1_15_8 = functools.partial(install_from_source_code_release, V1_15_8)
|
|
367
368
|
install_v1_15_9 = functools.partial(install_from_source_code_release, V1_15_9)
|
368
369
|
install_v1_15_10 = functools.partial(install_from_source_code_release, V1_15_10)
|
369
370
|
install_v1_15_11 = functools.partial(install_from_source_code_release, V1_15_11)
|
371
|
+
install_v1_16_0 = functools.partial(install_from_source_code_release, V1_16_0)
|
370
372
|
|
371
373
|
INSTALL_FUNCTIONS = {
|
372
374
|
LINUX: {
|
@@ -395,6 +397,7 @@ INSTALL_FUNCTIONS = {
|
|
395
397
|
V1_15_9: install_v1_15_9,
|
396
398
|
V1_15_10: install_v1_15_10,
|
397
399
|
V1_15_11: install_v1_15_11,
|
400
|
+
V1_16_0: install_v1_16_0,
|
398
401
|
},
|
399
402
|
OSX: {
|
400
403
|
V1_14_0: install_v1_14_0,
|
@@ -422,6 +425,7 @@ INSTALL_FUNCTIONS = {
|
|
422
425
|
V1_15_9: install_v1_15_9,
|
423
426
|
V1_15_10: install_v1_15_10,
|
424
427
|
V1_15_11: install_v1_15_11,
|
428
|
+
V1_16_0: install_v1_16_0,
|
425
429
|
},
|
426
430
|
}
|
427
431
|
|
geth/process.py
CHANGED
@@ -300,6 +300,14 @@ class DevGethProcess(BaseGethProcess):
|
|
300
300
|
|
301
301
|
self._data_dir = get_chain_data_dir(base_dir, chain_name)
|
302
302
|
overrides["data_dir"] = self.data_dir
|
303
|
+
|
304
|
+
if overrides.get("network_id") is not None:
|
305
|
+
# as of ``v1.16.0``, ``network_id`` can no longer be used with ``--dev``
|
306
|
+
raise PyGethValueError(
|
307
|
+
"You cannot specify `network_id` for a DevGethProcess"
|
308
|
+
)
|
309
|
+
overrides["network_id"] = None
|
310
|
+
|
303
311
|
geth_kwargs = construct_test_chain_kwargs(**overrides)
|
304
312
|
validate_geth_kwargs(geth_kwargs)
|
305
313
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: py-geth
|
3
|
-
Version:
|
3
|
+
Version: 6.0.0
|
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
|
@@ -140,7 +140,7 @@ False
|
|
140
140
|
>>> geth.is_stopped
|
141
141
|
True
|
142
142
|
>>> geth.version
|
143
|
-
"1.
|
143
|
+
"1.16.0-stable"
|
144
144
|
```
|
145
145
|
|
146
146
|
When testing it can be nice to see the logging output produced by the `geth`
|
@@ -180,19 +180,19 @@ the current list of supported versions.
|
|
180
180
|
Installation can be done via the command line:
|
181
181
|
|
182
182
|
```bash
|
183
|
-
$ python -m geth.install v1.
|
183
|
+
$ python -m geth.install v1.16.0
|
184
184
|
```
|
185
185
|
|
186
186
|
Or from python using the `install_geth` function.
|
187
187
|
|
188
188
|
```python
|
189
189
|
>>> from geth import install_geth
|
190
|
-
>>> install_geth('v1.
|
190
|
+
>>> install_geth('v1.16.0')
|
191
191
|
```
|
192
192
|
|
193
193
|
The installed binary can be found in the `$HOME/.py-geth` directory, under your
|
194
|
-
home directory. The `v1.
|
195
|
-
`$HOME/.py-geth/geth-v1.
|
194
|
+
home directory. The `v1.16.0` binary would be located at
|
195
|
+
`$HOME/.py-geth/geth-v1.16.0/bin/geth`.
|
196
196
|
|
197
197
|
## About `DevGethProcess`
|
198
198
|
|
@@ -202,7 +202,7 @@ In that regard, it is preconfigured as follows.
|
|
202
202
|
- A single account is created, allocated 1 billion ether, and assigned as the coinbase.
|
203
203
|
- All APIs are enabled on both `rpc` and `ipc` interfaces.
|
204
204
|
- Networking is configured to not look for or connect to any peers.
|
205
|
-
-
|
205
|
+
- A `networkid` is not set as one can no longer be set along with `--dev`.
|
206
206
|
- Verbosity is set to `5` (DEBUG)
|
207
207
|
- The RPC interface *tries* to bind to 8545 but will find an open port if this
|
208
208
|
port is not available.
|
@@ -4,10 +4,10 @@ geth/chain.py,sha256=7ZTmzLgkIB6UKcB1NSvMfTuF6RqO4lW0FtHz9uSJQ5s,3683
|
|
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=HPY88vd1cD0bXKB2Fd59EQ08oK6uVTOehHqSmckuYBY,1224
|
7
|
-
geth/install.py,sha256=
|
7
|
+
geth/install.py,sha256=pmEZP9aqsszMPeQC4odHUzcAm_QVwZhiF0qoIyQwt4w,13821
|
8
8
|
geth/main.py,sha256=jgWIs3o9BfHcqWfuq6l4JBjcdQzDy13-EJDP1c2ouhQ,1463
|
9
9
|
geth/mixins.py,sha256=cpls-_Z9WZdmYbjhOZL-y6F1xRYAvmfWRed2DODe6D8,5639
|
10
|
-
geth/process.py,sha256=
|
10
|
+
geth/process.py,sha256=kDmHaOYO-oLYbju6OTYAP9hEif9D3-Yj9DTdc_svAfg,9358
|
11
11
|
geth/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
geth/reset.py,sha256=IlKfr5PyjVi0rHjoGUY5kbjtnR9ZAsfSb1Jgzh0dDo0,2639
|
13
13
|
geth/types.py,sha256=9BesREN7IuJVM2BagzUfIZ0VjJTAcRFJgEF7NyLHugY,1481
|
@@ -20,8 +20,8 @@ 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
22
|
geth/utils/validation.py,sha256=rMwaB2DSKNG8-NXx269YwUrOAfzuckqTBwA4wqjgebY,5030
|
23
|
-
py_geth-
|
24
|
-
py_geth-
|
25
|
-
py_geth-
|
26
|
-
py_geth-
|
27
|
-
py_geth-
|
23
|
+
py_geth-6.0.0.dist-info/licenses/LICENSE,sha256=ENGC4gSn0kYaC_mlaXOEwCKmA6W7Z9MeSemc5O2k-h0,1095
|
24
|
+
py_geth-6.0.0.dist-info/METADATA,sha256=DHACAFxyiamdMmu4a91Fui5TtT4HjFuKjakn4DeY3O4,9303
|
25
|
+
py_geth-6.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
26
|
+
py_geth-6.0.0.dist-info/top_level.txt,sha256=o8Gvkxt3xBR7BNG2p9_G1J3GnGlTrBMEhYJBdAzBWDU,5
|
27
|
+
py_geth-6.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|