Skip to content

Commit 3705795

Browse files
committed
Fix types and small issues
1 parent 4ecf4fd commit 3705795

File tree

1 file changed

+5
-5
lines changed
  • cardano-api/src/Cardano/Api/Internal

1 file changed

+5
-5
lines changed

cardano-api/src/Cardano/Api/Internal/IPC.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-- This module provides the client side of the node-to-client IPC protocol
1717
-- used to communicate with a local Cardano node. This can be used to
1818
-- query the node for information, to submit transactions, and even to
19-
-- get historical information aobut the chain by using the
19+
-- get historical information about the chain by using the
2020
-- 'ChainSync' protocol.
2121
module Cardano.Api.Internal.IPC
2222
( -- * Examples
@@ -59,10 +59,10 @@ module Cardano.Api.Internal.IPC
5959
-- the @shelley-genesis.json@ file that the node is using to connect to the
6060
-- network. For the preview network, this is currently @86_400@.
6161
-- * In the case we are connecting to a testnet, we also need to find out
62-
-- the magic number for the network the node is connected to. This can be
62+
-- the network identifier for the network the node is connected to. This can be
6363
-- obtained by looking for the @networkMagic@ key in the @shelley-genesis.json@
6464
-- file that the node is using to connect to the network. For the preview
65-
-- network, the magic number is currently @2@.
65+
-- network, the network identifier is currently @2@.
6666
-- * The path to the socket file of the node. This can be set when starting the
6767
-- node by using the @--socket-path@ parameter. By default it can usually be
6868
-- found in the @db@ subfolder of the node's working directory.
@@ -98,7 +98,7 @@ module Cardano.Api.Internal.IPC
9898
-- eEra <- runExceptT $ Api.queryNodeLocalState connectionInfo Network.VolatileTip Api.QueryCurrentEra
9999
-- @
100100
--
101-
-- Here, 'VolatileTip' means we want to get the information out of the most recent node that the
101+
-- Here, 'VolatileTip' means we want to get the information out of the most recent block that the
102102
-- node is aware of. The disadvantage is that the information we get may potentially be rolled back
103103
-- and stop being valid. We need to account for this. Alternatively, we can use 'ImmutableTip' to
104104
-- obtain the information from the most recent block that is assumed by the consensus algorithm
@@ -163,7 +163,7 @@ module Cardano.Api.Internal.IPC
163163

164164
-- ** Submitting a transaction
165165

166-
-- | Let's assume we have a signed transaction of the right era that we want to submit to the node,
166+
-- | Let's assume we have a signed transaction of the latest era that we want to submit to the node,
167167
-- and that it is in the variable @signedTx@ of type @Tx era@.
168168
--
169169
-- You can find out how to make such a transaction by looking at the documentation of the

0 commit comments

Comments
 (0)