diff --git a/docs/release_notes.rst b/docs/release_notes.rst index b0f0bd35bb..a51fbbbe94 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -5,6 +5,166 @@ Trinity is moving fast. Read up on all the latest improvements. .. towncrier release notes start +Trinity 0.1.0-alpha.28 (2019-09-12) +----------------------------------- + +Features +~~~~~~~~ + +- Remove Trinity specific subclass of the ``lahja`` endpoint in favor of using the core ``EndpointAPI`` everywhere. The previous functionality from the ``TrinityEventBusEndpoint`` is now handled by a special service designed to manage the endpoint lifecycle. (`#672 `__) +- Allow trinity db-shell to inspect the beacon node (`#809 `__) +- Expose ``NewBlockEvent`` on the event bus. (`#822 `__) +- Add ``p2p.p2p_proto.P2PProtocol.send_ping`` and ``p2p.p2p_proto.P2PProtocol.send_hello`` methods. (`#826 `__) +- Add ``p2p.peer.receive_handshake`` to encapsulate the logic for handling incoming connections. (`#828 `__) +- The ``p2p.p2p_proto.P2PProtocol`` class now requires that handshake parameters be passed into the ``send_handshake`` method. These parameters are now part of the ``p2p.peer.BasePeerContext`` class. (`#829 `__) +- Add a new ``p2p.tools.factories.TransportPairFactory`` for generating directly connected ``p2p.transport.Transport`` objects. (`#830 `__) +- Add ``p2p.multiplexer.Multiplexer`` for combining the commands from different devp2p sub-protocols into a single network write stream, and split the incoming network stream into individually retrievable sub-protocol commands. (`#835 `__) +- Adds ``p2p.protocol.get_cmd_offsets`` helper function for computing the command id offsets for devp2p protocols (`#836 `__) +- Use the ``p2p.multiplexer.Multiplexer`` within the ``BasePeer`` to handle the incoming message stream. (`#847 `__) +- Add factories for creating devp2p protocols and commands for testing. (`#850 `__) +- Beam Sync: parallel execution of blocks. When connected to a peer on a local network, can now + keep up with mainnet (assuming a beefy machine). Also added beam stats in the logs. (`#855 `__) +- Replace ``multiprocessing`` based database access with a custom implementation that increases database access performance by 1.5-2x (`#859 `__) +- Implement ``p2p.handshake`` API. This provides a generic interface for + performing proper DevP2p handshakes using multiple sub-protocols without + needing involvement of the ``BasePeer``. (`#869 `__) +- Use the new ``p2p.handshake`` APIs in the ``p2p.peer.BasePeer`` handshake logic. (`#887 `__) +- If Trinity is beam syncing and a call to `eth_getBalance` requests data which is not in + the local database, Trinity asks for the data over the network. (`#894 `__) +- Speculative Execution in Beam Sync: split block transactions to run them in parallel, for speedup. (`#899 `__) +- Allow beam sync to start from a trusted checkpoint. + Specify a checkpoint via CLI parameter such as: + + ``--beam-from-checkpoint="eth://block/byhash/?score="`` + + When given, beam sync will use this as a checkpoint + to avoid having to download the entire chain of headers + first. (`#921 `__) +- Expose the `force-beam-block-number` config as a command line parameter. + The config is useful for testing to force beam sync to activate on a given block number. (`#923 `__) +- Add ``p2p_version`` to ``p2p.peer.BasePeerContext`` properties and use for handshake. (`#931 `__) +- If `eth_getCode` is called during beam sync but the requested data is not available + locally trinity will attempt to fetch the requested data from remote peers. (`#944 `__) +- Beam Sync: start backfilling data, especially as a way to gather performance data about peers, and + improve the performance of beam sync importing. (`#951 `__) +- Add ``p2p.service.run_service`` which implements a context manager API for running a ``p2p.service.BaseService``. (`#955 `__) +- Add ``p2p.connection.Connection`` service which actively manages the ``p2p.multiplexer.Multiplexer`` exposing an API for registering handler callbacks for individuall protocol commands or entire protocols, as well as access to general metadata about the p2p connection. (`#956 `__) +- If `eth_getStorageAt` is called during beam sync but the requested data is not available + locally trinity will attempt to fetch the requested data from remote peers. (`#957 `__) +- ``p2p.peer.BasePeer`` now uses ``ConnectionAPI`` for underlying protocol interactions. (`#962 `__) +- Allow Trinity to automatically resolve a checkpoint through the etherscan API + using this syntax: ``--beam-from-checkpoint="eth://block/byetherscan/latest"`` (`#963 `__) +- Fetch missing data from remote peers, if requested over json-rpc during beam sync. + Requests for data at an old block will fail; remote peers probably don't have it. (`#975 `__) +- Expose the ``MiningChain`` on the `db-shell` REPL to allow creating blocks on a REPL (`#977 `__) +- Add ``ConnectionAPI.get_p2p_receipt`` for fetching the ``HandshakeReceipt`` for the base ``p2p`` protocol. (`#986 `__) +- ``p2p.protocol.Protocol.supports_command`` is now a ``classmethod`` (`#987 `__) +- The ``HandlerSubscriptionAPI`` now supports a context manager interface, removing/cancelling the subscription when the context exits (`#989 `__) +- Handler functions for ``Connection.add_protocol_handler`` and ``Connection.add_command_handler`` now expect the ``Connection`` instance as the first argument. (`#990 `__) +- Introduce ``p2p.session.Session`` which is now used in place of the ``remote`` to identify peers in the peer pool. (`#1054 `__) +- Add ``HTTPServer`` for JSON-RPC over HTTP APIs. (`#1078 `__) +- Make `beam` the default sync strategy and remove `fast` sync. (`#1084 `__) +- Detect if a checkpoint is too close to the tip and delay sync until we have reached a minimum + distance to the tip. (`#1107 `__) + + +Bugfixes +~~~~~~~~ + +- Proper cancellation of subtasks upon cancellation of ``p2p.service.BaseService`` (`#809 `__) +- The recently introduced fix that ensures we do not run multiple concurrent + handshakes to the same peer accidentially introduced a (rarely exposed) memory + leak. This fix introduces a ``ResourceLock`` and refactores the code to use it + to also fix the previously introduced memory leak. (`#811 `__) +- Fix issue where test state was leaking between tests in ``tests/p2p/test_discovery.py`` (`#839 `__) +- Beam Sync: Serve node data requests in parallel, instead of series (`#857 `__) +- Fix for ``DEBUG2`` logs always being shown irrespective of log level. (`#860 `__) +- Beam Sync stats: Count the extra single node that is sometimes required when downloading the nodes + needed to look up an account or storage. (Usually because of a trie reorg) (`#877 `__) +- Fixes issue with Trinity not shutting down when issues a ``CTRL+C``. (`#878 `__) +- Fix ``__str__`` implementation of ``BaseProxyPeer`` to properly represent the ``p2p.kademlia.Node`` URI. (`#881 `__) +- Add missing field `from` to the response of `RPC` calls `eth_getTransactionByBlockHashAndIndex` and `eth_getTransactionByBlockNumberAndIndex`. (`#889 `__) +- Ensure ``--profile`` parameter takes profiles of every process (`#891 `__) +- Handle escaping ``PeerConnectionLost`` exception from ``Multiplexer`` in ``BasePeer`` (`#895 `__) +- Fix JSON-RPC call `eth_getBalance(address, block_number)` to return balance at the requested block_number. + Earlier it would always return balance at `block(0)`. (`#900 `__) +- Fix a MissingTrieNode exception when the first imported block has an uncle (`#909 `__) +- Handles ``MalformedMessage`` and ``TimeoutError`` exceptions that can occur while multiplexing the devp2p connection (`#916 `__) +- Fix type hints so that ``max_headers`` is recognized as keyword argument + to ``get_block_headers``. (`#921 `__) +- ``BootManager`` now uses the ``BasePeer.loop`` as well as their cancel token. (`#926 `__) +- Fix a deadlock bug: if you request data from a peer at just the wrong moment, the request would hang + forever. Now, it correctly raises an :cls:`OperationCancelled`. (`#932 `__) +- ``ETHHandshakeReceipt`` and ``LESHandshakeReceipt`` now properly accept their protocol instances in their constructors. (`#934 `__) +- Pin ``lahja==0.14.0`` until connection timeout issue is resolved. (`#936 `__) +- Beam Sync: catch the TimeoutError that was escaping, and retry (`#939 `__) +- Ensure the ``BasePeer`` negotiates the proper base protocol. (`#942 `__) +- Capture :cls:`PeerConnectionLost` in more places, especially sync. (`#943 `__) +- Beam Sync: Sometimes we would get stuck using a bad peer for node retrieval, fixed. Sometimes we + would stop asking for predicted trie nodes when we don't have any immediate nodes to ask for, fixed. (`#958 `__) +- Fix ``p2p.tools.factories.MultiplexerPairFactory`` negotiation of ``p2p`` protocol version. (`#964 `__) +- Add missing exception handling inside of ``Connection.run`` for ``PeerConnectionLost`` exception that bubbles from multiplexer. ``Connection`` is now responsible for calling ``Multiplexer.close`` on shutdown. Detect a closed connection during handshake. (`#992 `__) +- Fix ``P2PProtocol.send_disconnect`` to accept enum values from ``p2p.disconnect.DisconnectReason`` (`#994 `__) +- Instead of the ``ProcessPoolExecutor`` use a ``ThreadPoolExecutor`` to normalize + expensive messages. This fixes a bug where Trinity would leave idle processes + from the ``ProcessPoolExecutor`` behind every time it shuts down after a sync. + + Performance wise, both methods should be roughly compareable and since many + task have already been moved to their own managed processes over time, using + a ``ThreadPoolExecutor`` strikes as a simple solution to fix that bug. (`#1004 `__) +- Fix a bug where trying to start beam sync from a checkpoint would throw an error + due to an uninitialized var if a request to a peer would raise an error while + we are trying to resolve a header from it. (`#1005 `__) +- Fix for ``TrioService.run_task`` to ensure that when a background task throws an unhandled exception that it causes full service cancellation and that the exception is propagated. (`#1040 `__) +- Fix issue where Trinity does not recognize and disconnect from ETC peers + when it is being used as an ETH client (`#1050 `__) +- Handle ``MalformedMessage`` rising out of the ``Transport`` in the ``Connection``. (`#1051 `__) +- Ensure discovery V4 handles invalid command ids gracefully (`#1063 `__) +- Fix issue where attempts to establish new peer connections would halt shortly after startup due to missing timeout when attempting to dial a peer. (`#1069 `__) +- An exception while serving peer requests would crash out the peer pool event server. + Now it doesn't crash, but logs a big red error (and catches innocuous exceptions, early on). (`#1074 `__) +- An occasional warning "ValidationError: Duplicate tasks detected" was crashing the node. It's + recoverable, so log it, but don't crash. (`#1083 `__) +- Fix warning on ethstats.net due to incorrectly reported API version number. (`#1094 `__) +- Fix warning caused by inappropriate call to ``cancel_nowait``. (`#99999 `__) + + +Performance improvements +~~~~~~~~~~~~~~~~~~~~~~~~ + +- Immediately insert Beam Sync nodes that are "predicted" (soon to be used during parallel execution) + This saves a round trip on live execution, when parallel execution already downloaded a node. + Also, more aggressively make predictive requests if no urgent requests are waiting in the queue. (`#877 `__) +- Previously, we gave up on predicted nodes that were not returned by a peer. Now we retry them, + which helps make sure we aren't missing any nodes at block import time. (`#932 `__) +- During Beam Sync previews, be sure to collect the nodes required to generate the new state root, + rather than wait until it's time to import the block. (`#933 `__) + + +Improved Documentation +~~~~~~~~~~~~~~~~~~~~~~ + +- Add a "Performance improvements" section to the release notes (`#884 `__) +- Cleanup Quickstart and start a Cookbook with small recipes (`#890 `__) +- Cover ``--profile`` parameter in Cookbook (`#891 `__) +- Add a guide on how to create a custom developer testnet using a genesis configuration file (`#1037 `__) + + +Deprecations and Removals +~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Remove ``p2p._utils.clamp`` in favor of the one from ``eth-utils>=1.5.2`` (`#832 `__) +- Remove unused ``token`` argument from ``p2p.tools.memory_transport.MemoryTransport`` constructor (`#838 `__) +- Remove legacy tests from core application code. (`#882 `__) +- Remove the ``FakeAsync...`` classes from tests in favor of using the real versions for things like chain and database objects (`#949 `__) + + +Miscellaneous internal changes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- `#818 `__, `#879 `__, `#880 `__, `#915 `__, `#917 `__, `#927 `__, `#928 `__, `#929 `__, `#930 `__, `#932 `__, `#935 `__, `#938 `__, `#950 `__, `#965 `__, `#983 `__, `#985 `__, `#988 `__, `#991 `__, `#993 `__, `#995 `__, `#997 `__, `#1021 `__, `#1043 `__, `#1045 `__, `#1052 `__, `#1055 `__, `#1066 `__, `#1075 `__ + + Trinity 0.1.0-alpha.27 (2019-07-17) ----------------------------------- diff --git a/newsfragments/1004.bugfix.rst b/newsfragments/1004.bugfix.rst deleted file mode 100644 index b5f4b9b531..0000000000 --- a/newsfragments/1004.bugfix.rst +++ /dev/null @@ -1,7 +0,0 @@ -Instead of the ``ProcessPoolExecutor`` use a ``ThreadPoolExecutor`` to normalize -expensive messages. This fixes a bug where Trinity would leave idle processes -from the ``ProcessPoolExecutor`` behind every time it shuts down after a sync. - -Performance wise, both methods should be roughly compareable and since many -task have already been moved to their own managed processes over time, using -a ``ThreadPoolExecutor`` strikes as a simple solution to fix that bug. \ No newline at end of file diff --git a/newsfragments/1005.bugfix.rst b/newsfragments/1005.bugfix.rst deleted file mode 100644 index a8001a92e7..0000000000 --- a/newsfragments/1005.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a bug where trying to start beam sync from a checkpoint would throw an error -due to an uninitialized var if a request to a peer would raise an error while -we are trying to resolve a header from it. \ No newline at end of file diff --git a/newsfragments/1021.misc.rst b/newsfragments/1021.misc.rst deleted file mode 100644 index 2c2ae74cf0..0000000000 --- a/newsfragments/1021.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``DeprecationWarning`` being issued from a regex. diff --git a/newsfragments/1037.doc.rst b/newsfragments/1037.doc.rst deleted file mode 100644 index c4bc04af16..0000000000 --- a/newsfragments/1037.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Add a guide on how to create a custom developer testnet using a genesis configuration file \ No newline at end of file diff --git a/newsfragments/1040.bugfix.rst b/newsfragments/1040.bugfix.rst deleted file mode 100644 index 77c5fec3eb..0000000000 --- a/newsfragments/1040.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix for ``TrioService.run_task`` to ensure that when a background task throws an unhandled exception that it causes full service cancellation and that the exception is propagated. diff --git a/newsfragments/1043.misc.rst b/newsfragments/1043.misc.rst deleted file mode 100644 index 9b027c221e..0000000000 --- a/newsfragments/1043.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Be less aggressive about dropping peers for minor misbehavior during (skeleton) header sync. diff --git a/newsfragments/1045.misc.rst b/newsfragments/1045.misc.rst deleted file mode 100644 index 5a8bad3814..0000000000 --- a/newsfragments/1045.misc.rst +++ /dev/null @@ -1,4 +0,0 @@ -Switch Beam Sync from preferring low RTT to preferring high items per second (a patch to avoid peers -that return very quickly, but without most of the data you asked for). -Be more forgiving of slightly misbehaving peers during beam sync (for example, when they return no -nodes from GetNodeData request). diff --git a/newsfragments/1050.bugfix.rst b/newsfragments/1050.bugfix.rst deleted file mode 100644 index 7a34837ec0..0000000000 --- a/newsfragments/1050.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix issue where Trinity does not recognize and disconnect from ETC peers -when it is being used as an ETH client \ No newline at end of file diff --git a/newsfragments/1051.bugfix.rst b/newsfragments/1051.bugfix.rst deleted file mode 100644 index e6888cb5e1..0000000000 --- a/newsfragments/1051.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Handle ``MalformedMessage`` rising out of the ``Transport`` in the ``Connection``. diff --git a/newsfragments/1052.misc.rst b/newsfragments/1052.misc.rst deleted file mode 100644 index 0947d7fe8f..0000000000 --- a/newsfragments/1052.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p.abc.HandshakerAPI`` for formal handshaker interface. diff --git a/newsfragments/1054.feature.rst b/newsfragments/1054.feature.rst deleted file mode 100644 index 5d1127be9d..0000000000 --- a/newsfragments/1054.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Introduce ``p2p.session.Session`` which is now used in place of the ``remote`` to identify peers in the peer pool. diff --git a/newsfragments/1055.misc.rst b/newsfragments/1055.misc.rst deleted file mode 100644 index cf1f3f2ed7..0000000000 --- a/newsfragments/1055.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Move ``HandshakeReceipt`` to ``p2p.receipt`` to fix circular dependency. diff --git a/newsfragments/1063.bugfix.rst b/newsfragments/1063.bugfix.rst deleted file mode 100644 index b366ead479..0000000000 --- a/newsfragments/1063.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure discovery V4 handles invalid command ids gracefully \ No newline at end of file diff --git a/newsfragments/1066.misc.rst b/newsfragments/1066.misc.rst deleted file mode 100644 index 8d1fdf6826..0000000000 --- a/newsfragments/1066.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Update ``py-evm`` dependency to ``==0.3.0a6``. diff --git a/newsfragments/1069.bugfix.rst b/newsfragments/1069.bugfix.rst deleted file mode 100644 index b391e18a2d..0000000000 --- a/newsfragments/1069.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix issue where attempts to establish new peer connections would halt shortly after startup due to missing timeout when attempting to dial a peer. diff --git a/newsfragments/1074.bugfix.rst b/newsfragments/1074.bugfix.rst deleted file mode 100644 index 357f4883d5..0000000000 --- a/newsfragments/1074.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -An exception while serving peer requests would crash out the peer pool event server. -Now it doesn't crash, but logs a big red error (and catches innocuous exceptions, early on). diff --git a/newsfragments/1075.misc.rst b/newsfragments/1075.misc.rst deleted file mode 100644 index 9c558e357c..0000000000 --- a/newsfragments/1075.misc.rst +++ /dev/null @@ -1 +0,0 @@ -. diff --git a/newsfragments/1078.feature.rst b/newsfragments/1078.feature.rst deleted file mode 100644 index 8dc5a610c0..0000000000 --- a/newsfragments/1078.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``HTTPServer`` for JSON-RPC over HTTP APIs. diff --git a/newsfragments/1083.bugfix.rst b/newsfragments/1083.bugfix.rst deleted file mode 100644 index d2fdb7e7dc..0000000000 --- a/newsfragments/1083.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -An occasional warning "ValidationError: Duplicate tasks detected" was crashing the node. It's -recoverable, so log it, but don't crash. diff --git a/newsfragments/1084.feature.rst b/newsfragments/1084.feature.rst deleted file mode 100644 index 749c0ffa04..0000000000 --- a/newsfragments/1084.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Make `beam` the default sync strategy and remove `fast` sync. diff --git a/newsfragments/1094.bugfix.rst b/newsfragments/1094.bugfix.rst deleted file mode 100644 index c0a64c6154..0000000000 --- a/newsfragments/1094.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix warning on ethstats.net due to incorrectly reported API version number. \ No newline at end of file diff --git a/newsfragments/1107.feature.rst b/newsfragments/1107.feature.rst deleted file mode 100644 index a07d0d565f..0000000000 --- a/newsfragments/1107.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Detect if a checkpoint is too close to the tip and delay sync until we have reached a minimum -distance to the tip. \ No newline at end of file diff --git a/newsfragments/672.feature.rst b/newsfragments/672.feature.rst deleted file mode 100644 index 7ff7722055..0000000000 --- a/newsfragments/672.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Remove Trinity specific subclass of the ``lahja`` endpoint in favor of using the core ``EndpointAPI`` everywhere. The previous functionality from the ``TrinityEventBusEndpoint`` is now handled by a special service designed to manage the endpoint lifecycle. diff --git a/newsfragments/809.bugfix.rst b/newsfragments/809.bugfix.rst deleted file mode 100644 index 8bf406e25d..0000000000 --- a/newsfragments/809.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Proper cancellation of subtasks upon cancellation of ``p2p.service.BaseService`` diff --git a/newsfragments/809.feature.rst b/newsfragments/809.feature.rst deleted file mode 100644 index d20f7ab8e2..0000000000 --- a/newsfragments/809.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Allow trinity db-shell to inspect the beacon node \ No newline at end of file diff --git a/newsfragments/811.bugfix.rst b/newsfragments/811.bugfix.rst deleted file mode 100644 index 42d726620e..0000000000 --- a/newsfragments/811.bugfix.rst +++ /dev/null @@ -1,4 +0,0 @@ -The recently introduced fix that ensures we do not run multiple concurrent -handshakes to the same peer accidentially introduced a (rarely exposed) memory -leak. This fix introduces a ``ResourceLock`` and refactores the code to use it -to also fix the previously introduced memory leak. \ No newline at end of file diff --git a/newsfragments/818.misc.rst b/newsfragments/818.misc.rst deleted file mode 100644 index db9f8cd70b..0000000000 --- a/newsfragments/818.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p.abc`` which houses abstract base classes for ``p2p.kademlia.Node``, ``p2p.kademlia.Address``, ``p2p.protocol.Command``, ``p2p.protocol.Protocol`` and ``p2p.protocol.Transport`` diff --git a/newsfragments/822.feature.rst b/newsfragments/822.feature.rst deleted file mode 100644 index 1d1d0b0543..0000000000 --- a/newsfragments/822.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Expose ``NewBlockEvent`` on the event bus. \ No newline at end of file diff --git a/newsfragments/826.feature.rst b/newsfragments/826.feature.rst deleted file mode 100644 index e488314ca5..0000000000 --- a/newsfragments/826.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p.p2p_proto.P2PProtocol.send_ping`` and ``p2p.p2p_proto.P2PProtocol.send_hello`` methods. diff --git a/newsfragments/828.feature.rst b/newsfragments/828.feature.rst deleted file mode 100644 index 39553d6b22..0000000000 --- a/newsfragments/828.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p.peer.receive_handshake`` to encapsulate the logic for handling incoming connections. diff --git a/newsfragments/829.feature.rst b/newsfragments/829.feature.rst deleted file mode 100644 index 06ca65ac9f..0000000000 --- a/newsfragments/829.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The ``p2p.p2p_proto.P2PProtocol`` class now requires that handshake parameters be passed into the ``send_handshake`` method. These parameters are now part of the ``p2p.peer.BasePeerContext`` class. diff --git a/newsfragments/830.feature.rst b/newsfragments/830.feature.rst deleted file mode 100644 index f4e05b4968..0000000000 --- a/newsfragments/830.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add a new ``p2p.tools.factories.TransportPairFactory`` for generating directly connected ``p2p.transport.Transport`` objects. diff --git a/newsfragments/832.removal.rst b/newsfragments/832.removal.rst deleted file mode 100644 index dffd9afb88..0000000000 --- a/newsfragments/832.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Remove ``p2p._utils.clamp`` in favor of the one from ``eth-utils>=1.5.2`` diff --git a/newsfragments/835.feature.rst b/newsfragments/835.feature.rst deleted file mode 100644 index 330b8b7dfe..0000000000 --- a/newsfragments/835.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p.multiplexer.Multiplexer`` for combining the commands from different devp2p sub-protocols into a single network write stream, and split the incoming network stream into individually retrievable sub-protocol commands. diff --git a/newsfragments/836.feature.rst b/newsfragments/836.feature.rst deleted file mode 100644 index d05afb2fd2..0000000000 --- a/newsfragments/836.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Adds ``p2p.protocol.get_cmd_offsets`` helper function for computing the command id offsets for devp2p protocols diff --git a/newsfragments/838.removal.rst b/newsfragments/838.removal.rst deleted file mode 100644 index a059de0054..0000000000 --- a/newsfragments/838.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Remove unused ``token`` argument from ``p2p.tools.memory_transport.MemoryTransport`` constructor diff --git a/newsfragments/839.bugfix.rst b/newsfragments/839.bugfix.rst deleted file mode 100644 index dcc4aa4696..0000000000 --- a/newsfragments/839.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix issue where test state was leaking between tests in ``tests/p2p/test_discovery.py`` diff --git a/newsfragments/847.feature.rst b/newsfragments/847.feature.rst deleted file mode 100644 index 9bc3ce6ecd..0000000000 --- a/newsfragments/847.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Use the ``p2p.multiplexer.Multiplexer`` within the ``BasePeer`` to handle the incoming message stream. diff --git a/newsfragments/850.feature.rst b/newsfragments/850.feature.rst deleted file mode 100644 index 42b9c65d23..0000000000 --- a/newsfragments/850.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add factories for creating devp2p protocols and commands for testing. diff --git a/newsfragments/855.feature.rst b/newsfragments/855.feature.rst deleted file mode 100644 index 96892b36f8..0000000000 --- a/newsfragments/855.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Beam Sync: parallel execution of blocks. When connected to a peer on a local network, can now -keep up with mainnet (assuming a beefy machine). Also added beam stats in the logs. diff --git a/newsfragments/857.bugfix.rst b/newsfragments/857.bugfix.rst deleted file mode 100644 index c9e5496000..0000000000 --- a/newsfragments/857.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Beam Sync: Serve node data requests in parallel, instead of series diff --git a/newsfragments/859.feature.rst b/newsfragments/859.feature.rst deleted file mode 100644 index 6ab7b2e980..0000000000 --- a/newsfragments/859.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Replace ``multiprocessing`` based database access with a custom implementation that increases database access performance by 1.5-2x diff --git a/newsfragments/860.bugfix.rst b/newsfragments/860.bugfix.rst deleted file mode 100644 index 6233c92925..0000000000 --- a/newsfragments/860.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix for ``DEBUG2`` logs always being shown irrespective of log level. diff --git a/newsfragments/869.feature.rst b/newsfragments/869.feature.rst deleted file mode 100644 index 6eacbc1f85..0000000000 --- a/newsfragments/869.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Implement ``p2p.handshake`` API. This provides a generic interface for -performing proper DevP2p handshakes using multiple sub-protocols without -needing involvement of the ``BasePeer``. diff --git a/newsfragments/877.bugfix.rst b/newsfragments/877.bugfix.rst deleted file mode 100644 index 142d556df8..0000000000 --- a/newsfragments/877.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Beam Sync stats: Count the extra single node that is sometimes required when downloading the nodes -needed to look up an account or storage. (Usually because of a trie reorg) diff --git a/newsfragments/877.performance.rst b/newsfragments/877.performance.rst deleted file mode 100644 index 1302d673fa..0000000000 --- a/newsfragments/877.performance.rst +++ /dev/null @@ -1,3 +0,0 @@ -Immediately insert Beam Sync nodes that are "predicted" (soon to be used during parallel execution) -This saves a round trip on live execution, when parallel execution already downloaded a node. -Also, more aggressively make predictive requests if no urgent requests are waiting in the queue. diff --git a/newsfragments/878.bugfix.rst b/newsfragments/878.bugfix.rst deleted file mode 100644 index 8940821d3b..0000000000 --- a/newsfragments/878.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixes issue with Trinity not shutting down when issues a ``CTRL+C``. diff --git a/newsfragments/879.misc.rst b/newsfragments/879.misc.rst deleted file mode 100644 index ba834155b9..0000000000 --- a/newsfragments/879.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Isolate ``trio`` based tests in their own testing module: ``./tests-trio`` diff --git a/newsfragments/880.misc.rst b/newsfragments/880.misc.rst deleted file mode 100644 index ada2bf9a05..0000000000 --- a/newsfragments/880.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Cleanup all ``abc.abstractmethod`` function bodies to use an ``Elipsis`` object. diff --git a/newsfragments/881.bugfix.rst b/newsfragments/881.bugfix.rst deleted file mode 100644 index 43c0b687c4..0000000000 --- a/newsfragments/881.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``__str__`` implementation of ``BaseProxyPeer`` to properly represent the ``p2p.kademlia.Node`` URI. diff --git a/newsfragments/882.removal.rst b/newsfragments/882.removal.rst deleted file mode 100644 index 62c7617f41..0000000000 --- a/newsfragments/882.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Remove legacy tests from core application code. diff --git a/newsfragments/884.doc.rst b/newsfragments/884.doc.rst deleted file mode 100644 index 8b482bc920..0000000000 --- a/newsfragments/884.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Add a "Performance improvements" section to the release notes \ No newline at end of file diff --git a/newsfragments/887.feature.rst b/newsfragments/887.feature.rst deleted file mode 100644 index f4cdc5563c..0000000000 --- a/newsfragments/887.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Use the new ``p2p.handshake`` APIs in the ``p2p.peer.BasePeer`` handshake logic. diff --git a/newsfragments/889.bugfix.rst b/newsfragments/889.bugfix.rst deleted file mode 100644 index c10dcd7d26..0000000000 --- a/newsfragments/889.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Add missing field `from` to the response of `RPC` calls `eth_getTransactionByBlockHashAndIndex` and `eth_getTransactionByBlockNumberAndIndex`. diff --git a/newsfragments/890.doc.rst b/newsfragments/890.doc.rst deleted file mode 100644 index e0b2607124..0000000000 --- a/newsfragments/890.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Cleanup Quickstart and start a Cookbook with small recipes \ No newline at end of file diff --git a/newsfragments/891.bugfix.rst b/newsfragments/891.bugfix.rst deleted file mode 100644 index 396cd11322..0000000000 --- a/newsfragments/891.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure ``--profile`` parameter takes profiles of every process \ No newline at end of file diff --git a/newsfragments/891.doc.rst b/newsfragments/891.doc.rst deleted file mode 100644 index b74c65a648..0000000000 --- a/newsfragments/891.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Cover ``--profile`` parameter in Cookbook \ No newline at end of file diff --git a/newsfragments/894.feature.rst b/newsfragments/894.feature.rst deleted file mode 100644 index b877c7eff7..0000000000 --- a/newsfragments/894.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -If Trinity is beam syncing and a call to `eth_getBalance` requests data which is not in -the local database, Trinity asks for the data over the network. diff --git a/newsfragments/895.bugfix.rst b/newsfragments/895.bugfix.rst deleted file mode 100644 index b376e72c1e..0000000000 --- a/newsfragments/895.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Handle escaping ``PeerConnectionLost`` exception from ``Multiplexer`` in ``BasePeer` diff --git a/newsfragments/899.feature.rst b/newsfragments/899.feature.rst deleted file mode 100644 index b65cfbf24f..0000000000 --- a/newsfragments/899.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Speculative Execution in Beam Sync: split block transactions to run them in parallel, for speedup. diff --git a/newsfragments/900.bugfix.rst b/newsfragments/900.bugfix.rst deleted file mode 100644 index 15164783e7..0000000000 --- a/newsfragments/900.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix JSON-RPC call `eth_getBalance(address, block_number)` to return balance at the requested block_number. -Earlier it would always return balance at `block(0)`. diff --git a/newsfragments/909.bugfix.rst b/newsfragments/909.bugfix.rst deleted file mode 100644 index 875846d24f..0000000000 --- a/newsfragments/909.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a MissingTrieNode exception when the first imported block has an uncle diff --git a/newsfragments/915.misc.rst b/newsfragments/915.misc.rst deleted file mode 100644 index 3e807c6eb4..0000000000 --- a/newsfragments/915.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Update to latest ``py-evm==0.3.0-alpha.3``. diff --git a/newsfragments/916.bugfix.rst b/newsfragments/916.bugfix.rst deleted file mode 100644 index 52c76df31a..0000000000 --- a/newsfragments/916.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Handles ``MalformedMessage`` and ``TimeoutError`` exceptions that can occur while multiplexing the devp2p connection diff --git a/newsfragments/917.misc.rst b/newsfragments/917.misc.rst deleted file mode 100644 index 43058064c9..0000000000 --- a/newsfragments/917.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Update to ``lahja>=0.14.2`` to fix warnings during endpoint shutdown. diff --git a/newsfragments/921.bugfix.rst b/newsfragments/921.bugfix.rst deleted file mode 100644 index d6fca24e21..0000000000 --- a/newsfragments/921.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix type hints so that ``max_headers`` is recognized as keyword argument -to ``get_block_headers``. \ No newline at end of file diff --git a/newsfragments/921.feature.rst b/newsfragments/921.feature.rst deleted file mode 100644 index ffbad38107..0000000000 --- a/newsfragments/921.feature.rst +++ /dev/null @@ -1,8 +0,0 @@ -Allow beam sync to start from a trusted checkpoint. -Specify a checkpoint via CLI parameter such as: - -``--beam-from-checkpoint="eth://block/byhash/?score="`` - -When given, beam sync will use this as a checkpoint -to avoid having to download the entire chain of headers -first. diff --git a/newsfragments/923.feature.rst b/newsfragments/923.feature.rst deleted file mode 100644 index 9658d48afb..0000000000 --- a/newsfragments/923.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Expose the `force-beam-block-number` config as a command line parameter. -The config is useful for testing to force beam sync to activate on a given block number. \ No newline at end of file diff --git a/newsfragments/926.bugfix.rst b/newsfragments/926.bugfix.rst deleted file mode 100644 index b23f8c3d03..0000000000 --- a/newsfragments/926.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -``BootManager`` now uses the ``BasePeer.loop`` as well as their cancel token. diff --git a/newsfragments/927.misc.rst b/newsfragments/927.misc.rst deleted file mode 100644 index 0bb2c62fe2..0000000000 --- a/newsfragments/927.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``MultiplexerAPI.cancel_token`` property. diff --git a/newsfragments/928.misc.rst b/newsfragments/928.misc.rst deleted file mode 100644 index 17af69c31e..0000000000 --- a/newsfragments/928.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Removes the most received message count from the general peer stats (it is still available in the detail data printed about each message type the peer has received) diff --git a/newsfragments/929.misc.rst b/newsfragments/929.misc.rst deleted file mode 100644 index 065e1813ea..0000000000 --- a/newsfragments/929.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Additional logging output in ``BaseService`` when cancel token has already been triggered and a small sleep to allow cleanup a little extra time to cancel background tasks. diff --git a/newsfragments/930.misc.rst b/newsfragments/930.misc.rst deleted file mode 100644 index a7fd783d23..0000000000 --- a/newsfragments/930.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add additional logging to ``MemoryTransport`` when sending or waiting on messages. diff --git a/newsfragments/931.feature.rst b/newsfragments/931.feature.rst deleted file mode 100644 index d421207f69..0000000000 --- a/newsfragments/931.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p_version`` to ``p2p.peer.BasePeerContext`` properties and use for handshake. diff --git a/newsfragments/932.bugfix.rst b/newsfragments/932.bugfix.rst deleted file mode 100644 index 08d39e1d20..0000000000 --- a/newsfragments/932.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a deadlock bug: if you request data from a peer at just the wrong moment, the request would hang -forever. Now, it correctly raises an :cls:`OperationCancelled`. diff --git a/newsfragments/932.misc.rst b/newsfragments/932.misc.rst deleted file mode 100644 index a8c50ef3c6..0000000000 --- a/newsfragments/932.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Some logging reduction diff --git a/newsfragments/932.performance.rst b/newsfragments/932.performance.rst deleted file mode 100644 index c51c372d22..0000000000 --- a/newsfragments/932.performance.rst +++ /dev/null @@ -1,2 +0,0 @@ -Previously, we gave up on predicted nodes that were not returned by a peer. Now we retry them, -which helps make sure we aren't missing any nodes at block import time. diff --git a/newsfragments/933.performance.rst b/newsfragments/933.performance.rst deleted file mode 100644 index 9a78735ccb..0000000000 --- a/newsfragments/933.performance.rst +++ /dev/null @@ -1,2 +0,0 @@ -During Beam Sync previews, be sure to collect the nodes required to generate the new state root, -rather than wait until it's time to import the block. diff --git a/newsfragments/934.bugfix.rst b/newsfragments/934.bugfix.rst deleted file mode 100644 index fcd6a1a426..0000000000 --- a/newsfragments/934.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -``ETHHandshakeReceipt`` and ``LESHandshakeReceipt`` now properly accept their protocol instances in their constructors. diff --git a/newsfragments/935.misc.rst b/newsfragments/935.misc.rst deleted file mode 100644 index fc74dc6111..0000000000 --- a/newsfragments/935.misc.rst +++ /dev/null @@ -1 +0,0 @@ -``LESHandshakeParams`` no longer takes a ``version`` parameter to ``as_payload_dict`` diff --git a/newsfragments/936.bugfix.rst b/newsfragments/936.bugfix.rst deleted file mode 100644 index 4da2634253..0000000000 --- a/newsfragments/936.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Pin ``lahja==0.14.0`` until connection timeout issue is resolved. diff --git a/newsfragments/938.misc.rst b/newsfragments/938.misc.rst deleted file mode 100644 index bc19a73683..0000000000 --- a/newsfragments/938.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Code re-organization of ``p2p.tools.factories`` diff --git a/newsfragments/939.bugfix.rst b/newsfragments/939.bugfix.rst deleted file mode 100644 index 89e9d5f4f3..0000000000 --- a/newsfragments/939.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Beam Sync: catch the TimeoutError that was escaping, and retry diff --git a/newsfragments/942.bugfix.rst b/newsfragments/942.bugfix.rst deleted file mode 100644 index 53b1fb8937..0000000000 --- a/newsfragments/942.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure the ``BasePeer`` negotiates the proper base protocol. diff --git a/newsfragments/943.bugfix.rst b/newsfragments/943.bugfix.rst deleted file mode 100644 index 1b3c2eb457..0000000000 --- a/newsfragments/943.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Capture :cls:`PeerConnectionLost` in more places, especially sync. diff --git a/newsfragments/944.feature.rst b/newsfragments/944.feature.rst deleted file mode 100644 index 5113febe46..0000000000 --- a/newsfragments/944.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -If `eth_getCode` is called during beam sync but the requested data is not available -locally trinity will attempt to fetch the requested data from remote peers. diff --git a/newsfragments/949.removal.rst b/newsfragments/949.removal.rst deleted file mode 100644 index 7e5893b636..0000000000 --- a/newsfragments/949.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Remove the ``FakeAsync...`` classes from tests in favor of using the real versions for things like chain and database objects diff --git a/newsfragments/950.misc.rst b/newsfragments/950.misc.rst deleted file mode 100644 index 46fba484f8..0000000000 --- a/newsfragments/950.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Fix flakey test diff --git a/newsfragments/951.feature.rst b/newsfragments/951.feature.rst deleted file mode 100644 index c439acc11a..0000000000 --- a/newsfragments/951.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Beam Sync: start backfilling data, especially as a way to gather performance data about peers, and -improve the performance of beam sync importing. diff --git a/newsfragments/955.feature.rst b/newsfragments/955.feature.rst deleted file mode 100644 index 9a821fb7ed..0000000000 --- a/newsfragments/955.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p.service.run_service`` which implements a context manager API for running a ``p2p.service.BaseService``. diff --git a/newsfragments/956.feature.rst b/newsfragments/956.feature.rst deleted file mode 100644 index e614337b53..0000000000 --- a/newsfragments/956.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``p2p.connection.Connection`` service which actively manages the ``p2p.multiplexer.Multiplexer`` exposing an API for registering handler callbacks for individuall protocol commands or entire protocols, as well as access to general metadata about the p2p connection. diff --git a/newsfragments/957.feature.rst b/newsfragments/957.feature.rst deleted file mode 100644 index 9814ba97fc..0000000000 --- a/newsfragments/957.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -If `eth_getStorageAt` is called during beam sync but the requested data is not available -locally trinity will attempt to fetch the requested data from remote peers. diff --git a/newsfragments/958.bugfix.rst b/newsfragments/958.bugfix.rst deleted file mode 100644 index e48bad36ca..0000000000 --- a/newsfragments/958.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Beam Sync: Sometimes we would get stuck using a bad peer for node retrieval, fixed. Sometimes we -would stop asking for predicted trie nodes when we don't have any immediate nodes to ask for, fixed. diff --git a/newsfragments/962.feature.rst b/newsfragments/962.feature.rst deleted file mode 100644 index df41f8c9b6..0000000000 --- a/newsfragments/962.feature.rst +++ /dev/null @@ -1 +0,0 @@ -``p2p.peer.BasePeer`` now uses ``ConnectionAPI`` for underlying protocol interactions. diff --git a/newsfragments/963.feature.rst b/newsfragments/963.feature.rst deleted file mode 100644 index eba2b6b02e..0000000000 --- a/newsfragments/963.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Allow Trinity to automatically resolve a checkpoint through the etherscan API -using this syntax: ``--beam-from-checkpoint="eth://block/byetherscan/latest"`` \ No newline at end of file diff --git a/newsfragments/964.bugfix.rst b/newsfragments/964.bugfix.rst deleted file mode 100644 index c5b2e5178f..0000000000 --- a/newsfragments/964.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``p2p.tools.factories.MultiplexerPairFactory`` negotiation of ``p2p`` protocol version. diff --git a/newsfragments/965.misc.rst b/newsfragments/965.misc.rst deleted file mode 100644 index f0c4b2007a..0000000000 --- a/newsfragments/965.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Remove mutation of geth testing fixtures from ``./tests/integration/test_lightchain_integration.py`` test. diff --git a/newsfragments/975.feature.rst b/newsfragments/975.feature.rst deleted file mode 100644 index 40dec62ec7..0000000000 --- a/newsfragments/975.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fetch missing data from remote peers, if requested over json-rpc during beam sync. -Requests for data at an old block will fail; remote peers probably don't have it. diff --git a/newsfragments/977.feature.rst b/newsfragments/977.feature.rst deleted file mode 100644 index 1e52c9b71a..0000000000 --- a/newsfragments/977.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Expose the ``MiningChain`` on the `db-shell` REPL to allow creating blocks on a REPL \ No newline at end of file diff --git a/newsfragments/983.misc.rst b/newsfragments/983.misc.rst deleted file mode 100644 index 30c40070fd..0000000000 --- a/newsfragments/983.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Expand test coverage to ensure Ropsten and custom nets do actually work. \ No newline at end of file diff --git a/newsfragments/985.misc.rst b/newsfragments/985.misc.rst deleted file mode 100644 index c416a68be7..0000000000 --- a/newsfragments/985.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``ABC`` base class for ``p2p.service.BaseService`` diff --git a/newsfragments/986.feature.rst b/newsfragments/986.feature.rst deleted file mode 100644 index 68f0959c7f..0000000000 --- a/newsfragments/986.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``ConnectionAPI.get_p2p_receipt`` for fetching the ``HandshakeReceipt`` for the base ``p2p`` protocol. diff --git a/newsfragments/987.feature.rst b/newsfragments/987.feature.rst deleted file mode 100644 index d3e3402f70..0000000000 --- a/newsfragments/987.feature.rst +++ /dev/null @@ -1 +0,0 @@ -``p2p.protocol.Protocol.supports_command`` is now a ``classmethod`` diff --git a/newsfragments/988.misc.rst b/newsfragments/988.misc.rst deleted file mode 100644 index b615c42146..0000000000 --- a/newsfragments/988.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``ABC`` base class ``p2p.abc.HandshakeReceiptAPI`` diff --git a/newsfragments/989.feature.rst b/newsfragments/989.feature.rst deleted file mode 100644 index e3612adb1c..0000000000 --- a/newsfragments/989.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The ``HandlerSubscriptionAPI`` now supports a context manager interface, removing/cancelling the subscription when the context exits diff --git a/newsfragments/990.feature.rst b/newsfragments/990.feature.rst deleted file mode 100644 index 5eeda335d9..0000000000 --- a/newsfragments/990.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Handler functions for ``Connection.add_protocol_handler`` and ``Connection.add_command_handler`` now expect the ``Connection`` instance as the first argument. diff --git a/newsfragments/991.misc.rst b/newsfragments/991.misc.rst deleted file mode 100644 index 7838f2d4f5..0000000000 --- a/newsfragments/991.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``ConnectionAPI.is_dial_out`` and ``ConnectionAPI.start_protocol_streams`` to ABC definition. diff --git a/newsfragments/992.bugfix.rst b/newsfragments/992.bugfix.rst deleted file mode 100644 index d5e750ab7f..0000000000 --- a/newsfragments/992.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Add missing exception handling inside of ``Connection.run`` for ``PeerConnectionLost`` exception that bubbles from multiplexer. ``Connection`` is now responsible for calling ``Multiplexer.close`` on shutdown. Detect a closed connection during handshake. diff --git a/newsfragments/993.misc.rst b/newsfragments/993.misc.rst deleted file mode 100644 index 77923d90c1..0000000000 --- a/newsfragments/993.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Relax some input types from ``Tuple[thing, ...]`` to ``Sequence[thing]`` diff --git a/newsfragments/994.bugfix.rst b/newsfragments/994.bugfix.rst deleted file mode 100644 index 276720a361..0000000000 --- a/newsfragments/994.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``P2PProtocol.send_disconnect`` to accept enum values from ``p2p.disconnect.DisconnectReason`` diff --git a/newsfragments/995.misc.rst b/newsfragments/995.misc.rst deleted file mode 100644 index 21b10b0290..0000000000 --- a/newsfragments/995.misc.rst +++ /dev/null @@ -1 +0,0 @@ -``BasePeerPool.__aiter_`` now checks if the peer is operational. diff --git a/newsfragments/997.misc.rst b/newsfragments/997.misc.rst deleted file mode 100644 index f44516e755..0000000000 --- a/newsfragments/997.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Convert the request/response APIs to use the ``ConnectionAPI`` instead of ``BasePeer`` diff --git a/newsfragments/99999.bugfix.rst b/newsfragments/99999.bugfix.rst deleted file mode 100644 index 68684f5ed8..0000000000 --- a/newsfragments/99999.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix warning caused by inappropriate call to ``cancel_nowait``. \ No newline at end of file