You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/release_notes.rst
+61Lines changed: 61 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,67 @@ Trinity is moving fast. Read up on all the latest improvements.
5
5
6
6
.. towncrier release notes start
7
7
8
+
Trinity 0.1.0-alpha.35 (2020-03-03)
9
+
-----------------------------------
10
+
11
+
Features
12
+
~~~~~~~~
13
+
14
+
- We now "pivot" Beam Sync if we fall too many blocks behind. When a naive (non-pivoting) Beam Sync
15
+
falls too far behind the tip of the chain, it can get "stuck" because the trie data is no longer
16
+
available from peers. (`#908 <https://github.com/ethereum/trinity/issues/908>`__)
17
+
- Add support for networks that run under Clique consensus.
18
+
Add support for syncing the Görli network via `--goerli` flag. (`#1196 <https://github.com/ethereum/trinity/issues/1196>`__)
19
+
- Support ``include_transactions`` param in ``eth_getBlockBy*`` APIs (`#1465 <https://github.com/ethereum/trinity/issues/1465>`__)
20
+
- Improve error message for when the parameters to JSON-RPC calls are invalid
21
+
22
+
Improve error message for ``eth_getWork``, ``eth_submitWork`` and ``eth_submitHashrate``
23
+
APIs which Trinity does not support as it generally does not support mining operations.
24
+
25
+
Change ``eth_hashrate`` and ``eth_coinbase`` to also return errors instead of default values. (`#1475 <https://github.com/ethereum/trinity/issues/1475>`__)
- Add support for Etherscan API keys to continue support for the
32
+
``--beam-from-checkpoint eth://block/byetherscan/latest`` flag now that
33
+
Etherscan `has made API keys mandatory <https://medium.com/etherscan-blog/psa-for-developers-implementation-of-api-key-requirements-starting-from-february-15th-2020-b616870f3746>`_.
34
+
API keys need to be exposed via the ``TRINITY_ETHERSCAN_API_KEY``
- The ``p2p.abc.TransportAPI.close`` and ``p2p.abc.MultiplexerAPI.close`` methods are now coroutines to allow ``p2p.abc.TransportAPI.close()`` to drain the underlying ``StreamWriter`` before closing it, ensuring that any pending messages are written over the socket before closing it. (`#1417 <https://github.com/ethereum/trinity/issues/1417>`__)
42
+
- Ensure validation errors in components are properly handled
43
+
during bootstrap. (`#1486 <https://github.com/ethereum/trinity/issues/1486>`__)
44
+
- Fix broken API docs on https://trinity-client.readthedocs.io/en/latest/api/ (`#1510 <https://github.com/ethereum/trinity/issues/1510>`__)
45
+
- :class:`~p2p.exceptions.PeerConnectionLost` was escaping during a ``highest_td_peer`` call, and
46
+
crashing whatever called it. The exception is now caught. (`#1524 <https://github.com/ethereum/trinity/issues/1524>`__)
47
+
- Catch a variety of uncaught exceptions: :class:`asyncio.TimeoutError`,
Also, prevent AttributeError when printing a :class:`p2p.kademlia.Node` that has no address. (`#1545 <https://github.com/ethereum/trinity/issues/1545>`__)
51
+
- Catch a :class:`~p2p.exceptions.PeerConnectionLost` raised when: disconnecting from a peer for sending
52
+
a malformed message, and another one when finding the fastest peer. Reject handshake attempts when
53
+
the IP address is unknown. Catch a :class:`~p2p.exceptions.CorruptTransport`, raised during multiplex. (`#1548 <https://github.com/ethereum/trinity/issues/1548>`__)
54
+
55
+
56
+
Performance improvements
57
+
~~~~~~~~~~~~~~~~~~~~~~~~
58
+
59
+
- Exit a bit more quickly from Beam Sync, by cancelling any hanging requests for state data. This
60
+
prevents a 5 second wait and timeout in the :class:`~p2p.service.BaseService`. (`#1545 <https://github.com/ethereum/trinity/issues/1545>`__)
61
+
62
+
63
+
Internal Changes - for Trinity Contributors
64
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65
+
66
+
- Less noisy logs when adding peers. Only show INFO logs when you have fewer than 5 peers. (`#1567 <https://github.com/ethereum/trinity/issues/1567>`__)
0 commit comments