Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

Commit 5b423e1

Browse files
committed
Compile release notes
1 parent 7d2fc18 commit 5b423e1

17 files changed

+61
-38
lines changed

docs/release_notes.rst

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,67 @@ Trinity is moving fast. Read up on all the latest improvements.
55

66
.. towncrier release notes start
77
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>`__)
26+
- Upgrade to py-evm `v0.3.0-alpha.14
27+
<https://py-evm.readthedocs.io/en/latest/release_notes.html#py-evm-0-3-0-alpha-14-2020-02-10>`_ (`#1478 <https://github.com/ethereum/trinity/issues/1478>`__)
28+
- Implement ``admin_nodeInfo`` JSON-RPC endpoint (`#1503 <https://github.com/ethereum/trinity/issues/1503>`__)
29+
- Implement the ``eth/64`` networking protocol according to
30+
`EIP 2124 <https://eips.ethereum.org/EIPS/eip-2124>`_ (`#1543 <https://github.com/ethereum/trinity/issues/1543>`__)
31+
- 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``
35+
environment variable. (`#1565 <https://github.com/ethereum/trinity/issues/1565>`__)
36+
37+
38+
Bugfixes
39+
~~~~~~~~
40+
41+
- 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`,
48+
:class:`~p2p.exceptions.UnknownAPI`, :class:`~p2p.exceptions.PeerConnectionLost`,
49+
OSError, :class:`~eth_utils.exceptions.ValidationError`, :class:`~p2p.exceptions.CorruptTransport`.
50+
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>`__)
67+
68+
869
Trinity 0.1.0-alpha.34 (2019-12-23)
970
-----------------------------------
1071

newsfragments/1196.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

newsfragments/1417.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1465.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1475.feature.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

newsfragments/1478.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

newsfragments/1486.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

newsfragments/1503.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1510.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1524.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)